Witam mam problem z themem podejrzewam że żle coś z td ale nie wiem gdzie chodzi mi o tą kreske jest przy każdym bloku co usunąć HELP
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fu... |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| PW Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: Pilchu © 2007 |
| web: http://pilchu.yoy... |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/************************/
/* Theme Settings */
/************************/
$body_text = "#FFFFFF";
$body_bg = "#2D2D2D";
$theme_width = "878";
$theme_width_l = "172";
$theme_width_r = "172";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td class='full-footer'>".stripslashes($settings['footer'])."</td></tr></table><table cellpadding='0' cellspacing='0' width='100%'><tr><td align='center' class='full-footer'><table width='790' cellpadding='0' cellspacing='0'><td width='66%' class='full-footer'>";
if ($license == false) {
echo " Powered by <a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> v".$settings['version']." © 2003-2005 l l Theme <b>PW</b> by: <A HREF='http://www.pilchu.yoyo.pl' TITLE='Theme by PilchuWEB'>Pilchu</A>";
}
echo "</td> <td align='right' width='33%' class='full-footer'><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td></tr></table></td></tr></table></td><td class='table_right'><img src='".THEME."images/blank.gif' alt=''></td></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td> <td class='info_center'><img src='".THEME."images/bullet.gif'> ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'> $news<br><br></td><td class='side_right'></td></tr></table><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·
".$info['news_reads'].$locale['044']." <a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$subject</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'></td> <td class='info_center'><img src='".THEME."images/bullet.gif'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."</td><td class='info_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'> ".($info['article_breaks'] == "y" ? nl2br($article) : $article)."<br><br><table width='100%' cellpadding='0' cellspacing='0'><tr><td align='right' class='news-footer'>";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n";
echo "<a href='readarticle.php?article_id=".$info['article_id']."'>".$info['article_comments'].$locale['043']."</a> ·
".$info['article_reads'].$locale['044']." <a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' border='0' style='vertical-align:middle;' width='11'></a></td></tr></table></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td><td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td><td class='side-body'>\n";
}
function closetable() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$title</td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'>\n";
}
function closeside() {
echo "</td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='header_left'></td> <td class='header_center'>$title</td><td class='header_center' align='right'><img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'></td><td class='header_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='info_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='info_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='info_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='side_left'></td> <td class='side-body'><div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td><td class='side_right'></td></tr></table></td></tr><tr><td><table width='100%' cellpadding='0' cellspacing='0'><tr><td class='bottom_left'><img src='".THEME."images/blank.gif' alt=''></td> <td class='bottom_center'><img src='".THEME."images/blank.gif' alt=''></td><td class='bottom_right'><img src='".THEME."images/blank.gif' alt=''></td></tr></table></td></tr></table>\n";
tablebreak();;
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='3'></td></tr></table>\n";
}
?> Kliknij i zaczekaj na załadowanie kodu ...
PW od moderatora:
- Zmiana nazwy tematu - Grzes 28.12 - 20:26
- Przeniesienie tematu - Pieka 28.12 - 21:28
Edytowane przez Pieka dnia 28.12.2008 21:29:19
|