init
This commit is contained in:
commit
72a26edcff
22092 changed files with 2101903 additions and 0 deletions
57
4komma5.php
Normal file
57
4komma5.php
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
<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');
|
||||
//----------------------------------------------------------------------------------------------
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue