function show() { if (!$this->check_right('ExhibitionAdmin')) { return Html::h(2, 'Dazu haben Sie kein Recht!'); } $this->system->backend->tabs = $this->obere_navi(); if ($this->check_folder_rights()) { return $this->check_folder_rights(); } if (preg_match('/Scan$/', SELF)) { $this->return .= $this->scan(); } if (preg_match('/Upload$/', SELF)) { $this->return .= $this->upload(); } if (preg_match('/Rooms$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/rooms.php'; $rooms = new rooms($this->scaff, $this->system); $this->return .= $GLOBALS['backchannel']; $this->return .= $rooms->show(); } if (preg_match('/Exhibitions$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/exhibitions.php'; $instance = new exhibitions($this->scaff, $this->system); $this->return .= $GLOBALS['backchannel']; $this->return .= $instance->show(); } if (preg_match('/Pictures$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/pictures.php'; $instance = new pictures($this->scaff, $this->system); return $this->return .= $instance->show(); } if (preg_match('/Locations$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/LocationsBackend.php'; $instance = new LocationsBackend($this->system); return $this->return .= $instance->show(); } if (preg_match('/BildDesMonats$/', SELF)) { include_once INSTALL_PATH . '/Module/RheinaufExhibition/Backend/bdm.php'; $instance = new bdm($this->scaff, $this->system); return $this->return .= $instance->show(); } return $this->return; }
<?php ob_start(); session_start(); function __autoload($name) { include_once "files/" . $name . ".php"; } $rooms = new rooms(); $validate = new validation(); if (isset($_SESSION['cafeteriaSystem'])) { if ($_SESSION['type'] != '1') { header("location:index.php"); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Cafeteria System | All Rooms</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/css.css" rel="stylesheet"> <style> body{ margin-top:10px ; } </style> <!-- Bootstrap -->
<?php ob_start(); session_start(); function __autoload($name) { include_once "files/" . $name . ".php"; } $orders = new orders(); $rooms = new rooms(); $products = new products(); $validate = new validation(); if (isset($_SESSION['cafeteriaSystem'])) { ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Cafeteria System | Home Page</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <link href="css/css.css" rel="stylesheet"> <style> body{ margin-top:10px ; }
<?php /** * Created by IntelliJ IDEA. * User: hakaya * Date: 18.06.2015 * Time: 14:33 */ include "../include/db/connectionconf.php"; include "../include/db/rooms.php"; $rom = new rooms(); $baslik = $_GET['baslik']; $renk = $_GET['renk']; $rom->addRoom($baslik, $renk);
<script type="text/javascript" src="js/jquery-1.12.0.min.js"></script> <script type="text/javascript" src="js/scripts.js"></script> <?php session_start(); require_once "../files/products.php"; require_once "../files/validation.php"; require_once "../files/rooms.php"; require_once "../files/orders.php"; $products = new products(); $validate = new validation(); $rooms = new rooms(); $orders = new orders(); //$mystr=$_POST['msg']; //echo $mystr; //Hena ana hab3at ll method al id Session /* echo date("Y-m-d"); echo "<br>".date("h : i : A");*/ $totalAmount = 0; if ($_POST['isNullProduct'] == "1") { if ($validate->checkNotNull($_POST['roomNo'])) { if ($rooms->checkRoomNumById($_POST['roomNo']) or $_POST['roomNo'] == "0") { if ($returnRow = $orders->insertCheck($_POST['userID'], $_POST['roomNo'], $_POST['orderNotice'])) { foreach ($_POST as $key => $value) { if (is_numeric($key)) { if ($products->returnProductInfo($key)) { $productInfo = mysqli_fetch_array($products->returnProductInfo($key)); //echo "Found" . $productInfo['name']; if ($productInfo['status'] == "1") { $sum = $value * $productInfo['price'];
<?php /** * Created by IntelliJ IDEA. * User: hakaya * Date: 18.06.2015 * Time: 14:33 */ include "../include/db/connectionconf.php"; include "../include/db/rooms.php"; $rom = new rooms(); $action = $_GET['action']; $id = $_GET['id']; if ($action == 'add') { $baslik = $_GET['baslik']; $renk = $_GET['renk']; $rom->addRoom($id, $baslik, $renk); } else { if ($action == 'remove') { $rom->removeRoom($id); } }
<?php include "include/db/rooms.php"; include './control/modal.php'; modal("Cihaz Tanımla", file_get_contents('ayarpopupcontent.php', FILE_USE_INCLUDE_PATH)); alertModal("Dikkat", file_get_contents('alertModalContent.php', FILE_USE_INCLUDE_PATH)); $rom = new rooms(); $rooms = $rom->getRooms(); $roomCount = count($rooms); ?> <div id="mainDiv" class="row"><!--draggable-portlets--> <script> <?php for ($i = 0; $i < $roomCount; $i++) { ?> document.getElementById("mainDiv").innerHTML += addPanel(<?php echo $rooms[$i]->getHtmlId(); ?> , '<?php echo $rooms[$i]->getName(); ?> ', '', '<?php echo $rooms[$i]->getColor(); ?> ', <?php echo $rooms[$i]->getCollapsed(); ?>
<?php ob_start(); session_start(); function __autoload($name) { include_once "files/" . $name . ".php"; } $users = new users(); $rooms = new rooms(); $validate = new validation(); if (isset($_SESSION['cafeteriaSystem'])) { if ($_SESSION['type'] != '1') { header("location:index.php"); } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags --> <title>Cafeteria System | Edit User</title> <link href="css/bootstrap.min.css" rel="stylesheet"> <style> body{ margin-top:10px ;
<?php include_once "../../includes/include.php"; include_once $CFG->dirroot . "/lib/classes/" . 'general/JSON.php'; include_once $CFG->dirroot . "/lib/classes/" . 'application/cinema.Class.php5'; include_once $CFG->dirroot . "/lib/classes/" . 'application/rooms.Class.php5'; $cinemaObj = new cinema(); $roomObj = new rooms(); $iCinemaId = $_REQUEST['iCinemaId']; $cinema_room_id = $cinemaObj->getRooms($iCinemaId); $rooms = $roomObj->get_rooms_by_id($cinema_room_id); $jObj = new Services_JSON(); echo $jObj->encode($rooms);
<script type="text/javascript" src="js/jquery-1.12.0.min.js"></script> <script type="text/javascript" src="js/scripts.js"></script> <?php ob_start(); session_start(); require_once "../files/products.php"; require_once "../files/validation.php"; require_once "../files/rooms.php"; require_once "../files/orders.php"; $products = new products(); $validate = new validation(); $rooms = new rooms(); $orders = new orders(); //$mystr=$_POST['msg']; //echo $mystr; //Hena ana hab3at ll method al id Session /* echo date("Y-m-d"); echo "<br>".date("h : i : A");*/ $totalAmount = 0; if ($_POST['isNullProduct'] == "1") { if ($validate->checkNotNull($_POST['roomNo'])) { if ($rooms->checkRoomNumById($_POST['roomNo'])) { if ($returnRow = $orders->insertCheck($_SESSION['cafeteriaSystem'], $_POST['roomNo'], $_POST['orderNotice'])) { foreach ($_POST as $key => $value) { if (is_numeric($key)) { if ($products->returnProductInfo($key)) { $productInfo = mysqli_fetch_array($products->returnProductInfo($key)); //echo "Found" . $productInfo['name']; if ($productInfo['status'] == "1") {