witam mam problem widoczny na screenie
co mam zrobić aby się to wyświetlało normalnie??
theme.php
<?php
/*--------------------------------------------+
| PHP-Fusion 6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| 247 Portal Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock © 2005 |
| web: http://phpfusion.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// Theme settings
$body_text = "#000000";
$body_bg = "#FFFFFF";
$theme_width = "755";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table width='100%'> ";
echo "<tr><td align='center' valign='top'>
<table width='754' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr><td align='left' valign='top'>
<table width='754' border='0' cellpadding='0' cellspacing='0' class='header_table'>
<td><td align='left' valign='top'>
<img src='".THEME."images/header_top.gif' alt='' width='754' height='5' /></td>";
echo "</tr><tr><td height='57' align='left' valign='middle' bgcolor='#FFFFFF'>
<img src='".THEME."images/logo.gif' alt='' width='208' height='39' class='logo'/>
</td>";
echo "</tr><tr><td align='left' valign='top' class='top_line'><img src='".THEME."images/line_bg.jpg' alt='' width='1' height='4' /></td></tr>
<tr><td style='white-space:pre; font-weight:bold;' align='right' valign='middle' width='100%' class='top_menu_bg'>";
echo '<td style="white-space:pre; font-weight:bold;" align="right" valign="middle" class="top_menu_bg">';
$result = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' ORDER BY link_order");
if (dbrows($result) != 0) {
$i = 0;
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_url']!="---") {
if ($i != 0) { echo " <img src='".THEME."images/divider.gif'> "; } else { echo ""; }
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "<a href='".$data['link_url']."'".$link_target." class='menulink'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='menu_link'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td></tr></table>";
echo "</td></tr></td>";
echo "<td align='left' valign='top'><table width='754' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align='left' valign='top' class='body_box'><table width='736' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align='left' valign='top' class='header_banner'><img src='".THEME."images/header_banner.jpg'/></td>
</tr>
<tr>
<td align='left' valign='top'><table width='736' border='0' cellpadding='0' cellspacing='0' class='services_teable'>
<tr>
<td width='200' align='left' valign='top' class='services_bg'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align='left' valign='top'><img src='".THEME."images/big.gif' alt='Logowanie i panel usera' width='106' height='20' /></td>
</tr>
<tr>
<td height='40' align='left' valign='top'> </td>
</tr>
<tr>
<td align='left' valign='top'>zawartosc panelu</td>
</tr>
</table></td>
<td width='12' align='left' valign='top'> </td>
<td width='200' align='left' valign='top' class='services_bg'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align='left' valign='top'><img src='".THEME."images/medium.gif' alt='MEDIUM' width='106' height='22' /></td>
</tr>
<tr>
<td height='40' align='left' valign='top'> </td>
</tr>
<tr>
<td align='left' valign='top' >zawartosc panela</td>
</tr>
</table></td>
<td width='12' align='left' valign='top'> </td>
<td width='200' align='left' valign='top' class='services_bg'><table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr>
<td align='left' valign='top'><img src='".THEME."images/medium.gif' alt='MEDIUM' width='106' height='22' /></td>
</tr>
<tr>
<td height='40' align='left' valign='top'> </td>
</tr>
<tr>
<td align='left' valign='top' >zawartosc panela</td>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings,$license;
echo "</tr>";
echo " <td align='left' valign='top'><table width='754' border='0' cellpadding='0' cellspacing='0' class='footer_table'>
<tr>
<td align='left' valign='bottom' class='footer_bg'><br>";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'>PHP-Fusion</a><br>";
echo"<b><font color='yellow'>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "<td width='136' align='left' valign='top'><a href='http://www.sarkis-webdesign.com' target='_blank'><img src='".THEME."images/web-designer.gif' alt='Freelance web designer' width='136' height='25' border='0' /></a></td>
</tr>
</table>\n";
}
}
function render_news($subject, $news, $info) {
global $locale;
echo "<br><table border='0' style='border: 1px solid #BCB778' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td class='tablehead' height='18'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'> ";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<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;'></a>";
echo "</td></tr></table></td></tr></table><br>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #BCB778' cellspacing='1' width='100%' cellpadding='1'><tr>";
echo "<td class='tablehead' height='18'>$subject</td>";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<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;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='100%' cellpadding='1' cellspacing='1' style='border: 1px solid #BCB778'>";
echo "<tr><td bgcolor='#F2F1E6' height='18' class='tablehead'>$title</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='4' cellspacing='0' class='border2'><tr>";
echo "<td class='main-body'><br>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table><br>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td><table width='100%' cellpadding='0' cellspacing='4'>";
echo "<tr><td class='paneltext2'>$title</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='side-body'>\n";
}
function closeside() {
echo "</td></tr></table><hr>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td><table width='100%' cellpadding='0' cellspacing='4'>";
echo "<tr>";
echo "<td class='paneltext2'><img align='right' onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' src='".THEME."images/panel_$box_img.gif'>$title</td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'>";
echo "<tr><td class='side-body'>\n";
echo "<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</td></tr></table><hr>\n";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
sorki za kłopot ale niedawno zacząłem przygode z programowaniem stron ;] |