Witam chciałbym wstawić coś u sibie nad logo może jakś reklame flash lub jakąś grafike jeszcze nie myślalem ale pewnie to zrobie lecz sęk w tym jak gdzie mam wstawić kod ?? pliki thme poniżej
<?
/*--------------------------------------------+
g| PHP-Fusion v6 - 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) |
+--------------------------------------------*/
/*--------------------------------------------+
| Fallout Theme Theme for PHP-Fusion v6.x |
| BASED ON "X3" THEME |
|---------------------------------------------|
| author: Therror |
| web: http://www.therror.ovh.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
// theme settings
$body_text = "#ffffff";
$body_bg = "#000000";
$theme_width = "800";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings,$locale;
[color=blue]echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:0px #aaa solid;'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='full-header' style='padding:3px;'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";[/color]
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='white-header'>\n";
echo "<center><a href='news.php'><img src='themes/Fallout1/images/newsa1.jpg' border=0></a><a href='photogallery.php'><img src='themes/Fallout1/images/galeriaa1.jpg' border=0></a><a href='forum/index.php' target='ramka'><img src='themes/Fallout1/images/foruma1.jpg' border=0></a><a href='viewpage.php?page_id=11' target='ramka'><img src='themes/Fallout1/images/reklamaa1.jpg' border=0></a><a href='viewpage.php?page_id=13' target='_blank'><img src='themes/Fallout1/images/teama1.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><img src='themes/Fallout1/images/wymianaa1.jpg' border=0><a href='viewpage.php?page_id=15' target='ramka'></center>";
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<center><table cellpadding='0'border='0' cellspacing='0' width='56%'></center><tr>";
echo "<td>".stripslashes($settings['footer'])."<br>";
echo "<table height='30' bgcolor='#721507' style='border: 1px solid #721507' cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='10%' class='footer' align='left'><div align='left'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." 2006";
}
echo "</div></td>";
echo "<td class='footer' width='' align='left'></td>";
echo "<td class='footer' width='0%' align='right'>";
echo "<font class='visits'><b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></td>";
echo "</tr></table></td></tr></table>";
echo "<td width='0' nowrap='nowrap' class='righttd'></td></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capleftbig'><img src='".THEME."images/blank.gif' width='20' height='37' alt='' style='display:block'></td>
<td class='capmainbig'>$subject<br>
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>
$news
</td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td align='right' class='news-footer'>\n";
echo "<span class='small'>".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."' class='white'>".$info['user_name'].", </a>
".$locale['041'].showdate("longdate", $info['news_date'])."</span> |";
if ($info['news_ext'] == "y") echo "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> |";
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']."
<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>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='capleft'><img src='".THEME."images/blank.gif' width='17' height='25' alt='' style='display:block'></td>
<td class='capmain'>$title</td>
<td class='capright'><img src='".THEME."images/blank.gif' width='17' height='25' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='scapleft'><img src='".THEME."images/blank.gif' width='35' height='27' alt='' style='display:block'></td>
<td class='scapmain'>$title</td>
<td class='scapright'><img src='".THEME."images/blank.gif' width='17' height='27' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
}
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 class='scapleft'><img src='".THEME."images/blank.gif' width='35' height='27' alt='' style='display:block'></td>
<td class='scapmain'>$title</td>
<td class='scapmain' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
<td class='scapright'><img src='".THEME."images/blank.gif' width='17' height='27' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-body'>
<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Edytowane przez as dnia 08.02.2007 23:01:57
|