Current File : /home/inlingua/www/sensoriumpsychologists.com/diagnostics/screening/new_admission_funds_check.php |
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/user_details_msg_setup.php");?>
<?php require_once("../franchise_between/e_wallet_funcs.php");?>
<?php require_once("../franchise_between/accounts_banks_funcs.php");?>
<?php
$accounts_obj=new accounts_funcs();
$admission_fees=$accounts_obj->get_admission_fees();
?>
<?php
$balance=0;
$e_wallet_obj=new e_wallet();
$e_wallet_obj->set_value("franchise_id",$session_id);
$balance=$e_wallet_obj->e_wallet_balance();
?>
<!doctype html>
<html>
<?php include("common/page_head.php");?>
<body>
<?php include("common/header_var.php");?>
<?php
$top_enrollment=$top_val;
?>
<?php include("common/header.php");?>
<div id="main_container">
<div id="main">
<br /><br />
<fieldset>
<legend>ADMISSION FEES</legend>
<table border="0" class="tables_fieldset" cellpadding="0" cellspacing="0">
<tr>
<td>
<table cellpadding="5px" cellspacing="0">
<tr>
<td style="font-weight:bold;">Admission Fees</td>
<td style="font-weight:bold;">:</td>
<td style="text-align:right;"><?php echo($admission_fees);?></td>
</tr>
<tr>
<td style="font-weight:bold;">Current E-Wallet Balance</td>
<td style="font-weight:bold;">:</td>
<td style="text-align:right;"><?php echo($balance);?></td>
</tr>
<tr style="height:10px;">
<td colspan="3"></td>
</tr>
<?php
if($balance<$admission_fees)
{
echo("<tr>");
echo("<td colspan=\"3\" style=\"color:#F00;\">Error : Cannot continue...!!!<br>Please add more funds.<br><br><a href=\"add_funds_1.php\"><div class=\"button_div\" style=\"color:#FFF;background-color:#060;\">ADD FUNDS</div></a></td>");
echo("</tr>");
}
else
{
echo("<tr>");
echo("<td colspan=\"3\" style=\"color:#F00;\"><a href=\"new_admission.php\"><div class=\"button_div\" style=\"color:#FFF;background-color:#060;\">OK, PROCEED</div></a></td>");
echo("</tr>");
}
?>
</table>
</td>
</tr>
</table>
</fieldset>
</div>
<br><br>
</div>
</body>
</html>