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

Parašė Karalius· 2009 Vas. 7 14:02:10
#1

Va SCREEN: http://img530.imageshack.us/my.p...850nb8.gif

Man reikia ta centrine panele kur raudonai apvesta praplesti i sonus,kad neissitampytu saitas,kad sonines paneles but biski siauresnes,ka reikia keisti theme.php faile? :?

Parašė bad_user· 2009 Vas. 7 14:02:53
#2

theme.php sides puses mažink

Parašė Karalius· 2009 Vas. 7 15:02:59
#3

dekui ;)
bet,
gal galima tiksliua kurioje vietoje? :D

Redagavo Karalius· 2009 Vas. 7 15:02:38

Parašė Niger· 2009 Vas. 7 15:02:33
#4

Karalius parašė:
dekui ;)

gal galima tiksliua kurioje vietoje? :D
gal galima tiksliua kurioje vietoje? :D


Tau labai labai tiksliai pasake :D

Parašė Karalius· 2009 Vas. 7 15:02:57
#5

Na nemanau , kad labai tiksliai :D

Parašė Ginciuss· 2009 Vas. 7 15:02:20
#6

Nu taigi turi būt theme.php faile left side right side. ?|

Parašė Karalius· 2009 Vas. 7 15:02:02
#7

Jau nebereikia dekui visiems :)

Parašė Karalius· 2009 Vas. 7 16:02:26
#8

Na nejo niekaip susitvarkyti va idedu themes.php faila gal padesite :)

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#2c2c2c";
$theme_width = "931";
$theme_width_l = "254";
$theme_width_r = "254";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table width='932' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td rowspan='3'>
         <img src='".THEME."images/header_01.png' width='411' height='122' alt='' /></td>
      <td colspan='2'>
         <img src='".THEME."images/header_02.png' width='521' height='33' alt='' /></td>
   </tr>
   <tr>
      <td>
         <a href='http://csource.xz.lt'><img src='".THEME."images/header_03.png' width='468' height='60' alt='' border='0' /></a></td>
      <td>
         <img src='".THEME."images/header_04.jpg' width='53' height='60' alt='' /></td>
   </tr>
   <tr>
      <td colspan='2'>
         <img src='".THEME."images/header_05.png' width='521' height='29' alt='' /></td>
   </tr>
</table>

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header' height='31'>".showsublinks("&middot;","white")."</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer' height='52'>".stripslashes($settings['footer'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='395' align='center'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body' height='25'>$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='395' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td class='capmain' height='25'>$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='395' align='center'>
<tr>
<td class='capmain' height='25'>$title</td>
</tr>
<tr>
<td class='main-body' style='   border-bottom:4px solid #2c2c2c;'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain' height='25'>$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%'>
<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";

}
?>



Parašė Karalius· 2009 Vas. 7 18:02:45
#9

Atsiprasau uz flood , bet ziauriai reikia pagalbos :)

Parašė Spyware· 2009 Vas. 7 21:02:00
#10

// theme settings
$body_text = "#555555";
$body_bg = "#2c2c2c";
$theme_width = "931";
$theme_width_l = "254";
$theme_width_r = "254"

Čia keisk kažką.

Parašė Karalius· 2009 Vas. 7 21:02:55
#11

Tame ir esme ka? :D
Dar prigrybuosiu :?

Redagavo Karalius· 2009 Vas. 7 21:02:18

Parašė Meskis· 2009 Vas. 7 21:02:15
#12

$theme_width_l = "254";
$theme_width_r = "254"

Redagavo Meskis· 2009 Vas. 7 21:02:33

Parašė Karalius· 2009 Vas. 7 21:02:56
#13

Na bandysiu :)
Na va pasidariau,bet susimazinau.tik sonines paneles,ka reikia keisti kad padidinti centrine panele? :?

Redagavo Karalius· 2009 Vas. 7 21:02:11

Parašė Meskis· 2009 Vas. 7 21:02:28
#14

<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";

// theme settings
$body_text = "#555555";
$body_bg = "#2c2c2c";
$theme_width = "931";
$theme_width_l = "200";
$theme_width_r = "200";

function render_header($header_content) {

global $theme_width;

echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td>
<table width='932' border='0' cellpadding='0' cellspacing='0'>
   <tr>
      <td rowspan='3'>
         <img src='".THEME."images/header_01.png' width='411' height='122' alt='' /></td>
      <td colspan='2'>
         <img src='".THEME."images/header_02.png' width='521' height='33' alt='' /></td>
   </tr>
   <tr>
      <td>
         <a href='http://csource.xz.lt'><img src='".THEME."images/header_03.png' width='468' height='60' alt='' border='0' /></a></td>
      <td>
         <img src='".THEME."images/header_04.jpg' width='53' height='60' alt='' /></td>
   </tr>
   <tr>
      <td colspan='2'>
         <img src='".THEME."images/header_05.png' width='521' height='29' alt='' /></td>
   </tr>
</table>

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

echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>
<td class='sub-header' height='31'>".showsublinks("&middot;","white")."</td>
</tr>
</table>\n";

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

}

function render_footer($license=false) {

global $theme_width,$settings;

echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer' height='52'>".stripslashes($settings['footer'])."
</td>
</tr>
</table>
</td>
</tr>
</table>\n";

}

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

echo "<table cellpadding='0' cellspacing='0' width='500' align='center'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body' height='25'>$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='500' cellpadding='0' cellspacing='0' align='center'>
<tr>
<td class='capmain' height='25'>$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='500' align='center'>
<tr>
<td class='capmain' height='25'>$title</td>
</tr>
<tr>
<td class='main-body' style='   border-bottom:4px solid #2c2c2c;'>\n";

}

function closetable() {

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

}

function openside($title) {
   
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='scapmain' height='25'>$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%'>
<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";

}
?>



Redagavo Meskis· 2009 Vas. 7 21:02:47

Parašė Karalius· 2009 Vas. 7 21:02:09
#15

viskas pasidare taip pat kaip ir buvo ?|

Parašė Meskis· 2009 Vas. 7 21:02:44
#16

pamiršau pakeist panelų plotį. bandyk vėl.
EDIT
vėl bandyk :]

Redagavo Meskis· 2009 Vas. 7 21:02:19

Parašė Karalius· 2009 Vas. 7 21:02:14
#17

EDIT Viskas butu labai saunu bet sentrine panele per daug i sonus jau :D

Redagavo Karalius· 2009 Vas. 7 21:02:10

Parašė Meskis· 2009 Vas. 7 21:02:05
#18

per plati?

Parašė Karalius· 2009 Vas. 7 21:02:00
#19

na taip :) , ir skaitliukas dar dingo nuo footerio :D

Parašė Meskis· 2009 Vas. 7 21:02:22
#20

aš tik dviejose vietose keičiau, šoninų panelų plotį ir news plotį. nieko daugiau nedariau. tuoj redaguosiu tą viršuj...
EDIT
jau..
jei ką, čia keiti viską pagal save ;)

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

echo "<table cellpadding='0' cellspacing='0' width='500' align='center'>
<tr>
<td class='capmain'>$subject</td>
</tr>
<tr>
<td class='main-body' height='25'>$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";



EDIT

Vėl paredagavau, tikiuosi dabar bus gerai :D

Redagavo Meskis· 2009 Vas. 7 21:02:01

Parašė Karalius· 2009 Vas. 7 21:02:54
#21

ok ;)
Na viskas dabar gerai bet kai ieini pvz: i foruma buna mazos tos paneles centrine ;/
smailus isjunk :D

Redagavo Karalius· 2009 Vas. 7 21:02:08

Parašė Karalius· 2009 Vas. 7 22:02:01
#22

labai aciu tau +10

Parašė Meskis· 2009 Vas. 7 22:02:14
#23

nėra už ką, jei sugebu, padedu. ;)