Nawigacja - Sothink DHTMLMenu
|
MaChoni |
Dodany dnia 07.01.2007 14:24:29
|
Przedszkolak
Postów: 50 Ostrzeżeń: 3
v7.00.05 Data rejestracji: 15.06.2006 14:00
|
Witam, mam problem ze wstawieniem poziomej nawigacji zamiast górnej belki.
Czytałem temat który jest przyklejony wyżej ale mam nieco inny kod niż ten co jest w przykładzie. Używam Sothink DHTMLMenu i niewiem jak i gdzie wkleić kody.
Oto kod który został wygenerowany:
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu1b3e",700,"","blank.gif",0,"","",0,0,0,0,50,1,0,0,"","100%",0,0,1,1,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,3,0,0,100,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=1.00)",5,"",-2,10,0,0,"#7F7F7F","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0," NBA Series ","","",-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",0,0],80,0);
stm_bpx("p1","p0",[1,4,-1,0,0,3,0,0,83,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.49)",5,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.49)",4,61,0,0,"#7F7F7F","transparent","",3,1,1]);
stm_aix("p1i0","p0i0",[0,"Strona główna","","",-1,-1,0,"index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#000000"]);
stm_aix("p1i1","p1i0",[0,"Mapa serwisu","","",-1,-1,0,"infusions/site_map/site_map.php"]);
stm_aix("p1i2","p1i0",[0,"Współpraca","","",-1,-1,0,"wspolpraca.php"]);
stm_aix("p1i3","p1i0",[0,"Rejestracja","","",-1,-1,0,"register.php"]);
stm_aix("p1i4","p1i0",[0,"Redakcja","","",-1,-1,0,"team.php"]);
stm_aix("p1i5","p1i0",[0,"Newsy","","",-1,-1,0,"news_cats.php"]);
stm_aix("p1i6","p1i0",[0,"FAQ","","",-1,-1,0,"faq.php"]);
stm_aix("p1i7","p1i0",[0,"Szukaj","","",-1,-1,0,"search.php"]);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Społeczność "],80,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Forum","","",-1,-1,0,"forum/index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFCC00"]);
stm_aix("p2i1","p1i0",[0,"Kontakt","","",-1,-1,0,"contact.php"]);
stm_aix("p2i2","p1i0",[0,"Księga gości ","","",-1,-1,0,"infusions/guestbook/guestbook.php?new_message=1"]);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Pliki do pobrania "],80,0);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Downloads","","",-1,-1,0,""]);
stm_aix("p3i1","p3i0",[0,"Screeny z gier "]);
stm_aix("p3i2","p3i0",[0,"Wallpapers"]);
stm_ep();
stm_aix("p0i3","p0i0",[0," NBA Live 07 ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000",0]);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p3i0",[0,"Info"]);
stm_aix("p4i1","p3i0",[0,"Opis gry"]);
stm_aix("p4i2","p3i0",[0,"Kody"]);
stm_aix("p4i3","p3i0",[0,"Wymagania"]);
stm_aix("p4i4","p3i0",[0,"Recenzja"]);
stm_aix("p4i5","p3i0",[0,"Soundtrack"]);
stm_aix("p4i6","p3i0",[0,"Download"]);
stm_aix("p4i7","p3i0",[0,"Screeny"]);
stm_aix("p4i8","p3i0",[0,"Zmiana muzyki"]);
stm_ep();
stm_aix("p0i4","p0i3",[0,"NBA Live 06 "]);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p4i0",[]);
stm_aix("p5i1","p4i1",[]);
stm_aix("p5i2","p4i2",[]);
stm_aix("p5i3","p3i0",[0,"Wymagania "]);
stm_aix("p5i4","p4i4",[]);
stm_aix("p5i5","p4i5",[]);
stm_aix("p5i6","p4i6",[]);
stm_aix("p5i7","p3i0",[0,"Screeny "]);
stm_ep();
stm_aix("p0i5","p0i0",[0,"NBA Live 05"],80,0);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p4i0",[]);
stm_aix("p6i1","p4i1",[]);
stm_aix("p6i2","p4i2",[]);
stm_aix("p6i3","p5i3",[]);
stm_aix("p6i4","p4i4",[]);
stm_aix("p6i5","p4i5",[]);
stm_aix("p6i6","p4i6",[]);
stm_aix("p6i7","p4i7",[]);
stm_ep();
stm_aix("p0i6","p0i3",[0,"Panel usera"]);
stm_bpx("p7","p1",[]);
stm_aix("p7i0","p3i0",[0,"Dodaj link"]);
stm_aix("p7i1","p3i0",[0,"Dodaj plik"]);
stm_aix("p7i2","p3i0",[0,"Dodaj newsa"]);
stm_aix("p7i3","p3i0",[0,"Dodaj artykuł"]);
stm_aix("p7i4","p3i0",[0,"Dodaj zdjęcie"]);
stm_aix("p7i5","p3i0",[0,"Zgłoś błąd"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
Niemam pojęcie jak to wstawić więc prosze o pomoc ;)
|
|
|
|
Wścibski Gość |
Dodany dnia 25.11.2024 03:14:02
|
Pan Kontekstualny
Postów: n^x
Data rejestracji: Zawsze
|
|
IP: localhost |
|
|
slawekneo |
Dodany dnia 07.01.2007 20:03:31
|
Bywalec
Postów: 915 Pomógł: 41
Data rejestracji: 12.03.2006 07:28
|
bylo by nam latwiej jak bys dodal jako zalacznik spakowany clay skrypt | potrzebne jest to do sprawdzenia dzialania bo w ciemno niezawsze mozna trafic :D
a co do tego trafiania to :
wchodzisz w plik theme .php no i w funkcji render_heder() muszisz odnaleszc kod z petla ktory wyswietla linki na belce gornej i go zamieniasz na
echo'<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu1b3e",700,"","blank.gif",0,"","",0,0,0,0,50,1,0,0,"","100%",0,0,1,1,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,3,0,0,100,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=1.00)",5,"",-2,10,0,0,"#7F7F7F","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0," NBA Series ","","",-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",0,0],80,0);
stm_bpx("p1","p0",[1,4,-1,0,0,3,0,0,83,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.49)",5,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.49)",4,61,0,0,"#7F7F7F","transparent","",3,1,1]);
stm_aix("p1i0","p0i0",[0,"Strona główna","","",-1,-1,0,"index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#000000"]);
stm_aix("p1i1","p1i0",[0,"Mapa serwisu","","",-1,-1,0,"infusions/site_map/site_map.php"]);
stm_aix("p1i2","p1i0",[0,"Współpraca","","",-1,-1,0,"wspolpraca.php"]);
stm_aix("p1i3","p1i0",[0,"Rejestracja","","",-1,-1,0,"register.php"]);
stm_aix("p1i4","p1i0",[0,"Redakcja","","",-1,-1,0,"team.php"]);
stm_aix("p1i5","p1i0",[0,"Newsy","","",-1,-1,0,"news_cats.php"]);
stm_aix("p1i6","p1i0",[0,"FAQ","","",-1,-1,0,"faq.php"]);
stm_aix("p1i7","p1i0",[0,"Szukaj","","",-1,-1,0,"search.php"]);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Społeczność "],80,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Forum","","",-1,-1,0,"forum/index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFCC00"]);
stm_aix("p2i1","p1i0",[0,"Kontakt","","",-1,-1,0,"contact.php"]);
stm_aix("p2i2","p1i0",[0,"Księga gości ","","",-1,-1,0,"infusions/guestbook/guestbook.php?new_message=1"]);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Pliki do pobrania "],80,0);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Downloads","","",-1,-1,0,""]);
stm_aix("p3i1","p3i0",[0,"Screeny z gier "]);
stm_aix("p3i2","p3i0",[0,"Wallpapers"]);
stm_ep();
stm_aix("p0i3","p0i0",[0," NBA Live 07 ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000",0]);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p3i0",[0,"Info"]);
stm_aix("p4i1","p3i0",[0,"Opis gry"]);
stm_aix("p4i2","p3i0",[0,"Kody"]);
stm_aix("p4i3","p3i0",[0,"Wymagania"]);
stm_aix("p4i4","p3i0",[0,"Recenzja"]);
stm_aix("p4i5","p3i0",[0,"Soundtrack"]);
stm_aix("p4i6","p3i0",[0,"Download"]);
stm_aix("p4i7","p3i0",[0,"Screeny"]);
stm_aix("p4i8","p3i0",[0,"Zmiana muzyki"]);
stm_ep();
stm_aix("p0i4","p0i3",[0,"NBA Live 06 "]);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p4i0",[]);
stm_aix("p5i1","p4i1",[]);
stm_aix("p5i2","p4i2",[]);
stm_aix("p5i3","p3i0",[0,"Wymagania "]);
stm_aix("p5i4","p4i4",[]);
stm_aix("p5i5","p4i5",[]);
stm_aix("p5i6","p4i6",[]);
stm_aix("p5i7","p3i0",[0,"Screeny "]);
stm_ep();
stm_aix("p0i5","p0i0",[0,"NBA Live 05"],80,0);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p4i0",[]);
stm_aix("p6i1","p4i1",[]);
stm_aix("p6i2","p4i2",[]);
stm_aix("p6i3","p5i3",[]);
stm_aix("p6i4","p4i4",[]);
stm_aix("p6i5","p4i5",[]);
stm_aix("p6i6","p4i6",[]);
stm_aix("p6i7","p4i7",[]);
stm_ep();
stm_aix("p0i6","p0i3",[0,"Panel usera"]);
stm_bpx("p7","p1",[]);
stm_aix("p7i0","p3i0",[0,"Dodaj link"]);
stm_aix("p7i1","p3i0",[0,"Dodaj plik"]);
stm_aix("p7i2","p3i0",[0,"Dodaj newsa"]);
stm_aix("p7i3","p3i0",[0,"Dodaj artykuł"]);
stm_aix("p7i4","p3i0",[0,"Dodaj zdjęcie"]);
stm_aix("p7i5","p3i0",[0,"Zgłoś błąd"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>';
no a jak Ci sie to niebedzie udawac to wstaw tu plik theme.php moze cos poradzimy
Pozdro!! |
|
|
|
MaChoni |
Dodany dnia 07.01.2007 20:10:51
|
Przedszkolak
Postów: 50 Ostrzeżeń: 3
v7.00.05 Data rejestracji: 15.06.2006 14:00
|
W takim razie odrazu umieszczam plik theme.php ;)
<?
/*--------------------------------------------+
| PHP-Fusion v6 - Content Management System |
|---------------------------------------------|
| author: Nick Jones (Digitanium) ę 2002-2005 |
| web: http://www.php-fusion.co.uk |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/*--------------------------------------------+
| The Incandescent Theme for PHP-Fusion v6 |
|---------------------------------------------|
| author: PHP-Fusion Themes - Shedrock ę 2005 |
| web: http://phpfusion.org |
| email: |
|---------------------------------------------|
| Released under the terms and conditions of |
| the GNU General Public License (Version 2) |
+--------------------------------------------*/
/************************/
/* Theme Settings */
/************************/
$body_text = "#000000";
$body_bg = "#000";
$theme_width = "900";
$theme_width_l = "170";
$theme_width_r = "170";
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td>$header_content</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>";
echo "<td class='sub-header'>\n";
$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=''> \n"; } 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.">".$data['link_name']."</a>";
} else {
echo "<a href='".BASEDIR.$data['link_url']."'".$link_target.">".$data['link_name']."</a>";
}
}
$i++;
}
}
}
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right' class='sub-header'>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
function render_footer($license=false) {
global $theme_width,$locale,$settings;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."</td>";
echo "</tr></table></td></tr></table><br>";
echo "<table cellSpacing='0' cellPadding='2' width='100%' border='0'>";
echo "<tr><td width='4%' class='footer' align='left'><div align='center'>";
echo "<a href='#top'><img src='".THEME."images/pageup.gif' alt='Scroll Up' title='Scroll Up'></a></div></td>";
echo "<td width='20%' class='footer' align='left'>";
if ($license == false) {
echo "Engine: <a href='http://www.php-fusion.co.uk' target='_blank'>PHP-Fusion</a> v".$settings['version']." ©";
}
echo "</td>";
echo "<td width='40%' class='footer' align='center'>";
echo "The <b>NBA Series</b> Theme by: <a target='_blank' href='http://www.nbaseries.info'><b>Machoni</b></a></a></td>";
echo "<td width='26%' class='footer' align='right'>";
echo "<span class='footerstat'>".$settings['counter']." </span>".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td><td width='4%' class='footer' align='right'>";
echo "<div align='center'><a href='#top'><img src='".THEME."images/pageup.gif' alt='Scroll Up' title='Scroll Up'></a></td></tr></table></td></tr></table></div><br>";
@include INCLUDES."stat.php";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['news_date'])." </td>";
echo "<td height='24' align='right' class='news-footer'>";
echo "".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "")."";
if ($info['news_allow_comments'])
echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> · ";
echo "".$info['news_reads'].$locale['044']." ";
echo "<a href='print.php?type=N&item_id=".$info['news_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table class='news-border' border='0' cellspacing='2' width='100%' cellpadding='1'><tr>";
echo "<td height='23' class='table-cellpic'>$subject</td>";
echo "</tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td><table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='100%' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='news-footer'>";
echo "".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a> ";
echo "".$locale['041'].showdate("longdate", $info['article_date'])."</td>";
echo "<td height='24' align='right' class='news-footer'>";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." · ";
echo "".$info['article_reads'].$locale['044']." ";
echo "<a href='print.php?type=A&item_id=".$info['article_id']."'><img src='".THEME."images/printer.gif' alt='".$locale['045']."' style='vertical-align:middle;border:0px;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='table-cellpic' align='left'>$title</td></tr>";
echo "<tr><td class='main-body' width='100%' bgColor='#FFFFFF'>";
}
// Close table end
function closetable() {
echo "</td></tr></table></td></tr></table>";
}
function openside($title) {
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'>$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
}
function closeside() {
echo "</td></tr></table></td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
$boxname = str_replace(" ", "", $title);
$box_img = $open == "on" ? "off" : "on";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'>";
echo "<tr><td width='100%'><table class='panel-border' cellSpacing='1' cellPadding='0' width='100%' border='0'>";
echo "<tr><td width='100%' height='23' class='panel-cellpic' align='center'><img align='right' src='".THEME."images/panel_$box_img.gif' name='b_$boxname' alt='' onclick=\"javascript:flipBox('$boxname')\">$title</td></tr>";
echo "<tr><td class='side-body' width='100%' bgColor='#FFFFFF'>";
echo "<div id='box_$boxname'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
<bgsound src="fd" loop="infinite"></bgsound>
Pozdrawiam ;)
|
|
|
|
slawekneo |
Dodany dnia 07.01.2007 20:53:44
|
Bywalec
Postów: 915 Pomógł: 41
Data rejestracji: 12.03.2006 07:28
|
umiesc plik stmenu.js w katalogu includes a pozniej podmien ta funkcje w pliku render_heder echo "<table class='forumline' align='center' width='$theme_width' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td><table align='center' width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td class='header' width='100%'>";
// Start banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td>$header_content</td>";
echo "</tr></table></td></tr></table>\n";
// End banner code
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>";
echo "<td >\n";
//start manu
[b]echo'<script type="text/javascript" language="JavaScript1.2" src="".INCLUDES."stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu1b3e",700,"","blank.gif",0,"","",0,0,0,0,50,1,0,0,"","100%",0,0,1,1,"default","hand",""],this);
stm_bp("p0",[0,4,0,0,0,3,0,0,100,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=1.00)",5,"",-2,10,0,0,"#7F7F7F","#000000","",3,0,0,"#000000"]);
stm_ai("p0i0",[0," NBA Series ","","",-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",0,0],80,0);
stm_bpx("p1","p0",[1,4,-1,0,0,3,0,0,83,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.49)",5,"progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=reverse,enabled=0,Duration=0.49)",4,61,0,0,"#7F7F7F","transparent","",3,1,1]);
stm_aix("p1i0","p0i0",[0,"Strona główna","","",-1,-1,0,"index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFFFFF","#000000"]);
stm_aix("p1i1","p1i0",[0,"Mapa serwisu","","",-1,-1,0,"infusions/site_map/site_map.php"]);
stm_aix("p1i2","p1i0",[0,"Współpraca","","",-1,-1,0,"wspolpraca.php"]);
stm_aix("p1i3","p1i0",[0,"Rejestracja","","",-1,-1,0,"register.php"]);
stm_aix("p1i4","p1i0",[0,"Redakcja","","",-1,-1,0,"team.php"]);
stm_aix("p1i5","p1i0",[0,"Newsy","","",-1,-1,0,"news_cats.php"]);
stm_aix("p1i6","p1i0",[0,"FAQ","","",-1,-1,0,"faq.php"]);
stm_aix("p1i7","p1i0",[0,"Szukaj","","",-1,-1,0,"search.php"]);
stm_ep();
stm_aix("p0i1","p0i0",[0,"Społeczność "],80,0);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Forum","","",-1,-1,0,"forum/index.php","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#FFCC00",0,"","",3,3,0,0,"#FFFFFF","#FFFFFF","#FFCC00"]);
stm_aix("p2i1","p1i0",[0,"Kontakt","","",-1,-1,0,"contact.php"]);
stm_aix("p2i2","p1i0",[0,"Księga gości ","","",-1,-1,0,"infusions/guestbook/guestbook.php?new_message=1"]);
stm_ep();
stm_aix("p0i2","p0i0",[0,"Pliki do pobrania "],80,0);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Downloads","","",-1,-1,0,""]);
stm_aix("p3i1","p3i0",[0,"Screeny z gier "]);
stm_aix("p3i2","p3i0",[0,"Wallpapers"]);
stm_ep();
stm_aix("p0i3","p0i0",[0," NBA Live 07 ","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#000000",0]);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p3i0",[0,"Info"]);
stm_aix("p4i1","p3i0",[0,"Opis gry"]);
stm_aix("p4i2","p3i0",[0,"Kody"]);
stm_aix("p4i3","p3i0",[0,"Wymagania"]);
stm_aix("p4i4","p3i0",[0,"Recenzja"]);
stm_aix("p4i5","p3i0",[0,"Soundtrack"]);
stm_aix("p4i6","p3i0",[0,"Download"]);
stm_aix("p4i7","p3i0",[0,"Screeny"]);
stm_aix("p4i8","p3i0",[0,"Zmiana muzyki"]);
stm_ep();
stm_aix("p0i4","p0i3",[0,"NBA Live 06 "]);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p4i0",[]);
stm_aix("p5i1","p4i1",[]);
stm_aix("p5i2","p4i2",[]);
stm_aix("p5i3","p3i0",[0,"Wymagania "]);
stm_aix("p5i4","p4i4",[]);
stm_aix("p5i5","p4i5",[]);
stm_aix("p5i6","p4i6",[]);
stm_aix("p5i7","p3i0",[0,"Screeny "]);
stm_ep();
stm_aix("p0i5","p0i0",[0,"NBA Live 05"],80,0);
stm_bpx("p6","p1",[]);
stm_aix("p6i0","p4i0",[]);
stm_aix("p6i1","p4i1",[]);
stm_aix("p6i2","p4i2",[]);
stm_aix("p6i3","p5i3",[]);
stm_aix("p6i4","p4i4",[]);
stm_aix("p6i5","p4i5",[]);
stm_aix("p6i6","p4i6",[]);
stm_aix("p6i7","p4i7",[]);
stm_ep();
stm_aix("p0i6","p0i3",[0,"Panel usera"]);
stm_bpx("p7","p1",[]);
stm_aix("p7i0","p3i0",[0,"Dodaj link"]);
stm_aix("p7i1","p3i0",[0,"Dodaj plik"]);
stm_aix("p7i2","p3i0",[0,"Dodaj newsa"]);
stm_aix("p7i3","p3i0",[0,"Dodaj artykuł"]);
stm_aix("p7i4","p3i0",[0,"Dodaj zdjęcie"]);
stm_aix("p7i5","p3i0",[0,"Zgłoś błąd"]);
stm_ep();
stm_ep();
stm_em();
//-->
</script>';[/b]
//end manu
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right' class='sub-header'>".ucwords(showdate($settings['subheaderdate'], time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>";
}
Pozdro!!
Edytowane przez slawekneo dnia 07.01.2007 20:55:49
|
|
|
|
MaChoni |
Dodany dnia 07.01.2007 22:05:26
|
Przedszkolak
Postów: 50 Ostrzeżeń: 3
v7.00.05 Data rejestracji: 15.06.2006 14:00
|
Hmmm... a jeszcze powiedz mi w plik stmenu.js co dokładnie mam wstawić? Bo gdy wstawiłem kod który podałem w pierwszym poście tego tematu to górna belka była pusta. Próbowałem również z pustym plikiem i nadal jest górna belka pusta.
|
|
|
|
JahuKA |
Dodany dnia 01.10.2008 16:23:54
|
Przedszkolak
Postów: 9
Data rejestracji: 07.08.2008 09:08
|
Jak w temacie posta.
Menu utworzone w DHTML nie wyświetla sie .
Robiłem jak slawekneo pisał :
umiescilem plik stmenu.js i pozostałe 4 .js które opublikował DHTML w katalogu INCLUDES, a gify w katalogu /images/menu mojej skórki - fusion5.
Podmieniłem zawartość stand.poziomego menu na menu opublikowane w Javie
plik theme.php
<?
// theme settings
$body_text = "#000000";
$body_bg = "#888888";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$locale;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px #444 solid'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='header'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'style='border-top:1px #333 solid;border-bottom:1px #333 solid;'>\n<tr>";
echo "<td >\n";
echo'<script type="text/javascript" language="JavaScript1.2" src=\"".INCLUDES.\"stmenu.js"></script>
<script type=\"text/javascript\" language="JavaScript1.2">
<!--
stm_bm([\"menu6352\",860,\"\",\"blank.gif\",0,\"\",\"\",0,0,250,0,1000,1,0,0,\"\",\"100%\",0,0,1,2,\"default\",\"hand\",\"\"],this);
stm_bp(\"p0\",[0,4,0,0,2,3,0,7,100,\"\",-2,\"\",-2,50,0,0,\"#999999\",\"#E6EFF9\",\"\",3,1,1,\"#000000\"]);
stm_ai(\"p0i0\",[0,\"Strona \r\nGłówna\",\"\",\"\",-1,-1,0,\"".BASEDIR."news.php\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#8AAEC6\",0,\"#8AAEC6\",0,\"\",\"\",3,3,1,1,\"#E6EFF9\",\"#000000\",\"#003366\",\"#003366\",\"bold 8pt Verdana\",\"bold 9pt Verdana\",0,0],80,0);
stm_aix(\"p0i1\",\"p0i0\",[0,\"Inwestycje\",\"\",\"\",-1,-1,0,\"\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"arrow_r.gif\",\"arrow_r.gif\",7,7]);
stm_bpx(\"p1\",\"p0\",[1,4,0,0,2,3,0,0,100,\",-2,\"\",-2,50,0,0,\"#999999\",\"#B7CEE2\"]);
stm_aix(\"p1i0\",\"p0i0\",[0,\"Rok 2007\",\"\",\"\",-1,-1,0,\"".BASEDIR."viewpage.php?page_id=66\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",0,\"#B7CEE2\",0,\"\",\"#B7CEE2\",3,3,1,1,\"#E6EFF9\",\"#000000\",\"#999999\",\"#000000\",\"bold 7pt Verdana\",\"bold 8pt Verdana\"]);
stm_aix(\"p1i1\",\"p1i0\",[0,\"Rok 2008\",\"\",\"\",-1,-1,0,\"".BASEDIR."viewpage.php?page_id=67\",\"_self\",\"\",\"\",\"\",\"\",0,0,0,\"\",\"\",0,0,0,0,1,\"#FFFFFF\",0,\"#B7CEE2\",0,\"\",\"\"]);
stm_ep();
stm_aix(\"p0i2\",\"p0i1\",[0,\"Przetargi\"]);
stm_bpx(\"p2\",\"p0\",[1,4,0,0,2,3,0,0]);
stm_aix(\"p2i0\",\"p1i1\",[0,\"Ogłoszone\",\"\",\"\",-1,-1,0,\"".BASEDIR."viewpage.php?page_id=68\"]);
stm_aix(\"p2i1\",\"p1i1\",[0,\"Zakończone\",\"\",\"\",-1,-1,0,\""BASEDIR."viewpage.php?page_id=69\"]);
stm_aix(\"p2i2\",\"p1i1\",[0,\"Unieważnione\",\"\",\"\",-1,-1,0,\"".BASEDIR."viewpaage.php?page_id=70\"]);
stm_ep();
stm_aix(\"p0i3\",\"p0i1\",[0,\"Planowanie\r\nprzestrzenne\"]);
stm_bpx(\"p3\",\"p2\",[]);
stm_aix(\"p3i0\",\"p1i1\",[0,\"Studium\",\"\",\"\",-1,-1,0,\"".BASEDIR."viewpage.php?page_id=71\"]);
stm_ep();
stm_aix(\"p0i4\",\"p0i0\",[0,\"Galeria\",\"\",\"\",-1,-1,0,\"".BASEDIR."photogallery.php\"]);
stm_aix(\"p0i5\",\"p0i0\",[0,\"Szukaj\",\"\",\"\",-1,-1,0,\"".BASEDIR."search.php\"]);
stm_ep();
stm_em();
//-->
</script>';
echo ($i == 0 ? " " : "")."</td>";
echo "<td align='right' class='header2'>".ucwords(showdate("%A, %B %d, %Y", time()))."";
echo "</td></tr></table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
</td>
</tr>
</table>
<table align='center' width='$theme_width' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer2'>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<br>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $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;'></a>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>\n";
echo ($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br>\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $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;'></a>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-caption'>$title</td>
<td class='side-caption' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Tak wygłądał wcześniej mój plik theme.php w skórce Fusion5
<?
// theme settings
$body_text = "#000000";
$body_bg = "#888888";
$theme_width = "100%";
$theme_width_l = "180";
$theme_width_r = "180";
function render_header($header_content) {
global $theme_width,$settings,$locale;
echo "<table align='center' width='$theme_width' cellspacing='0' cellpadding='0' style='border:1px #444 solid'>
<tr>
<td>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td class='header'>
<table width='100%' cellspacing='0' cellpadding='0'>
<tr>
<td>$header_content</td>
</tr>
</table>
</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0' style='border-top:1px #333 solid;border-bottom:1px #333 solid;'>\n<tr>
<td class='header2'>\n";
$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 " ·\n"; } 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 ? " " : "")."</td><td align='right' class='header2'>".ucwords(showdate("%A, %B %d, %Y", time()))."</td>
</tr>
</table>\n";
echo "<table width='100%' cellspacing='0' cellpadding='0'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td class='footer'>".stripslashes($settings['footer'])."</td>
</tr>
</table>
</td>
</tr>
</table>
<table align='center' width='$theme_width' cellpadding='0' cellspacing='0' width='100%'>
<tr>
<td align='center' class='footer2'>
".$settings['counter']." ".($settings['counter'] == 1 ? $locale['140']."<br><br>\n" : $locale['141']."<br><br>\n");
if ($license == false) {
echo "Powered by <a href='http://www.php-fusion.co.uk' target='_blank'><img src='".THEME."images/fusion.gif' alt='PHP-Fusion' title='PHP-Fusion' border='0' style='vertical-align:middle;'></a> v".$settings['version']." © 2003-2005<br><br>\n";
}
echo "</td>
</tr>
</table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>
$news
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['news_date'])."<br>
".($info['news_ext'] == "y" ? "<a href='news.php?readmore=".$info['news_id']."'>".$locale['042']."</a> ·\n" : "");
if ($info['news_allow_comments']) echo "<a href='news.php?readmore=".$info['news_id']."'>".$info['news_comments'].$locale['043']."</a> ·\n";
echo $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;'></a>
</td>
</tr>
</table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$subject</td>
</tr>
<tr>
<td class='main-body'>\n";
echo ($info['article_breaks'] == "y" ? nl2br($article) : $article)."
</td>
</tr>
<tr>
<td class='infobar'>
".$locale['040']."<a href='profile.php?lookup=".$info['user_id']."'>".$info['user_name']."</a>
".$locale['041'].showdate("longdate", $info['article_date'])."<br>\n";
if ($info['article_allow_comments']) echo $info['article_comments'].$locale['043']." ·\n";
echo $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;'></a>
</td>
</tr>
</table>\n";
}
function opentable($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='caption'>$title</td>
</tr>
<tr>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
</tr>
</table>\n";
}
function openside($title) {
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td class='side-caption'>$title</td>
</tr>
<tr>
<td class='side-body'>\n";
}
function closeside() {
echo "</td>
</tr>
</table>\n";
tablebreak();
}
function opensidex($title,$open="on") {
$box_img = ($open=="on" ? "off" : "on");
echo "<table width='100%' cellpadding='0' cellspacing='1' class='border'>
<tr>
<td>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='side-caption'>$title</td>
<td class='side-caption' align='right'>
<img onclick=\"javascript:flipBox('$title')\" name='b_$title' alt='$box_img' border='0' src='".THEME."images/panel_$box_img.gif'>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class='side-body'>
<div id='box_$title'".($open=="off" ? "style='display:none'" : "").">\n";
}
function closesidex() {
echo "</div>
</td>
</tr>
</table>\n";
tablebreak();
}
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'>
<tr><td height='8'></td></tr>
</table>\n";
}
?>
Proszę o pomoc w zdiagnozowaniu usterki |
|
|
|
kamy |
Dodany dnia 11.03.2011 13:59:53
|
Początkujący
Postów: 150 Ostrzeżeń: 3
Data rejestracji: 10.02.2008 15:10
|
Witam, ja również korzystam z menu Sothink DHTML, próbuje dodać Menu do thema.
Menu wygląda tak http://download-w...y/menu.php, próbowałem opcją include() ale nie działa, jakieś rady?
Wiadomość doklejona:
Problem rozwiązany, jak ktoś jest zainteresowany rozwiązaniem mogę wytłumaczyć jak mi się to udało
Edytowane przez kamy dnia 12.03.2011 15:46:54
|
|
|