Przedszkolak
Postów: 31 Ostrzeżeń: 1
Data rejestracji: 13.11.2007 21:31
Złamana licencja
|
1. Otóż zrobiłem sobie menu DHTML (poziome) i uzyskałem następujące pliki:
- kod, który mam zamieścić (podany poniżej)
- stmenu.js
- steffslip.js
- steffrect.js
- steffie.js
- stcode.js
- newline.gif -.
- blank.gif____\ Obrazki
- bg_01.gif___ /
- arrow_r.gif -'
2. Przekształciłem ten kod (zamieniając " na \"):
<script type="text/javascript" src="stmenu.js"></script><script type="text/javascript">
<!--
stm_bm(["menu1876",820,"","blank.gif",0,"","",1,0,250,0,10,1,0,0,"","100%",0,0,1,2,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,7,0,1,100,"",-2,"",-2,50,0,0,"#999999","transparent","bg_01.gif",3,1,1,"#000000"]);
stm_ai("p0i0",[0,"Strona Główna","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/index.php","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFFF",0,"#666666",0,"newline.gif","",3,3,7,1,"#666666","#666666","#999999","#999999","8pt 'Arial','Verdana'","8pt 'Arial','Verdana'",0,0]);
stm_aix("p0i1","p0i0",[0,"Forum","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/forum/index.php","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FFFFF7"]);
stm_aix("p0i2","p0i1",[0,"Artykuły","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/articles.php","_self","","","","",0,0,0,"arrow_r.gif","arrow_r0fd4.gif",1,1]);
stm_bpx("p1","p0",[1,4,0,0,0,7,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.35)",5,"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)",-2,75]);
stm_aix("p1i0","p0i1",[0,"NPC","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/articles.php?cat_id=4"]);
stm_aix("p1i1","p0i1",[0,"Przedmioty","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/articles.php?cat_id=3"]);
stm_aix("p1i2","p0i1",[0,"Rejestracja","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/articles.php?cat_id=2"]);
stm_aix("p1i3","p0i1",[0,"Pet system","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/articles.php?cat_id=1"]);
stm_aix("p1i4","p0i1",[0,"---------------","","",-1,-1,0,""]);
stm_aix("p1i5","p0i1",[0,"Dodaj","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/submit.php?stype=a"]);
stm_ep();
stm_aix("p0i3","p0i2",[0,"Galeria","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/photogallery.php"]);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p0i1",[0,"Tapety","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=1"]);
stm_aix("p2i1","p0i1",[0,"Userbar","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=2"]);
stm_aix("p2i2","p1i4",[]);
stm_aix("p2i3","p0i1",[0,"Dodaj","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/submit.php?stype=p"]);
stm_ep();
stm_aix("p0i4","p0i2",[0,"Download","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/download.php"]);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p0i1",[0,"Klienty","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/download.php?action=subcat&id=1"]);
stm_ep();
stm_aix("p0i5","p0i2",[0,"Polecane Strony","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/weblinks.php"]);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p0i1",[0,"Gildie","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/weblinks.php?cat_id=1"]);
stm_aix("p4i1","p1i4",[]);
stm_aix("p4i2","p0i1",[0,"Dodaj","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/submit.php?stype=l"]);
stm_ep();
stm_aix("p0i6","p0i2",[0,"Profil","","",-1,-1,0,""]);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p0i1",[0,"Edytuj Profil","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/edit_profile.php"]);
stm_aix("p5i1","p0i1",[0,"Wiadomości","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/messages.php"]);
stm_aix("p5i2","p0i1",[0,"Napisz PW","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/messages.php?msg_send=0"]);
stm_aix("p5i3","p0i1",[0,"Powiadomianie","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/forum/my_followed_threads.php"]);
stm_aix("p5i4","p1i4",[]);
stm_aix("p5i5","p0i1",[0,"Kontakt","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/contact.php"]);
stm_ep();
stm_aix("p0i7","p0i1",[0,"Szukaj","","",-1,-1,0,"http://www.last--chaos.yoyo.pl/search.php"]);
stm_ep();
stm_em();
//-->
</script>
Na ten:
<script type=\"text/javascript\" src=\"stmenu.js\"></script><script type=\"text/javascript\">
<!--
stm_bm([\"menu1876\",820,\"\",\"blank.gif\",0,\"\",\"\",1,0,250,0,10,1,0,0,\"\",\"100%\",0,0,1,2,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0\",[0,4,0,0,0,7,0,1,100,\"\",-2,\"\",-2,50,0,0,\"#999999\",\"transparent\",\"bg_01.gif\",3,1,1,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Strona Główna\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/index.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",0,\"#666666\",0,\"newline.gif\",\"\",3,3,7,1,\"#666666\",\"#666666\",\"#999999\",\"#999999\",\"8pt 'Arial','Verdana'\",\"8pt 'Arial','Verdana'\",0,0]);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Forum\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/forum/index.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFF7\"]);
stm_aix(\"p0i2\",\"p0i1\",[0,\"Artykuły\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r0fd4.gif\",1,1]);
stm_bpx(\"p1\",\"p0\",[1,4,0,0,0,7,0,0,100,\"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.35)\",5,\"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)\",-2,75]);
stm_aix(\"p1i0\",\"p0i1\",[0,\"NPC\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=4\"]);
stm_aix(\"p1i1\",\"p0i1\",[0,\"Przedmioty\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=3\"]);
stm_aix(\"p1i2\",\"p0i1\",[0,\"Rejestracja\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=2\"]);
stm_aix(\"p1i3\",\"p0i1\",[0,\"Pet system\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=1\"]);
stm_aix(\"p1i4\",\"p0i1\",[0,\"---------------\",\"\",\"\",-1,-1,0,\"\"]);
stm_aix(\"p1i5\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=a\"]);
stm_ep();
stm_aix(\"p0i3\",\"p0i2\",[0,\"Galeria\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php\"]);
stm_bpx(\"p2\",\"p1\",[]);
stm_aix(\"p2i0\",\"p0i1\",[0,\"Tapety\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=1\"]);
stm_aix(\"p2i1\",\"p0i1\",[0,\"Userbar\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=2\"]);
stm_aix(\"p2i2\",\"p1i4\",[]);
stm_aix(\"p2i3\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=p\"]);
stm_ep();
stm_aix(\"p0i4\",\"p0i2\",[0,\"Download\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/download.php\"]);
stm_bpx(\"p3\",\"p1\",[]);
stm_aix(\"p3i0\",\"p0i1\",[0,\"Klienty\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/download.php?action=subcat&id=1\"]);
stm_ep();
stm_aix(\"p0i5\",\"p0i2\",[0,\"Polecane Strony\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/weblinks.php\"]);
stm_bpx(\"p4\",\"p1\",[]);
stm_aix(\"p4i0\",\"p0i1\",[0,\"Gildie\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/weblinks.php?cat_id=1\"]);
stm_aix(\"p4i1\",\"p1i4\",[]);
stm_aix(\"p4i2\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=l\"]);
stm_ep();
stm_aix(\"p0i6\",\"p0i2\",[0,\"Profil\",\"\",\"\",-1,-1,0,\"\"]);
stm_bpx(\"p5\",\"p1\",[]);
stm_aix(\"p5i0\",\"p0i1\",[0,\"Edytuj Profil\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/edit_profile.php\"]);
stm_aix(\"p5i1\",\"p0i1\",[0,\"Wiadomości\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/messages.php\"]);
stm_aix(\"p5i2\",\"p0i1\",[0,\"Napisz PW\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/messages.php?msg_send=0\"]);
stm_aix(\"p5i3\",\"p0i1\",[0,\"Powiadomianie\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/forum/my_followed_threads.php\"]);
stm_aix(\"p5i4\",\"p1i4\",[]);
stm_aix(\"p5i5\",\"p0i1\",[0,\"Kontakt\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/contact.php\"]);
stm_ep();
stm_aix(\"p0i7\",\"p0i1\",[0,\"Szukaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/search.php\"]);
stm_ep();
stm_em();
//-->
</script>
3. Następnie wstawiłem go w pliku Theme.php (zamiast ".showsublinks("·", "white")." wstawiłem zaznaczone na zielono) i wyszło mi coś takiego:
<?php
if (!defined("IN_FUSION")) {
header("Location: ../../index.php");
exit;
}
require_once INCLUDES."theme_functions_include.php";
// theme settings
$body_text = "#000000";
$body_bg = "#161616";
$theme_width = "100%";
$theme_width_l = "171";
$theme_width_r = "171";
function render_header($header_content) {
global $theme_width, $settings;
echo "<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" background=\"".THEME."header/header_03.gif\">
<tr>
<td width=\"75\" height=\"58\" background=\"".THEME."header/header_01.gif\"> </td>
<td width=\"425\" height=\"58\" background=\"".THEME."header/header_02.gif\"> </td>
<td height=\"58\"> </td>
<td width=\"421\" height=\"58\" background=\"".THEME."header/header_04.gif\"> </td>
<td width=\"75\" height=\"58\" background=\"".THEME."header/header_05.gif\"> </td>
</tr>
<tr>
<td width=\"75\" height=\"212\" background=\"".THEME."header/header_06.gif\"> </td>
<td colspan=\"3\" valign=\"top\"><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"425\" height=\"181\" background=\"".THEME."header/leftlogo.jpg\"> </td>
<td> </td>
<td width=\"421\" background=\"".THEME."header/rightlogo.jpg\"> </td>
</tr>
</table></td>
<td width=\"75\" height=\"212\" valign=\"top\" background=\"".THEME."header/header_09.gif\"> </td>
</tr>
</table></td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"55\" background=\"".THEME."images/leftb.gif\"> </td>
<td align=\"center\" bgcolor=\"#161616\">[color=green]<script type=\"text/javascript\" src=\"stmenu.js\"></script><script type=\"text/javascript\">
<!--
stm_bm([\"menu1876\",820,\"\",\"blank.gif\",0,\"\",\"\",1,0,250,0,10,1,0,0,\"\",\"100%\",0,0,1,2,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0\",[0,4,0,0,0,7,0,1,100,\"\",-2,\"\",-2,50,0,0,\"#999999\",\"transparent\",\"bg_01.gif\",3,1,1,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Strona Główna\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/index.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",0,\"#666666\",0,\"newline.gif\",\"\",3,3,7,1,\"#666666\",\"#666666\",\"#999999\",\"#999999\",\"8pt 'Arial','Verdana'\",\"8pt 'Arial','Verdana'\",0,0]);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Forum\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/forum/index.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFF7\"]);
stm_aix(\"p0i2\",\"p0i1\",[0,\"Artykuły\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r0fd4.gif\",1,1]);
stm_bpx(\"p1\",\"p0\",[1,4,0,0,0,7,0,0,100,\"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.35)\",5,\"progid:DXImageTransform.Microsoft.Fade(overlap=.5,enabled=0,Duration=0.35)\",-2,75]);
stm_aix(\"p1i0\",\"p0i1\",[0,\"NPC\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=4\"]);
stm_aix(\"p1i1\",\"p0i1\",[0,\"Przedmioty\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=3\"]);
stm_aix(\"p1i2\",\"p0i1\",[0,\"Rejestracja\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=2\"]);
stm_aix(\"p1i3\",\"p0i1\",[0,\"Pet system\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/articles.php?cat_id=1\"]);
stm_aix(\"p1i4\",\"p0i1\",[0,\"---------------\",\"\",\"\",-1,-1,0,\"\"]);
stm_aix(\"p1i5\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=a\"]);
stm_ep();
stm_aix(\"p0i3\",\"p0i2\",[0,\"Galeria\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php\"]);
stm_bpx(\"p2\",\"p1\",[]);
stm_aix(\"p2i0\",\"p0i1\",[0,\"Tapety\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=1\"]);
stm_aix(\"p2i1\",\"p0i1\",[0,\"Userbar\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/photogallery.php?album_id=2\"]);
stm_aix(\"p2i2\",\"p1i4\",[]);
stm_aix(\"p2i3\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=p\"]);
stm_ep();
stm_aix(\"p0i4\",\"p0i2\",[0,\"Download\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/download.php\"]);
stm_bpx(\"p3\",\"p1\",[]);
stm_aix(\"p3i0\",\"p0i1\",[0,\"Klienty\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/download.php?action=subcat&id=1\"]);
stm_ep();
stm_aix(\"p0i5\",\"p0i2\",[0,\"Polecane Strony\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/weblinks.php\"]);
stm_bpx(\"p4\",\"p1\",[]);
stm_aix(\"p4i0\",\"p0i1\",[0,\"Gildie\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/weblinks.php?cat_id=1\"]);
stm_aix(\"p4i1\",\"p1i4\",[]);
stm_aix(\"p4i2\",\"p0i1\",[0,\"Dodaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/submit.php?stype=l\"]);
stm_ep();
stm_aix(\"p0i6\",\"p0i2\",[0,\"Profil\",\"\",\"\",-1,-1,0,\"\"]);
stm_bpx(\"p5\",\"p1\",[]);
stm_aix(\"p5i0\",\"p0i1\",[0,\"Edytuj Profil\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/edit_profile.php\"]);
stm_aix(\"p5i1\",\"p0i1\",[0,\"Wiadomości\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/messages.php\"]);
stm_aix(\"p5i2\",\"p0i1\",[0,\"Napisz PW\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/messages.php?msg_send=0\"]);
stm_aix(\"p5i3\",\"p0i1\",[0,\"Powiadomianie\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/forum/my_followed_threads.php\"]);
stm_aix(\"p5i4\",\"p1i4\",[]);
stm_aix(\"p5i5\",\"p0i1\",[0,\"Kontakt\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/contact.php\"]);
stm_ep();
stm_aix(\"p0i7\",\"p0i1\",[0,\"Szukaj\",\"\",\"\",-1,-1,0,\"http://www.last--chaos.yoyo.pl/search.php\"]);
stm_ep();
stm_em();
//-->
</script>[/color]</td>
<td width=\"55\" background=\"".THEME."images/rightb.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"55\" background=\"".THEME."images/leftb.gif\"> </td>
<td>\n";
}
function render_footer($license = false) {
global $theme_width, $locale, $settings;
echo "</td>
<td width=\"55\" background=\"".THEME."images/rightb.gif\"> </td>
</tr>
</table>
<div align=\"center\">
<table id=\"Table_01\" width=\"100%\" height=\"154\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td rowspan=\"5\">
<img src=\"".THEME."footer/footer_01.gif\" width=\"82\" height=\"154\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_02.gif\" width=\"46\" height=\"15\" alt=\"\"></td>
<td rowspan=\"5\" width=\"50%\">
<img src=\"".THEME."footer/PNC4_RED_56.gif\" width=\"100%\" height=\"154\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_05.gif\" width=\"677\" height=\"15\" alt=\"\"></td>
<td rowspan=\"5\" width=\"50%\">
<img src=\"".THEME."footer/footer_06.gif\" width=\"100%\" height=\"154\" alt=\"\"></td>
<td rowspan=\"5\">
<img src=\"".THEME."footer/footer_09.gif\" width=\"100\" height=\"154\" alt=\"\"></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_09-09.gif\" width=\"46\" height=\"22\" alt=\"\"></td>
<td rowspan=\"3\" background=\"".THEME."footer/footer_11.gif\" width=\"677\" height=\"87\" align=\"center\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr align=\"center\">
<td colspan=\"2\">".stripslashes($settings['footer'])."</td>
</tr>
<tr align=\"center\">
<td colspan=\"2\">FT-Blue Ported by: <a href='http://uctxs.com' class='white'>Fusion-Themes</a></td>
</tr>
<tr>
<td align=\"left\"><a href='http://www.php-fusion.co.uk' target='_blank' class='white'>PHP-Fusion</a></td>
<td align=\"right\"><a href='http://uctxs.com' target='_blank' class='white'>Fusion-Themes</a></td>
</tr>
<tr>
<td colspan=\"2\" align=\"center\"><strong>".$settings['counter']." </strong>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n")."</td>
</tr>
</table></td>
</tr>
<tr>
<td>
<a href=\"#\">
<img src=\"".THEME."footer/footer_11-11.gif\" width=\"46\" height=\"21\" alt=\"\" border=\"0\"></a></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_12.gif\" width=\"46\" height=\"44\" alt=\"\"></td>
</tr>
<tr>
<td>
<img src=\"".THEME."footer/footer_13.gif\" width=\"46\" height=\"52\" alt=\"\"></td>
<td>
<img src=\"".THEME."footer/footer_05-14.gif\" width=\"677\" height=\"52\" alt=\"\"></td>
</tr>
</table>
</div>n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\;"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$subject</td>
</tr>
<tr>
<td class='main-body'><div style='width:100%;vertical-align:top;'><hr>$news</div>
<div style='margin-top:5px'>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".newsposter($info)."</td><hr>
<td align='right' class='infobar2'>".openform("N", $info['news_id']).newsopts($info, "·").closeform("N", $info['news_id'])."</td></tr>
</table></div></td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$subject</td>
</tr>
<tr>
<td class='main-body'><div style='width:100%;vertical-align:top;'><hr>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."</div>
<div style='margin-top:5px'>
<table width='100%' cellpadding='0' cellspacing='0'><tr>
<td class='infobar'>".articleposter($info)."</td><hr>
<td align='right' class='infobar2'>".openform("A", $info['article_id']).articleopts($info, "·").closeform("A", $info['article_id'])."</td></tr>
</table></div></td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width=\"100%\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\">
<tr>
<td><table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tl.gif\"> </td>
<td background=\"".THEME."pages/tm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/tr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"17\" background=\"".THEME."pages/ml.gif\"> </td>
<td background=\"".THEME."images/bg.jpg\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td align=\"center\" class='panel-main'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table></td>
<td width=\"17\" background=\"".THEME."pages/mr.gif\"> </td>
</tr>
</table>
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/bl.gif\"> </td>
<td background=\"".THEME."pages/bm.gif\"> </td>
<td width=\"58\" height=\"26\" background=\"".THEME."pages/br.gif\"> </td>
</tr>
</table>
</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"171\" height=\"46\" align=\"center\" valign=\"middle\" background=\"".THEME."panels/bt.gif\">
<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"25\" align=\"center\" class='panel-main'>$title</td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" align=\"center\" background=\"".THEME."panels/bm.gif\">
<table width=\"85%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" height=\"29\" background=\"".THEME."panels/bb.gif\"> </td>
</tr>
</table><br>\n";
}
function opensidex($title, $open = "on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" :
"on";
echo "<table width=\"171\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td width=\"171\" height=\"46\" align=\"center\" valign=\"middle\" background=\"".THEME."panels/bt.gif\">
<table width=\"90%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td height=\"25\" align=\"center\" class='panel-main'>$title</td>
<td align='left' width='15' valign='top' style='padding-top: 3px;'><img src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\"></td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" align=\"center\" background=\"".THEME."panels/bm.gif\">
<table width=\"85%\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class='side-body'>
<div id='box_$boxname'".($open == "off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div></td>
</tr>
</table></td>
</tr>
<tr>
<td width=\"171\" height=\"29\" background=\"".THEME."panels/bb.gif\"> </td>
</tr>
</table><br>\n";
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='5'>";
echo "</td></tr></table>\n";
}
?>
4. Podmieniłem plik Theme.php z tym zmodyfikowanym i wysłałem resztę plików do głównego katalogu mojego serwera FTP.
-------------------------------------------------------------------------------------------
I tu szukam moich błędów, ponieważ menu w tej chwili zmienia kolor (na trochę jaśniejszy) i nie zawiera żdnych efektów - menu które zrobiłem powinno się po najechaniu wysuwać, a po oddaleniu myszki zanikać. W chwili obecnej tylko pojawia się i znika.
Czy mógł by mi ktoś pomóc i powiedzieć co zrobić, by menu zachowało swój pierworodny wygląd i opcje/cechy.
Edytowane przez jantom dnia 20.12.2007 21:53:13
|