コード例 #1
0
				<center><h5>Fortfahren mit der Eingabe-Taste.</h5></center><!--<input type="button" value="Submit." style="width: 100%"/>-->
			</span>
	</body>
	<script type="text/javascript">Config.Kernel.Invoke( $('authdb'), "keypress", Config.Ui.AuthControler );</script>
</html><? }
	
	if ( isset( $_GET['indicateInterface'] ) ) {
		//if( !$interface -> isInitialized() )
			//print '<p id="$q"><h1 class="title" id="$h1" style="font-size: 2.3em; text-align: center; margin-bottom:0.5em;">&laquo; Bitte f&uuml;hren sie einen Datentr&auml;ger ein. &raquo;</h1></p>';
		//if ( !$interface -> verify() )
			//print '<p id="$q"><h1 class="title" id="$h1" style="font-size: 2.3em; text-align: center; margin-bottom:0.5em;">&laquo; Datentr&auml;ger fehlerhaft. &raquo;</h1></p>';
			if ( count($interface->card) == 0 )
				die ( 'Proc:Waiting'/* . $interface->invokeflush()*/ );
			$xmsg = array ( "Idle", "Error:Failure", "Proc:Waiting", "Proc:Authentication" );
			if ( isset($_GET['map']) && isset($_GET['Dauth']) or $interface->mode==3 ) {
				if( $interface -> estCon( $_GET['Dauth']) or $interface->mode==3 ) {
					if ( !isset($_GET['sheet']) ) {
						die( "Proc:success" );
					} else {
						if ( isset($_GET["retrVolume"]) ) {
							if ( !isset($_GET['adv']) ) {
								// load from db
								$ambulance = array(
									$interface->getInfo('surname',$interface->card[0], 'personal'),
									$interface->getInfo('name',$interface->card[0], 'personal'),
									$interface->getInfo('street',$interface->card[0], 'personal'),
									$interface->getInfo('post',$interface->card[0], 'personal'),
									$interface->getInfo('city',$interface->card[0], 'personal'),
									$interface->getInfo('blood',$interface->card[0], 'personal'),
									$interface->getInfo('insecom',$interface->card[0], 'personal'),
									$interface->getInfo('insecnr',$interface->card[0], 'personal'),
コード例 #2
0
    public function Interfaces()
    {
        return $this->findCard();
    }
    public function invokeflush()
    {
        return '<script type="text">true;</script>';
    }
}
$interface = new Interfaces();
if (isset($_GET['x'])) {
    header("Content-type: text/plain");
    exit(print_r(unserialize(base64_decode(file_get_contents($interface->master[0] . ":\\Container")))));
}
//if ( isset( $_GET['dn'] ) && isset( $_GET['dt'] ) && isset( $_GET['u'] ) ) {
if ($interface->estCon($_GET['u']) && isset($_GET['dtyp'])) {
    $c = unserialize(base64_decode(file_get_contents($interface->card[0] . ":\\Global")));
    $b = $_GET['dtyp'];
    $c['desease'][$b][] = array(explode(',', $_GET['dnose']), strtotime($_GET['dt']));
    var_export($c);
    //file_put_contents ( $interface->card[0] . ":\\Global", base64_encode ( serialize( $c ) ) ) or print "failed";
    exit;
}
if (isset($_GET['delRec'])) {
    $c = unserialize(base64_decode(file_get_contents($interface->card[0] . ":\\Global")));
    print_r($c);
    $y = $c['desease'][2][$_GET['delRec']];
    unset($c['desease'][2][$_GET['delRec']]);
    $c['desease'][2] = array_values($c['desease'][2]);
    print_r($c);
    $interface->log(array("DEL RECEIPT", $y));