Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: cstrikes dizaino bugas (pagalbos)
Parašė VilleR· 2009 Lie. 21 13:07:33
#1
Isidejau cstrikes dizaina. Ir iskart pamaciau buga. Su kodavimais nemoku dirbt tai prasau pagalbos :
Aciu kas pades
Theme.php
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#FFFFFF";
$body_bg = "#2c2c2c";
$theme_width = "905";
$theme_width_l = "274";
$theme_width_r = "274";
function render_header($header_content) {
global $theme_width,$locale,$data,$aidlink,$db_prefix;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='905'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='304'>
<tr>
<td <img src='".THEME."images/logo.jpg'></td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='905' class='paneles'>\n<tr>
<td align='center' width='200'>";
include THEME."latest_downloads_panel.php";
echo "</td>
<td align='center' width='250'>";
include THEME."popular_downloads_panel.php";
echo "</td>
<td align='center' width='0'>";
include THEME."user_info_panel.php";
echo "</td>
</tr>
</table><br>\n";
echo "<table cellpadding='0' align='center' cellspacing='0' width='$theme_width'>\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%' class='footer'>
<tr>
<td width='73' align='left' style='padding-left: 6px;padding-top: 13px;'> <a href='http://www.42studio.net/' target='_blank'><img src='".THEME."images/42.png' border='0'></a></td>
<td width='446'></td>
<td width='247' align='right' class='f_text'>TVS: <a href='http://www.php-fusion.co.uk' target='_blank' style='color:#000;'>PHP-Fusion</a> | 2008-2009</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' 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," ·").newsopts($info,"·").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 align='center' 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," ·").articleopts($info,"·").closeform("A",$info['article_id']);
echo "</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='capmain'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside_header($title) {
echo "<table align='center' cellpadding='center' cellspacing='0'>
<tr>
<td align='center'class='side-body-panel'>\n";
}
function closeside_header() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside_panel($title) {
echo "<table align='center' cellpadding='center' cellspacing='0' width='0'>
<tr>
<td class='side-body-panel'>\n";
}
function closeside_panel() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function openside($title) {
echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'>
<tr>
<td class='scapmain'>$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";
}
?>
Parašė FanatiC· 2009 Lie. 21 13:07:08
#2
Tau bugas tas iberezimas :D?
Parašė VilleR· 2009 Lie. 21 13:07:41
#3
Juk neesu profas ant
php fusion sakau kaip ismanau :)
Parašė Waldoss· 2009 Lie. 21 13:07:51
#4
Cia turbut tavo paneleja taip,jeigu naudoji openside,tai pakeisk i opentable
Parašė gintulys· 2009 Lie. 21 13:07:53
#5
Čia išvis gal temos paveiksliuke
Parašė VilleR· 2009 Lie. 21 13:07:26
#6
Cia turbut tavo paneleja taip,jeigu naudoji openside,tai pakeisk i opentable
Tada isvis paveiksliukas dingsta ..
Parašė 333· 2009 Lie. 21 23:07:35
#7
Mano manymu čia temos paveiksliuke, kaip Gintulys minėjo,
Nes taip kad sukoduota būtų nu neesu matęs.
Pasitikrint theme paveikslėlius, ir gerai apžiūrėk kampus, atsidaręs photoshop.
Ir išsididink kokiu 5x tada matysi.
Redagavo 333· 2009 Lie. 21 23:07:46