";
print "$msg | ";
//FNAME
print "
---|
Name | ";
$curform->displaytext('fname','',50,100,1);
//ADDRESS
print " |
Address | ";
$curform->displaytextarea('address','',64,3,1,1);
//CITY
print " |
City | ";
$curform->displaytext('city','',30,100,1);
//PINCODE
print " | Pincode | ";
$curform->displaytext('pincode','',30,6,0);
//STATE
print " |
State | ";
$curform->displaytext('state','',30,100,1);
//COUNTRY
/*---For the time being, take the country list from the Store Database---*/
mysql_select_db("frlht1") or die("Could not open this database");
$cou=array();
$sqlSelectCountry="SELECT * FROM country";
$rsSelectCountry=mysql_query($sqlSelectCountry, $link);
while($ArrSelectCountry=mysql_fetch_array($rsSelectCountry))
{
$CountryName=$ArrSelectCountry['Country'];
$cou[$CountryName]=$CountryName;
}
mysql_free_result($rsSelectCountry);
mysql_select_db("frlhtu");
print " | Countries | ";
$curform->displayselect('country',$cou,'','1','','--select--','0');
//GENDER
$gender=array(""=>"--Select--","Female"=>"Female","Male"=>"Male");
print " |
Gender | ";
$curform->displayselect('gender',$gender,'','0','','','','');
//PROFESSION
$prof_list=get_list_data("profession","prof_id",array('prof_name'),'','SELECT prof_name, prof_id FROM profession ORDER BY prof_name');
print " | Profession | ";
$curform->displayselect('prof_id',$prof_list,'','','','--SELECT--','0');
//PHONE
print " |
Phone | ";
$curform->displaytext('phone','',30,100,1);
//D O B
print " | Date of Birth | ";
$curform->displayselect('bday',$mydays,$cat_id,'0','','','','');
print "-";
$curform->displayselect('bmonth',$Months,$cat_id,'0','','','','');
print "-";
$curform->displayselect('byear',$myyear,$cat_id,'0','','','','');
//EMAIL
print " |
Email | ";
$curform->displaytext('email','',30,100,1,'onBlur=emailid()');
//FRLHT ID
print " | FRLHT Id | ";
$curform->displaytext('loginid','',30,100,1,readonly);
//PASSWORD
print " |
Password | ";
$curform->displayPassword('pass','',30,100,1);
print " | Confirm password | ";
$curform->displayPassword('cpass','',30,100,1);
print " |
";
//REGISTER
print "";
$curform->displaysubmit("Register","submit");
print " |
";
$curform->displayhidden("mail",$_POST['email']);
$curform->displayhidden("goto",$_SESSION['goto']);
if($_GET['bk']=="") $bkk=stripslashes($_POST['bk']);
else $bkk=stripslashes($_GET['bk']);
$curform->displayhidden("bk",$bkk);
print"
";
$curform->end();
print "";
?>