Current File : /home/inlingua/public_html/sensoriumpsychologists.com/diagnostics/franchise/add_funds_1.php
<?php require_once("../franchise_between/check_franchise.php");?>
<?php require_once("../franchise_between/user_details_msg_setup.php");?>
<?php
if(!empty($_POST))
{
	$payment_mode=$_POST['payment_mode'];
	if($payment_mode=="Cheque")
	{
		header("Location: /franchise/add_funds_2.php?payment_mode=".$payment_mode);
	}
	else if($payment_mode=="DD")
	{
		header("Location: /franchise/add_funds_2.php?payment_mode=".$payment_mode);
	}
	else if($payment_mode=="NEFT/RTGS")
	{
		header("Location: /franchise/add_funds_2.php?payment_mode=".$payment_mode);
	}
	else if($payment_mode=="Online")
	{
	}
	else if($payment_mode=="Cash")
	{
		header("Location: /franchise/add_funds_3.php");
	}
	else
	{
		echo("Error : Invalid request...!!!");
		exit();
	}
}
?>
<!doctype html>
<html>
<?php include("common/page_head.php");?>
<body>
<?php include("common/header_var.php");?>
<?php
$top_accounts=$top_val;
?>
<?php include("common/header.php");?>
<div id="main_container">
  <div id="main"><br /><br />
  <div class="top_heading_page">ADD FUNDS TO E-WALLET</div><br>
  <fieldset style="width:500px;margin:auto;">
    <legend>PAYMENT MODE</legend>
    <form method="post" name="myform">
    <table cellspacing="0" cellpadding="5px">
      <tr style="font-weight:bold;">
        <td>Payment Mode</td>
        <td>:</td>
        <td>
          <select name="payment_mode" id="payment_mode">
            <option value="none">--- select ---</option>
            <option>Cheque</option>
            <option>DD</option>
            <option>NEFT/RTGS</option>
            <option>Online</option>
            <option>Cash</option>
          </select>
        </td>
      </tr>
      <tr>
        <td colspan="3"><input type="button" value="Proceed" onClick="submit_form()" /></td>
      </tr>
    </table>
    </form>
  </fieldset>
  </div><br /><br />
</div>
<script>
function submit_form()
{
	if($("#payment_mode").val()=="none")
	{
		alert("Error : Please select payment mode...!!!");
		$("#payment_mode").focus();
		return false;
	}
	document.myform.submit();
}
</script>
</body>	
</html>