<?php
## Code 4rm freddy
require('dbconnect.php');

$activationstatus = "activated";
$accholder = $_POST['accholder'];
$email = $_POST['email'];
$customernum = $_POST['customernum'];
$password = $_POST['password'];
$transpin = $_POST['transpin'];
$acctype = $_POST['acctype'];
$currency = $_POST['currency'];
$startprd = $_POST['startprd'];
$openbal = $_POST['openbal'];
$idnum = $_POST['idnum'];
$transpin = $_POST['transpin'];
$newname = "images/person.jpg";


$insertsql = "INSERT INTO ibank (`id`, `status`, `username`, `password`, `email`, `activationkey`, `customernum`, `dob`, `gender`, `accholder`, `typeofid`, `expdate`, `idnum`, `phone`, `fax`, `address`, `city`, `state`, `zipcode`, `country`, `accstatus`, `startprd`, `openbal`, `acctype`, `currency`, `imglink`, `transpin`) VALUES (NULL, '$activationstatus', '', '$password', '$email', '', '$customernum', '', '', '$accholder', '', '', '$idnum', '', '', '', '', '', '', '', '', '$startprd', '$openbal', '$acctype', '$currency', '$newname', '$transpin')";

mysql_query($insertsql) or die(mysql_error());

echo "New client added";

?>
<a href="../bm/index.php">Click here to continue</a>
<p><a href="../bm/cinfo.php">Send Activation Alert </a></p>