57 lines
No EOL
2.5 KiB
PHP
57 lines
No EOL
2.5 KiB
PHP
<meta name="robots" content="noindex,nofollow">
|
|
<meta http-equiv="refresh" content="180; url=4komma5.php" />
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="expires" content="0">
|
|
<?php
|
|
// echo'<pre>'; print_r($tag_tour5); echo'</pre>';
|
|
|
|
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'<pre>'; print_r($a_fplanr); echo'</pre>';
|
|
//----------------------------------------------------------------------------------------------------------------------------------
|
|
//$GLOBALS['template']->display('index_display.tpl');
|
|
$GLOBALS['template']->display('4komma5.tpl');
|
|
//----------------------------------------------------------------------------------------------
|
|
|
|
?>
|