Początkujący
Postów: 185
Data rejestracji: 23.06.2006 11:36
|
Oto menu mi chodzi mam zrobione tym samym programem przez tą samą osobę tylko nie wiem jak wstawic
http://www.f4a.eu/uplGRA/11761282478193.JPG
Tutaj screen gdzie chce wstawic
http://www.f4a.eu/uplGRA/1176128078581.JPG
Tutaj kod
<script type="text/javascript" language="JavaScript1.2" src="stmenu.js"></script>
<script type="text/javascript" language="JavaScript1.2">
<!--
stm_bm(["menu4d8f",730,"","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,4,0,16,100,"",-2,"",-2,90,0,0,"#999999","transparent","",3,0,0,"#E6FAB4 #788C32 #788C32 #E6FAB4"]);
stm_ai("p0i0",[0,"STRONA GŁÓWNA","","",-1,-1,0,"index.php","_self","","","","",0,0,0,"","",0,0,0,1,1,"#000000",0,"#5b5959",0,"","",3,3,0,0,"#BEE6F0 #64878C #64878C #BEE6F0","#64878C #BEE6F0 #BEE6F0 #64878C","#FFFFFF","#FFFFFF","bold 8pt Arial","bold 8pt Arial",0,0],150,28);
stm_aix("p0i1","p0i0",[0,"MEDIA","","",-1,-1,0,"","_self","","","","",0,0,0,"","",16,9],150,28);
stm_bp("p1",[1,4,0,0,0,2,0,0,80,"progid:DXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.52)",5,"",-2,58,0,0,"#999999","transparent","",3,0,0,"#000000"]);
stm_aix("p1i0","p0i0",[0,"Mp3","","",-1,-1,0,"mp3.html","_self","","","","",0,0,0,"","",0,0,0,0,1,"#000000",0,"#5b5959",0,"","",3,3,0,0,"#FFFFFF #A0A0A0 #A0A0A0 #FFFFFF","#A0A0A0 #FFFFFF #FFFFFF #A0A0A0"],150,10);
stm_aix("p1i1","p1i0",[0,"Video","","",-1,-1,0,"video.html"],150,10);
stm_aix("p1i2","p1i0",[0,"Tapety","","",-1,-1,0,"#"],150,10);
stm_aix("p1i3","p1i2",[0,"Avatary"],150,10);
stm_ep();
stm_aix("p0i2","p0i0",[0,"ARTYKUŁY","","",-1,-1,0,"#"],150,28);
stm_aix("p0i3","p0i1",[0,"STRONA"],150,28);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i2",[0,"Redakcja"],150,10);
stm_aix("p2i1","p1i2",[0,"Wymiana"],150,10);
stm_aix("p2i2","p1i2",[0,"Reklama"],150,10);
stm_aix("p2i3","p1i2",[0,"Sponsor"],150,10);
stm_ep();
stm_aix("p0i4","p0i2",[0,"FORUM"],150,28);
stm_aix("p0i5","p0i1",[0,"LINKI","","",-1,-1,0,"#"],150,28);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i2",[0,"Oficjalne"],150,10);
stm_aix("p3i1","p1i2",[0,"Nieoficjalne"],150,10);
stm_aix("p3i2","p1i2",[0,"Myspace"],150,10);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
I plik theme.php
<?
/*///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////Theme created by WTF Themes /////////////////////////////////////////////////////////
*////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////Pagrindiniai temos nustatymai//////////////////////////////////////////////////////
$body_text = "#080808";
$body_bg = "#191919";
$theme_width = "803"; ///////////Pagrindinis themos dydis
$theme_width_l = "170"; ///////////đonai//////
$theme_width_r = "170";
/////////////////////////////////////////////////Pradedu,baneris/////////////////////////////////////////////////////////////
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='2' cellpadding='2' bgcolor='#191919'>";
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%'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td>$header_content</td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellspacing='0' bgcolor='191919' cellpadding='0'>\n";
echo "<center><a href='news.php'><img src='images/home.jpg' border=0></a><img src='images/forum.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><a href='forum/index.php' target='ramka'><img src='images/team.jpg' border=0></a><a href='viewpage.php?page_id=13' target='_blank'><img src='images/photos.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><img src='images/linki.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><img src='images/wymiana.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><br>";
echo "</table>";
echo "<br><table width='100%' cellspacing='0' cellpadding='0' bgcolor='#191919'>\n<tr>\n";
}
function render_footer($license=false) {
global $theme_width,$settings,$locale;
echo "</tr>\n</table>\n";
echo "<table border='0' cellpadding='0' cellspacing='0' width='100%'><tr>";
echo "<td>".stripslashes($settings['footer'])."<br>";
echo "<tr><td><table border='0' cellpadding='0' cellspacing='0' width='100%' height='30'>";
echo "<tr><td class='footer' valign='middle' width='35%'>";
if ($license == false) {
echo "Sistema <a href='http://www.php-fusion.co.uk'>PHP-Fusion</a> v".$settings['version']." ";
}
echo "</td>";
echo "<td class='footer' align='center' width='20%'>";
echo "BasketBall Theme by <a href='http://wtfthemes.failai.lt'><b>WTF Themes</b><br></td>";
echo "<td class='footer' align='right' width='35%'><b>".$settings['counter']."</b> ".($settings['counter'] == 1 ? $locale['140']."\n" : $locale['141']."\n");
echo "</td></tr></table></center></table></table></table>\n";
}
function render_news($subject, $news, $info) {
global $locale;
echo "<table border='0' style='border: 1px solid #605758' cellspacing='1' width='95%' cellpadding='3' align='center'><tr>";
echo "<td background='".THEME."images/cellpic2.gif' height='24'><img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</tr></table>";
echo "<table width='95%' cellpadding='0' cellspacing='1' class='border' align='center'><tr>";
echo "<td><table width='95%' align='center' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>$news</td></tr></table>";
echo "<table width='95%' align='center' 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']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
function render_article($subject, $article, $info) {
global $locale;
echo "<table border='0' style='border: 2px solid #605758' cellspacing='1' width='95%' align='center' cellpadding='3'><tr>";
echo "<td background='".THEME."images/cellpic3.gif' height='24'><img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$subject</font></td>";
echo "</td></tr></table>";
echo "<table width='95%' align='center' cellpadding='0' cellspacing='1' class='border'><tr>";
echo "<td><table width='95%' align='center' cellpadding='0' cellspacing='0'><tr>";
echo "<td class='main-body'>".($info['article_breaks'] == "y" ? nl2br($article) : $article)."";
echo "</td></tr></table>";
echo "<table width='95%' align='center' 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']."' border='0' style='vertical-align:middle;'></a>";
echo "</td></tr></table></td></tr></table>\n";
}
// Open table begins
function opentable($title) {
echo "<table width='95%' align='center' cellpadding='2' cellspacing='1' style='border: 1px solid #605758'>";
echo "<tr><td background='".THEME."images/cellpic2.gif' bgcolor='#191919' height='24'><font class='head-title'> $title</font></td>";
echo "</tr></table>";
echo "<table width='95%' align='center' cellpadding='0' cellspacing='0' class='border'><tr>";
echo "<td class='main-body'>\n";
}
// Close table end
function closetable() {
echo "</td></tr></table>\n";
}
function openside($title) {
echo "<table border='0' style='border: 1px solid #605758' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img border='0' src='".THEME."images/small_arrow.gif' hspace='3'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191919' class='side-body' width='100%'>";
}
function closeside() {
echo "</td></tr></table>";
tablebreak();
}
function opensidex($title,$open="on") {
if($open=="on"){$box_img="off";}else{$box_img="on";}
echo "<table border='0' style='border: 1px solid #605758' cellspacing='1' width='100%' cellpadding='3'><tr>";
echo "<td height='24' width='100%' background='".THEME."images/cellpic3.gif'>";
echo "<img align='right' style='cursor:hand' onclick=\"javascript:flipBox('$title')\" name='b_$title' border='0' src='".THEME."images/panel_$box_img.gif'><font class='block-title'>$title</font>";
echo "</td></tr>";
echo "<tr><td bgcolor='#191919' class='side-body'width='100%' '".THEME."images/back1.gif'>";
echo "<div id='box_$title'"; if($open=="off"){ echo "style='display:none'"; } echo ">\n";
}
function closesidex() {
echo "</div></td></tr></table>";
tablebreak();
}
// Table functions
function tablebreak() {
echo "<table width='100%' cellspacing='0' cellpadding='0'><tr><td height='8'></td></tr></table>\n";
}
?>
|
Początkujący
Postów: 185
Data rejestracji: 23.06.2006 11:36
|
function render_header($header_content) {
global $theme_width,$settings;
echo "<table class='forumline' align='center' width='$theme_width' cellspacing='2' cellpadding='2' bgcolor='#191919'>";
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%'>";
echo "<table width='100%' cellspacing='0' cellpadding='0'>";
echo "<tr><td>$header_content</td>";
echo "</tr></table></td></tr></table>";
echo "<table width='100%' cellspacing='0' bgcolor='191919' cellpadding='0'>\n";
echo "<center><a href='news.php'><img src='images/home.jpg' border=0></a><img src='images/forum.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><a href='forum/index.php' target='ramka'><img src='images/team.jpg' border=0></a><a href='viewpage.php?page_id=13' target='_blank'><img src='images/photos.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><img src='images/linki.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><img src='images/wymiana.jpg' border=0></a><a href='viewpage.php?page_id=15' target='ramka'><br><script type='text/javascript' language='JavaScript1.2' src='stmenu.js'></script>
<script type='text/javascript' language='JavaScript1.2'>
<!--
stm_bm(['menu4d8f',730,'','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,4,0,16,100,'',-2,'',-2,90,0,0,'#999999','transparent','',3,0,0,'#E6FAB4 #788C32 #788C32 #E6FAB4']);
stm_ai('p0i0',[0,'STRONA GŁÓWNA','','',-1,-1,0,'index.php','_self','','','','',0,0,0'','',0,0,0,1,1,'#000000',0,''5b5959',0,'','',3,3,0,0,'#BEE6F0 #64878C #64878C #BEE6F0','#64878C #BEE6F0 #BEE6F0 #64878C','#FFFFFF','#FFFFFF','bold 8pt Arial','bold 8pt Arial',0,0],150,28);
stm_aix('p0i1','p0i0',[0,'MEDIA','','',-1,-1,0,'','_self','','','','',0,0,0,'','',16,9],150,28);
stm_bp('p1',[1,4,0,0,0,2,0,0,80,'progid:dXImageTransform.Microsoft.Wipe(GradientSize=1.0,wipeStyle=1,motion=forward,enabled=0,Duration=0.52)',5,'',-2,58,0,0,'#999999','transparent','',3,0,0,'#000000']);
stm_aix('p1i0','p0i0',[0,'Mp3','','',-1,-1,0,'mp3.html','_self','','','','',0,0,0,'','',0,0,0,0,1,'#000000',0,'#5b5959',0,'','',3,3,0,0,'#FFFFFF #A0A0A0 #A0A0A0 #FFFFFF','#A0A0A0 #FFFFFF #FFFFFF #A0A0A0'],150,10);
stm_aix('p1i1','p1i0',[0,'Video','','',-1,-1,0,'video.html'],150,10);
stm_aix('p1i2','p1i0',[0,'Tapety','','',-1,-1,0,'#'],150,10);
stm_aix('p1i3','p1i2',[0,'Avatary'],150,10);
stm_ep();
stm_aix('p0i2','p0i0',[0,'ARTYKUŁY','','',-1,-1,0,'#'],150,28);
stm_aix('p0i3','p0i1',[0,'STRONA'],150,28);
stm_bpx('p2','p1',[]);
stm_aix('p2i0','p1i2',[0,'Redakcja'],150,10);
stm_aix('p2i1','p1i2',[0,'Wymiana'],150,10);
stm_aix('p2i2','p1i2',[0,'Reklama'],150,10);
stm_aix('p2i3','p1i2',[0,'Sponsor'],150,10);
stm_ep();
stm_aix('p0i4','p0i2',[0,'FORUM'],150,28);
stm_aix('p0i5','p0i1',[0,'LINKI','','',-1,-1,0,'#'],150,28);
stm_bpx('p3','p1',[]);
stm_aix('p3i0','p1i2',[0,'Oficjalne'],150,10);
stm_aix('p3i1','p1i2',[0,'Nieoficjalne'],150,10);
stm_aix('p3i2','p1i2',[0,'Myspace'],150,10);
stm_ep();
stm_ep();
stm_em();
//-->
</script>";
echo "</table>";
cała funkcja a menu dalej nie ma |