hyteck-blog/static/views/presence_form.php

32 lines
1015 B
PHP
Raw Normal View History

2019-11-12 11:17:21 +00:00
<?php
$form = '<form action="'.htmlspecialchars($_SERVER["PHP_SELF"]).'" method="post">
<input type = hidden name="ac" value = "presence_save">
<input type = hidden name="presence_ID" value = "';
if(isset($this->r_presence_ID))
{
$form .= $this->r_presence_ID;
}
$form .= '">'.
$this->oLang->texts['UID'].': <input type="text" name="UID" value="';
if(isset($this->aRow['UID'])){
$form .= $this->aRow['UID'];
}
$form .='"><br>'.
$this->oLang->texts['CHECKIN_AT'].': <input type="text" name="checkin_time" value="';
if(isset($this->aRow['checkin_time'])){
$form .= $this->aRow['checkin_time'];
}
$form .= '"> <br>'.
$this->oLang->texts['CHECKOUT_AT'].': <input type="text" name="checkout_time" value="';
if(isset($this->aRow['checkout_time'])){
$form .= $this->aRow['checkout_time'];
}
$form .= '"> <br>';
$form .= '
<input type="submit" value="'.$this->oLang->texts['BUTTON_SEND'].'">
<input type="reset" value="'.$this->oLang->texts['BUTTON_RESET'].'">
</form>';
echo $form;
?>