Witam! Mam tą skórkę i chciałbym wstawić do niej własne logo... tylko nie wiem jak... szukałem, ale nic nie znalazłem.
<?
//************************************************************************************************************************//
// Theme Name: Comstock Theme for PHP-Fusion 6.00
// Theme Design: by: PHP-Fusion Themes (http://phpfusion.org)
// version 2.0
//
// PHP-Fusion Themes and/or Lorkan is a Registered Organization and holds a copyright with CIPO
// Original Author of file: PHP-Fusion Themes [Shedrock]
// Developed by: PHP-Fusion Themes - Bringing Your Portal To Life
// Copyright © 2005 by PHP-Fusion Themes - All Rights Reserved
// ----------------------------------------------------------------------
// THEME MODIFICATION
// Users may alter or modify this theme at their own risk,
// but only for their own use. They may also hire PHP-Fusion Themes to modify their own copy of the theme.
// Although users may modify the code for their use,
// modified code may not be resold or distributed,
// without express written permission from PHP-Fusion Themes.
//
// DISPLAY OF COPYRIGHT NOTICES REQUIRED
// All copyright notices used within the scripts that the scripts generate,
// MUST remain intact. Furthermore, these notices must remain visible.
//
// SUPPORT
// PHP-Fusion Themes provides free support on all their theme designs.
// (includes consulting, troubleshooting and fixing problems).
// For Support, please visit us at: http://www.phpfusion.org/forum/viewforum.php?forum_id=2
//
// PHP-Fusion Themes is not liable for any products or services offered by means of the theme.
// The user must assume the entire risk of using the program.
//************************************************************************************************************************//
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#899DA4";
$theme_width = "100%";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings,$userdata;
echo "<table class='bodyline' cellSpacing='0' cellPadding='0' width='970' align='center' border='0'>";
echo "<tr><td><table title='".$settings[sitename]."' class='topbkg' cellSpacing='0' cellPadding='0' width='100%' border='0'>";
echo "<tr><td><a href='index.php'><img src='".THEME."images/logol.jpg' border='0' width='280' height='110' title='".$settings[sitename]."'></a></td>";
echo "<td align='right' width='550'></td>";
echo "<td><a href='".BASEDIR."index.php'>";
echo "<img src='".THEME."images/logor.jpg' border='0' width='140' height='110' title='".$settings[sitename]."'></a>";
echo "</td></tr></table>";
echo "<table width='100%' border='0' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table width='100%' height='20' border='0' cellpadding='4' cellspacing='0' background='".THEME."images/cellpic_nav.gif'>";
echo "<tr><td class='topnav' width='195' nowrap> <font class='marquee'><MARQUEE BEHAVIOR='SCROLL' VALIGN='BOTTOM' DIRECTION='LEFT' WIDTH='150' HEIGHT='10' SCROLLAMOUNT='2' SCROLLDELAY='1' ONMOUSEOVER='this.stop()' ONMOUSEOUT='this.start()'>";
echo "Welcome to: ".$settings[sitename]." [<font color='#006DDC'>".(iMEMBER ? $userdata['user_name'] : "Guest")."</font>]</MARQUEE></font></td>";
echo "<td class='topnav' align='center' nowrap>";
$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 " r6;\n"; } else { echo "\n"; }
$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='white'>".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target." class='white'>".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>\n";
echo "<td class='topnav' width='195' nowrap><div align='right'><font class='date'><strong>".ucwords(showdate($settings['subheaderdate'], time()))." </font>";
echo "</td></tr></table></td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' border='0' align='center'>";
echo "<tr valign='top'>";
echo "<td valign='middle' align='right'>";
echo "<table width='100%' cellpadding='4' bgcolor='#F9F9F9' cellspacing='0' border='0'>";
}
/*******************************************************************/
/* PLEASE RESPECT THE AUTHORS AND THEIR LINKS. */
/* DO NOT REMOVE THE CREDITS OR LINKS IN THE FOOTER OF THIS THEME. */
/*******************************************************************/
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</td></tr></table>\n";
echo "<table cellSpacing='0' cellPadding='2' width='$theme_width' border='0'><tr>";
echo "<td align='center'>".stripslashes($settings['footer'])."</td>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='35%' class='topnav' align='center'><div align='left'> ";
if ($license == false) {
echo "Powered by <a target='_blank' href='http://www.php-fusion.co.uk'><img src='".THEME."images/fusion.gif' title='PHP-Fusion' style='vertical-align:top;'></a> v".$settings['version']." © 2003-2005";
}
echo "</div></td>";
echo "<td width='20%' class='topnav' align='left'>";
echo "Comstock by: <a target='_blank' href='http://phpfusion.org'><img title='PHP-Fusion Themes' src='".THEME."images/fthemes.gif' style='vertical-align:top;'></a></td>";
echo "<td width='35%' class='topnav' align='middle'><div align='right'>";
echo "<b>".$settings['counter']." </b></font>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo " </div></td></tr></table>";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td align='left'>";
echo "<img border='0' src='".THEME."images/icon_read.gif'> <font class='news-title'>$subject</b></font></td>";
echo "<td align='right'><a href='submit.php?stype=n'><img border='0' src='".THEME."images/icon_submit.gif' alt='Submit News'></a> ";
echo "<img border='0' src='".THEME."images/div.gif'> ";
echo "<a href='submit.php?stype=a'><img border='0' src='".THEME."images/icon_articles.gif' alt='Submit Article'></a> ";
echo "<img border='0' src='".THEME."images/div.gif'> ";
echo "<a href='forum/index.php'><img border='0' src='".THEME."images/icon_forums.gif' alt='Visit our Forum'></a> </td>";
echo "</td></tr></table>";
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'>$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>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td class='cat'><table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td align='left'>";
echo "<img border='0' src='".THEME."images/icon_read.gif'> <font class='news-title'>$subject</b></font></td>";
echo "<td align='right'><a href='submit.php?stype=n'><img border='0' src='".THEME."images/icon_submit.gif' alt='Submit News'></a> ";
echo "<img border='0' src='".THEME."images/div.gif'> ";
echo "<a href='submit.php?stype=a'><img border='0' src='".THEME."images/icon_articles.gif' alt='Submit Article'></a> ";
echo "<img border='0' src='".THEME."images/div.gif'> ";
echo "<a href='forum/index.php'><img border='0' src='".THEME."images/icon_forums.gif' alt='Visit our Forum'></a> </td>";
echo "</td></tr></table>";
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='2' cellspacing='1' style='border: 1px solid #333333'>";
echo "<tr><td bgcolor='#D8D8D8' background='".THEME."images/cellpic1.gif' height='20'><font class='head-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #333333' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='27' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='left' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#EFEFEF' class='side-body' width='100%'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
załączam kod...
z góry dziękuję za wszelaka pomoc :-) POZDRAWIAM |