Witam ! Czy dało by się w miejsce gdzie jest abcd wstawić shoutbox ? Kod thema na dole:
theme.php
<?
$body_text = "#332A0F";
$body_bg = "#1a1a1a";
$theme_width = "1090";
$theme_width_l = "179";
$theme_width_r = "179";
function render_header($header_content) {
global $theme_width,$settings;
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"1081\" align=\"center\">
<tr>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><img src=\"".THEME."images/lay3_03.jpg\" width=\"397\" height=\"294\" border=\"0\" alt=\"[Rozmiar: 25451 bajtów]\"></td>
<td>
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><img src=\"".THEME."images/lay3_04.jpg\" width=\"532\" height=\"112\" border=\"0\" alt=\"[Rozmiar: 15120 bajtów]\"></td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay3_07.jpg'); height: 182px; width: 532px\">abcd</td>
</tr>
</table>
</td>
<td><img src=\"".THEME."images/lay3_05.jpg\" width=\"152\" height=\"294\" border=\"0\" alt=\"[Rozmiar: 3488 bajtów]\"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height=\"65\">
<img src=\"".THEME."images/lay3_08.jpg\" width=\"17\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 403 bajtów]\"><a href=\"http://galactikfootball.info\"><img src=\"".THEME."images/lay3_09.jpg\" width=\"180\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2549 bajtów]\"></a><img src=\"".THEME."images/lay3_10.jpg\" width=\"111\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 657 bajtów]\"><a href=\"infusions/wob_team/index.php\"><img src=\"".THEME."images/lay3_11.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2942 bajtów]\"></a><img src=\"".THEME."images/lay2_13.jpg\" width=\"106\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 605 bajtów]\"><a href=\"forum/\"><img src=\"".THEME."images/lay2_14.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2246 bajtów]\"></a><img src=\"".THEME."images/lay2_15.jpg\" width=\"109\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 623 bajtów]\"><a href=\"http://galactikfootball.info/downloads.php\"><img src=\"".THEME."images/lay3_15.jpg\" width=\"178\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 2834 bajtów]\"></a><img src=\"".THEME."images/lay3_16.jpg\" width=\"24\" height=\"65\" border=\"0\" alt=\"[Rozmiar: 437 bajtów]\">\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' align='center'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<img src=\"".THEME."images/lay_32.jpg\" width=\"1069\" height=\"187\" border=\"0\" alt=\"[Rozmiar: 10979 bajtów]\">\n";
}
function render_news($subject, $news, $info) {
global $settings,$locale;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 13px; height: 43px; padding-left: 37px; padding-right: 20px; padding-top: 15px; width: 651px\" valign=\"top\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">$news <br><br> <table>
<tr>
<td style=\"font-size: 10px\">
";
echo openform("N",$info['news_id']).newsposter($info," ");
echo "
<img src=\"".THEME."images/bulletb.gif\"> ";
echo newsopts($info," ·").closeform("N",$info['news_id']);
echo "</a>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 13px; height: 43px; padding-left: 40px; padding-right: 20px; padding-top: 25px; width: 651px\" valign=\"top\">$subject</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>
</td>\n";
}
function opentable($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"711\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_18.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 13px; height: 40px; padding-left: 37px; padding-right: 20px; padding-top: 13px; width: 651px\" valign=\"top\">$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_272.jpg'); color: #FFFFFF; padding-left: 50px; padding-right: 50px\">\n";
}
function closetable() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_31.jpg\" width=\"711\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 984 bajtów]\"></td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"179\">
<tr>
<td style=\"background-image: url('".THEME."images/lay_17.jpg'); color: #FFFFFF; font-family: Verdana; font-size: 13px; height: 70px; padding-bottom: 16px; padding-left: 22px; width: 131px\"><br>$title</td>
</tr>
<tr>
<td style=\"background-image: url('".THEME."images/lay_20.jpg'); color: #FFFFFF; padding-left: 22px; padding-right: 18px\">\n";
}
function closeside() {
echo "</td>
</tr>
<tr>
<td><img src=\"".THEME."images/lay_26.jpg\" width=\"179\" height=\"22\" border=\"0\" alt=\"[Rozmiar: 537 bajtów]\"></td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
global $p_data;
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td><img src='".THEME."images/panel_01.gif' width='10' height='10' alt=''></td>
<td class='panel_top'><img src='".THEME."images/panel_02.gif' width='1' height='10' alt=''></td>
<td><img src='".THEME."images/panel_03.gif' width='10' height='10' alt=''></td>
</tr>
<tr>
<td class='panel_left'><img src='".THEME."images/panel_04.gif' width='10' height='1' alt=''></td>
<td class='side-body'><b>$title</b> <img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'><br><div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
global $p_data;
if ($p_data['panel_side'] == 1) {
echo "</div>
</td>
<td class='panel_right'><img src='".THEME."images/panel_06.gif' width='10' height='1' alt=''></td>
</tr>
<tr>
<td><img src='".THEME."images/panel_07.gif' width='10' height='23' alt=''></td>
<td class='panel_bottom' align='center'><img src='".THEME."images/panel_10.gif' width='287' height='23' alt=''></td>
<td><img src='".THEME."images/panel_09.gif' width='10' height='23' alt=''></td>
</tr>
</table>\n"; }
else {
echo "</div>
</td>
<td class='panel_right'><img src='".THEME."images/panel_06.gif' width='10' height='1' alt=''></td>
</tr>
<tr>
<td><img src='".THEME."images/panel_11.gif' width='10' height='23' alt=''></td>
<td class='panel_bottom' align='center'><img src='".THEME."images/panel_13.gif' width='287' height='23' alt=''></td>
<td><img src='".THEME."images/panel_12.gif' width='10' height='23' alt=''></td>
</tr>
</table>\n"; }
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td height='2'></td>
</tr>
</table>\n";
}
?>
Kliknij i zaczekaj na załadowanie kodu ...
|