TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-11-2008, 11:25 AM   #1 (permalink)
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Default registrarion form help...

in my registration form,i have two php files,one is register.php that is used to connect the database,and post my registration values into database,and another one is upload.php it used to upload the files int to one folder,how can i place these two php files,and get the output from the same form.....

my register.php is:
<?php
session_start();
$link = mysql_connect('localhost', 'root', '');
if (!$link) {
die('Could not connect: ' . mysql_error());
}
$dbselect = mysql_select_db('anand')or die("Can not select ");
if(!$dbselect){
die('Could not connect: ' . mysql_error());
}
if($_REQUEST["Check"] == 1)
{
$companyname = $_POST["companyname"];
$email = $_POST["email"];
$password = $_POST["password"];
$confirmpassword = $_POST["confirmpassword"];
$landlineareacode = $_POST["landlinearecode"];
$landline = $_POST["landline"];
$mobile = $_POST["mobile"];
$contact1 = $_POST["contact1"];
$contact2 = $_POST["contact2"];
$contact3 = $_POST["contact3"];
$contactpin = $_POST["contactpin"];
$corporate1 = $_POST["corporate1"];
$corporate2 = $_POST["corporate2"];
$corporate3 = $_POST["corporate3"];
$corporatepin = $_POST["corporatepin"];
$turnover = $_POST["turnover"];
$help1 = $_POST["help1"];
$help2 = $_POST["help2"];
$help3 = $_POST["help3"];
$profile = $_POST["profile"];
$upload_profile = $_POST["upload_profile"];
$query = "insert into employerstep1(companyname,email,password,confirmpa ssword,landlineareacode,landline,mobile,contact1,c ontact2,contact3,contactpin,corporate1,corporate2, corporate3,corporatepin,turnover,help1,help2,help3 ,profile,upload_profile) values('$companyname','$email','$password','$confi rmpassword','$landlineareacode','$landline','$mobi le','$contact1','$contact2','$contact3','$contactp in','$corporate1','$corporate2','$corporate3','$co rporatepin','$turnover','$help1','$help2','$help3' ,'$profile','$upload_profile')";
}
$result = mysql_query($query);
mysql_close($link);

?>



my upload.php is:

<?php
// Configuration - Your Options
$allowed_filetypes = array('.jpg','.gif','.bmp','.png'); // These will be the types of file that will pass the validation.
$max_filesize = 524288; // Maximum filesize in BYTES (currently 0.5MB).
$upload_path = './files/'; // The place the files will be uploaded to (currently a 'files' directory).

$filename = $_FILES['userfile']['name']; // Get the name of the file (including file extension).
$ext = substr($filename, strpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.

// Check if the filetype is allowed, if not DIE and inform the user.
if(!in_array($ext,$allowed_filetypes))
die('The file you attempted to upload is not allowed.');

// Now check the filesize, if it is too large then DIE and inform the user.
if(filesize($_FILES['userfile']['tmp_name']) > $max_filesize)
die('The file you attempted to upload is too large.');

// Check if we can upload to the specified path, if not DIE and inform the user.
if(!is_writable($upload_path))
die('You cannot upload to the specified directory, please CHMOD it to 777.');

// Upload the file to your specified path.
if(move_uploaded_file($_FILES['userfile']['tmp_name'],$upload_path . $filename))
echo 'Your file upload was successful, view the file <a href="' . $upload_path . $filename . '" title="Your File">here[/url]'; // It worked.
else
echo 'There was an error during the file upload. Please try again.'; // It failed Sad.

?>
please help me to solve this....
galleeandfarel is offline  
Reply With Quote
Old 07-11-2008, 11:35 AM   #2 (permalink)
Jim
The Addict
 
Jim's Avatar
 
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
Jim is on a distinguished road
Default

Well before your awnser will be posted, please note that your registration page is not save. I would be able to take over your SQL server and that's not good :)

Please look at this tutorial: Combined Minds > Tutorials > PHP Security: SQL Injection
__________________
Nunchaku! Who doesn't like martial arts? =)
Send a message via MSN to Jim Send a message via Skype™ to Jim
Jim is offline  
Reply With Quote
Old 07-11-2008, 11:43 AM   #3 (permalink)
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Default

no man,that two php files are working well and mysql server has no problem too but i need to place those files into one php file....if i paste those files into one file,database post is working,but i cant find uploded files in my upload folder....if my questions are very basic please apologize myself....
galleeandfarel is offline  
Reply With Quote
Old 07-11-2008, 01:27 PM   #4 (permalink)
Jmz
The Acquainted
 
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
Jmz is on a distinguished road
Default

What he means is it will work at the minute but it is not secure at all.

I would upload the image and then insert the data into the database. Provided you get all the information from the one form, this should work:

PHP Code:
<?php
session_start
();
$link mysql_connect('localhost''root''');
if (!
$link) {
die(
'Could not connect: ' mysql_error());
}
$dbselect mysql_select_db('anand')or die("Can not select ");
if(!
$dbselect){
die(
'Could not connect: ' mysql_error());
}
if(
$_REQUEST["Check"] == 1)
{
// Configuration - Your Options
$allowed_filetypes = array('.jpg','.gif','.bmp','.png'); // These will be the types of file that will pass the validation.
$max_filesize 524288// Maximum filesize in BYTES (currently 0.5MB).
$upload_path './files/'// The place the files will be uploaded to (currently a 'files' directory).

$filename $_FILES['userfile']['name']; // Get the name of the file (including file extension).
$ext substr($filenamestrpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.

// Check if the filetype is allowed, if not DIE and inform the user.
if(!in_array($ext,$allowed_filetypes))
die(
'The file you attempted to upload is not allowed.');

// Now check the filesize, if it is too large then DIE and inform the user.
if(filesize($_FILES['userfile']['tmp_name']) > $max_filesize)
die(
'The file you attempted to upload is too large.');

// Check if we can upload to the specified path, if not DIE and inform the user.
if(!is_writable($upload_path))
die(
'You cannot upload to the specified directory, please CHMOD it to 777.');

// Upload the file to your specified path.
if(move_uploaded_file($_FILES['userfile']['tmp_name'],$upload_path $filename))

$companyname $_POST["companyname"];
$email $_POST["email"];
$password $_POST["password"];
$confirmpassword $_POST["confirmpassword"];
$landlineareacode $_POST["landlinearecode"];
$landline $_POST["landline"];
$mobile $_POST["mobile"];
$contact1 $_POST["contact1"];
$contact2 $_POST["contact2"];
$contact3 $_POST["contact3"];
$contactpin $_POST["contactpin"];
$corporate1 $_POST["corporate1"];
$corporate2 $_POST["corporate2"];
$corporate3 $_POST["corporate3"];
$corporatepin $_POST["corporatepin"];
$turnover $_POST["turnover"];
$help1 $_POST["help1"];
$help2 $_POST["help2"];
$help3 $_POST["help3"];
$profile $_POST["profile"];
$upload_profile $_POST["upload_profile"];
$query "insert into employerstep1(companyname,email,password,confirmpa ssword,landlineareacode,landline,mobile,contact1,c ontact2,contact3,contactpin,corporate1,corporate2, corporate3,corporatepin,turnover,help1,help2,help3 ,profile,upload_profile) values('$companyname','$email','$password','$confi rmpassword','$landlineareacode','$landline','$mobi le','$contact1','$contact2','$contact3','$contactp in','$corporate1','$corporate2','$corporate3','$co rporatepin','$turnover','$help1','$help2','$help3' ,'$profile','$upload_profile')";
$result mysql_query($query);
mysql_close($link);

else
echo 
'There was an error during the file upload. Please try again.'// It failed Sad.
}
?>
Now I dont have tmie to test this or anything but the basic idea is to insert the form data into the db where you tell the user their file was uploaded correctly.

You should really look at fixing the security holes in your script first though.
__________________
Free CSS Tutorials
Send a message via MSN to Jmz
Jmz is offline  
Reply With Quote
Old 07-11-2008, 01:23 PM   #5 (permalink)
The Contributor
 
Evulness's Avatar
 
Join Date: Apr 2008
Location: Tampa, FL
Posts: 65
Thanks: 6
Evulness is on a distinguished road
Default

Galleeandfarel, i don't think you understood Jim correctly. Though your script might work as you intended, it is byfar unsecure. read the link he posted you will see why.

you need to use this on all of your user inputs. to help prevent people from being able to hack your site with SQL injections.
Code:
 mysql_real_escape_string($_POST[''])
though to answer your question.
Code:
      $upload_path = './files/'; // The place the files will be uploaded to (currently a 'files' directory).
might be your problem? cant' say for sure as i didn't test anything, but by looking at it, your trying to upload the file to a folder called "files" but with the " ./" doesn't that tell the script up 1 directory?
root/
root/site (where your script is located)
root/site/files
root/site/other files
that would attempt to put your uploads into a folder called
root/files/
not the intended
root/site/files
though i may be misinterpreting the "./". i know double periods "../" does, but not sure about a single one.
__________________
"Knowledge is power. Abuse it."~Evulness
My portfolio: www.evularts.com
Send a message via AIM to Evulness
Evulness is offline  
Reply With Quote
Old 07-11-2008, 01:23 PM   #6 (permalink)
The Acquainted
 
drewbee's Avatar
 
Join Date: May 2008
Posts: 175
Thanks: 9
drewbee is on a distinguished road
Default

What he is saying is that your PHP script has a huge SQL Injection Security hole in it. All Variables needed to be entered into a database that come (or dont) from user based input should at the very minimum have the function mysql_real_escape_string enclosed around it.

Unless you want someone to easily drop all the tables in your database. :shrug:

PHP: mysql_real_escape_string - Manual
__________________
There are No Stupid Questions. But there a LOT of Inquisitive Idiots.
Send a message via AIM to drewbee
drewbee is offline  
Reply With Quote
Old 07-12-2008, 06:34 AM   #7 (permalink)
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Default

i have checked in my localhost dude....
it couldnt work....
error is
Parse error: syntax error, unexpected T_ELSE in C:\wamp\www\vgotjobs\success.php on line 61.....
galleeandfarel is offline  
Reply With Quote
Old 07-12-2008, 07:14 AM   #8 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

He forgot some curly braces is all. Change;

PHP Code:
mysql_close($link); 

else 
echo 
'There was an error during the file upload. Please try again.'// It failed Sad. 


// TO

mysql_close($link); 

} else {
echo 
'There was an error during the file upload. Please try again.'// It failed Sad. 

Edit: He forgot a few actually. That's why omitting them can be problematic. You need an opening curly { after that last IF as well.
-m
delayedinsanity is offline  
Reply With Quote
Old 07-12-2008, 09:06 AM   #9 (permalink)
Jmz
The Acquainted
 
Join Date: Oct 2007
Location: Newcastle, UK
Posts: 113
Thanks: 3
Jmz is on a distinguished road
Default

Yea, sorry. That was a really quick example to give you an idea of what you needed to do.
__________________
Free CSS Tutorials
Send a message via MSN to Jmz
Jmz is offline  
Reply With Quote
Old 07-12-2008, 11:28 AM   #10 (permalink)
Super Moderator
Inquisitive 
 
codefreek's Avatar
 
Join Date: Sep 2007
Location: Near you.
Posts: 791
Thanks: 241
codefreek is on a distinguished road
Default

Please use php tags.
and please keep the text clean.

Thank you.
codefreek is offline  
Reply With Quote
Old 07-14-2008, 06:46 AM   #11 (permalink)
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Default

hey Jmz,delayedinsanity,
i have joined the code as u said is
PHP Code:
<?php
session_start
();
$link mysql_connect('localhost''root''');
   
// Configuration - Your Options
      
$allowed_filetypes = array('.jpg','.gif','.bmp','.png'); // These will be the types of file that will pass the validation.
      
$max_filesize 524288// Maximum filesize in BYTES (currently 0.5MB).
      
$upload_path './files/'// The place the files will be uploaded to (currently a 'files' directory).
 
   
$filename $_FILES['upload_profile']['name']; // Get the name of the file (including file extension).
   
$ext substr($filenamestrpos($filename,'.'), strlen($filename)-1); // Get the extension from the filename.
if (!$link) {
    die(
'Could not connect: ' mysql_error());
}
$dbselect mysql_select_db('anand')or die("Can not select ");
if(!
$dbselect){
    die(
'Could not connect: ' mysql_error());
}
if(
$_REQUEST["Check"] == 1)
{
    
$companyname $_POST["companyname"];
    
$email $_POST["email"];
    
$password $_POST["password"];
    
$confirmpassword $_POST["confirmpassword"];
    
$landlineareacode $_POST["landlinearecode"];
    
$landline $_POST["landline"];
    
$mobile $_POST["mobile"];
    
$contact1 $_POST["contact1"];
    
$contact2 $_POST["contact2"];
    
$contact3 $_POST["contact3"];
    
$contactpin $_POST["contactpin"];
    
$corporate1 $_POST["corporate1"];
    
$corporate2 $_POST["corporate2"];
    
$corporate3 $_POST["corporate3"];
    
$corporatepin $_POST["corporatepin"];
    
$turnover $_POST["turnover"];
    
$help1 $_POST["help1"];
    
$help2 $_POST["help2"];
    
$help3 $_POST["help3"];
    
$profile $_POST["profile"];
    
$upload_profile $_POST["upload_profile"];
    
$query "insert into employerstep1(companyname,email,password,confirmpassword,landlineareacode,landline,mobile,contact1,contact2,contact3,contactpin,corporate1,corporate2,corporate3,corporatepin,turnover,help1,help2,help3,profile,upload_profile) values('$companyname','$email','$password','$confirmpassword','$landlineareacode','$landline','$mobile','$contact1','$contact2','$contact3','$contactpin','$corporate1','$corporate2','$corporate3','$corporatepin','$turnover','$help1','$help2','$help3','$profile','$upload_profile')";
}
$result mysql_query($query);



   
// Check if the filetype is allowed, if not DIE and inform the user.
   
if(!in_array($ext,$allowed_filetypes))
      die(
'The file you attempted to upload is not allowed.');
 
   
// Now check the filesize, if it is too large then DIE and inform the user.
   
if(filesize($_FILES['upload_profile']['tmp_name']) > $max_filesize)
      die(
'The file you attempted to upload is too large.');
 
   
// Check if we can upload to the specified path, if not DIE and inform the user.
   
if(!is_writable($upload_path))
      die(
'You cannot upload to the specified directory, please CHMOD it to 777.');
 
   
// Upload the file to your specified path.
   
if(move_uploaded_file($_FILES['upload_profile']['tmp_name'],$upload_path $filename))
         echo 
'Your file upload was successful, view the file <a href="' $upload_path $filename '" title="Your File">here</a>'// It worked.
      
else
         echo 
'There was an error during the file upload.  Please try again.'// It failed :(.
mysql_close($link);
?>
it tells "The file you attempted to upload is not allowed."
what can i do guyz????

Last edited by galleeandfarel : 07-14-2008 at 07:08 AM.
galleeandfarel is offline  
Reply With Quote
Old 07-14-2008, 07:11 AM   #12 (permalink)
is cute and cuddly
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
delayedinsanity is on a distinguished road
Default

I wouldn't trust a file to be what it says it is, you may want to check out getimagesize() or mime_content_type() to get a definite result. With your method however, your method of getting the file extension breaks if there's multiple periods in the filename, so I'd suggest the following two lines:

PHP Code:
$allowed_filetypes = array('jpg','gif','bmp','png');

// and

$ext substr(strrchr($filename'.'), 1); 
-m
delayedinsanity is offline  
Reply With Quote
Old 07-14-2008, 07:22 AM   #13 (permalink)
The Wanderer
 
galleeandfarel's Avatar
 
Join Date: Jun 2008
Posts: 15
Thanks: 4
galleeandfarel is on a distinguished road
Default

no man,actually it works when i run those files separately,problem is i dnt know how can i merge those files??? this is my designing page

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>vgotjobs-Employers Registration Form</title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="default.css" rel="stylesheet" type="text/css" />
<script src="check.js" type="text/javascript">
</script>
<script language="javascript">

	function CheckAlpha(evt)
{

    var charCode = (evt.which) ? evt.which : event.keyCode

  if ((charCode >= 65 && charCode <= 90) || (charCode >= 97 && charCode
<= 122) || (charCode == 32)) {
    return true; }
  else {
    return false;
  }
}

</script>

<style type="text/css">
<!--
.style4 {font-family: "Comic Sans MS", Courier}
.style8 {font-size: 16px}
a:link {
	text-decoration: none;
	color: #000066;
}
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
	color: #000000;
}
a:active {
	text-decoration: none;
}
.style54 {	font-size: 11px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style55 {	font-size: 11px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}
.style49 {	color: #CC0000;
	font-weight: bold;
}
.style50 {	color: #0066CC;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
}
.style53 {color: #006666; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; }
#Layer1 {
	position:absolute;
	left:461px;
	top:172px;
	width:495px;
	height:772px;
	z-index:1;
}
.style106 {font-size: 12px}
-->
</style>
<script src="/js/check.js" type="text/javascript">
</script>
<script language="javascript">
 function setOptions(chosen) {
var selbox = document.newform.caste;
var sel1 = document.newform.oth;
 
selbox.options.length = 0;
if (chosen == " ") {
  selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');
 
}
if (chosen == "Hindu") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Hindu: Assamese','Hindu|Assamese|Arunachali|Manipuri');
  selbox.options[selbox.options.length] = new Option('Hindu: Bengali','Hindu|Bengali');
  selbox.options[selbox.options.length] = new Option('Hindu: Gujarati','Hindu|Gujarati|Kutchi');
  selbox.options[selbox.options.length] = new Option('Hindu: Hindi','Hindu|Hindi|Awadhi|Bhojpuri|Brij|Chattisgarhi|Garhwali|Haryanavi|Himachali/Pahari|Kumaoni|Magahi|Maithili|Rajasthani|Sanskrit|Urdu');
  selbox.options[selbox.options.length] = new Option('Hindu: Kannada','Hindu|Kannada|Coorgi|Tulu');
  selbox.options[selbox.options.length] = new Option('Hindu: Bengali','Hindu|Bengali');
  selbox.options[selbox.options.length] = new Option('Hindu: Konkani','Hindu|Konkani');
selbox.options[selbox.options.length] = new Option('Hindu: Malayalam','Hindu|Malayalam');
selbox.options[selbox.options.length] = new Option('Hindu: Marathi','Hindu|Marathi');
selbox.options[selbox.options.length] = new Option('Hindu: Marwari','Hindu|Marwari|Rajasthani');
selbox.options[selbox.options.length] = new Option('Hindu: Oriya','Hindu|Oriya');
selbox.options[selbox.options.length] = new Option('Hindu: Punjabi','Hindu|Punjabi|Dogri');
selbox.options[selbox.options.length] = new Option('Hindu: Sindhi','Hindu|Sindhi');
selbox.options[selbox.options.length] = new Option('Hindu: Tamil','Hindu|Tamil');
selbox.options[selbox.options.length] = new Option('Hindu: Telugu','Hindu|Telugu');
selbox.options[selbox.options.length] = new Option('Hindu: Other','Hindu|Other|Aka|Arabic|Arunachali|Awadhi|Bhojpuri|Bhutia|Burmese|Chattisgarhi|Chinese|English|French|Garhwali|Garo|Haryanavi|Himachali/Pahari|Hindko|Kakbarak|Kanauji|Kashmiri|Khandesi|Khasi|Koshali|Kumaoni|Ladakhi|Lepcha|Magahi|Maithili|Malay|Manipuri|Miji|Mizo|Monpa|Nepali|Pashto|Persian|Russian|Sanskrit|Santhali|Sinhala|Spanish|Swedish|Tagalog|Urdu');
selbox.options[selbox.options.length] = new Option('Hindu: All','Hindu');
}
if (chosen == "Muslim") {
if(selbox.disabled = true)
  selbox.disabled = false;
 selbox.options[selbox.options.length] = new Option('Muslim:Sunni','Muslim: Sunni');
selbox.options[selbox.options.length] = new Option('Muslim:Shia','Muslim: Shia');
selbox.options[selbox.options.length] = new Option('Muslim|Bengali','Muslim: Bengali');
selbox.options[selbox.options.length] = new Option('Muslim:Dawoodi Bohra','Muslim: Dawoodi Bohra');
selbox.options[selbox.options.length] = new Option('Muslim','Muslim: All');
}
if (chosen == "Christian") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Christian:Protestant','Christian: Protestant');
selbox.options[selbox.options.length] = new Option('Christian:Born Again ','Christian: Born Again');
selbox.options[selbox.options.length] = new Option('Christian:Roman Catholi','Christian: Roman Catholic');
selbox.options[selbox.options.length] = new Option('Christian','Christian: All');;
}
if (chosen == "Jain") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Jain:Shwetamber','Jain: Shewetamber');
selbox.options[selbox.options.length] = new Option('Jain:Digambar','Jain: Digambar');
selbox.options[selbox.options.length] = new Option('Jain:Vania','Jain: Vania');
selbox.options[selbox.options.length] = new Option('Jain','Jain:All');
}
if (chosen == "Sikh") {
if(selbox.disabled = true)
  selbox.disabled = false;
 selbox.options[selbox.options.length] = new Option('Sikh:Jat','Sikh: Jat');
selbox.options[selbox.options.length] = new Option('Sikh:Ramgharia','Sikh: Ramgharia');
selbox.options[selbox.options.length] = new Option('Sikh:Khatri','Sikh: Khatri');
selbox.options[selbox.options.length] = new Option('Sikh:Gursikh','Sikh: Gursikh');
selbox.options[selbox.options.length] = new Option('Sikh','Sikh: All');
}
if (chosen == "Buddhist") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Buddhist','Buddhist');
}
if (chosen == "Parsi") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Parsi','Parsi');
}
if (chosen == "Jewish") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Jewish','Jewish');
}
if (chosen == "No Religion") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('No Religion','No Religion');
}
if (chosen == "Spiritual - not religious") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Spiritual - not religious','Spiritual - not religious');
}
if (chosen == "Other") {

selbox.disabled = true;
oth.disabled = false;
}
}
</script><script language="javascript">
 function setOptions(chosen) {
var selbox = document.newform.caste;
var sel1 = document.newform.oth;
 
selbox.options.length = 0;
if (chosen == " ") {
  selbox.options[selbox.options.length] = new Option('Please select one of the options above first',' ');
 
}
if (chosen == "Hindu") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Hindu: Assamese','Hindu|Assamese|Arunachali|Manipuri');
  selbox.options[selbox.options.length] = new Option('Hindu: Bengali','Hindu|Bengali');
  selbox.options[selbox.options.length] = new Option('Hindu: Gujarati','Hindu|Gujarati|Kutchi');
  selbox.options[selbox.options.length] = new Option('Hindu: Hindi','Hindu|Hindi|Awadhi|Bhojpuri|Brij|Chattisgarhi|Garhwali|Haryanavi|Himachali/Pahari|Kumaoni|Magahi|Maithili|Rajasthani|Sanskrit|Urdu');
  selbox.options[selbox.options.length] = new Option('Hindu: Kannada','Hindu|Kannada|Coorgi|Tulu');
  selbox.options[selbox.options.length] = new Option('Hindu: Bengali','Hindu|Bengali');
  selbox.options[selbox.options.length] = new Option('Hindu: Konkani','Hindu|Konkani');
selbox.options[selbox.options.length] = new Option('Hindu: Malayalam','Hindu|Malayalam');
selbox.options[selbox.options.length] = new Option('Hindu: Marathi','Hindu|Marathi');
selbox.options[selbox.options.length] = new Option('Hindu: Marwari','Hindu|Marwari|Rajasthani');
selbox.options[selbox.options.length] = new Option('Hindu: Oriya','Hindu|Oriya');
selbox.options[selbox.options.length] = new Option('Hindu: Punjabi','Hindu|Punjabi|Dogri');
selbox.options[selbox.options.length] = new Option('Hindu: Sindhi','Hindu|Sindhi');
selbox.options[selbox.options.length] = new Option('Hindu: Tamil','Hindu|Tamil');
selbox.options[selbox.options.length] = new Option('Hindu: Telugu','Hindu|Telugu');
selbox.options[selbox.options.length] = new Option('Hindu: Other','Hindu|Other|Aka|Arabic|Arunachali|Awadhi|Bhojpuri|Bhutia|Burmese|Chattisgarhi|Chinese|English|French|Garhwali|Garo|Haryanavi|Himachali/Pahari|Hindko|Kakbarak|Kanauji|Kashmiri|Khandesi|Khasi|Koshali|Kumaoni|Ladakhi|Lepcha|Magahi|Maithili|Malay|Manipuri|Miji|Mizo|Monpa|Nepali|Pashto|Persian|Russian|Sanskrit|Santhali|Sinhala|Spanish|Swedish|Tagalog|Urdu');
selbox.options[selbox.options.length] = new Option('Hindu: All','Hindu');
}
if (chosen == "Muslim") {
if(selbox.disabled = true)
  selbox.disabled = false;
 selbox.options[selbox.options.length] = new Option('Muslim:Sunni','Muslim: Sunni');
selbox.options[selbox.options.length] = new Option('Muslim:Shia','Muslim: Shia');
selbox.options[selbox.options.length] = new Option('Muslim|Bengali','Muslim: Bengali');
selbox.options[selbox.options.length] = new Option('Muslim:Dawoodi Bohra','Muslim: Dawoodi Bohra');
selbox.options[selbox.options.length] = new Option('Muslim','Muslim: All');
}
if (chosen == "Christian") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Christian:Protestant','Christian: Protestant');
selbox.options[selbox.options.length] = new Option('Christian:Born Again ','Christian: Born Again');
selbox.options[selbox.options.length] = new Option('Christian:Roman Catholi','Christian: Roman Catholic');
selbox.options[selbox.options.length] = new Option('Christian','Christian: All');;
}
if (chosen == "Jain") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Jain:Shwetamber','Jain: Shewetamber');
selbox.options[selbox.options.length] = new Option('Jain:Digambar','Jain: Digambar');
selbox.options[selbox.options.length] = new Option('Jain:Vania','Jain: Vania');
selbox.options[selbox.options.length] = new Option('Jain','Jain:All');
}
if (chosen == "Sikh") {
if(selbox.disabled = true)
  selbox.disabled = false;
 selbox.options[selbox.options.length] = new Option('Sikh:Jat','Sikh: Jat');
selbox.options[selbox.options.length] = new Option('Sikh:Ramgharia','Sikh: Ramgharia');
selbox.options[selbox.options.length] = new Option('Sikh:Khatri','Sikh: Khatri');
selbox.options[selbox.options.length] = new Option('Sikh:Gursikh','Sikh: Gursikh');
selbox.options[selbox.options.length] = new Option('Sikh','Sikh: All');
}
if (chosen == "Buddhist") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Buddhist','Buddhist');
}
if (chosen == "Parsi") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('Parsi','Parsi');
}
if (chosen == "Jewish") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Jewish','Jewish');
}
if (chosen == "No Religion") {
if(selbox.disabled = true)
  selbox.disabled = false;
  selbox.options[selbox.options.length] = new Option('No Religion','No Religion');
}
if (chosen == "Spiritual - not religious") {
if(selbox.disabled = true)
  selbox.disabled = false;
selbox.options[selbox.options.length] = new Option('Spiritual - not religious','Spiritual - not religious');
}
if (chosen == "Other") {

selbox.disabled = true;
oth.disabled = false;
}
}
</script>

<SCRIPT language=JavaScript>


var testresults
function checkemail(newform){
var str=document.newform.email.value
var filter=/^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,6}(?:\.[a-z]{2})?)$/i
if (filter.test(str))
testresults=true
else{
alert("Please input a valid email address!")
testresults=false
}
return (testresults)
}


function limiter(){
var tex = document.myform.comment.value;
var len = tex.length;
if(len > count){
        tex = tex.substring(0,count);
        document.myform.comment.value =tex;
        return false;
}
document.myform.limit.value = count-len;
}


</SCRIPT>
</head>
<body>
<div id="Layer1">
<FORM name="newform" action="success.php"
      method="post" onsubmit="return checkForm(this)">
  <table width="480" height="1864" 
      border=0 align=center cellpadding=6  cellspacing=0   style="border:double  #0066CC";>
    <!--DWLayoutTable-->
    <tbody>
      <tr>
        <td height="31"></td>
        <td width="225">&nbsp;</td>
        <td colspan="2" valign="top"><span class="style49"> Registration Form </span></td>
        <td width="-4">&nbsp;</td>
        <td width="32">&nbsp;</td>
        </tr>
      <tr bgcolor=#efefef>
        <td height="27" 
            colspan=5 class=textsmallboldm>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>General 
          Information</strong></td>
      </tr>
      <tr>
        <td width=-4 height="36" class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50 style50>Name</td>
        <td colspan=3>: &nbsp;
            <input class=formtext id=companyname size=25 name=companyname value="" />
            <span class=style53 style14><br />
              (Enter your full 
              name)</span></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50>Email ID</td>
        <td colspan=3>:&nbsp;&nbsp;<b>
          <input class=formtext id=email 
            onblur=Email(this) size=17 name=email />
          &nbsp;&nbsp;</b></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50>Password</td>
        <td colspan=3>: &nbsp;
            <input class=formtext type=password size=17 
            name=password />        </td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50>Confirm Password</td>
        <td colspan=3>: &nbsp;
            <input 
            name=confirmpassword  type=password class=formtext id="confirmpassword" size=17 />        </td>
      </tr>
      <tr>
        <td height="68" class=subheadertxt>&nbsp;</td>
        <td colspan="2" class="style50">Company Type </td>
        <td colspan="3" class="textsmallnormal">:
          <input type="radio" checked="checked" value="Male" name="gender" />
            <span class="style106">Individual</span>&nbsp;
            <input type="radio" 
            value="mnc" name="gender" />
            <span class="style106">MNC</span>
            <input name="companytype" type="radio" id="companytype" 
            value="public" />
            <span class="style106">Public</span> <br />
            <input type="radio" 
            value="partner" name="gender" />
            <span class="style106">Partner</span>
            <input type="radio" 
            value="pvt" name="gender" />
            <span class="style106">PVT</span>
            <input type="radio" 
            value="other" name="gender" />
            <span class="style106">over</span></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="style50">LandLine Number</td>
        <td colspan="3" >: &nbsp;
            <input style="width: 40px;" class="textfield" id="landlineareacode" name="landlineareacode" value="" maxlength="5" onfocus="javascript:if(document.getElementById('txtContact').value=='-STD-') document.getElementById('txtContact').value='';" type="text" />
          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
          <input style="width: 97px;" class="textfield" id="landline" name="landline" value="" maxlength="9" type="text" />        </td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class="style50">Mobile Number</td>
        <td colspan="3">: &nbsp;
            <input class="formtext" id="mobile" 
            onblur="Phone(this)" maxlength="10" size="15" name="mobile" />
            <span 
            class="style14" greentextnormal="greentextnormal"><strong><span 
            class="style53">(Give any one)</span></strong></span> </td>
      </tr>
      <tr>
        <td class="subheadertxt">&nbsp;</td>
        <td colspan="2" class="style50">Contact Address</td>
        <td colspan="3">: &nbsp;
            <input class="formtext" id="contact1" size="17" 
            name="contact1" /></td>
      </tr>
      <tr>
        <td height="34" class="subheadertxt">&nbsp;</td>
        <td class="subheadertxt">&nbsp;</td>
        <td class="subheadertxt">&nbsp;</td>
        <td colspan="3">: &nbsp;
            <input class="formtext" id="contact2" size="17" 
            value=" " name="contact2" /></td>
      </tr>
      <tr>
        <td height="34" class="subheadertxt">&nbsp;</td>
        <td class="subheadertxt">&nbsp;</td>
        <td class="subheadertxt">&nbsp;</td>
        <td colspan="2">: &nbsp;
            <input class="formtext" id="contact3" size="17" value=" " 
            name="contact3" /></td>
        <td class="style54">Pincode</td>
        </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50>Registered Address</td>
        <td colspan=3>: &nbsp;
            <input class=formtext id=register1 size=17 
            name=register1 value="" /></td>
      </tr>
      <tr>
        <td height="34" class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td width="-4" class=subheadertxt>&nbsp;</td>
        <td colspan=3>: &nbsp;
            <input class=formtext id=register2 size=17 
            value="" name=register2 /></td>
      </tr>
      <tr>
        <td height="34" class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2">: &nbsp;
            <input class=formtext id=register3 size=17 
            value="" name=register3 /></td>
        <td class=style54>Pincode</td>
        </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2" class=style50>Corporate Address</td>
        <td colspan=3>: &nbsp;
            <input class=formtext id=corporate1 size=17 
            name=corporate1 /></td>
      </tr>
      <tr>
        <td height="34" class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan=3>: &nbsp;
            <input class=formtext id=corporate2 size=17 
            value=" " name=corporate2 /></td>
      </tr>
      <tr>
        <td height="34" class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2">: &nbsp;
            <input class=formtext id=corporate3 size=17 value=" " 
            name=corporate3 /></td>
        <td class=style54>Pincode</td>
        </tr>
      <tr bgcolor=#efefef>
        <td height="22" 
            colspan=5 class=textsmallboldm>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>Company 
          Details</strong></td>
      </tr>
      
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="style50">Education</td>
        <td colspan="3" >: &nbsp;
            <select class="formlist" style="WIDTH: 120px" 
            name="education">
              <option value="" selected="selected">--select-- </option>
              <option 
              value="ACS">ACS </option>
              <option value="B.A">B.A </option>
              <option 
              value="B.Arch">B.Arch </option>
              <option value="B.Com">B.Com </option>
              <option 
              value="B.Ed">B.Ed </option>
              <option value="B.L.I.Sc">B.L.I.Sc </option>
              <option 
              value="B.Music">B.Music </option>
              <option value="B.Pharm">B.Pharm </option>
              <option 
              value="B.Sc">B.Sc </option>
              <option value="BBA">BBA </option>
              <option value="BCA">BCA </option>
              <option 
              value="BCS">BCS </option>
              <option value="BDS">BDS </option>
              <option 
              value="B.E">B.E </option>
              <option 
              value="B.Tech">B.Tech </option>
              <option value="BHM">BHM </option>
              <option 
              value="BL">BL </option>
              <option 
              value="LLB">LLB </option>
              <option value="BVSC">BVSC </option>
              <option 
              value="C.A.">C.A. </option>
              <option value="Diploma">Diploma </option>
              <option 
              value="ICWA">ICWA </option>
              <option value="M.Arch">M.Arch </option>
              <option 
              value="M.Com">M.Com </option>
              <option value="M.Ed">M.Ed </option>
              <option 
              value="M.L.I.Sc">M.L.I.Sc </option>
              <option value="M.Pharm">M.Pharm </option>
              <option 
              value="M.Phil">M.Phil </option>
              <option value="M.Sc">M.Sc </option>
              <option 
              value="M.A">M.A </option>
              <option value="MBA">MBA </option>
              <option value="PGDM">PGDM </option>
              <option value="PGDBA">PGDBA </option>
              <option 
              value="MBBS">MBBS </option>
              <option value="MBL">MBL </option>
              <option value="LLBC">LLBC </option>
              <option 
              value="MCA">MCA </option>
              <option 
              value="PGDCA">PGDCA </option>
              <option value="MD">MD </option>
              <option value="MS">MS </option>
              <option 
              value="M.E">M.E </option>
              <option 
              value="M.Tech">M.Tech </option>
              <option value="MFA">MFA </option>
              <option 
              value="MHRM">MHRM </option>
              <option value="MIB">MIB </option>
              <option 
              value="ML">ML </option>
              <option value="LLM">LLM </option>
              <option 
              value="MMS">MMS </option>
              <option value="MP.Ed">MP.Ed </option>
              <option value="MSW">MSW </option>
              <option 
              value="MTM">MTM </option>
              <option value="MVSC">MVSC </option>
              <option 
              value="FRCS">FRCS </option>
              <option 
              value="FRCP">FRCP </option>
              <option value="PG Diploma">PG 
                Diploma </option>
              <option value="Ph.D">Ph.D </option>
              <option value="SSLC">SSLC </option>
              <option 
              value="XII">XII </option>
              <option value="Other">Other</option>
          </select></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="style50">Education details </td>
        <td colspan="3" >: &nbsp;
            <input class="formtext" id="educationdetails" size="17" 
            name="educationdetails" />        </td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="subheadertxt"><span class="style50">Profession</span></td>
        <td colspan="3" >: &nbsp;
            <select name="profession" id="profession" class="formlist" onfocus="toggleHint('show', 'occupation')" style="WIDTH: 120px"  onblur="validate_occupation(this.name);">
              <option selected="selected" value="">Select</option>
              <option value="Not working">Not working</option>
              <option>Non-mainstream professional</option>
              <option>Accountant</option>
              <option>Acting Professional</option>
              <option>Actor</option>
              <option>Administration Professional</option>
              <option>Advertising Professional</option>
              <option>Air Hostess</option>
              <option>Architect</option>
              <option>Artisan</option>
              <option>Audiologist</option>
              <option>Banker</option>
              <option>Beautician</option>
              <option>Biologist / Botanist</option>
              <option>Business Person</option>
              <option>Chartered Accountant</option>
              <option>Civil Engineer</option>
              <option>Clerical Official</option>
              <option>Commercial Pilot</option>
              <option>Company Secretary</option>
              <option>Computer Professional</option>
              <option>Consultant</option>
              <option>Contractor</option>
              <option>Cost Accountant</option>
              <option>Creative Person</option>
              <option>Customer Support Professional</option>
              <option>Defense Employee</option>
              <option>Dentist</option>
              <option>Designer</option>
              <option>Doctor</option>
              <option>Economist</option>
              <option>Engineer</option>
              <option>Engineer (Mechanical)</option>
              <option>Engineer (Project)</option>
              <option>Entertainment Professional</option>
              <option>Event Manager</option>
              <option>Executive</option>
              <option>Factory worker</option>
              <option>Farmer</option>
              <option>Fashion Designer</option>
              <option>Finance Professional</option>
              <option>Flight Attendant</option>
              <option>Government Employee</option>
              <option>Health Care Professional</option>
              <option>Home Maker</option>
              <option>Hotel &amp; Restaurant Professional</option>
              <option>Human Resources Professional</option>
              <option>Interior Designer</option>
              <option>Investment Professional</option>
              <option>IT / Telecom Professional</option>
              <option>Journalist</option>
              <option>Lawyer</option>
              <option>Lecturer</option>
              <option>Legal Professional</option>
              <option>Manager</option>
              <option>Marketing Professional</option>
              <option>Media Professional</option>
              <option>Medical Professional</option>
              <option>Medical Transcriptionist</option>
              <option>Merchant Naval Officer</option>
              <option>Nurse</option>
              <option>Occupational Therapist</option>
              <option>Optician</option>
              <option>Pharmacist</option>
              <option>Physician Assistant</option>
              <option>Physicist</option>
              <option>Physiotherapist</option>
              <option>Pilot</option>
              <option>Politician</option>
              <option>Production professional</option>
              <option>Professor</option>
              <option>Psychologist</option>
              <option>Public Relations Professional</option>
              <option>Real Estate Professional</option>
              <option>Research Scholar</option>
              <option>Retired Person</option>
              <option>Retail Professional</option>
              <option>Sales Professional</option>
              <option>Scientist</option>
              <option>Self-employed Person</option>
              <option>Social Worker</option>
              <option>Software Consultant</option>
              <option value="Sportsman">Sportsman</option>
              <option value="Student">Student</option>
              <option value="Teacher">Teacher</option>
              <option value="Technician">Technician</option>
              <option value="Training Professional">Training Professional</option>
              <option value="Transportation Professional">Transportation Professional</option>
              <option value="Veterinary Doctor">Veterinary Doctor</option>
              <option  value="Volunteer">Volunteer</option>
              <option value="Writer">Writer</option>
              <option value="Zoologist">Zoologist</option>
          </select></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="subheadertxt"><span class="style50">Annual income </span></td>
        <td colspan="3" >: &nbsp; <span class="formselect">
          <select class="formlist" 
            id="annualinc" name="annualinc">
            <option value="" selected="selected">-- select 
              --</option>
            <option value="Under Rs.50,000 ">Under Rs.50,000</option>
            <option 
              value="Rs. 50,001 - 1,00,000 ">Rs. 50,001 - 1,00,000</option>
            <option 
              value="Rs.1,00,001 - 2,00,000 ">Rs.1,00,001 - 2,00,000</option>
            <option 
              value="Rs.2,00,001 - 3,00,000 ">Rs.2,00,001 - 3,00,000</option>
            <option 
              value="Rs.3,00,001 - 4,00,000 ">Rs.3,00,001 - 4,00,000</option>
            <option 
              value="Rs.4,00,001 - 5,00,000 ">Rs.4,00,001 - 5,00,000</option>
            <option 
              value="Rs.5,00,001 - 6,00,000 ">Rs.5,00,001 - 6,00,000</option>
            <option 
              value="Rs.6,00,001 - 7,00,000 ">Rs.6,00,001 - 7,00,000</option>
            <option 
              value="Rs.7,00,001 - 8,00,000 ">Rs.7,00,001 - 8,00,000</option>
            <option 
              value="Rs.8,00,001 - 9,00,000 ">Rs.8,00,001 - 9,00,000</option>
            <option 
              value="Rs.9,00,001 - 10,00,000 ">Rs.9,00,001 - 10,00,000</option>
            <option 
              value="more than Rs.10,00,000 ">more than 
              Rs.10,00,000</option>
          </select>
        </span></td>
      </tr>
      <tr bgcolor=#efefef>
        <td height="22" 
            colspan=5 class=textsmallboldm><strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</strong></td>
      </tr>
      <tr>
        <td class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="style50">Company Turn over </td>
        <td colspan="3"  class="subheadertxt">: &nbsp;
            <input class="formtext" 
            size="17" name="turnover" id="turnover" />        </td>
      </tr>
      <tr>
        <td height="131" class=subheadertxt>&nbsp;</td>
        <td colspan="2"  class="style50">Help Us </td>
        <td colspan="3"  class="formcommentstxt"><label> </label>
            <table width="200" border="0">
              <tr>
                <td height="25"> 1.
                  <input type="text" name="help1" id="help1" /></td>
              </tr>
              <tr>
                <td>2.
                  <input type="text" name="help2" id="help2"/>                </td>
              </tr>
              <tr>
                <td>3.
                  <input type="text" name="help3" id="help3"/></td>
              </tr>
          </table></td>
      </tr>
      
      
      <tr bgcolor=#efefef>
        <td height="42" colspan=5 class=textsmallboldm>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong>&nbsp;Company Profile </strong></td>
      </tr>
      
      <tr>
        <td height="2" class=subheadertxt>		</td>
      </tr>
     
      <tr>
        <td height="266" colspan="6" class="subheadertxt"><div align="center"><span class="mediumblack">
            <textarea class="formtext" id="profile" onkeyup="textCount('personal',0,'Charcount');" name="profile" rows="4" wrap="virtual" cols="80"></textarea>
            </span><span class="serrestxt"></span>
            <table cellspacing="0" cellpadding="0"  align="center" 
              border="0">
              <!--DWLayoutTable-->
              <tbody>
                <tr>
                  <td height="26" valign="middle" class="style55">Min.100, Max 250 
                    characters. </td>
                  <td width="27" bgcolor="#000066"><div align="center"><font 
                  style="FONT-WEIGHT: bold; FONT-SIZE: 12px; COLOR: #0000cc; FONT-STYLE: normal; FONT-FAMILY: Verdana"><font 
                  id="Charcount" color="#ffffff">0</font></font>&nbsp;</div></td>
                  <td 
                   valign="middle" class="style55">&nbsp;&nbsp;&nbsp;&nbsp;characters typed. </td>
                </tr>
              </tbody>
            </table>
          		  <p>
              <label class="style55">Upload Profile
              <input name="upload_profile" type="file" id="file" />
              </label>
            </p>
          <p>
              <label class="style55">Video Profile
                <input name="video" type="file" id="video" />
              </label>
            </p>
        </div></td>        
      </tr>
      <tr>
        <td class=menuhead colspan=5 height=31>&nbsp;</td>
        <td class=menuhead>&nbsp;</td>
        </tr>
      <tr>
        <td class=menuhead colspan=6 height=30><div align=center>
		    			<input type="hidden" name="Check" id="Check" value="1" />
            <input class=loginbutton onclick="return validate(newform)" type=submit value=" Register" name=Submit23 />
        </div></td>
      </tr>
      <tr>
        <td height="13"></td>
        <td></td>
        <td></td>
        <td width="155"></td>
        <td></td>
        <td></td>
        </tr>
    </tbody>
  </table>
</form>

</div>
<div id="header">
  <div id="logo">
    <h2>&nbsp;</h2>
  </div>
	<div id="menu">
		<ul>
			<li class="active"><a href="#" title="">Home</a></li>
			<li><a href="#" title="">About Us</a></li>
			<li><a href="#" title="">Account</a></li>
			<li><a href="#" title="">jobs</a></li>
			<li><a href="#" title="">contact us </a></li>
		</ul>
	</div>
</div>
<div id="content">
	<div id="sidebar">
		<div id="login" class="boxed">
			<h2 class="title">Employer-Login </h2>
			<div class="content">
			<form id="form1" method="post" action="employerloggedin.php">
					<fieldset>
					<legend>Sign-In</legend>
					<label for="inputtext1">user id: </label>
					<input id="companyname" type="text" name="companyname" value="" />
					<label for="inputtext2">Password:</label>
					<input id="password" type="password" name="password" value="" />
					<input id="inputsubmit1" type="submit" name="inputsubmit1" value="Sign In" />
					<a href="#">Forgot password?</a>
					<p><span class="title"><a href="employer-registration.html">New User</a><img src="gf.jpg" alt="" width="32" height="34" /></span></p>
					</fieldset>
				</form>
			</div>
	  </div>
		<div id="updates" class="boxed">
			<h2 class="title">Recent Updates</h2>
			<div class="content">
				<ul><li><p>&nbsp;</p>
				</li>
				</ul>
		        <ul><li><p><a href="#"></a></p>
				    </li>
		          <li>
		            <h3>&nbsp;</h3>
					  <p><a href="#"></a></p>
			      </li>
		          <li>
		            <h3>&nbsp;</h3>
					  <p><a href="#"></a></p>
			      </li>
		          <li>
		            <h3>&nbsp;</h3>
					  <p><a href="#"></a></p>
			      </li>
	          </ul>
          </div>
		</div>
	</div>
	<div id="sidebar2">
		<div id="lorem" class="boxed">
			<h2 class="title">main links </h2>
			<div class="content">
				<ul>
					<li><a href="jobseekers.html">
						
					Job Seekers </a></li>
					<li><a href="page-construction.html">Communities</a></li>
					<li><a href="page-construction.html">Educational Institutes </a></li>
					<li><a href="condultant.html">consultant</a></li>
					<li><a href="forum/index.php">Forums</a></li>
					<li><a href="jobs-postings.html">Job Postings <br />
				  </a></li>
		      </ul>
			    <ul><div class="content"><div id="div" class="boxed">
		          <h2 class="title">other links </h2>
		          <div class="content">
		            <ul><li><a href="search-jobseekers.html">Search Jobseekers</a></li>
	                </ul>
	              </div>
		            </div>
		          </div>
		      </ul>
	      </div>
		</div>
	</div>
	<div id="main">
	  <div id="example" class="post">
			<h2 class="title style8 style4"><br />
			</h2>
			<div class="meta">
				<p><br />
			  </p>
			</div>
	  </div>
  </div>
</div>

<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>

<p>&nbsp;</p>
</body>
</html>
galleeandfarel is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 08:30 PM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design