require_once $root . '/include/fpdf153/fpdf.php';
include_once $root . "/include/uebersetzer.inc.php";
include_once $root . "/include/bildFunctions.inc.php";
include_once $root . "/include/cssFunctions.inc.php";
$choice_date = $_POST["date1"];
$tag = substr($choice_date, 0, 2);
$monate = substr($choice_date, 3, 2);
$jahr = substr($choice_date, 6, 4);
$sprache = getSessionWert(SPRACHE);
$gastro_id = getSessionWert(GASTRO_ID);
$tischs = getAllTische($gastro_id);
$anzahlRes = 0;
while ($tisch = $tischs->FetchNextObject()) {
    $anzahlRes += countReservierungIDs($tisch->TISCHNUMMER, 0, 0, $tag, $monate, $jahr, 59, 23, $tag, $monate, $jahr);
}
if ($choice_date == null && hasVermieterReservations($gastro_id, STATUS_BELEGT)) {
    $anzahlRes = 1;
}
if ($anzahlRes <= 0) {
    $fehler = true;
    $nachricht = "Keine Reservierung an diesem Zeitram vorhanden";
    include_once "./index.php";
} else {
    $res = getTableCards();
    $tableCardId = $res->fields["TISCHKARTE_ID"];
    if (isset($tableCardId)) {
        $x = getTableCardProperty(TC_CUSTOM_FORMAT_X, $tableCardId);
        //Breite
        $y = getTableCardProperty(TC_CUSTOM_FORMAT_Y, $tableCardId);
        //Höhe
        $fontHeading = getTableCardProperty(TC_FONT_HEADING, $tableCardId);
Пример #2
0
*/
//header einfuegen:
include_once $root . "/backoffice/templates/header.inc.php";
include_once $root . "/include/reservierungFunctions.inc.php";
include_once $root . "/include/mieterFunctions.inc.php";
include_once $root . "/include/autoResponseFunctions.inc.php";
include_once $root . "/include/datumFunctions.inc.php";
if (!hasVermieterReservations($gastro_id, STATUS_RESERVIERT)) {
    $fehler = true;
    $nachricht = "Es sind keine offenen Reservierungsanfragen gespeichert.";
    $nachricht = getUebersetzung($nachricht);
}
include_once $root . "/backoffice/templates/breadcrumps.inc.php";
$breadcrumps = erzeugenBC($root, "Anfragen", "anfragenBearbeiten/index.php");
include_once $root . "/backoffice/templates/bodyStart.inc.php";
if (hasVermieterReservations($gastro_id, STATUS_RESERVIERT)) {
    ?>
<script language="JavaScript">
	<!--
	    function sicher(){
	    return confirm("<?php 
    echo getUebersetzung("Anfrage wirklich löschen?");
    ?>
"); 	    
	    }
	    //-->
</script>

<table>
	<tr>
  		<td><?php 
Пример #3
0
/*   
	date: 7.10.05
	author: christian osterrieder utilo.net						
*/
//header einfuegen:
include_once $root . "/webinterface/templates/header.inc.php";
include_once $root . "/include/reservierungFunctions.inc.php";
include_once $root . "/include/mieterFunctions.inc.php";
include_once $root . "/include/autoResponseFunctions.inc.php";
if (!hasVermieterReservations($vermieter_id, STATUS_RESERVIERT)) {
    $fehler = true;
    $nachricht = "Es sind keine offenen Reservierungsanfragen gespeichert.";
    $nachricht = getUebersetzung($nachricht);
}
include_once $root . "/webinterface/templates/bodyStart.inc.php";
if (hasVermieterReservations($vermieter_id, STATUS_RESERVIERT)) {
    ?>
<script language="JavaScript">
	<!--
	    function sicher(){
	    return confirm("<?php 
    echo getUebersetzung("Anfrage wirklich löschen?");
    ?>
"); 	    
	    }
	    //-->
</script>
<p class="<?php 
    echo STANDARD_SCHRIFT_BOLD;
    ?>
"><?php