{if $themeconf.parent=="elegant"} {combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/theme.js" } {elseif $themeconf.parent=="gally-grum-dark-II"} {combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/gally_theme.js" } {elseif $themeconf.parent=="stripped_black_bloc"} {combine_script id='theme_js' load='header' require='jquery' path="themes/cuise/js/stripped_block_theme.js" } {/if} {php} global $themeconf,$mytheme ,$fond_color,$conf ; global $arguments; $mytheme = 'themes/'.$themeconf['name'].'/'; $mycss="theme.css.php"; load_conf_from_db(); $params = array_merge(unserialize($conf['cuise'])); $keys=""; foreach($params as $ligne=>$id){ $id=str_replace("#","_",$id); $keys .= $ligne ."=".$id ."&"; } $args='?'.$keys."redraw=ok"; if(file_exists( $mytheme."theme.css.css")){ $mycss="theme.css.css"; $args=""; } {/php}