Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Neina pakeisti dydzio

Parašė ch0k3· 2008 Lie. 25 22:07:05
#1

Sveiki noriu pakeisti sb(cellpic) dydį iš 458x35 į 470x35 ir neišeina
theme.php:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td style='padding-left:550px;'>";






   
   
if (iMEMBER) {
$msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
echo ($userdata['user_avatar'] ? "<img src='".IMAGES."avatars/".$userdata['user_avatar']."' width='70' height'70' align='left' style='margin-right: 10px;'>" : "<img src='".THEME."images/noav.gif' width='70' height'70' align='left' style='margin-right: 10px;'>")."
<a href='".BASEDIR."profile.php?lookup=".$userdata['user_id']."' class='user'>Profilis</a> <br>
<a href='".BASEDIR."edit_profile.php' align='left'>Apra&#240;ymas</a> <br>
<a href='".BASEDIR."messages.php' align='left'>&#222;inut&#235;s</a> <br>
<a href='".BASEDIR."members.php' align='left'>Nariai</a> <br>\n";
   if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
      echo "<a href='".ADMIN."index.php".$aidlink."' align='left'>Administracija</a> <br>\n";
   }
   echo "<a href='".BASEDIR."setuser.php?logout=yes' align='left'>Atsijungti</a> \n";
} else {
echo "<form name='loginform' method='post' action='".FUSION_SELF."'>
Vardas: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type='text' name='user_name' class='textbox' style='width:140px' ><br>
Slapta&#254;odis: <input type='password' name='user_pass' class='textbox' style='width:140px;margin-top:2px;' ><br>
<input type='checkbox' name='remember_me' value='y' title='prisiminti kit&#224; kart&#224;?' style='vertical-align:middle;'>- prisiminti? &nbsp; &nbsp; <input type='submit' name='login' value='Jungtis' class='button'>
</form>
\n";
   if ($settings['enable_registration']) {
      echo "<a href='".BASEDIR."register.php' class='user'>Registruotis</a>\n";
   }
   
echo "<a href= register.php>Registracija</a> / <a href= lostpassword.php>Slaptazodis</a>\n";

       
}











echo"
</tr>
</table>
</td>
</tr>
</table>\n";



echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>
  <tr>
    <td><table border='0' align='center' cellpadding='0' cellspacing='0'>
      <tr>
        <td width='75' align='center'><a href='index.php'><img src='".THEME."images/namai.png' border=0' alt='Pradinis'></a></td>

        <td width='75' align='center'><a href='forum/index.php'><img src='".THEME."images/forumas.png' border=0' alt='Diskusijos'></td>
        <td width='75' align='center'><a href='downloads.php'><img src='".THEME."images/siuntimai.png' border=0' alt='Siuntiniai'></td>
 <td width='75' align='center'><a href='viewpage.php?page_id=14'><img src='".THEME."images/reklama.png' border=0' alt='Reklama'></td>
  <td width='75' align='center'><a href='infusions/lgsl/index.php'><img src='".THEME."images/serveriai.png' border=0' alt='Serveriai'></td>
   
      </tr>
    </table></td>";
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
 
}

function render_footer($license=false) {

global $theme_width,$settings;

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='100' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>Varikliukas: PHP fusion</a> | Dizainas Kurtas: ch0k3<br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

function render_news($subject, $news, $info) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/sb.jpg' height='35' class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>$news</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("N",$info['news_id']).newsposter($info," &middot;").newsopts($info,"&middot;").closeform("N",$info['news_id']);
echo "</td>
</tr>
</table>\n";

}

function render_article($subject, $article, $info) {
   
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";

}

function opentable($title) {

echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td background='".THEME."images/sb.jpg' height='35' class='capmain'>&nbsp;&nbsp;&nbsp;$title</td>
</tr>
<tr>
<td class='main-body'>\n";

}

function closetable() {

echo "</td>
</tr>
</table>\n";

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td background='".THEME."images/sbc.jpg' height='35' class='scapmain'>&nbsp;&nbsp;&nbsp;$title</td>
</tr>
<tr>
<td class='side-body'>\n";

}

function closeside() {

echo "</td>
</tr>
</table>\n";
tablebreak();

}

function opensidex($title,$state="on") {

$boxname = str_replace(" ", "", $title);
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td>
</tr>
<tr>
<td colspan='2' class='side-body'>
<div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n";

}

function closesidex() {

echo "</div>
</td>
</tr>
</table>\n";
tablebreak();

}

function tablebreak() {

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n";

}
?>




styles.css :
a {
   color : #000000;
   text-decoration : none;
}

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

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

a:hover.side {
   color : #000000;
   text-decoration : underline;
}

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

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

body {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
   background-color : #000000;
   background-image: url(images/bg.jpg);
   background-position: top center;
   background-repeat: repeat-x;
}

form {
   margin : 0px;
}

hr {
   height : 1px;
   border : 1px solid #eee;
}

hr.side-hr {
   height : 1px;
   border : 1px solid #dedede;
}

td {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

pre {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 11px;
}

.alt {
   color : #000000;
}
 
.outer-border {
   border : 0px solid #ffffff;
}

.sub-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #fff;
   padding : 0px;
   background-color : #ffffff;
   border : 2px solid #ffffff;
}

.full-header {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000000;
   border : 0px solid #000000;
background: url(images/header.jpg);
height: 270px;



}

.footer {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000;
   background-color : #ffffff;
   padding : 1px;
}

.button {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000000;
   background-color : #ffffff;
   height : 20px;
   border : 1px solid #000000;
   margin-top : 2px;
}

.textbox {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   color : #000000;
   background-color : #ffffff;
   border : 1px solid #000000;
}

.main-body {
   font-size : 11px;
   color : #000;
   background-color : #ffffff;
   padding : 4px 0px 5px 0px;
}

.side-body {
   font-size : 10px;
   color : #777;
   background-color : #ffffff;
   padding : 4px;
}

.main-bg {
   color : #555;
   background-color : #ffffff;
   padding : 10px 5px 10px 5px;
}

.border {
   border : 0px solid #ffffff;
}

.side-border-left {
   color : #000;
   background-color : #ffffff;
   padding : 10px 5px 10px 10px;
}

.side-border-right {
   color : #000;
   background-color : #ffffff;
   padding : 10px 10px 10px 5px;
}

.news-footer {
   font-size : 10px;
   color : #555;
   background-color : #ffffff;
   background-image: url(images/nf.jpg);
   background-repeat: no-repeat;
   padding : 3px 4px 4px 4px;
}

.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #ffffff;
   background-image: url(images/sb.jpg);
   background-repeat: no-repeat;
   padding : 4px
}

.scapmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #ffffff;
   background-color : #ffffff;
   padding : 4px;
}

.tbl-border {
   color : #000;
   background-color : #000;
}

.tbl {
   font-size : 11px;
   color : #000;
   background-color : #fff;
   padding : 4px;
}

.tbl1 {
   font-size : 11px;
   color : #000;
   background-color : #fff;
   padding : 4px;

}

.tbl2 {
   font-size : 11px;
   color : #000;
   background-color : #f1f1f1;
   padding : 4px;

}

.forum-caption {
   font-size : 11px;
   font-weight : bold;
   color : #000;
   background-color : #f1f1f1;
   padding : 2px 4px 4px 4px;
}

.quote {
   font-size : 11px;
   color : #555;
   background-color : #f8f8f8;
   padding : 4px;
   margin : 0px 20px 0px 20px;
   border : 1px solid #000;
}

.poll {
   height : 12px;
   border : 1px solid #000000;
}

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

.shoutboxname {
   font-weight : bold;
   color : #000;
}

.shoutbox {
   color : #000;
}

.shoutboxdate {
   font-size : 10px;
   color : #000;
}

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

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

.side-small {
   font-size : 10px;
   font-weight : normal;
   color : #000000;
   background-color : #fff;
}

.side-label {
   color : #000;
   background-color : #fff;
   padding : 2px 2px 3px 2px;
}



Redagavo ch0k3· 2008 Lie. 25 23:07:45

Parašė kingiux· 2008 Lie. 25 23:07:52
#2

Man atrodo kad reikia viso saito dydį keist :D

Parašė ch0k3· 2008 Lie. 26 19:07:53
#3

wtf? gal kas žinot kaip ta cellpic pakeist?

Redagavo ch0k3· 2008 Lie. 26 19:07:16

Parašė _MaZvE_· 2008 Lie. 26 19:07:59
#4

prisek visa theme sutvarkysiu

Parašė robert· 2008 Lie. 26 19:07:05
#5

function render_article($subject, $article, $info) {
   
echo "<table width='470px' cellpadding='0' cellspacing='0'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body'>
".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td align='center' class='news-footer'>\n";
echo openform("A",$info['article_id']).articleposter($info," &middot;").articleopts($info,"&middot;").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";




Pabandyk, gal pades bet tiksliai nezinau..

Parašė ch0k3· 2008 Lie. 26 19:07:14
#6

eTa parašė:
prisek visa theme sutvarkysiu

sb i 470x35 o sbc palik;)

Redagavo ch0k3· 2008 Lie. 26 19:07:06

Parašė _MaZvE_· 2008 Lie. 26 20:07:45
#7

bandyk ;) nezinau ar isejo :D

Redagavo _MaZvE_· 2008 Lie. 26 20:07:11

Parašė ch0k3· 2008 Lie. 27 20:07:28
#8

nu tas pats velnias:(

Redagavo ch0k3· 2008 Lie. 27 20:07:48

Parašė ch0k3· 2008 Lie. 28 11:07:29
#9

Negi nieks nežinot?:o

Parašė Žmogus· 2008 Lie. 28 11:07:55
#10

Paro foto kaip atrodo theme

Parašė RuP3r· 2008 Lie. 28 12:07:39
#11

Pasakyk ar bent kiek paaušktėja kai įdedi šitą.
.capmain {
   font-family : Verdana, Arial, Helvetica, sans-serif;
   font-size : 10px;
   font-weight : bold;
   color : #ffffff;
   background-image: url(images/sb.jpg);
   background-repeat: no-repeat;
   padding : 5px
}



Parašė ch0k3· 2008 Lie. 28 16:07:01
#12

ShadoVw parašė:
Paro foto kaip atrodo theme





Redagavo ch0k3· 2008 Lie. 28 16:07:56

Parašė Žmogus· 2008 Lie. 28 16:07:03
#13

.side-border-left {
   color : #000;
   background-color : #ffffff;
   padding : 10px 0px 10px 10px;
}

.side-border-right {
   color : #000;
   background-color : #ffffff;
   padding : 10px 10px 10px 0px;
}




Keisk šitą į originalą

Parašė ch0k3· 2008 Lie. 28 16:07:30
#14

Ačiū :);)

Parašė zabello· 2008 Lie. 28 19:07:53
#15

neverta net tokios redaguoti

P.S UGLY THEME

Redagavo zabello· 2008 Lie. 28 19:07:06

Parašė ch0k3· 2008 Lie. 28 20:07:17
#16

Man visiškai pochui tavo nuomonė, nes rašai tik del postų ir statuso:[

Parašė kingiux· 2008 Lie. 28 21:07:32
#17

na man tai nelabai :[ zabbelo taip tai verta jei labai nori :)

Redagavo kingiux· 2008 Lie. 28 21:07:10

Parašė ch0k3· 2008 Lie. 28 21:07:09
#18

karočia kingiux nedaryk offtopic!Viskas tema baikta paprašiau-padarė padėkojau fsio.

Parašė kingiux· 2008 Lie. 28 22:07:01
#19

aisq :D ir nedarau off-topic :D

Parašė starka· 2008 Lie. 28 22:07:58
#20

zabello flooderis. prase tawes kas wertint tema jis prase pakeist dydi. :[

Parašė ch0k3· 2008 Lie. 29 09:07:04
#21

starka15 parašė:
zabello flooderis. prase tawes kas wertint tema jis prase pakeist dydi. :[

Kokią tu čia pieva parašiai?:|