
Początkujący

Postów: 185
Data rejestracji: 23.06.2006 11:36
|
Dzieki tematom na forum udało mi się zrobić coś bo nie nazwe tego wiele niestety zatrzymałem się na pliku theme.php i tu bym prosił o pomoc.
Otóż jak już wspomniałem chcę wstawić menu DHTML (poziome) na swoją stronę pod główne również poziome.
Na początek dodałem kod do pliku subheader :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright © 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: index.php"); exit; }
require_once THEME."theme.php";
if ($settings['maintenance'] == "1" && !iADMIN) fallback(BASEDIR."maintenance.php");
if (iMEMBER) $result = dbquery("UPDATE ".$db_prefix."users SET user_lastvisit='".time()."', user_ip='".USER_IP."' WHERE user_id='".$userdata['user_id']."'");
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">
<html>
<head>
<title>".$settings['sitename']."</title>
<meta http-equiv='Content-Type' content='text/html; charset=".$locale['charset']."'>
<meta name='description' content='".$settings['description']."'>
<meta name='keywords' content='".$settings['keywords']."'>
<link rel='stylesheet' href='".THEME."styles.css' type='text/css'>
<link rel='alternate' type='application/rss+xml' href='".BASEDIR."feeds/news.php'>
<script type='text/javascript' src='".INCLUDES."jscript.js'></script>
<script type='text/javascript' src='js/prototype.js'></script>
<script type='text/javascript' src='js/scriptaculous.js?load=effects'></script>
<script type='text/javascript' src='js/lightbox.js'></script>
[b]<script type='text/javascript' src='stmenu.js'></script>
<script type='text/javascript' src='stdom.js'></script>
<script type='text/javascript' src='stfilter.js'></script>
<script type='text/javascript' src='sthilight.js'></script>
<script type='text/javascript' src='stie.js'></script>
<script type='text/javascript' src='stscroll.js'></script>
<script type='text/javascript' src='stslip.js'></script>
<script type='text/javascript' src='stwinels.js'></script>
<script type='text/javascript' src='stinit.js'></script>[/b]
<link rel='stylesheet' href='css/lightbox.css' type='text/css' media='screen' />
</head>
<body bgcolor='$body_bg' text='$body_text'>\n";
render_header("<img src='".BASEDIR.$settings['sitebanner']."' alt='".$settings['sitename']."' title='".$settings['sitename']."'>");
Wygląda to tak i myślę że tutaj błędu raczej nie zrobiłem ( Pliki JS wrzuciłem do katalogu Includes i Głównego Strony)
No i cały problem się zaczyna z plikiem theme.php. Funkcja wykonana przeze mnie jest na 99 % zła więc prosiłbym o poprawienie jej. Druga sprawa nie miałem pojęcia czy zmieniać z " na /" czy " na '. Krótko jestem w dołku bez waszej pomocy sobie nie poradzę :( Poniżej kod funkcji
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='white-header'>\n";
echo "<center>
<table id='Table_01' width='822' height='57' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td rowspan='2'>
<a href='http://therealbws.info/news.php' target='_blank'><img src='images/Untitled-2_01.png' width='135' height='56' border='0' alt=''></a></td>
<td>
<a href='http://therealbws.info/forum/' target='_blank'><img src='images/Untitled-2_02.png' width='131' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/photogallery.php' target='_blank'><img src='images/Untitled-2_03.png' width='115' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=13' target='_blank'><img src='images/Untitled-2_04.png' width='149' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/articles.php' target='_blank'><img src='images/Untitled-2_05.png' width='146' height='39' border='0' alt=''></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=11' target='_blank'><img src='images/Untitled-2_06.png' width='146' height='39' border='0' alt=''></a></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=52' target='_blank'><img src='images/Untitled-2_07.png' width='160' height='17' border='0' alt=''></a></td>
<td colspan='2'>
<img src='images/Untitled-2_08.png' width='150' height='17' alt=''></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=53' target='_blank'><img src='images/Untitled-2_09.png' width='151' height='17' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=54' target='_blank'><img src='images/Untitled-2_10.png' width='123' height='17' border='0' alt=''></a></td>
<td>
<img src='images/Untitled-2_11.png' width='103' height='17' alt=''></td>
</tr>
<tr>
<td>
<img src='images/spacer.gif' width='135' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='131' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='29' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='86' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='64' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='85' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='66' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='80' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='43' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='103' height='1' alt=''></td>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm([\"menu5016\",700,\"\",\"blank.gif\",0,\"\",\"\",0,0,0,0,50,1,0,0,\"\",\"\",0,0,1,1,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0",[0,4,0,0,0,3,0,0,100,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=1.00)\",-2,\"\",-2,10,0,0,\"#7F7F7F",\"#000000\",\"\",3,0,0,\"#000000"]);
stm_ai(\"p0i0\",[0,\"Home\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"#FFCC00\",\"bold 9pt Arial\",\"bold 9pt Arial\",0,0],60,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Products\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\"],80,0);
stm_bpx(\"p1\",\"p0\",[1,4,-1,0,0,3,0,7,83,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"transparent\",\"\",3,1,1]);
stm_aix(\"p1i0",\"p0i0\",[0,\"Sothink SWF Decompiler \",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#999999\",0,"\#FFCC00\",0,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#000000\"]);
stm_ai(\"p1i1\",[6,1,\"#000000\",\"\",0,0,0]);
stm_aix(\"p1i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p2\",\"p1\",[1,2,0,-1,0,3,0,0,83,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"#FFFFFF\"]);
stm_aix(\"p2i0\",\"p1i0\",[0,\"Menu Item 1\"]);
stm_aix(\"p2i1\",\"p1i1\",[]);
stm_aix(\"p2i2\",\"p1i0\",[0,\"Menu Item 2\"]);
stm_aix(\"p2i3\","\p1i1\",[]);
stm_aix(\"p2i4\",\"p1i0\",[0,\"Menu Item 3\"]);
stm_ep();
stm_aix(\"p1i3\",\"p1i1\",[]);
stm_aix(\"p1i4\",\"p1i0\",[0,\"Sothink Glanda\"]);
stm_aix(\"p1i5\",\"p1i1\",[]);
stm_aix(\"p1i6\",\"p1i0\",[0,\"Sothink HTML Editor\"]);
stm_ep();
stm_aix(\"p0i2\",\"p0i1\",[0,\"Download\"],80,0);
stm_bpx(\"p3",\"p2\",[1,4,0,0]);
stm_aix(\"p3i0\",\"p1i0\",[0,\"Sothink SWF Decompiler\"]);
stm_aix(\"p3i1\",\"p1i1\",[]);
stm_aix(\"p3i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\"]);
stm_aix(\"p3i3\",\"p1i1\",[]);
stm_aix(\"p3i4\",\"p1i4\",[]);
stm_aix(\"p3i5",\"p1i1\",[]);
stm_aix(\"p3i6\","p1i6\",[]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Links\"],200,0);
stm_bpx(\"p4",\"p3\",[]);
stm_aix(\"p4i0\",\"p3i0\",[]);
stm_aix(\"p4i1\",\"p1i1\",[]);
stm_aix(\"p4i2\",\"p3i2\",[]);
stm_aix(\"p4i3\",\"p1i1\",[]);
stm_aix(\"p4i4\",\"p1i4\",[]);
stm_aix(\"p4i5\","p1i1\",[]);
stm_aix(\"p4i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"FeedBack\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"bold 8pt Arial\",\"bold 8pt Arial\"],60,0);
stm_ep();
stm_em();
//-->
</script>
</table>
</center> ";
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "<center>Powered by <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> v".$settings['version']." © 2005</center><br>
<center>Fallout Theme by <a href='mailto:'>Therror</a></center><br>\n";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
Troszke namieszałes w tagach [ code] - poprawiłem ;)//bartek124
PW od moderatora:
- Zmiana nazwy tematu - Piotrek 18.01 - 02:05
Edytowane przez c-milionaire dnia 18.01.2008 11:50:02
|

Początkujący

Postów: 185
Data rejestracji: 23.06.2006 11:36
|
bartek124 napisał/a:
Zrobimy tak:
1. Ściągnij sobie program Notepad++ (darmowy) - on ładnie koloruje składnie.
2. Zrób nowy dokument, język wybierz PHP i na początku wpisz
<?php
3. Zaraz po powyższym kodzie wklej swój.
Po tych operacjach zobaczysz co jest źle (nie będzie miało koloru szarego.
Podpowiedź
Zapomniałeś w niektórych miejscach zamienić " na \" lub '.
Mimio że powymieniałem wszystkie " na "/ dalej nie działa :) możesz się przyjrzeć temu ?
Wyskakuje mi błąd:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /home.11/t/h/e/therealb/www/themes/tesr/theme.php on line 55
Z tego co siedzę 2 rok w fusionie to ten komunikat oznacz nie pozmieniane ale używałem programu który poleciłes wszystkie odznaczone zmieniłem ;/
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>
<td class='white-header'>\n";
echo "<center>
<table id='Table_01' width='822' height='57' border='0' cellpadding='0' cellspacing='0'>
<tr>
<td rowspan='2'>
<a href='http://therealbws.info/news.php' target='_blank'><img src='images/Untitled-2_01.png' width='135' height='56' border='0' alt=''></a></td>
<td>
<a href='http://therealbws.info/forum/' target='_blank'><img src='images/Untitled-2_02.png' width='131' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/photogallery.php' target='_blank'><img src='images/Untitled-2_03.png' width='115' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=13' target='_blank'><img src='images/Untitled-2_04.png' width='149' height='39' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/articles.php' target='_blank'><img src='images/Untitled-2_05.png' width='146' height='39' border='0' alt=''></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=11' target='_blank'><img src='images/Untitled-2_06.png' width='146' height='39' border='0' alt=''></a></td>
</tr>
<tr>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=52' target='_blank'><img src='images/Untitled-2_07.png' width='160' height='17' border='0' alt=''></a></td>
<td colspan='2'>
<img src='images/Untitled-2_08.png' width='150' height='17' alt=''></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=53' target='_blank'><img src='images/Untitled-2_09.png' width='151' height='17' border='0' alt=''></a></td>
<td colspan='2'>
<a href='http://www.therealbws.info/viewpage.php?page_id=54' target='_blank'><img src='images/Untitled-2_10.png' width='123' height='17' border='0' alt=''></a></td>
<td>
<img src='images/Untitled-2_11.png' width='103' height='17' alt=''></td>
</tr>
<tr>
<td>
<img src='images/spacer.gif' width='135' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='131' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='29' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='86' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='64' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='85' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='66' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='80' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='43' height='1' alt=''></td>
<td>
<img src='images/spacer.gif' width='103' height='1' alt=''></td>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm([\"menu5016\",700,\"\",\"blank.gif\",0,\"\",\"\",0,0,0,0,50,1,0,0,\"\",\"\",0,0,1,1,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0",[0,4,0,0,0,3,0,0,100,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=1.00)\",-2,\"\",-2,10,0,0,\"#7F7F7F",\"#000000\",\"\",3,0,0,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Home\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"#FFCC00\",\"bold 9pt Arial\",\"bold 9pt Arial\",0,0],60,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Products\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\"],80,0);
stm_bpx(\"p1\",\"p0\",[1,4,-1,0,0,3,0,7,83,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"transparent\",\"\",3,1,1]);
stm_aix(\"p1i0",\"p0i0\",[0,\"Sothink SWF Decompiler \",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#999999\",0,\"#FFCC00\",0,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#000000\"]);
stm_ai(\"p1i1\",[6,1,\"#000000\",\"\",0,0,0]);
stm_aix(\"p1i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p2\",\"p1\",[1,2,0,-1,0,3,0,0,83,\"progid:DXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:DXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"#FFFFFF\"]);
stm_aix(\"p2i0\",\"p1i0\",[0,\"Menu Item 1\"]);
stm_aix(\"p2i1\",\"p1i1\",[]);
stm_aix(\"p2i2\",\"p1i0\",[0,\"Menu Item 2\"]);
stm_aix(\"p2i3\",\"p1i1\",[]);
stm_aix(\"p2i4\",\"p1i0\",[0,\"Menu Item 3\"]);
stm_ep();
stm_aix(\"p1i3\",\"p1i1\",[]);
stm_aix(\"p1i4\",\"p1i0\",[0,\"Sothink Glanda\"]);
stm_aix(\"p1i5\",\"p1i1\",[]);
stm_aix(\"p1i6\",\"p1i0\",[0,\"Sothink HTML Editor\"]);
stm_ep();
stm_aix(\"p0i2\",\"p0i1\",[0,\"Download\"],80,0);
stm_bpx(\"p3",\"p2\",[1,4,0,0]);
stm_aix(\"p3i0\",\"p1i0\",[0,\"Sothink SWF Decompiler\"]);
stm_aix(\"p3i1\",\"p1i1\",[]);
stm_aix(\"p3i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\"]);
stm_aix(\"p3i3\",\"p1i1\",[]);
stm_aix(\"p3i4\",\"p1i4\",[]);
stm_aix(\"p3i5",\"p1i1\",[]);
stm_aix(\"p3i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Links\"],200,0);
stm_bpx(\"p4",\"p3\",[]);
stm_aix(\"p4i0\",\"p3i0\",[]);
stm_aix(\"p4i1\",\"p1i1\",[]);
stm_aix(\"p4i2\",\"p3i2\",[]);
stm_aix(\"p4i3\",\"p1i1\",[]);
stm_aix(\"p4i4\",\"p1i4\",[]);
stm_aix(\"p4i5\",\"p1i1\",[]);
stm_aix(\"p4i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"FeedBack\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"bold 8pt Arial\",\"bold 8pt Arial\"],60,0);
stm_ep();
stm_em();
//-->
</script>
</table>
</center> ";
echo "</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='white-header'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='full-header'><br>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "<center>Powered by <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> v".$settings['version']." © 2005</center><br>
<center>Fallout Theme by <a href='mailto:'>Therror</a></center><br>\n";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>\n";
Edytowane przez Milka dnia 18.01.2008 12:46:09
|

Początkujący

Postów: 185
Data rejestracji: 23.06.2006 11:36
|
Boże no przecież jest pozmieniane. Używałem programu Notepad++ które wszystkie "/ zaznaczył lub ich brak na fioletowo. Więc pozmieniałem te na fioletowo i ten kod co jest poniżej jest już tym kodem w którym nić się nie wyświetlna.
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm([\"menu5016\",700,\"\",\"blank.gif\",0,\"\",\"\",0,0,0,0,50,1,0,0,\"\",\"\",0,0,1,1,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0",[0,4,0,0,0,3,0,0,100,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=1.00)\",-2,\"\",-2,10,0,0,\"#7F7F7F",\"#000000\",\"\",3,0,0,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Home\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"#FFCC00\",\"bold 9pt Arial\",\"bold 9pt Arial\",0,0],60,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Products\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\"],80,0);
stm_bpx(\"p1\",\"p0\",[1,4,-1,0,0,3,0,7,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"transparent\",\"\",3,1,1]);
stm_aix(\"p1i0",\"p0i0\",[0,\"Sothink SWF Decompiler \",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#999999\",0,\"#FFCC00\",0,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#000000\"]);
stm_ai(\"p1i1\",[6,1,\"#000000\",\"\",0,0,0]);
stm_aix(\"p1i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p2\",\"p1\",[1,2,0,-1,0,3,0,0,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"#FFFFFF\"]);
stm_aix(\"p2i0\",\"p1i0\",[0,\"Menu Item 1\"]);
stm_aix(\"p2i1\",\"p1i1\",[]);
stm_aix(\"p2i2\",\"p1i0\",[0,\"Menu Item 2\"]);
stm_aix(\"p2i3\",\"p1i1\",[]);
stm_aix(\"p2i4\",\"p1i0\",[0,\"Menu Item 3\"]);
stm_ep();
stm_aix(\"p1i3\",\"p1i1\",[]);
stm_aix(\"p1i4\",\"p1i0\",[0,\"Sothink Glanda\"]);
stm_aix(\"p1i5\",\"p1i1\",[]);
stm_aix(\"p1i6\",\"p1i0\",[0,\"Sothink HTML Editor\"]);
stm_ep();
stm_aix(\"p0i2\",\"p0i1\",[0,\"Download\"],80,0);
stm_bpx(\"p3",\"p2\",[1,4,0,0]);
stm_aix(\"p3i0\",\"p1i0\",[0,\"Sothink SWF Decompiler\"]);
stm_aix(\"p3i1\",\"p1i1\",[]);
stm_aix(\"p3i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\"]);
stm_aix(\"p3i3\",\"p1i1\",[]);
stm_aix(\"p3i4\",\"p1i4\",[]);
stm_aix(\"p3i5",\"p1i1\",[]);
stm_aix(\"p3i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Links\"],200,0);
stm_bpx(\"p4",\"p3\",[]);
stm_aix(\"p4i0\",\"p3i0\",[]);
stm_aix(\"p4i1\",\"p1i1\",[]);
stm_aix(\"p4i2\",\"p3i2\",[]);
stm_aix(\"p4i3\",\"p1i1\",[]);
stm_aix(\"p4i4\",\"p1i4\",[]);
stm_aix(\"p4i5\",\"p1i1\",[]);
stm_aix(\"p4i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"FeedBack\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"bold 8pt Arial\",\"bold 8pt Arial\"],60,0);
stm_ep();
stm_em();
//-->
</script>
|

Początkujący

Postów: 185
Data rejestracji: 23.06.2006 11:36
|
Naprawdę nie wiem i nie widze gdzie jeszcze nie zmieniłem w tym kodzie
<script type=[blad]"[/blad]text/javascript[blad]"[/blad] language=[blad]"[/blad]JavaScript1.2[blad]"[/blad]>
<!--
stm_bm([ [blad]"[/blad]menu5016\",700,\"\",\"blank.gif\",0,\"\",\"\",0,0,0,0,50,1,0,0,\"\",\"\",0,0,1,1,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0[blad]"[/blad],[0,4,0,0,0,3,0,0,100,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=1.00)\",-2,\"\",-2,10,0,0,\"#7F7F7F[blad]"[/blad],\"#000000\",\"\",3,0,0,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Home\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"#FFCC00\",\"bold 9pt Arial\",\"bold 9pt Arial\",0,0],60,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Products\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\"],80,0);
stm_bpx(\"p1\",\"p0\",[1,4,-1,0,0,3,0,7,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"transparent\",\"\",3,1,1]);
stm_aix(\"p1i0[blad]"[/blad], 'p0i0\",[0,\"Sothink SWF Decompiler \",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#999999\",0,\"#FFCC00\",0,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#000000\"]);
stm_ai(\"p1i1\",[6,1,\"#000000\",\"\",0,0,0]);
stm_aix(\"p1i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p2\",\"p1\",[1,2,0,-1,0,3,0,0,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"#FFFFFF\"]);
stm_aix(\"p2i0\",\"p1i0\",[0,\"Menu Item 1\"]);
stm_aix(\"p2i1\",\"p1i1\",[]);
stm_aix(\"p2i2\",\"p1i0\",[0,\"Menu Item 2\"]);
stm_aix(\"p2i3\",\"p1i1\",[]);
stm_aix(\"p2i4\",\"p1i0\",[0,\"Menu Item 3\"]);
stm_ep();
stm_aix(\"p1i3\",\"p1i1\",[]);
stm_aix(\"p1i4\",\"p1i0\",[0,\"Sothink Glanda\"]);
stm_aix(\"p1i5\",\"p1i1\",[]);
stm_aix(\"p1i6\",\"p1i0\",[0,\"Sothink HTML Editor\"]);
stm_ep();
stm_aix(\"p0i2, \",\"p0i1\",[0,\"Download\"],80,0);
stm_bpx(\"p3" \"p2\",[1,4,0,0]);
stm_aix(\"p3i0\",\"p1i0\",[0,\"Sothink SWF Decompiler\"]);
stm_aix(\"p3i1\",\"p1i1\",[]);
stm_aix(\"p3i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\"]);
stm_aix(\"p3i3\",\"p1i1\",[]);
stm_aix(\"p3i4\",\"p1i4\",[]);
stm_aix(\"p3i5", "p1i1\",[]);
stm_aix(\"p3i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Links\"],200,0);
stm_bpx(\"p4",\"p3\",[]);
stm_aix(\"p4i0\",\"p3i0\",[]);
stm_aix(\"p4i1\",\"p1i1\",[]);
stm_aix(\"p4i2\",\"p3i2\",[]);
stm_aix(\"p4i3\",\"p1i1\",[]);
stm_aix(\"p4i4\",\"p1i4\",[]);
stm_aix(\"p4i5\",\"p1i1\",[]);
stm_aix(\"p4i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"FeedBack\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"bold 8pt Arial\",\"bold 8pt Arial\"],60,0);
stm_ep();
stm_em();
//-->
</script>
Podpadłeś mi człowieku. Masz u mnie dużego minusa//bartek124
Wklejając poprawiony kod w następującej formie:
<script type=\"text/javascript\" language=\"JavaScript1.2\">
<!--
stm_bm([ \"menu5016\",700,\"\",\"blank.gif\",0,\"\",\"\",0,0,0,0,50,1,0,0,\"\",\"\",0,0,1,1,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0\",[0,4,0,0,0,3,0,0,100,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=1.00)\",-2,\"\",-2,10,0,0,\"#7F7F7F\",\"#000000\",\"\",3,0,0,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Home\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,1,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"#FFCC00\",\"bold 9pt Arial\",\"bold 9pt Arial\",0,0],60,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Products\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\"],80,0);
stm_bpx(\"p1\",\"p0\",[1,4,-1,0,0,3,0,7,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"transparent\",\"\",3,1,1]);
stm_aix(\"p1i0\", 'p0i0\",[0,\"Sothink SWF Decompiler \",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#999999\",0,\"#FFCC00\",0,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#000000\"]);
stm_ai(\"p1i1\",[6,1,\"#000000\",\"\",0,0,0]);
stm_aix(\"p1i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p2\",\"p1\",[1,2,0,-1,0,3,0,0,83,\"progid:dXImageTransform.Microsoft.Pixelate(MaxSquare=15,enabled=0,Duration=0.49)\",-2,\"progid:dXImageTransform.Microsoft.RandomDissolve(,enabled=0,Duration=0.49)\",12,61,0,0,\"#7F7F7F\",\"#FFFFFF\"]);
stm_aix(\"p2i0\",\"p1i0\",[0,\"Menu Item 1\"]);
stm_aix(\"p2i1\",\"p1i1\",[]);
stm_aix(\"p2i2\",\"p1i0\",[0,\"Menu Item 2\"]);
stm_aix(\"p2i3\",\"p1i1\",[]);
stm_aix(\"p2i4\",\"p1i0\",[0,\"Menu Item 3\"]);
stm_ep();
stm_aix(\"p1i3\",\"p1i1\",[]);
stm_aix(\"p1i4\",\"p1i0\",[0,\"Sothink Glanda\"]);
stm_aix(\"p1i5\",\"p1i1\",[]);
stm_aix(\"p1i6\",\"p1i0\",[0,\"Sothink HTML Editor\"]);
stm_ep();
stm_aix(\"p0i2, \",\"p0i1\",[0,\"Download\"],80,0);
stm_bpx(\"p3" \"p2\",[1,4,0,0]);
stm_aix(\"p3i0\",\"p1i0\",[0,\"Sothink SWF Decompiler\"]);
stm_aix(\"p3i1\",\"p1i1\",[]);
stm_aix(\"p3i2\",\"p1i0\",[0,\"Sothink DHTMLMenu\"]);
stm_aix(\"p3i3\",\"p1i1\",[]);
stm_aix(\"p3i4\",\"p1i4\",[]);
stm_aix(\"p3i5", "p1i1\",[]);
stm_aix(\"p3i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Links\"],200,0);
stm_bpx(\"p4",\"p3\",[]);
stm_aix(\"p4i0\",\"p3i0\",[]);
stm_aix(\"p4i1\",\"p1i1\",[]);
stm_aix(\"p4i2\",\"p3i2\",[]);
stm_aix(\"p4i3\",\"p1i1\",[]);
stm_aix(\"p4i4\",\"p1i4\",[]);
stm_aix(\"p4i5\",\"p1i1\",[]);
stm_aix(\"p4i6\",\"p1i6\",[]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"FeedBack\",\"\",\"\",-1,-1,0,\"#\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",1,\"#FFFFFF\",1,\"\",\"\",3,3,0,0,\"#FFFFFF\",\"#FFFFFF\",\"#FFFFFF\",\"#FFCC00\",\"bold 8pt Arial\",\"bold 8pt Arial\"],60,0);
stm_ep();
stm_em();
//-->
</script>
Się troche zmienia ale nie wiele tym razem wyskakuje błąd:
[b]
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home.11/t/h/e/therealb/www/themes/tesr/theme.php on line 175
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home.11/t/h/e/therealb/www/themes/tesr/theme.php on line 181[/b]
Edytowane przez c-milionaire dnia 18.01.2008 19:45:10
|