Peržiūrėti temą
PHP-Fusion Mods :: PHP-Fusion modifikacijų forumas :: Patobulinimai
v7 slideshow header
|
||||||||||||||||||||||||||||||||||||||||||||||||||
jawa |
parašyta 2011-05-25 13:46
|
|||||||||||||||||||||||||||||||||||||||||||||||||
![]() Savekas ![]() Reputacija: 0 Pranešimai: 126 Įstojo: 2007-04-24 |
Sveiki. band?iau idiegti puslap slideshow, kad headeris keistusi. Kaip neband?iau man vis nesigauna, tai header rod u? tinklapio ribu, arba prapuldavo panels ir news likdavo tik headeris ir nevyko slideshow. A? manau kad tai dl tu ... Gal kas suprantate daugiau u? mane kaip galima butu dti slideshow i pary?kint viet. theme.php [img]
/*------------------------------------------------------------------ Atmosphere Theme by Joe Allen (http://www.JoeAllenPro.com) You Can Use And Share the theme as much as you want but please don't remove copyright of theme -------------------------------------------------------------------*/ $enable_colour_switcher = true; if (!defined("IN_FUSION")) { die("Access Denied"); } require_once INCLUDES."theme_functions_include.php"; require_once THEMES."templates/switcher.php"; define("THEME_WIDTH", "920"); define("THEME_BULLET", ""); $colour_switcher = new Switcher("select", "colour", "gif", "green", "switcherbutton"); if(!$enable_colour_switcher){ $colour_switcher->disable(); } //v7 sublinks function is a bit more for this, so taken from v6 and tweaked function thesublinks($sep="",$class="") { $i = 0; $res = ""; $sres = dbquery("SELECT * FROM ".DB_PREFIX."site_links WHERE link_position>='2' AND ".groupaccess('link_visibility')." AND link_url!='---' ORDER BY link_order ASC"); if (dbrows($sres)) { while($sdata = dbarray($sres)) { if ($i != 0) { $res .= " ".$sep."\n"; } else { $res .= "\n"; } $link_target = $sdata['link_window'] == "1" ? " target='_blank'" : ""; $link_class = $class ? " class='$class'" : ""; if (strstr($sdata['link_url'], "http://") || strstr($sdata['link_url'], "https://")) { $res .= "".$sdata['link_name'].""; } else { $res .= "".$sdata['link_name'].""; } $i++; } } if ($i != 0) { return $res; } else { return " "; } } function get_head_tags(){ global $colour_switcher; echo $colour_switcher->makeHeadTag(); } function render_page($license=false) { global $aidlink, $locale, $settings, $colour_switcher, $fontsize_switcher, $main_style; echo "
"; //sublinks css echo "
echo "
|