public function __construct() { parent::__construct(); $this->_debug['on'] = false; // Set the country key in user's session if (!$this->session->userdata('country')) { $this->load->helper('users'); $this->session->set_userdata('country', getUserCountry()); } #$this->output->enable_profiler(TRUE); }
tpl_set_var('diff_message', ''); tpl_set_var('safari_message', ''); $sel_type = isset($_POST['type']) ? $_POST['type'] : 0; // Ocprop if (!isset($_POST['size'])) { if ($sel_type == 4 || $sel_type == 5) { $sel_size = 7; } else { $sel_size = -1; } } else { $sel_size = isset($_POST['size']) ? $_POST['size'] : -1; // Ocprop } $sel_lang = isset($_POST['desc_lang']) ? $_POST['desc_lang'] : $default_lang; $sel_country = isset($_POST['country']) ? $_POST['country'] : getUserCountry(); // Ocprop $show_all_countries = isset($_POST['show_all_countries']) ? $_POST['show_all_countries'] : 0; $show_all_langs = isset($_POST['show_all_langs']) ? $_POST['show_all_langs'] : 0; //coords $lonEW = isset($_POST['lonEW']) ? $_POST['lonEW'] : $default_EW; // Ocprop if ($lonEW == 'E') { tpl_set_var('lonEsel', ' selected="selected"'); tpl_set_var('lonWsel', ''); } else { tpl_set_var('lonEsel', ''); tpl_set_var('lonWsel', ' selected="selected"'); } $lon_h = isset($_POST['lon_h']) ? $_POST['lon_h'] : '0'; // Ocprop
style style htmlheaders additional HTML headers loginbox login status (login form or username) functionsbox available function on this site template template to display runtime computing time ****************************************************************************/ //Menü laden global $mnu_bgcolor, $mnu_selmenuitem, $develwarning, $tpl_subtitle, $opt, $rootpath, $usr; require_once $stylepath . '/lib/menu.php'; if (function_exists('post_config')) { post_config(); } require_once $rootpath . 'lib2/smarty/ocplugins/function.season.php'; $sUserCountry = getUserCountry(); $pageidx = mnu_MainMenuIndexFromPageId($menu, $tplname); if (isset($menu[$pageidx]['navicolor'])) { $mnu_bgcolor = $menu[$pageidx]['navicolor']; } else { $mnu_bgcolor = '#D5D9FF'; } if ($tplname != 'start') { $tpl_subtitle .= htmlspecialchars($mnu_selmenuitem['title'], ENT_COMPAT, 'UTF-8'); } $tpl_subtitle .= ' - ' . htmlspecialchars($opt['locale'][$locale]['page']['subtitle1'], ENT_COMPAT, 'UTF-8'); $meta_keywords = htmlspecialchars($opt['page']['meta']['keywords'], ENT_COMPAT, 'UTF-8'); $meta_description = htmlspecialchars($opt['page']['meta']['description'], ENT_COMPAT, 'UTF-8'); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml">
<?php require_once 'Sistem/fonksiyon.php'; $sonuc = mysql_query("SELECT * FROM " . $onek . "ip WHERE ip='" . trim(IPAdres()) . "'"); if (!mysql_num_rows($sonuc) != 0) { $sitetoplamgosterim++; mysql_query("INSERT INTO " . $onek . "ip (ip,konum) VALUES ('" . trim(IPAdres()) . "','" . trim(getUserCountry(trim(IPAdres()))) . "')") or die(mysql_error()); mysql_query("UPDATE " . $onek . "site SET db_site_toplam_goruntulenme=" . $sitetoplamgosterim . ";"); } ?>