| mam problemik poniewaz nieznam php ale znam za to htmla :]. problem polega na tym ze chchialbym na kogu dac linki w htmlu by to wygladalo tak: 
 <img src="http://deka.ovh.org/theme/gt-cs_green/images/logo2.jpg" width="550" height="152" border="0" usemap="#Map"><map name="Map">
 <area shape="rect" coords="23,131,115,152" href="http://deka.ovh.org/index.php">
 <area shape="rect" coords="176,131,234,152" href="http://deka.ovh.org/articles.php">
 <area shape="rect" coords="241,131,304,151" href="http://deka.ovh.org/downloads.php">
 <area shape="rect" coords="312,131,355,152" href="http://deka.ovh.org/forum/index.php">
 <area shape="rect" coords="361,132,396,151" href="http://deka.ovh.org/weblinks.php">
 </map>
 
 gdyby ktos mogl to przerobic na php i jak to wstawic w miejsce loga
 
 moj theme.php
 
 <?
 $body_text = "#C5F2B8";
 $body_bg = "#2C2C2C";
 $theme_width = "100%";
 $theme_width_l = "207";
 $theme_width_r = "207";
 
 function render_header($header_content) {
 
 
 
 global $theme_width,$settings,$userdata,$aidlink,$loginerror;
 
 
 
 echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
 
 <tr>
 
 <td>
 
 <table cellpadding='0' cellspacing='0' width='100% align='mbody'>
 
 <tr>
 
 <td width='560' height='170' align='left' style='background-color: #393939; background-image:url(".THEME."images/logo.jpg);background-repeat: no-repeat; background-position: left; padding: 7px;'></td>";
 
 echo "<td width='700' height='170' align='left' >";
 
 echo "<div align='left'>";
 
 if (iMEMBER) {
 opensidel();
 if ($userdata['user_avatar'] != "") {
 
 echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='50' hight='50' alt='".$data['user_name']."'></center><br>\n";
 
 } else {
 
 echo "<center><img src='".INFUSIONS."user_info_panel/images/brak.gif' width='50' hight='50'></center><br>\n";
 
 }
 
 $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'");
 
 echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Edytuj Profil</a><br>
 
 <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Twoje Wiadomoœci</a><br>
 
 <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Lista U¿ytkowników</a><br>\n";
 
 if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) {
 
 echo "<img src='".THEME."images/bullet.gif' alt=''><a href='".ADMIN."index.php".$aidlink."' class='side'> Administracja</a><br>\n";
 
 }{echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>Wyloguj</a>\n";
 
 if ($msg_count) echo "<br><center><b><a href='".BASEDIR."messages.php' class='side2'>".sprintf('Masz %u PW' , $msg_count)."</a></b></center>\n";
 }
 tablebreak();
 
 } else {
 
 opensidel();
 
 echo "<div align='center'>".(isset($loginerror) ? $loginerror : "")."
 
 <form name='loginform' method='post' action='".FUSION_SELF."'>
 
 <input type='text' name='user_name' class='textbox' value='nick' onBlur=\"if(this.value=='') this.value='nick';\" onFocus=\"if(this.value=='nick') this.value='';\" style='width:100px'><br><br>
 
 <input type='password' name='user_pass' class='textbox' value='has³o' onBlur=\"if(this.value=='') this.value='has³o';\" onFocus=\"if(this.value=='has³o') this.value='';\" style='width:100px'><br>
 
 <input type='checkbox' name='remember_me' value='y' title='Zapamiêtaj mnie' style='vertical-align:middle;'>
 
 <input type='submit' name='login' value='Loguj' class='button2'>
 
 </form>
 
 <br>\n";
 
 if ($settings['enable_registration']) {
 
 echo "<a href='".BASEDIR."register.php' class='side'>rejestracja</a><br>\n";
 
 }
 
 echo "<a href='".BASEDIR."lostpassword.php' class='side'>lost password</a>
 
 </div>\n";
 
 }
 closesidel();
 echo "</div>";
 
 echo "</td>";
 
 echo "</tr></td></tr></table>\n";
 
 
 
 echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width' >\n<tr>
 
 <td class='pasek' width='100%' align='center' style='height: 32px;'>
 
 ".showsublinks("·","top_links")."
 
 </td>
 
 </tr>
 
 </table>\n";
 
 
 
 echo "<table align='center' cellpadding='0' cellspacing='0' width='$theme_width'>\n<tr>\n";
 
 
 
 }
 function opensidel() {
 
 
 
 echo "<table cellpadding='0' cellspacing='0' width='130' class='border' >
 
 <tr>
 
 <td class='side-body'></td>
 
 </tr>
 
 <tr>
 
 <td class='side-body'>\n";
 
 }
 
 
 
 function closesidel() {
 
 
 
 echo "</td>
 
 </tr>
 
 </table>\n";
 
 tablebreak();
 
 
 
 }
 
 function render_footer($license=false) {
 
 global $theme_width,$settings;
 
 echo "</tr>\n</table>\n";
 echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='footer' align='center'>".stripslashes($settings['footer'])."<br><br>Powered by: <b><a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> v". sprintf("%.2f", $settings['version'])."</b> <br> <b>gt-cs</b> theme by: <b><a href='http://webmer.pl' target='_blank'>sonar</a></b></td>
 </tr>
 </table>
 </td>
 <td class='righter'><img width='45' src='".THEME."images/righter.gif' height='1' alt=''></td>
 </tr>
 </table>\n";
 
 }
 
 function render_news($subject, $news, $info) {
 
 global $settings,$locale;
 
 
 echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='tresc01'></td>
 <td colspan='3' class='tresc02'></td>
 <td class='tresc03'></td>
 </tr>
 <tr>
 <td class='tresc04'></td>
 <td colspan='3' class='tresc05'>$subject</td>
 <td class='tresc06'></td>
 </tr>
 <tr>
 <td class='tresc07'></td>
 <td colspan='3' class='tresc08'></td>
 <td class='tresc09'></td>
 </tr>
 <tr>
 <td class='tresc10'></td>
 <td colspan='3' class='tresc11'>$news<br><br>
 <img src='".THEME."images/bullet.gif'  width='10' height='10' alt='' > ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ".$locale['041'].showdate("longdate", $info['news_date'])."
 <br><img src='".THEME."images/bullet.gif'  width='10' height='10' alt='' > ".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."
 <a href='news.php?readmore=".$info['news_id']."'>".$locale['043']."</a> [ ".$info['news_comments']." ] · [ ".$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'></a></td>
 <td class='tresc12'></td>
 </tr>
 <tr>
 <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt=''></td>
 <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt=''></td>
 <td class='tresc15' width='100%'></td>
 <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt=''></td>
 <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt=''></td>
 </tr>
 </table>\n";
 
 }
 
 function render_article($subject, $article, $info) {
 
 global $locale;
 
 echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='tresc01'></td>
 <td colspan='3' class='tresc02'></td>
 <td class='tresc03'></td>
 </tr>
 <tr>
 <td class='tresc04'></td>
 <td colspan='3' class='tresc05'>$subject</td>
 <td class='tresc06'></td>
 </tr>
 <tr>
 <td class='tresc07'></td>
 <td colspan='3' class='tresc08'></td>
 <td class='tresc09'></td>
 </tr>
 <tr>
 <td class='tresc10'></td>
 <td colspan='3' class='tresc11'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."
 <br>
 <br><img src='".THEME."images/bullet.gif'  width='10' height='10' alt='' > ".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
 ".$locale['041'].showdate("longdate", $info['article_date'])."<br><img src='".THEME."images/bullet.gif'  width='10' height='10' alt='' > <a href='articlecomments.php?article_id=".$info['article_id']."'>".$locale['043']."</a> [ ".$info['article_comments']." ] · [ ".$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' ></a></td>
 <td class='tresc12'></td>
 </tr>
 <tr>
 <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt=''></td>
 <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt=''></td>
 <td class='tresc15' width='100%'></td>
 <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt=''></td>
 <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt=''></td>
 </tr>
 </table>\n";
 
 }
 
 function opentable($title) {
 
 echo "<table width='100%' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='tresc01'></td>
 <td colspan='3' class='tresc02'></td>
 <td class='tresc03'></td>
 </tr>
 <tr>
 <td class='tresc04'></td>
 <td colspan='3' class='tresc05'>$title</td>
 <td class='tresc06'></td>
 </tr>
 <tr>
 <td class='tresc07'></td>
 <td colspan='3' class='tresc08'></td>
 <td class='tresc09'></td>
 </tr>
 <tr>
 <td class='tresc10'></td>
 <td colspan='3' class='tresc11'>\n";
 
 }
 
 function closetable() {
 
 echo "</td>
 <td class='tresc12'></td>
 </tr>
 <tr>
 <td class='tresc13'><img src='".THEME."images/tresc/tresc_13.gif' width='4' height='29' alt=''></td>
 <td class='tresc14'><img src='".THEME."images/tresc/tresc_14.gif' width='22' height='29' alt=''></td>
 <td class='tresc15' width='100%'></td>
 <td class='tresc16'><img src='".THEME."images/tresc/tresc_16.gif' width='22' height='29' alt=''></td>
 <td class='tresc17'><img src='".THEME."images/tresc/tresc_17.gif' width='4' height='29' alt=''></td>
 </tr>
 </table>\n";
 
 }
 
 function openside($title) {
 
 global $p_data;
 
 echo "<table width='207' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='bok01'></td>
 <td colspan='2' class='bok02'></td>
 <td class='bok03'></td>
 </tr>
 <tr>
 <td class='bok04'></td>
 <td colspan='2' class='bok05'>$title</td>
 <td class='bok06'></td>
 </tr>
 <tr>
 <td class='bok07'></td>
 <td colspan='2' class='bok08'></td>
 <td class='bok09'></td>
 </tr>
 <tr>
 <td class='bok10'></td>
 <td colspan='2' class='bok11'>\n";
 
 }
 
 function closeside() {
 
 global $p_data;
 
 if ($p_data['panel_side'] == 1) {
 
 echo "</td>
 <td class='bok12'></td>
 </tr>
 <tr>
 <td class='bok13'></td>
 <td class='bok14'></td>
 <td class='bok15'></td>
 <td class='bok16'></td>
 </tr>
 </table>"; }
 
 else {
 
 echo "</td>
 <td class='bok12'></td>
 </tr>
 <tr>
 <td class='bok13'></td>
 <td class='bok17'></td>
 <td class='bok14'></td>
 <td class='bok16'></td>
 </tr>
 </table>\n";
 }
 tablebreak();
 
 }
 
 function opensidex($title,$open="on") {
 
 global $p_data;
 
 $box_img = ($open=="on" ? "off" : "on");
 echo "<table width='207' border='0' cellpadding='0' cellspacing='0'>
 <tr>
 <td class='bok01'></td>
 <td colspan='2' class='bok02'></td>
 <td class='bok03'></td>
 </tr>
 <tr>
 <td class='bok04'></td>
 <td colspan='2' class='bok05'>$title <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'" : "")."></td>
 <td class='bok06'></td>
 </tr>
 <tr>
 <td class='bok07'></td>
 <td colspan='2' class='bok08'></td>
 <td class='bok09'></td>
 </tr>
 <tr>
 <td class='bok10'></td>
 <td colspan='2' class='bok11'>\n";
 
 }
 
 function closesidex() {
 
 global $p_data;
 
 if ($p_data['panel_side'] == 1) {
 
 echo "</div>
 </td>
 <td class='bok12'></td>
 </tr>
 <tr>
 <td class='bok13'></td>
 <td class='bok14'></td>
 <td class='bok15'></td>
 <td class='bok16'></td>
 </tr>
 </table>\n"; }
 
 else {
 
 echo "</div>
 </td>
 <td class='bok12'></td>
 </tr>
 <tr>
 <td class='bok13'></td>
 <td class='bok17'></td>
 <td class='bok14'></td>
 <td class='bok16'></td>
 </tr>
 </table>\n"; }
 tablebreak();
 
 }
 
 function tablebreak() {
 
 echo "<table width='100%' cellspacing='0' cellpadding='0'>
 <tr>
 <td height='2'></td>
 </tr>
 </table>\n";
 }
 ?>
 
 Edytowane przez Pieka dnia 22.12.2006 13:58:23
 |