Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Mods, Panels & Infusions |
Autorius: djmomo2 | Peržiūrų: 794 |
djmomo2 Narys Spalvotas Pranešimai: 58 Įstojęs: 2008 Rugs. 20 23:09:20 | |
Pas mane yra idetu butonu ir kai juos paspaudi atidaro naujame lange lapa, kaip padaryt kad atidaryt tame paciame lange o ne naujame, va mano header: <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1257"> <meta http-equiv="Content-Language" content="lt"> </head> <?php global $theme_width,$settings,$aidlink,$locale,$userdata; echo "<table width='100%' cellspacing='0' align='center' cellpadding='0' class='sub-header' bgcolor='#ffffff' background='themes/musiclife/images/footer.gif' style='border-right: solid #b5b5b5 1px; border-left: solid #b5b5b5 1px;'>\n<tr>"; echo "<td align='center'>\n"; ?> <span id="clock"><script language="javascript"> <!-- pradzia var dayarray=new Array("Sekmadienis","Pirmadienis","Antradienis","Treciadienis","Ketvirtadienis","Penktadienis","Sestadienis") var montharray=new Array("Sausio","Vasario","Kovo","Balandzio","Geguzes","Birzelio","Liepos","Rugpjucio","Rugsejo","Spalio","Lapkricio","Gruodzio") function getthedate() { var mydate=new Date()//http://www.kupkom.lt var year=mydate.getFullYear() var day=mydate.getDay() var month=mydate.getMonth() var daym=mydate.getDate() if (daym < 10) { daym="0"+daym } var hours=mydate.getHours() var minutes=mydate.getMinutes() var seconds=mydate.getSeconds() if (hours==0) { hours=12 } if (minutes<=9) { minutes="0"+minutes } if (seconds<=9) { seconds="0"+seconds } var cdate= year+" "+montharray[month]+" "+" "+daym+" "+"|"+" "+dayarray[day]+" "+"|"+" "+hours+":"+minutes+":"+seconds if (document.all) document.all.clock.innerHTML=cdate else if (document.getElementById) document.getElementById("clock").innerHTML=cdate else document.write(cdate) } if (!document.all&&!document.getElementById) getthedate() function goforit() { if (document.all||document.getElementById) setInterval("getthedate()",1000) } window.onload=goforit now = new Date if (now.getHours() < 5) { document.write("Labanaktis!") } else if (now.getHours() < 11) { document.write("Labas rytas!") } else if (now.getHours() < 19) { document.write("Laba diena!") } else { document.write("Labas vakaras!") } // pabaiga --> </script> <?php echo "</td><td align='right'><a href='index.php'>Namai</a> | <a href='index.php'>Apie radija</a> | <a href='viewpage.php?page_id=5'>Kontaktai</a></td>"; echo "</td></tr></table>\n"; echo "<table width='$theme_width' border='0' align='center' cellpadding='0' cellspacing='0' background='".THEME."images/header.gif' height='299' style='background-repeat: no-repeat;'> <tr> <td width='235' style='padding-right: 0px; padding-left: 700px; padding-bottom: 50px; padding-top:10px;' valign='middle'>"; if (iMEMBER) { $msg_count = dbcount("(message_id)", "messages", "message_to='".$userdata['user_id']."' AND message_read='0'AND message_folder='0'"); echo "<table width='235' border='0' cellspacing='2' cellpadding='2'> <tr> <td>\n"; if ($userdata['user_avatar'] != "") { echo "<center><img src='".BASEDIR."images/avatars/".$userdata['user_avatar']."' width='100' height='100' style='border:1px solid #999999'></center>\n"; } else { echo "<center><img src='".THEME."images/noavatar.gif' width='100' height='100' border='0'></center>\n"; } echo "</td> <td valign='top'><img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."edit_profile.php' class='side'>Redaguoti profilá</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."messages.php' class='side'>Þinutës [naujø: <b><span style='color:#990000'>".sprintf($msg_count)."</span></b>]</a><br> <img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."members.php' class='side'>Nariai</a><br>\n"; if (iADMIN && (iUSER_RIGHTS != "" || iUSER_RIGHTS != "C")) { echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".ADMIN."index.php".$aidlink."' class='side'>Administracija</a><br>\n"; } echo "<img src='".THEME."images/bullet.gif' alt=''> <a href='".BASEDIR."setuser.php?logout=yes' class='side'>".$locale['084']."</a><br><br> <b><span class='ip'>IP: </span></b>"; $userip = $_SERVER['REMOTE_ADDR']; $host = gethostbyaddr($userip); echo "<span class='ip'>".$userip."</span><br /></td></tr></table>\n"; } else { echo "<table width='170' border='0' cellspacing='0' cellpadding='0' align='center'><form name='loginform' method='post' action='".FUSION_SELF."'> <tr> <td align='right' class='ip'>Vardas: </td> <td> <input type='text' name='user_name' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td> </tr> <tr> <td align='right' class='ip'>".$locale['062'].": </td> <td> <input type='password' name='user_pass' class='textbox' style='width:100px;filter:alpha(opacity=70)'></td> </tr> <tr> <td align='right'><input type='checkbox' name='remember_me' value='y'></td> <td> <input type='submit' name='login' value='Prisijungti' class='button'></td> </tr> </form>\n"; if ($settings['enable_registration']) { echo "<a href=".BASEDIR."register.php>Registracija</a> / <a href=".BASEDIR."lostpassword.php>Slaptaþodis</a>\n"; } echo"</table>\n"; } echo "</td> </tr> </table>\n"; echo "<table width='100%' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'> <tr> <td width='5'></td> <td width='69' valign='top'><a id=\"1\" href=\"".BASEDIR."index.php\" target=\"mycontent\" onMouseOver=\"change('1','m1')\" onMouseOut= \"change('2','m1')\" name=\"m1\"><img name=\"m1\" src=\"".THEME."images/p_naujienos1.gif\" border=\"0\" vspace=\"0\" hspace=\"0\"></a></td> <td width='69' valign='top'><a id=\"3\" href=\"".BASEDIR."\" target=\"mycontent\" onMouseOver=\"change('3','m3')\" onMouseOut= \"change('4','m3')\" name=\"m3\"><img name=\"m3\" src=\"".THEME."images/p_muzika1.gif\" border=\"0\" vspace=\"0\" hspace=\"0\"></a></td> <td width='564' class='dark'><marquee>".parseubb(parsesmileys("<span style='color: green'><b>Interneto radijas</b></span>"))."</marquee></td> <td width='69' valign='top'><a id=\"5\" href=\"".BASEDIR."viewpage.php?page_id=1\" target=\"mycontent\" onMouseOver=\"change('5','m5')\" onMouseOut= \"change('6','m5')\" name=\"m5\"><img name=\"m5\" src=\"".THEME."images/p_komanda1.gif\" border=\"0\" vspace=\"0\" hspace=\"0\"></a></td> <td width='69' valign='top'><a id=\"7\" href=\"".BASEDIR."viewpage.php?page_id=3\" target=\"mycontent\" onMouseOver=\"change('7','m7')\" onMouseOut= \"change('8','m7')\" name=\"m7\"><img name=\"m7\" src=\"".THEME."images/p_programa1.gif\" border=\"0\" vspace=\"0\" hspace=\"0\"></a></td> <td width='5'></td> </tr> </table>\n"; echo "<table width='100%' cellpadding='4' bgcolor='#F8F8F8' cellspacing='0' border='0'><tr>"; ?> Cia apacioj tie miktukai, labai prasau pagalbos nes keli draugai irgi bande sutvarkyt bet nieks neisejo. |
Peršokti į forumą: |