$seasons = array('winter' => 'resource2/ocstyle/css/seasons/style_winter.css', 'spring' => 'resource2/ocstyle/css/seasons/style_spring.css', 'summer' => 'resource2/ocstyle/css/seasons/style_summer.css', 'autumn' => 'resource2/ocstyle/css/seasons/style_autumn.css'); $seasons_stripe = array('winter' => 'resource2/ocstyle/css/seasons/style_langstripe_winter.css', 'spring' => 'resource2/ocstyle/css/seasons/style_langstripe_spring.css', 'summer' => 'resource2/ocstyle/css/seasons/style_langstripe_summer.css', 'autumn' => 'resource2/ocstyle/css/seasons/style_langstripe_autumn.css'); $smarty_dummy = 0; ?> var nWindowWidth = 9999; if (window.innerWidth) nWindowWidth = window.innerWidth; else if (screen.availWidth) nWindowWidth = screen.availWidth; if (nWindowWidth > 970) document.writeln('<link rel="stylesheet" type="text/css" media="screen,projection" href="<?php echo smarty_function_season($seasons, $smarty_dummy); ?> " />'); document.writeln('<link rel="stylesheet" type="text/css" media="screen,projection" href="<?php echo smarty_function_season($seasons_stripe, $smarty_dummy); ?> " />'); function usercountry_change() { var sCurrentOption = "<?php echo $sUserCountry; ?> "; var oUserCountryCombo = document.getElementById('usercountry'); if (sCurrentOption!=oUserCountryCombo.value) { window.location = 'index.php?usercountry=' + oUserCountryCombo.value; }
} ?> if (screen.availHeight < 800) { document.writeln('<link rel="stylesheet" type="text/css" media="screen,projection" href="resource2/{style}/css/style_netbook.css">'); } <?php if (!isset($opt['logic']['lowresfriendly']) or $opt['logic']['lowresfriendly'] == false) { echo "*/"; } if (isset($opt['logic']['theme']) and $opt['logic']['theme'] == '') { echo "/*"; } ?> if (nWindowWidth > 970) document.writeln('<link rel="stylesheet" type="text/css" media="screen,projection" href="<?php echo smarty_function_season($seasons, $smarty_dummy); ?> ">'); <?php if (isset($opt['logic']['theme']) and $opt['logic']['theme'] == '') { echo "*/"; } ?> function usercountry_change() { var sCurrentOption = "<?php echo $sUserCountry; ?> "; var oUserCountryCombo = document.getElementById('usercountry');