Revision 1333 | Revision 2239 | Zur aktuellen Revision | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed
<?php/**** @package WebanOS CI* @author Lars Tiefland <ltiefland@gmail.com>* @copyright 2016* @version $Rev: 2238 $*/class Backend extends CI_Controller{public function __construct(){parent::__construct();$datum = array("alle","heute","gestern","vorgestern","lfd. Woche","letzte Woche",strftime("%B %Y", strtotime(date("Y-m-01"))),strftime("%B %Y", strtotime("-1 month", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-2 months", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-3 months", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-4 months", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-5 months", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-6 months", strtotime(date("Y-m-01")))),strftime("%B %Y", strtotime("-7 months", strtotime(date("Y-m-01")))),strftime("%Y", strtotime(date("Y-01-01"))),strftime("%Y", strtotime("-1 year", strtotime(date("Y-01-01")))),strftime("%Y", strtotime("-2 years", strtotime(date("Y-01-01")))),"bereich" => "Datumsbereich",);/*$this->smarty->assign("ersteller", $tErsteller);$this->smarty->assign("statusGelesen", $statusGelesen);*/$this->smarty->assign("datum", $datum);/*$this->smarty->assign("status", $status);$this->smarty->assign("webs", $webs);$this->smarty->assign("termine", $termine);*/$this->smarty->assign("web_rechte", $GLOBALS["web_rechte"]);$this->smarty->assign("user_rechte", $GLOBALS["user_rechte"]);}public function index(){if ($this->input->get('clicked_tool')) {$this->session->clicked_tool = $this->input->get('clicked_tool');}if ($this->input->get('clicked')) {$this->session->clicked = $this->input->get('clicked');} else {$this->smarty->view('index.tpl');}}}?>