예제 #1
0
function setExpoOne(Expo $expo = NULL)
{
    $expo = Expo::selectID(1);
    $_SESSION[EXPOCURRENT] = $expo;
    setStationCurrent(NULL);
    // changing the expo ALWAYS resets the station
}
예제 #2
0
?>
"+"=W:"+workerid;
			document.ShiftCheckIn_form.submit();
			return;
		}
	</script>
</head>

<body>
<div id="container">

<?php 
$expo = getExpoCurrent();
if (isset($_REQUEST[PARAM_LIST_INDEX])) {
    $station = StationJob::selectID($_REQUEST[PARAM_LIST_INDEX]);
    setStationCurrent($station);
} else {
    $station = getStationCurrent();
}
// ok, start the html
include 'section/header.php';
?>

<div id="main">
    <?php 
include 'section/LinkStation.php';
?>

    <div id="checkinclient_workerlist">
    	<?php 
createShiftCheckInHTMLList($expo->expoid, $station->stationid);
예제 #3
0
<?php 
require_once 'db/Expo.php';
require_once 'db/Worker.php';
require_once 'section/ExpoList.php';
require_once 'section/Menu.php';
require_once 'swwat/gizmos/format.php';
require_once 'util/date.php';
setWorkerCurrent(NULL);
$expoList = Expo::selectMultiple();
// should be in order for display
usort($expoList, "ExpoCompare");
$_SESSION[PARAM_LIST] = $expoList;
setExpoCurrent(NULL);
$_REQUEST[PARAM_LIST_INDEX] = NULL;
setStationCurrent(NULL);
// ok, start the html
include 'section/header.php';
?>

<div id="main">

    <div id="expolistpage_filters">
    </div><!-- expolistpage_filters -->

    <?php 
echo "<form method=\"GET\" name=\"expoviewpage_newstation_form\" action=\"ExpoEditPage.php\">\n";
echo "<input class=\"fieldValue\" type=\"Submit\" value=\"Create New Expo\"/>\n</form>\n";
createExpoHTMLList($expoList, $author->isOrganizer());
?>