'; print_r($tag_tour5); echo''; header('Content-Type: text/html; charset=utf-8'); require('lib/config.php'); include('lib/class.mysms.php'); require('lib/mysql.class.php'); require('lib/core.class.php'); session_name(CONFIG_SESSION); session_start(); //------------------------------------------------------------------ if(!isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] != 'on') { header('Location: https://'.$_SERVER['SERVER_NAME']); exit(); } //------------------------------------------------------------------ date_default_timezone_set('Europe/Berlin'); // Default Time Zone $GLOBALS['mysql'] = new mysql(CONFIG_MYSQL_HOST,CONFIG_MYSQL_USER,CONFIG_MYSQL_PW,CONFIG_MYSQL_DB); mysqli_set_charset($mysql, 'utf8'); require('lib/smarty/Smarty.class.php'); $GLOBALS['core'] = new core; $template = new smarty(); $template->template_dir = './template/'; $template->compile_dir = './template/compile'; $template->compile_check = TRUE; $template->debugging = false; $template->debug_output = "html"; $template->plugins_dir[] = 'lib/smarty/plugins/'; $template->force_compile = true; //------------------------------------------------------ prüfen und in eine inc $wochentag=date('w'); $tagname = array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"); //------------------------------------------------------ Status //$dbdata=$GLOBALS['mysql']->query_array("SELECT * FROM ilonexs_status ORDER BY id"); //$template->assign('status', $dbdata); //------------------------------------------------------ eingehende Sendungen $dbdata=$GLOBALS['mysql']->query_array("SELECT * FROM ilonexs WHERE kunde=45 ORDER BY datum"); $template->assign('senddata', $dbdata); //------------------------------------------------------------------------------------------------------------------------------------------- // echo'
'; print_r($a_fplanr); echo''; //---------------------------------------------------------------------------------------------------------------------------------- //$GLOBALS['template']->display('index_display.tpl'); $GLOBALS['template']->display('4komma5.tpl'); //---------------------------------------------------------------------------------------------- ?>