Pradinis
Pagalba
Užsisakyk!
- Reklamą
- Hostingą
- El. pašto dėžutę
Užsisakyk!
Įrankiai
Pasidalink
- Visos temos
Forumas | Modai, įskiepiai, panelės (PHP-FUSION) | Themes |
Autorius: kakis | Peržiūrų: 1301 |
kakis Narys Spalvotas Pranešimai: 37 Įstojęs: 2007 Gru. 29 15:12:20 | |
va cia yra ligin forma sitam headeryje bet kai darau if (iMember) ir rasau kad butu logaut profilis ir t.t. tai man istempo saita va kodas <? if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; /*------------------------------------------------------------| | PHP-Fusion 6 - Content Management System | |--------------------------------------------------------------| | author: Nick Jones (Digitanium) © 2002-2007 | | web: http://www.php-fusion.co.uk | | email: nick@php-fusion.co.uk | |--------------------------------------------------------------| |PHp-Fusion Açýk Kaynaklý Bir Web Yazýlýmýdýr | |Ücretsiz Herkes KuLLanabilir. | |Alttaki Copyright © PHP-Fusion Yazýsýnýn | |Silinmemesi Þartýyla... | |GNU/GPL (Version 2) Lisansý ile Tüm Haklarý | |Korunmaktadýr!... | |Lisans Satýn Almak için: nick@php-fusion.co.uk | |Nick Jones'la Görüþün!.. | |--------------------------------------------------------------*/ /*------------------------------------------------------------+ | CandY_Green Theme PHP-Fusion v6+ içindir! | |--------------------------------------------------------------| |Yazar: Theme by: KDK© 2007 | | web: http://istegenc.kayyo.com | | msn/mail: kdkx01@msn.com | |--------------------------------------------------------------| |Fuzed Themes | | web: http://phpfusion-themes.com | | email: webmaster@phpfusion-thems.com | |-------------------------------------------------------------*/ /*------------------------------------------------------------| | Released under the terms and conditions of | | the GNU General Public License (Version 2) | |------------------------------------------------------------*/ // Tema Ayarlarý $body_text = "#555555"; $body_bg = "#F4F4F4"; $theme_width = "95%"; $theme_width_l = "175"; $theme_width_r = "175"; function render_header($header_content) { global $theme_width; echo "<table align='center' cellspacing='0' bordercolor='#99CC00' border='2' cellpadding='0' width='$theme_width'>"; //SAAT KODU BAÞLANGIÇ echo "<td align='right' class='white-header'><div id='Clock'>"; echo "<script type='text/javascript'> <!-- var DayNam = new Array( 'Pirmadienis','Antradienis','Treciadienis','Ketvirtadienis','Penktadienis','SeStadienis','Sekmadienis'); var MnthNam = new Array( 'Sausis','Vasaris','Kovas','Balandis','Geguze','Birzelis','Liepa','Rugpjutis','Rugsejis','Spalis','Lapkritis','Gruodis'); //--> </script>"; echo "<script type='text/javascript' src='".THEME."saat.js'></script></div></td>"; //SAAT KODU BÝTÝÞ echo "<tr> <td> <table cellpadding='0' cellspacing='0' border='0' width='100%'> </td> </tr> </table>\n"; //Logo - Sub_menü(Kategoriler) - Login Kodu Baþlangýç echo "<table style='background-image:url(".THEME."images/ust_bg.gif);' align='center' cellspacing='0' cellpadding='0' width='100%' height='150' border='0'> <td> <img border='0' alt='".$settings['sitename']."' title='".$settings['sitename']."' src='".THEME."images/logo.gif'> </td><td width='85'> <div align='center'> </td>"; if (iGUEST) {echo "<td aling='right' width='110'> <div align='right'>".(isset($loginerror) ? $loginerror : "")."<form name='loginform' method='post' action='".FUSION_SELF."'> <b>Login</b> <br> <input type='text' name='user_name' class='textbox' style='width:100px'> <br> <b>Slaptazodis</b> <br> <input type='password' name='user_pass' class='textbox' style='width:100px'> <br> <input type='checkbox' name='remember_me' value='y' title='Prisiminti slaptazodi' style='vertical-align:middle;'> <input type='submit' name='login' value='Ieti' class='button'></form> <br> </div> <div align='center'> <form name='Rgitrtuotis' method='post' action='".BASEDIR."register.php'> <input type='submit' name='Registruotis' value='Registruotis' class='button'> </form> <br> <form name='Pamiršai?' method='post' action='".BASEDIR."lostpassword.php'> <input type='submit' name='Pamiršai?' value='Pamirsai?' class='button'> </form> </div> </td>";} echo "</table>"; //Logo - Sub_menü(Kategoriler) - Bandau //RESÝMLÝ MENU echo "<table align='center' border='0' cellpadding='0' cellspacing='0' width='100%'> <tr> <td style='background-color:#F1F1F1'> <div align='center'> <table width='100%' border='0' cellspacing='0' cellpadding='0'> <td width='63'><p align='center'><font size='1'></a> <a title='Pradinis' href='".BASEDIR."index.php'> <img src='".THEME."images/resimli_menu/anasayfa.gif' border='0' width='32' height='32' /><br><b> Namai</b></a></font></p> </td> <td width='68'><p align='center'><font size='1'></a> <a title='Naujinu kategorijos' href='".BASEDIR."news_cats.php'> <img src='".THEME."images/resimli_menu/kategoriler.gif' border='0' width='32' height='32' /><br><b> Naujienu kategorijos</b></a></font></p> </td> <td width='98'><p align='center'><font size='1'></a> <a title='Galite pateikti savo naujiena' href='".BASEDIR."submit.php?stype=n'> <img src='".THEME."images/resimli_menu/haber-ekle.gif' border='0' width='32' height='32' /><br><b> Pateikti naujiena</b></a></font></p> </td> <td width='69'><p align='center'><font size='1'></a> <a title='Anekdotai, video...' href='".BASEDIR."articles.php'> <img src='".THEME."images/resimli_menu/makaleler.gif' border='0' width='32' height='32' /><br><b> Straipsniai</b></a></font></p> </td> <td width='76'><p align='center'><font size='1'></a> <a title='Anekdota, video...' href='".BASEDIR."submit.php?stype=a'> <img src='".THEME."images/resimli_menu/makale-yaz.gif' border='0' width='32' height='32' /><br><b> Pateikti straipsni</b></a></font></p> </td> <td width='68'><p align='center'><font size='1'></a> <a title='Norint tureti daugiau privilegiju užsiregistruok.' href='".BASEDIR."register.php'> <img src='".THEME."images/resimli_menu/uyeol.gif' border='0' width='32' height='32' /><br><b> Registracija</b></a></font></p> </td> <td width='77'><p align='center'><font size='1'></a> <a title='Puslapyje ieskok' href='".BASEDIR."search.php'> <img src='".THEME."images/resimli_menu/arama.gif' border='0' width='32' height='32' /><br><b> Paieska</b></a></font></p> </td> <td width='74'><p align='center'><font size='1'></a> <a title='Mp3, zaidimai, prikolai='".BASEDIR."downloads.php'> <img src='".THEME."images/resimli_menu/site-map.gif' border='0' width='32' height='32' /><br><b> Siuntiniai</b></a></font></p> </td> <td width='65'><p align='center'><font size='1'></a> <a title='Uzsiregistraves? Siusk man laiška jai kas ne taip' href='".BASEDIR."contact.php'> <img src='".THEME."images/resimli_menu/iletisim.gif' border='0' width='32' height='32' /><br><b> Zinute adminui</b></a></font></p> </td> <td width='74'><p align='center'><font size='1'></a> <a title='Dazniausiai uzduodami klausimai' href='".BASEDIR."faq.php'> <img src='".THEME."images/resimli_menu/bilgi.gif' border='0' width='32' height='32' /><br><b> D.U.K.</b></a></font></p> </td> </table> </div> <hr> </td> </tr> </table>\n"; //RESÝMLÝ MENU BÝTÝS echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n"; } //Footer Haber ve Orta Bloklar Kodu function render_footer($license=false) { global $theme_width,$settings; echo "</tr>\n</table>\n"; echo "<table cellpadding='0' cellspacing='0' width='100%'> <td align='center' class='footer'>".stripslashes($settings['footer'])."<br>"; {echo"Powered by: <a target='_blank' href='http://www.php-fusion.co.uk/'><img border='0' src='".THEME."images/fusion.gif'></a> | <a target='_blank' href='http://istegenc.kayyo.com'><img border='0' src='".THEME."images/candy_green.gif'> <img border='0' src='".THEME."images/theme_kdk.gif'></a> <br>\n"; } echo showcounter()." </td> </tr> </table> </td> </tr> </table>\n"; } function render_news($subject, $news, $info) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='capmain'>$subject</td> </tr> <tr> <td class='main-body'>$news</td> </tr> <tr> <td align='center' class='news-footer'>\n"; echo openform("N",$info['news_id']).newsposter($info,"<br>").newsopts($info,"·").closeform("N",$info['news_id']); echo "</td> </tr> </table>\n"; } function render_article($subject, $article, $info) { echo "<table width='100%' cellpadding='0' cellspacing='0' class='border'> <tr> <td class='capmain'>$subject</td> </tr> <tr> <td class='main-body'> ".($info['article_breaks'] == "y" ? nl2br($article) : $article)." </td> </tr> <tr> <td align='center' class='news-footer'>\n"; echo openform("A",$info['article_id']).articleposter($info,"<br>").articleopts($info,"·").closeform("A",$info['article_id']); echo "</td> </tr> </table>\n"; } function opentable($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='capmain'>$title</td> </tr> <tr> <td class='main-body'>\n"; } function closetable() { echo "</td> </tr> </table>\n"; } function openside($title) { echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='scapmain'>$title</td> </tr> <tr> <td class='side-body'>\n"; } function closeside() { echo "</td> </tr> </table>\n"; tablebreak(); } function opensidex($title,$state="on") { $boxname = str_replace(" ", "", $title); echo "<table cellpadding='0' cellspacing='0' width='100%' class='border'> <tr> <td class='scapmain'>$title</td> <td class='scapmain' align='right'>".panelbutton($state,$boxname)."</td> </tr> <tr> <td colspan='2' class='side-body'> <div id='box_$boxname'".($state=="off"?" style='display:none'":"").">\n"; } function closesidex() { echo "</div> </td> </tr> </table>\n"; tablebreak(); } function tablebreak() { echo "<table cellpadding='0' cellspacing='0' width='100%'>\n<tr>\n<td height='5'></td>\n</tr>\n</table>\n"; } ?> |
|
kiskiss Narys Terminatorius Pranešimai: 1545 Įstojęs: 2006 Rugs. 11 17:09:58 | |
Imesk viska tarp [c] ir [ /c] tagu |
|
kakis Narys Spalvotas Pranešimai: 37 Įstojęs: 2007 Gru. 29 15:12:20 | |
ej o negali iterpt man nlb gaudaus |
Peršokti į forumą: |