conn,$cfg_theme,$cfg_currency_symbol,$lang); if(!$sec->isLoggedIn()) { header ("location: ../login.php"); exit(); } $today = date("Y-m-d"); //$result = mysql_query("SELECT * FROM books"); $body.=""; $tablename = $cfg_tableprefix.'users'; $userLoginName = $dbf->idToField($tablename,'username',$_SESSION['session_user_id']); if(isset($_GET[error])){ $error = (int)$_GET[error]; $errorMsg = ""; switch($error){ case 1: $errorMsg="ERROR: invalid username or password"; break; case 2: $errorMsg="ERROR: Not a valid ammount: [$_GET[count]]"; break; case 3: $errorMsg="ERROR: Invalid Data"; break; } } if($errorMsg != ""){ $body.="
".$errorMsg."
"; } $body.="

Deposit...

Please count all cash, cheques, and coupons in the coin box
     Deposit Ammount: $
Approved by:
Username:
Password:



Deposited by:

Payout...

Please count all cash, cheques, and coupons in the coin box
     Payout Ammount: $
Approved by:
Username:
Password:



Payee: For:
"; echo "$body"; //      Counted by $userLoginName  $dbf->closeDBlink(); ?>