#1
|
|||
|
|||
Açılır Menü
Menüyü kendim yaptım ALINTI DEĞİLDİR...Anlatıma geçiyorum hemen
index.template.php de bu kodu bulun Kod:
// Generate a strip of buttons. function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '') { Kod:
// Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { Kod:
// Show the menu up top. Something like [home] [help] [profile] [logout]... function template_menu() { global $context, $settings, $options, $scripturl, $txt; // Work out where we currently are. $current_action = 'home'; if (in_array($context['current_action'], array('admin', 'ban', 'boardrecount', 'cleanperms', 'detailedversion', 'dumpdb', 'featuresettings', 'featuresettings2', 'findmember', 'maintain', 'manageattachments', 'manageboards', 'managecalendar', 'managesearch', 'membergroups', 'modlog', 'news', 'optimizetables', 'packageget', 'packages', 'permissions', 'pgdownload', 'postsettings', 'regcenter', 'repairboards', 'reports', 'serversettings', 'serversettings2', 'smileys', 'viewErrorLog', 'viewmembers'))) $current_action = 'admin'; if (in_array($context['current_action'], array('search', 'admin', 'calendar', 'profile', 'mlist', 'register', 'login', 'help', 'pm'))) $current_action = $context['current_action']; if ($context['current_action'] == 'search2') $current_action = 'search'; if ($context['current_action'] == 'theme') $current_action = isset($_REQUEST['sa']) && $_REQUEST['sa'] == 'pick' ? 'profile' : 'admin'; // Are we using right-to-left orientation? if ($context['right_to_left']) { $first = 'last'; $last = 'first'; } else { $first = 'first'; $last = 'last'; } echo' <style type="text/css" title="acilirMenuTarzi" media="screen"> @import "', $settings['images_url'], '/menu.css"; </style> <script type="text/javascript" src="', $settings['images_url'], '/menu.js"></script> <table width="100%" border="0" cellpadding="0" cellspacing="1" background="', $settings['images_url'], '/kTableBgSmall.gif" bgcolor="#000000" id="anaBasliklar"> <tr> <td width="49%" align="left" nowrap="nowrap" bgcolor="#3f3f3f" background="', $settings['images_url'], '/kTableBgSmall.gif"> <table width="80%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="4" align="left"> </td> <TD align=left width="7%"><font color="red">»»</font></TD> <TD align=left width="8%"><font color="red">»»</font></TD> <TD noWrap align=left><a href="', $scripturl,'"><B><FONT face="Times New Roman, Times, serif" color="red" size=3>Yeni Paylaşım Platformu</FONT></B></a></TD> </tr> </table> </td>'; if ($context['allow_admin']) echo' <td nowrap="nowrap" style="border-right: 1px solid #000000; border-left: 1px solid #000000;" onMouseOver="this.style.background=\'#3F3F3F\';" onMouseOut="this.style.background=\'\'"><span onMouseover="acilirMenu.altMenuAc(this,event,\'altMenuIcerik5\')"><font color="white">Admin</font></span></td> '; echo' <td nowrap="nowrap" style="border-right: 1px solid #000000; border-left: 1px solid #000000;" onMouseOver="this.style.background=\'#3F3F3F\';" onMouseOut="this.style.background=\'\'"><span onMouseover="acilirMenu.altMenuAc(this,event,\'altMenuIcerik1\')"><font color="white">Root</font></span></td> <td nowrap="nowrap" style="border-right: 1px solid #000000;" onMouseOver="this.style.background=\'#3F3F3F\';" onMouseOut="this.style.background=\'\'"><span onMouseover="acilirMenu.altMenuAc(this,event,\'altMenuIcerik2\')"><font color="white">Cyber Navigation</font></span></td> <td nowrap="nowrap" style="border-right: 1px solid #000000;" onMouseOver="this.style.background=\'#3F3F3F\';" onMouseOut="this.style.background=\'\'"><span onMouseover="acilirMenu.altMenuAc(this,event,\'altMenuIcerik3\')"><font color="white">Organizasyon</font></Span></td> <td nowrap="nowrap" onMouseOver="this.style.background=\'#3F3F3F\';" onMouseOut="this.style.background=\'\'"><span onMouseover="acilirMenu.altMenuAc(this,event,\'altMenuIcerik4\')"><font color="white">Member Navigation</font></span></td> </tr> </table> <div id="altMenuIcerik1" class="altBasliklar" style="width: 100px; text-align:left;"> <a href="', $scripturl,'">Forum Root</a> <a href="http://www.besnokta.com">Portal Root</a> </div> <div id="altMenuIcerik2" class="altBasliklar" style="width: 170px; text-align:left;"> <a href="http://www.xxx.net/" target="_blank">Dökümanlar</a> <a href="http://www.xxx.net/" target="_blank">Döküman Ekle</a> <a href="http://www.xxx.net/" target="_blank">Download/Dosya Arşivi</a> <a href="http://www.xxx.net/" target="_blank">IBlock E-Kitap</a> <a href="http://www.xxx.net/" target="_blank">IBlock Mp3</a> <a href="http://www.xxx.net/" target="_blank">Basında Cyber Warrior</a> <a href="http://www.xxx.net/" target="_blank">Banner</a><hr> <a href="http://www.xxx.net/" target="_blank">Cyber-Security</a> <a href="http://www.xxx.net/" target="_blank">Cyber-Academy</a> <a href="http://www.xxx.net/" target="_blank">Cyber-Hosting</a> </div> <div id="altMenuIcerik3" class="altBasliklar" style="width: 200px; text-align:left;"> <a href="http://www.xxx.net/" target="_blank">TIM Görev Organizasyonu</a> <a href="http://www.xxx.net/" target="_blank">Neler Yaptık?</a> <a href="http://www.xxx.net/" target="_blank">Bize Özel Küçük Şeyler?</a> <a href="http://www.xxx.net/" target="_blank">Operasyon Yönetim Sistemi</a> <a href="http://www.xxx.net/" target="_blank">Görev Org. Başvuru</a> <a href="http://www.xxx.net/" target="_blank">Yönetici Başvuru Formu</a> <a href="http://www.xxx.net/" target="_blank">Kara Liste İhbar</a> <a href="http://www.xxx.net/" target="_blank">Organizasyon Şeması</a> <a href="http://www.xxx.net/" target="_blank">Misyon</a> <a href="http://www.xxx.net/" target="_blank">Kurallar</a> <a href="http://www.xxx.net/" target="_blank">Work Flow</a><hr> <a href="http://www.xxx.net/" target="_blank">CW Explorer</a> <a href="http://www.xxx.net/" target="_blank">Kefalet</a> <a href="http://www.xxx.net/" target="_blank">Kefil Havuzu</a> </div> <div id="altMenuIcerik4" class="altBasliklar" style="width: 150px; text-align:left;"> <a href="http://www.xxx.net/">Yeni Üye Başvuru</a> <a href="http://www.xxx.net/">Yazdığım Mesajlar</a> <a href="http://www.xxx.net/">Arkadaş Listem</a> <a href="http://www.xxx.net/">Şifremi Unuttum</a> <a href="http://www.xxx.net/">Özel Mesajlarım</a> <a href="http://www.xxx.net/">Onay E-Mail Gönder</a> </div>'; if ($context['allow_admin']) echo' <div id="altMenuIcerik5" class="altBasliklar" style="width: 200px; text-align:left;"> <font align="center">Haberler ve Haber Listeleri</font> <a href="', $scripturl,'?action=news">Haber Ekle/Düzenle</a> <a href="', $scripturl,'?action=news;sa=mailingmembers">E-Posta Gönder</a> <a href="', $scripturl,'?action=news;sa=settings">Seçenekler</a><hr> <font align="center">Forum Seçenekleri</font> <a href="', $scripturl,'?action=featuresettings;sa=basic;sesc=', $context['session_id'], '">Temel Özellikler</a> <a href="', $scripturl,'?action=featuresettings;sa=layout;sesc=', $context['session_id'], '">Düzen ve Seçenekler</a> <a href="', $scripturl,'?action=featuresettings;sa=karma;sesc=', $context['session_id'], '">Karma</a><hr> <font align="center">Kategoriler</font> <a href="', $scripturl,'?action=manageboards">Kategori ve Bölümler</a> <a href="', $scripturl,'?action=manageboards;sa=newcat">Kategori Oluştur</a> <a href="', $scripturl,'?action=manageboards;sa=settings">Seçenekler</a><hr> <font align="center">Panel</font> <a href="', $scripturl,'?action=admin">Panel\'e Gir</a> </div>'; } |
Benzer Konular |
||||
Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
Gidiyorsun Ramazan | eflatun | İslam Dünyası | 0 | 27 September 2008 12:15 |