Skocz do zawartości

Obrazek do extreme fusion


Grela

Rekomendowane odpowiedzi

A więc tak. Moglibyście mi podpowiedzieć która linijka odpowiada za logo na stronie?? bardzo prosze :) oto kod:

<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System   |
|---------------------------------------------|
| author: Nick Jones (Digitanium) © 2002-2005 |
| web: http://www.php-fusion.co.uk            |
| email: nick@php-fusion.co.uk                |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/
/*--------------------------------------------+
|      Insecure Theme for PHP-Fusion v6       |
|---------------------------------------------|
| author: PHP-Fusion Themes - ww.old © 2005   |
| web: http://phpfusion.org                   |
| email: ww.old@wp.pl                          |
|---------------------------------------------|
| Released under the terms and conditions of  |
| the GNU General Public License (Version 2)  |
+--------------------------------------------*/


/************************/
/* Theme Settings        */
/************************/
$body_text = "#CCCCCC";
$body_bg = "#464646";
$theme_width = "100%";
$theme_width_l = "172";
$theme_width_r = "172";



function render_header($header_content) {
global $theme_width,$settings;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' height='100%'><tr><td class='table_left'><img src='".THEME."images/blank.gif' alt=''></td><td class='table_center'  valign='top'><table align='center' width='100%' cellspacing='0' cellpadding='0''><tr><td><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='full-header'><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='top_header_left'><img src='".THEME."images/header/header_left.gif' alt=''></td><td class='top_header_center'><img src='".IMAGES."banner.gif' alt=''></td><td class='top_header_right'><img src='".THEME."images/header/header_right.gif' alt=''></td></tr></table></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'><tr><td class='menu_left'><img src='".THEME."images/menu/menu_left.gif' alt=''></td><td class='menu_center' width='150'> </td><td class='menu_center'><center><img src='".THEME."images/bullet.gif' alt=''> | ";
$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/bullet.gif' alt=''>  "; } 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 ? " " : "")." | <img src='".THEME."images/bullet.gif' alt=''></center></td><td class='menu_center' align='right'>".ucwords(showdate($settings['subheaderdate'], time()))."  </td><td class='menu_right'><img src='".THEME."images/menu/menu_right.gif' alt=''></td></tr></table><table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}



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='100%' cellpadding='0' cellspacing='0'><tr><td width='66%' class='full-footer'>";
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk'><img src='".THEME."images/pf_black.gif' border='0' alt=''></a> v".$settings['version']." © 2003-2005";
}
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=\"java script: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";
}
?>

Z GÓRY DZIĘKUJE

Odnośnik do komentarza
Udostępnij na innych stronach

  • Administratorzy

a widzisz jakieś parametry width i height ??

 

btw. żeby odszukać ten obrazek, wystarczyło we właściwościach sprawdzić jego nazwę i odszukać w kodzie potem - Ctrl+F to skrót od szukaj - tak na przyszłość.

Odnośnik do komentarza
Udostępnij na innych stronach

Ech to nie działa dałem taki kod zamian:

<img src='".IMAGES."http://www.gmclan.org/uploader/1867/GG.png' alt=''>

I co?? nie ma na stronie głównej żadnego obrazka zamiast tego jest pusto i nie ma nawet znaczku czerwonego iks. Co jest powodem??

Odnośnik do komentarza
Udostępnij na innych stronach

Ech to nie działa dałem taki kod zamian:
<img src='".IMAGES."http://www.gmclan.org/uploader/1867/GG.png' alt=''>

I co?? nie ma na stronie głównej żadnego obrazka zamiast tego jest pusto i nie ma nawet znaczku czerwonego iks. Co jest powodem??

Skasuj te ".IMAGES." (wraz z cudzysłowami oczywiście) i zobacz, co się stanie ._.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
  • Ostatnio przeglądający   0 użytkowników

    • Brak zarejestrowanych użytkowników przeglądających tę stronę.
×
×
  • Dodaj nową pozycję...