Parašė newlifeboy· 2007 Rugs. 8 17:09:45
#21
o gal kas zino kokia is kart navigacija nebloga ? :)
va as tokai turiu bet nedaeina man nieko cia kur det ta fona va kodas :
<?php
/*---------------------------------------------------+
| PHP-Fusion 6 Content Management System
+----------------------------------------------------+
| Copyright Ā© 2002 - 2006 Nick Jones
| http://www.php-fusion.co.uk/
+----------------------------------------------------+
| Released under the terms & conditions of v2 of the
| GNU General Public License. For details refer to
| the included gpl.txt file or visit http://gnu.org
+----------------------------------------------------
+----------------------------------------------------
| Modifikuota navigacijoes panele
| Autorius: CodeRS
| Svetaine: http://code.google.com/p/coders/
| Skaityk:
| Navigacijos stiliu viso yra nuo 1 iki 14
| 25 eiluteje pakeisk skaiciu i sau tinkama
+----------------------------------------------------*/
if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; }
$stilius = 9; //nuo 1 iki 14
?>
<style>
#meniu {width:200px;margin:10px;padding:0;margin:0;}
#meniu li a {height:32px;voice-family:"\"}\"";voice-family:inherit;height: 24px;text-decoration:none;}
#meniu li a:link, #meniu li a:visited {display:block;background:url('<?=str_replace(BASEDIR,"",$settings['siteurl'].INFUSIONS)?>navigation_panel/menu<?=$stilius?>.gif');padding:8px 0 0 30px;}
#meniu li a:hover {background:url('<?=str_replace(BASEDIR,"",$settings['siteurl'].INFUSIONS)?>navigation_panel/menu<?=$stilius?>.gif') 0 -32px;padding: 8px 0 0 32px;}
</style>
<?
openside($locale['001']);
$result = dbquery("SELECT * FROM ".$db_prefix."site_links WHERE link_position<='2' ORDER BY link_order");
if (dbrows($result) != 0) {
echo "\n<div id=\"meniu\">\n\t<ul style=\"list-style:none; margin:0; padding:0;\">";
while($data = dbarray($result)) {
if (checkgroup($data['link_visibility'])) {
if ($data['link_name'] != "---" && $data['link_url'] == "---") {
echo "\n\t\t<div class='side-label'><b>".$data['link_name']."</b></div>";
}
else if ($data['link_name'] == "---" && $data['link_url'] == "---") {
echo "\n\t\t<hr class='side-hr'>";
}
else {
$link_target = ($data['link_window'] == "1" ? " target='_blank'" : "");
if (strstr($data['link_url'], "http://") || strstr($data['link_url'], "https://")) {
echo "\n\t\t<li><a href='".$data['link_url']."'".$link_target." class='side'>".$data['link_name']."</a></li>";
}
else {
echo "\n\t\t<li><a href='".BASEDIR.$data['link_url']."'".$link_target." class='side'>".$data['link_name']."</a></li>";
}
}
}
}
echo "\n\t</ul>\n</div>\n";
}
else {
echo $locale['002'];
}
unset($stilius);
closeside();
?>
Redagavo newlifeboy· 2007 Rugs. 8 17:09:45