Example #1
0
function redirect_onok($location)
{
    $res = beginDocument('Operation COMPLETE');
    $res .= '<script type="text/javascript">
function timeoutgo() {
	document.location.href="' . html_entity_decode($location, ENT_QUOTES, 'UTF-8') . '";
}
window.setTimeout("timeoutgo();", 500);
</script>';
    $res .= '<div align="center">' . beginTable();
    $res .= '<tr><td><b>Operation COMPLETE</b></td></tr>';
    $res .= endTable() . '</div>';
    $res .= endDocument();
    return $res;
}
Example #2
0
    echo "<td><a href='list_personal.php'>show List</a></td>";
    ?>
	   </tr>
	   <tr>
	    <td><hr color='black'></td>
	   </tr>
	   <?php 
    endPrettyTable();
    ?>
	  </td>
	  <td valign=top align=center width='65%'>
	     <?php 
    openForm("enter Personal", $PHP_SELF);
    beginPrettyTable("2", "enter Personal");
    makeHiddenField("emp_id3", $edit["EMP_ID3"]);
    makeTextField("emp_name", $edit["EMP_NAME"], "Employer Name");
    makeDropBox("desig_id", $desig_array, "Designation", $edit["DESIG_ID"]);
    makeDropBox("status", array("Y" => "Y", "N" => "N", "UNKNOWN" => ""), "Status", $edit["STATUS"]);
    makeTextField("ac_no", $edit["AC_NO"], "Account Number");
    makeTextField("conf_dt", $edit["CONF_DT"], "Conf_Date");
    makeTextField("join_dt", $edit["JOIN_DT"], "Join Date");
    makeSubmitter();
    endPrettyTable();
    closeForm();
    ?>
	</td>
	  </table>
	  <?php 
}
endDocument();
Example #3
0
function endOnError($errorMessage)
{
    displayError($errorMessage);
    endDocument();
}