Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Neregestruoja

Parašė K1ll3r34· 2012 Sau. 21 12:01:05
#1


Irašau slaptažodi ir nieko.
Pakeičiau dizainą - registruoja, kas dizainė gali būti blogai?
Themes.php:

<?php
 
if (!defined("IN_FUSION")) { die("Access Denied"); }
define("THEME_BULLET", "<span class='bullet'>&middot;</span>");
require_once INCLUDES."theme_functions_include.php";
 
function render_page($license=false) {
global $theme_width,$userdata,$settings,$locale,$data,$db_prefix,$lookup,$msg_count,$aidlink;
 
	echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor'>\n<tr>
	<td align='right' width='352'>";
	echo "</td>
	<td align='right' width='468'>";
 
	echo "<div style='padding-left: 500px;' class='laikas'>Yra film&#371: ".dbcount("(news_id)", DB_NEWS)." |  Viso peržiūr&#371:\n</div>"; include THEME."double_news_panel.php";
 
	echo "</td>
	<td align='right' width='40'>";
	echo "</td>
	</tr>
	</table>";
	echo "<table align='center' cellpadding='0' cellspacing='0' class='decolor2'>\n<tr>
	<td align='right' width='0'>";
	echo "</td>
	<td align='right' width='245'>";
	echo "</td>
	<td align='right' width='8'>";
	echo "</td>
	<td align='left' width='599'>";
	echo "</td>
	<td align='right' width='8'>";
	echo "</td>
	<td align='left' width='1980'>";
	include THEME."code/img.php";
	echo "</td>
	</tr>
	</table>";
	echo "<table cellpadding='0' cellspacing='0' width='860' align='center' class='content'><tr>\n";
	if (LEFT) { echo "<td class='side-border-left' valign='top' width='240'>".LEFT."</td>"; }
	echo "<td class='main-bg' valign='top'>".U_CENTER.CONTENT.L_CENTER."</td>";
	if (RIGHT) { echo "<td class='side-border-right' valign='top' width='240'>".RIGHT."</td>"; }
	echo "</tr>\n</table>\n";
	echo "<table width='1000' height='43' border='0' cellpadding='0' cellspacing='0' align='center' class='footer'>
	<tr>
	<td align='left'>
	<span style='padding-left:216px; font-family: Tahoma; font-size: 11px;'> </span>
	</td>
	<td align='left'>
	<span style='padding-left:0px; font-family: Tahoma; font-size: 16px;'> Visos Teises Saugomos <a href='#' target='_blank'>www.vardas.lt </a></span>
	</td>
	</tr>
	</table>\n";
}
 
function render_news($subject, $news, $info) {
 
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td width='465' class='panel-main3'>$subject</td>";
	echo "<td width='140'><div class='panel-news'>
	<div class='placiau'><a href='".BASEDIR."news.php?readmore=".$info['news_id']."'>Skaityti daugiau</a></div></div></td>";
	echo "</tr></table>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
	echo "<td class='main-body'><div style='width:100%;vertical-align:top;'>$news</div>";
	echo "<div style='margin-top:5px'>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "</td></tr></table></div></td>";
	echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'>";
	echo "</td></tr><tr>";
	echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "</tr></table><div style='margin-top:0px'></div>\n";
}
 
function render_article($subject, $article, $info) {
 
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td width='100%' class='panel-main3'>$subject</td>";
	echo "</tr></table>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='border-left3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
	echo "<td class='article-body'><div style='width:100%;vertical-align:top;'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div><br>";
	echo "<div style='margin-top:5px'>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><br>";
	echo "<td class='infobar2'>".articleposter($info," &middot;")."</td>";
	echo "<td align='right' class='infobar2'>";
 	echo articleopts($info,"&middot;").itemoptions("A",$info['article_id']);
	echo "</td></tr></table></div></td>";
	echo "<td class='border-right3'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
	echo "</tr><tr>";
	echo "<td class='border-bleft3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bmain3'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bright3'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "</tr></table><div style='margin-top:5px'></div>\n";
}
 
function opentable($title) {
 
	echo "<table width='100%' cellpadding='0' cellspacing='0'>";
	echo "<td width='100%' class='panel-main2'>$title</td>";
	echo "</tr></table>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='border-left2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
	echo "<td class='table-body'><br>\n";
}
 
function closetable() {
 
	echo "</td>";
	echo "<td class='border-right2'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
	echo "<tr>";
	echo "<td class='border-bleft2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bmain2'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bright2'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "</tr></table><div style='margin-top:5px'></div>\n";
}
 
function openside($title) {
 
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='panel-left'><img src='".THEME."images/blank.gif' width='10' height='37' alt='' style='display:block'></td>";
        echo "<table cellpadding='0' cellspacing='0' width='310' >\n<tr>\n";
	echo "<td width=290px class='panel-main'><i>$title</i></td>\n";
	echo "<td class='panel-right'><img src='".THEME."images/blank.gif' width='10' height='37' alt='' style='display:block'></td>";
	echo "</tr></table>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='border-left'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td>";
	echo "<td class='side-body'><br>\n";
}
 
function closeside() {
 
	global $panel_collapse;
	if ($panel_collapse == true) { echo "</div>\n"; }
	echo "</td>";
	echo "<td class='border-right'><img src='".THEME."images/blank.gif' width='10' height='10' alt='' style='display:block'></td></tr>";
	echo "<tr>";
	echo "<td class='border-bleft'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bmain'><img src='".THEME."images/blank.gif' width='1' height='16' alt='' style='display:block'></td>";
	echo "<td class='border-bright'><img src='".THEME."images/blank.gif' width='10' height='16' alt='' style='display:block'></td>";
	echo "</tr></table><div style='margin-top:5px'></div>\n";
}
 
function openlogin($title) {
 
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td width='100%' class='panel-virsus'><i>$title</i></td>";
	echo "</tr></table>";
	echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
	echo "<td class='panel-centras'><br>\n";
}
 
function closelogin() {
 
	global $panel_collapse;
	if ($panel_collapse == true) { echo "</div>\n"; }
	echo "</td>";
	echo "<tr>";
	echo "<td class='panel-apacia'><img src='".THEME."images/blank.gif' width='240' height='16' alt='' style='display:block'></td>";
	echo "</tr></table><div style='margin-top:5px'></div>\n";
}
 
?>

Parašė K1ll3r34· 2012 Sau. 21 15:01:46
#2

Niekas, niekaip nepadės?

Parašė Žmogus· 2012 Sau. 21 20:01:19
#3

Netinkamas man rodos dizainas, pas tave v 7.01, o reikia, kad dizainas būtų v 7.02 versijai

Parašė K1ll3r34· 2012 Sau. 21 22:01:09
#4

Tai gal imanoma pataisyt? Idėt,ištrint,pakeist koki kodą. Padėkit kas galit..

Parašė K1ll3r34· 2012 Sau. 22 22:01:21
#5

Na kaip supratau niekas nepadės...

Parašė Creatium· 2012 Sau. 24 11:01:54
#6

http://next.php-fusion.co.uk/for...;pid=23903
Čia surašytos stiliaus klasės, kurios buvo įdiegtos v7.02 versijoje.

Neesu tikras ar pats theme.php įgavo kažką naujo ar ne.

Parašė K1ll3r34· 2012 Sau. 26 16:01:51
#7

Jai jus man pritaikisit busiu labai dėkingas :) Štai mano styles.css
a {
   color: #996c00;
   text-decoration: none;
}

a:hover {
   color: #fe3402;
   text-decoration: none;
}

a.side {
   color: #996c00;
   text-decoration: none;
}

a:hover.side {
   color: #fe3402;
   text-decoration: none;
}

a.white {
   color: #996c00;
   text-decoration: none;
}

a:hover.white {
   color: #fe3402;
   text-decoration: none;
}

.spacer {
   margin-bottom: 0px;
}

.admin-message {
   font-family: Tahoma;
   font-size: 11px;
   text-align: center;
   color: #333333;
   background-color: #f6f6f6;
   border: 1px solid #ddd;
   padding: 3px 4px 5px 4px;
   margin-bottom: 5px;
}

body {
   background: url('images/bg.png');
   font-family: Tahoma;
   font-size: 11px;
   color: #996c00;
   margin: 0;
}

.id {
   background-image: url('images/bg_id.png');
   background-color: #ed5001;
   font-family: Tahoma;
   font-size: 11px;
   border: 0px;
   color: #991e00;
   margin-top: 0px;
   width: 150px;
   height: 23px;
   padding: 0px 0px 0px 40px;
}

.pass {
   background-image: url('images/bg_pass.png');
   background-color: #ed5001;
   font-family: Tahoma;
   font-size: 11px;
   border: 0px;
   color: #991e00;
   margin-top: 0px;
   width: 150px;
   height: 23px;
   padding: 0px 0px 0px 40px;
}

.inne {
   background-image: url('images/bg_button.png');
   background-color: #ed5001;
   border: 0px;
   margin-top: 0px;
   width: 77px;
   height: 23px;
   margin: 5px 0px 0px 20px;
}

.decolor {
   background: url('images/header.png');
   height: 77px;
   width: 1000px;
}

.decolor2 {
   background: url('images/header2.png');
   height: 195px;
   width: 1000px;
}

.border {
   background-color: #ddd;
   border: 0px #FFF solid;
}

.outer-border {
   border: 0px solid #f2f2f2;
}

.bbcode {
   font-family: Tahoma;
    font-size: 10px;
    color: #000;
    background-color: #eee;
    border: 1px solid #ccc;
    margin-top: 2px;
}

img {
   border: 0px;
}

form {
   margin: 0px;
}

hr {
   border-top: 1px #d9b78f solid;
   border-bottom: 1px #f2d8b9 solid;
   border-left: 0px;
   border-right: 0px;
}

hr.side-hr {
   border-top: 1px #c7c50e solid;
   border-bottom: 1px #f7f521 solid;
   border-left: 0px;
   border-right: 0px;
}

td {
   font-family: Tahoma;
   font-size: 11px;
}

pre {
   font-family: Tahoma;
   font-size: 11px;
}

.alt {
   color: #FFF;
}

.footer {
   background-image: url('images/footer.png');
   font-family: Tahoma;
   font-size: 14px;
   color: #fff;
}
      .footer a {
              color: #fff;
              text-decoration: none;   
      }
      .footer a:hover {
             color: #9d0000;
              text-decoration: none;   
      }

.button {
   background-image: url('images/button.gif');
   background-color: #e1df21;
   font-family: Arial,Sans-Serif;
   font-weight: bold;
   font-size: 11px;
   color: #e8e8e8;
   border: 0px #333333 solid;
   margin-top: 0px;
   height: 23px;
}
   
.textbox {
   font-family: Tahoma;
   font-size: 11px;
   color: #292929;
   background-image: url('images/textbox.gif');
   background-color: #FFFFFF;
    border: 1px solid #ccc;
}

.news-category {
   border: 0px none;
   float: left;
   margin-left: 0;
   margin-right: 5px;
   margin-top: 3px;
   margin-bottom: 0;
}

.main-bg {
   background-color: #d8d8d8;
   padding: 5px 5px 0px 5px;
}

.side-border-left {
   padding: 5px 5px 0px 0px;
}

.side-border-right {
   padding: 5px 5px 0px 0px;
}


.main-body {
   background-color: #fff;
   font-family: Tahoma;
   font-size: 11px;
   color: #5b452b;
   padding: 0px 0px 0px 0px;
}

.side-body {
   font-family: Tahoma;
   font-size: 11px;
   color: #996c00;
   padding: 0px 0px 0px 0px;
}

.table-body {
   font-family: Tahoma;
   font-size: 11px;
   color: #5b452b;
   padding: 0px 0px 0px 0px;
}

.article-body {
   font-family: Tahoma;
   font-size: 11px;
   color: #5b452b;
   padding: 0px 0px 0px 0px;
}

.infobar {
   font-family: Arial,Sans-Serif;
   font-size: 11px;
   font-weight: bold;
   color: #5b452b;
   padding: 0px;
   border-top: 0px;
}
      .infobar a {
         font-family: Arial,Sans-Serif;
              color: #5b452b;
         font-weight: bold;
              text-decoration: none;   
      }
      .infobar a:hover {
         font-family: Arial,Sans-Serif;
             color: #3c3c3c;
         font-weight: bold;
              text-decoration: none;   
      }

.infobar2 {
   font-family: Tahoma;
   font-size: 11px;
   color: #777777;
   padding: 0px;
   border-top: 0px;
}

.clear {
   clear:both;
}

.panel-virsus {
   text-shadow: 1px 1px 0pt #8f1c00;
   font-family: Segoe UI;
   font-weight: bold;
   font-size: 14px;
   text-align: left;
   color: #ffe2d9;
   width:240px;
   height:37px;
   padding: 0px 0px 0px 15px;
   background-image: url('images/login/panel-virsus.png');
   background-repeat: repeat-x;
}

.panel-centras {
   background-image: url('images/login/panel-centras.png');
   text-shadow: 1px 1px 0pt #e9610b;
   background-repeat: no-repeat;
   background-color: #f24901;
   font-family: Tahoma;
   font-size: 11px;
   color: #991e00;
   padding: 0px 0px 0px 0px;
   width:240px;
   height:139px;
}
      .panel-centras a {
              color: #991e00;
              text-decoration: none;   
      }
      .panel-centras a:hover {
             color: #e1df21;
              text-decoration: none;   
      }

.panel-apacia {
   width:240px;
   height:16px;
   background-image:url('images/login/panel-apacia.png');
   background-repeat:repeat-x;
}


.panel-main {
   text-shadow: 1px 1px 0pt #fffe7c;
   font-family: Segoe UI;
   font-weight: bold;
   font-size: 14px;
   text-align: left;
   color: #5d5c20;
   height: 44px;
        width: 290px;
   padding: 0px 0px 0px 58px;
   background-image: url('images/scapmain.png');
   background-repeat: repeat-x;

}
.panel-main2 {
   font-family: Tahoma;
   font-weight: bold;
   font-size: 11px;
   text-align: left;
   color: #585858;
   height: 30px;
   padding: 0px 0px 0px 12px;
}


.panel-news {
   background:url(images/main/panel-read3.png);
   background-repeat: no-repeat;
   width: 140px;
   height: 30px;
   padding: 0px 0px 0px 0px;
}

.placiau {
   font-family: Tahoma;
   font-size: 11px;
   font-weight: bold;
   text-align: left;
   float: left;
   padding: 10px 0px 0px 10px;
}
      .placiau a {
         font-family: Tahoma;
              color: #585858;
         font-weight: bold;
              text-decoration: none;   
      }
      .placiau a:hover {
         font-family: Tahoma;
             color: #747474;
         font-weight: bold;
              text-decoration: none;   
      }

.panel-main3 {
   font-family: Tahoma;
   font-weight: bold;
   font-size: 11px;
   text-align: left;
   color: #585858;
   height: 30px;
   width: 465px;
   padding: 0px 0px 0px 12px;
   background-image: url('images/main/panel-main3.png');
   background-repeat: repeat-x;
}

.border-left3 {
   width:10px;
   background-image:url('images/main/border-left3.png');
   background-repeat:repeat-y;
}

.border-right3 {
   width:10px;
   background-image:url('images/main/border-right3.png');
   background-repeat:repeat-y;
}

.border-bleft3  {
   width:10px;
   height:16px;
   background-image:url('images/main/border-bleft3.png');
}

.border-bright3 {
   width:10px;
   height:16px;
   background-image:url('images/main/border-bright3.png');
}

.border-bmain3 {
   height:16px;
   background-image:url('images/main/border-bmain3.png');
   background-repeat:repeat-x;
}

.center {
   margin: 0 auto;
}

.tbl-border {
   border: 1px #e0bd94 solid;
}

.tbl {
   font-family: Arial,Sans-Serif;
   font-size: 11px;
   font-weight: bold;
   padding: 2px 4px 2px 4px;
}

.tbl1 {
   font-family: Arial,Sans-Serif;
   font-size: 11px;
   color: #2e2e2e;
   background-color: #e9c8a1;
   padding: 2px 4px 2px 4px;
}
      .tbl1 a {
         font-family: Arial,Sans-Serif;
         font-weight: bold;
         font-size: 11px;
              color: #8b6840;
              text-decoration: none;   
      }
      .tbl1 a:hover {
         font-family: Arial,Sans-Serif;
         font-weight: bold;
         font-size: 11px;
              color: #ac410c;
              text-decoration: none;   
      }
   
.tbl2 {
   font-family: Arial,Sans-Serif;
   font-size: 11px;
   color: #2e2e2e;
   background-color: #e0bd94;
   padding: 2px 4px 2px 4px;
}
      .tbl2 a {
         font-family: Arial,Sans-Serif;
         font-weight: bold;
         font-size: 11px;
              color: #8b6840;
              text-decoration: none;   
      }
      .tbl2 a:hover {
         font-family: Arial,Sans-Serif;
         font-weight: bold;
         font-size: 11px;
              color: #ac410c;
              text-decoration: none;   
      }
   
.forum-caption {
   font-family: Arial,Sans-Serif;
   font-size: 12px;
   font-weight: bold;
   height: 22px;
   color: #2e2e2e;
   background-color: #a7a7a7;
   padding: 4px 4px 4px 4px;
}

.quote {
   color: #2e2e2e;
   background-color: #e4e4e4;
   padding: 2px;
   margin: 0px 20px 0px 20px;
   border: 1px #d1d1d1 solid;
}
   
.poll {
   height: 2px;
   border: 0px #FFF solid;
}

.comment-name {
   font-weight: bold;
   color: #bfbfaf;
}

.shoutboxname {
   text-align: right;
   color: #eaa011;
}

.shoutbox {
   text-shadow: 1px 1px 0pt #be7e01;
   font-family: Tahoma;
   font-size: 11px;
   color: #fefefe;
   background-color: #eaa011;
   border: 0px solid #2d2d2d;
   border-top: 0;
   border-left: 0;
   padding: 4px 4px 4px 4px;
}

.shoutboxdate {
   background: url('images/bg_shoutbox.gif') no-repeat bottom right;
   font-size: 9px;
   color: #996c00;
   height: 14px;
}

.small {
   font-size: 10px;
   font-weight: normal;
}

.small2 {
   font-size: 10px;
   font-weight:normal;
   color: #996c00;
}

.side-small {
   font-size:10px;
   font-weight: normal;
   color: #996c00;
}

.side-label {
   padding: 0px 0px 0px 0px;
   height: 17px;
}

.pagenav {
   font-family: Arial,Sans-Serif;
   font-size: 11px;
   font-weight: bold;
   color: #cca678;
   padding: 4px;
}

.pagenav span {
   color: #ffffff;
   background-color: #dbba92;
   border: 1px solid #ddd;
   padding: 2px 4px 2px 4px;
   margin: 2px;
}

.pagenav a {
   color: #555;
   background-color: #ececec;
   border: 1px solid #ddd;
   padding: 2px 4px 2px 4px;
   margin: 2px;
   text-decoration: none;
}

.pagenav a:hover {
   color: #ffffff;
   background-color: #d7b387;
   margin: 2px;
   text-decoration: none;
}
.laikas{
   background-repeat : no-repeat;
   width : 310px;
   height : 27px;
         font-family : Tahoma, Verdana, Arial, Helvetica;
      float: left;
   margin: 25px 0px 0 4px;
        position:absolute;
        left:20px;
        top:15px;
   font-size : 14px;
   color: #000;
}
     #zanrai {
   position:absolute;
   top:105px;
   left:455px;
   font-family:Tahoma;
   font-size:11px;
   color:#515151;
   font-weight:bold;
   }




Parašė K1ll3r34· 2012 Vas. 3 22:02:26
#8

Tai gal vis dėl to kas išmano ką čia padaryt/kaip padaryt gal galit padaryt? Numečiau juk styles.css, dėkui ;)