template_dir = './templates'; $smarty->compile_dir = './smarty/templates_c'; $smarty->cache_dir = './smarty/cache'; $smarty->config_dir = './smarty/configs'; $smarty->plugins_dir[] = './smarty/plugins'; $smarty->trusted_dir = array('./includes', './templates'); $smarty->security = true; $smarty->cache_lifetime = 7200; $smarty->force_compile = true; $smarty->compile_check = false; $smarty->use_sub_dirs = false; $smarty->caching = false; session_name("NOEID"); session_start(); date_default_timezone_set("Europe/Athens"); $_SESSION['locale'] = "1"; $smarty->assign('LANGUAGE', "el"); setlocale(LC_ALL, 'el_GR.utf8'); bindtextdomain("weblabs", "./locale"); textdomain("weblabs"); $_action = isset($_REQUEST['action']) ? $_REQUEST['action'] : 'homepage'; switch($_action) { case "gallery": $templateoverride = "2.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "pyrosvestires": $templateoverride = "22.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "products": $templateoverride = "2.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "profil": $templateoverride = "3.html"; $smarty->assign('BUTTON3', 'class="current"'); break; case "shop": $templateoverride = "4.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "contact": $templateoverride = "5.html"; $smarty->assign('BUTTON5', 'class="current"'); break; case "p1": $templateoverride = "6.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p2": $templateoverride = "7.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p3": $templateoverride = "8.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p4": $templateoverride = "9.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p5": $templateoverride = "10.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p6": $templateoverride = "11.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p7": $templateoverride = "12.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p8": $templateoverride = "13.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p9": $templateoverride = "14.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p10": $templateoverride = "15.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p11": $templateoverride = "16.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p12": $templateoverride = "17.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p13": $templateoverride = "78.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p14": $templateoverride = "18.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p15": $templateoverride = "21.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p16": $templateoverride = "19.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p17": $templateoverride = "20.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p18": $templateoverride = "23.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p19": $templateoverride = "24.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p20": $templateoverride = "25.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p21": $templateoverride = "26.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p22": $templateoverride = "27.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p23": $templateoverride = "28.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p24": $templateoverride = "29.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p25": $templateoverride = "30.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p26": $templateoverride = "31.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p27": $templateoverride = "32.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p28": $templateoverride = "33.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p29": $templateoverride = "79.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p30": $templateoverride = "34.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p31": $templateoverride = "35.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p32": $templateoverride = "36.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p33": $templateoverride = "37.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p34": $templateoverride = "38.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p35": $templateoverride = "39.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p36": $templateoverride = "41.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p37": $templateoverride = "43.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p38": $templateoverride = "46.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p39": $templateoverride = "47.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p40": $templateoverride = "48.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p41": $templateoverride = "49.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p42": $templateoverride = "50.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p43": $templateoverride = "51.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p44": $templateoverride = "52.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p45": $templateoverride = "53.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p46": $templateoverride = "100.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p47": $templateoverride = "55.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p48": $templateoverride = "56.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p49": $templateoverride = "101.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p50": $templateoverride = "58.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p51": $templateoverride = "59.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p52": $templateoverride = "60.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p53": $templateoverride = "61.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p54": $templateoverride = "62.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p55": $templateoverride = "63.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p56": $templateoverride = "64.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p57": $templateoverride = "65.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p58": $templateoverride = "67.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p59": $templateoverride = "66.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p60": $templateoverride = "68.html"; $smarty->assign('BUTTON4', 'class="current"'); break; case "p61": $templateoverride = "69.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p62": $templateoverride = "70.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p63": $templateoverride = "42.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p64": $templateoverride = "44.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p65": $templateoverride = "102.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p66": $templateoverride = "105.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p67": $templateoverride = "103.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p68": $templateoverride = "104.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p69": $templateoverride = "106.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p70": $templateoverride = "107.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p71": $templateoverride = "109.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p72": $templateoverride = "108.html"; $smarty->assign('BUTTON6', 'class="current"'); break; case "p73": $templateoverride = "81.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p74": $templateoverride = "82.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p75": $templateoverride = "83.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p76": $templateoverride = "84.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p77": $templateoverride = "85.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p78": $templateoverride = "86.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p79": $templateoverride = "87.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p80": $templateoverride = "88.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p81": $templateoverride = "89.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p82": $templateoverride = "90.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p83": $templateoverride = "91.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p84": $templateoverride = "92.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p85": $templateoverride = "93.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p86": $templateoverride = "94.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p87": $templateoverride = "95.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p88": $templateoverride = "96.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p89": $templateoverride = "97.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p90": $templateoverride = "71.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p91": $templateoverride = "72.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p92": $templateoverride = "73.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p93": $templateoverride = "74.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p94": $templateoverride = "75.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p95": $templateoverride = "76.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p96": $templateoverride = "77.html"; $smarty->assign('BUTTON2', 'class="current"'); break; case "p97": $templateoverride = "80.html"; $smarty->assign('BUTTON2', 'class="current"'); break; default: $templateoverride = "1.html"; $smarty->assign('BUTTON1', 'class="current"'); break; } if(isset($templateoverride)) $smarty->assign_by_ref('SMARTYTEMPLATE', $templateoverride); else $smarty->assign('SMARTYTEMPLATE', "1.html"); $smarty->display('0.html'); ?>