Mam pytanie jak zrobić Logo z menu mam tutaj zrobione w htmlu
http://headshot-g...
i chce to wstawić zamiast loga próbowałem to zrobić ale jakoś mi się nie udało o to co zrobiłem:
to jest ten początek logo
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "
<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"820\" align=\"center\">
<tr>
<td><img src=\"shim.gif\" width=\"168\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"24\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"157\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"39\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"157\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"29\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"157\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"89\" height=\"1\" border=\"0\" alt=\"\"></td>
<td><img src=\"shim.gif\" width=\"1\" height=\"1\" border=\"0\" alt=\"\"></td>
</tr>
<tr>
<td valign=\"top\" align=\"left\" colspan=\"8\" height=\"293\"><img name=\"index_C1_R1\" src=\"".BASEDIR."images/index_C1_R1.jpg\" width=\"820\" height=\"293\" border=\"0\" alt=\"\"></td>
<td width=\"1\" height=\"293\"><img src=\"shim.gif\" width=\"1\" height=\"293\" border=\"0\" alt=\"\"></td>
</tr>
<tr>
<td valign=\"top\" align=\"left\" width=\"168\" height=\"47\"><a href="http://headshot-game.pl/"><img name=\"index_C1_R2\" src=\"images/index_C1_R2.jpg\" width=\"168\" height=\"47\" border=\"0\" alt=\"\"></a></td>
<td valign=\"top\" align=\"left\" width=\"24\" height=\"47\"><img name=\"index_C2_R2\" src=\"images/index_C2_R2.jpg\" width=\"24\" height=\"47\" border=\"0\" alt=\"\"></td>
<td valign=\"top\" align=\"left\" width=\"157\" height=\"47\"><a href="http://headshot-game.pl/viewpage.php?page_id=1"><img name=\"index_C3_R2\" src=\"images/index_C3_R2.jpg\" width=\"157\" height=\"47\" border=\"0\" alt=\"\"></a></td>
<td valign=\"top\" align=\"left\" width=\"39\" height="\47\"><img name=\"index_C4_R2\" src=\"images/index_C4_R2.jpg\" width=\"39\" height=\"47\" border=\"0\" alt=\"\"></td>
<td valign=\"top\" align=\"left\" width=\"157\" height=\"47\"><a href="http://headshot-game.pl/viewpage.php?page_id=3"><img name=\"index_C5_R2\" src="\images/index_C5_R2.jpg\" width=\"157\" height=\"47\" border=\"0\" alt=\"\"></a></td>
<td valign=\"top\" align=\"left\" width=\"29\" height=\"47\"><img name=\"index_C6_R2\" src=\"images/index_C6_R2.jpg\" width=\"29\" height=\"47\" border=\"0\" alt=\"\"></td>
<td valign=\"top\" align=\"left\" width=\"157\" height=\"47\"><a href="http://headshot-game.pl/contact.php"><img name=\"index_C7_R2\" src=\"images/index_C7_R2.jpg\" width=\"157\" height=\"47\" border=\"0\" alt=\"\"></a></td>
<td valign=\"top\" align=\"left\" width=\"89\" height=\"47\"><img name=\"index_C8_R2\" src=\"images/index_C8_R2.jpg\" width=\"89\" height=\"47\" border=\"0\" alt=\"\"></td>
<td width=\"1\" height=\"47\"><img src=\"shim.gif\" width=\"1\" height=\"47\" border=\"0\" alt=\"\"></td>
</tr>
</table>
";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<img src="themes/domyslny/images/bullet.gif" alt=""> <a href="index.php" class="side">Strona Główna</a>";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>PHP fusion</a> | <a href='http://mati010-studio.duu.pl' target='_blank'>Design by Mati010</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
A to jest zwykłe przed próbą robienia tego:
<?php
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#000000";
$theme_width = "820";
$theme_width_l = "160";
$theme_width_r = "160";
function render_header($header_content) {
global $theme_width;
echo "<table align='center' cellspacing='0' cellpadding='0' width='$theme_width' class='outer-border'>
<tr>
<td>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='full-header'>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<center><img src='".THEME."images/header.png'></center>";
echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n";
echo "<img src="themes/domyslny/images/bullet.gif" alt=""> <a href="index.php" class="side">Strona Główna</a>";
}
function render_footer($license=false) {
global $theme_width,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td height='29' background='".THEME."images/fbc.jpg' align='center' class='footer'>".stripslashes($settings['footer'])."
<a href='http://www.php-fusion.co.uk/' target='_blank'>PHP fusion</a> | <a href='http://mati010-studio.duu.pl' target='_blank'>Design by Mati010</a><br>
</td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
A to jest w htmlu kod:
<table border="0" cellpadding="0" cellspacing="0" width="820">
<tr>
<td><img src="shim.gif" width="168" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="24" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="157" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="39" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="157" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="29" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="157" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="89" height="1" border="0" alt=""></td>
<td><img src="shim.gif" width="1" height="1" border="0" alt=""></td>
</tr>
<tr>
<td valign="top" align="left" colspan="8" height="293"><img name="index_C1_R1" src="images/index_C1_R1.jpg" width="820" height="293" border="0" alt=""></td>
<td width="1" height="293"><img src="shim.gif" width="1" height="293" border="0" alt=""></td>
</tr>
<tr>
<td valign="top" align="left" width="168" height="47"><a href="http://headshot-game.pl/"><img name="index_C1_R2" src="images/index_C1_R2.jpg" width="168" height="47" border="0" alt=""></a></td>
<td valign="top" align="left" width="24" height="47"><img name="index_C2_R2" src="images/index_C2_R2.jpg" width="24" height="47" border="0" alt=""></td>
<td valign="top" align="left" width="157" height="47"><a href="http://headshot-game.pl/viewpage.php?page_id=1"><img name="index_C3_R2" src="images/index_C3_R2.jpg" width="157" height="47" border="0" alt=""></a></td>
<td valign="top" align="left" width="39" height="47"><img name="index_C4_R2" src="images/index_C4_R2.jpg" width="39" height="47" border="0" alt=""></td>
<td valign="top" align="left" width="157" height="47"><a href="http://headshot-game.pl/viewpage.php?page_id=3"><img name="index_C5_R2" src="images/index_C5_R2.jpg" width="157" height="47" border="0" alt=""></a></td>
<td valign="top" align="left" width="29" height="47"><img name="index_C6_R2" src="images/index_C6_R2.jpg" width="29" height="47" border="0" alt=""></td>
<td valign="top" align="left" width="157" height="47"><a href="http://headshot-game.pl/contact.php"><img name="index_C7_R2" src="images/index_C7_R2.jpg" width="157" height="47" border="0" alt=""></a></td>
<td valign="top" align="left" width="89" height="47"><img name="index_C8_R2" src="images/index_C8_R2.jpg" width="89" height="47" border="0" alt=""></td>
<td width="1" height="47"><img src="shim.gif" width="1" height="47" border="0" alt=""></td>
</tr>
</table>
Masz racje, to sie nadaje tylko do przedszkola../Pieka
PW od moderatora:
- Zmiana nazwy tematu - Pieka 25.07 - 23:03
Edytowane przez Pieka dnia 26.07.2008 00:15:27
|