Sei sulla pagina 1di 11

<?

php

error_reporting(0);

include('includes/connection.php');

if(isset($_POST['submit']))

$email=$_POST['email'];

$password=$_POST['password'];

$company_name=$_POST['company_name'];

$major_location=$_POST['major_location'];

$about_company=$_POST['about_company'];

$upload_logo=$_FILES['upload_logo']['name'];

$size=$_FILES['upload_logo']['size'];

$type=$_FILES['upload_logo']['type'];

$temp=$_FILES['upload_logo']['tmp_name'];

move_uploaded_file($temp,"upload/member/".$upload_logo);

$gender_type=$_POST['gender_type'];

$name=$_POST['name'];

$address=$_POST['address'];

$city=$_POST['city'];

$pin_code=$_POST['pin_code'];

$mobile=$_POST['mobile'];

$web_add=$_POST['web_add'];

$terms_use=$_POST['terms_use'];
$sel_query = mysql_query("select * from members where email='{$_POST['email']}'");

$sel_rows = mysql_fetch_array($sel_query);

if($sel_rows['email'] == $_POST['email'])

$msg = "<p style='color:red;margin-top:5px; font-size:14px; text-


align:center;padding:5px;border:solid red 1px;width:50%;border-radius:5px;background-
color:#fff;'>Email ID Already Exists,Please Try Another Email ID</p>";

else

$insert=mysql_query("insert into
members(email,password,company_name,major_location,about_company,upload_logo,gender_type,n
ame,address,city,pin_code,mobile,web_add,terms_use)
values('$email','$password','$company_name','$major_location','$about_company','$upload_logo','$ge
nder_type','$name','$address','$city','$pin_code','$mobile','$web_add','$terms_use')");

if($insert)

//header("location:consultant_login.php");

$msg = "<p style='color:green; font-size:14px; text-align:center;'>Registered


Successfully</p>";

?>

<!DOCTYPE html>

<html lang="en-us"><head>

<meta charset="utf-8">

<title>DSK Group of consultancy</title>


<meta name="description" content="dsksofttech" />

<link rel="publisher" href="https://plus.google.com/+Sk MAXXPROindia/">

<link href="css/common-pi.css" rel="stylesheet" type="text/css">

<link href="css/styles-pi.css" rel="stylesheet" type="text/css">

<link href="css/home.css" rel="stylesheet" type="text/css">

<link href="css/sprite-icons.css" rel="stylesheet" type="text/css">

<link href="css/request-call.css" rel="stylesheet" type="text/css">

<link href="css/select2.css" rel="stylesheet" type="text/css">

<link href="fancybox20/jquery.fancybox.css" rel="stylesheet" />

</head>

<body>

<header id="header">

<section class="jobs">

<div class="m0a">

<div class="zone fo">

<ul>

<li> <a href="admin/login.php" id="L2" target="_blank">Admin Zone <i class=" w7px


dab"></i></a></li>

</ul>

</div>

</div>

</section>

<p class="cb"></p>
<div class="fw fo" style="position:relative;z-index:11;">

<p class="fr" id="quickHelp"><i class="si w30px tel"></i> +91-9360735599</p>

<!--<h1><span style="color: #ff6600; font-family: wingdings,zapf dingbats;"><strong><span


style="font-size: xx-large;">DSK GROUPS</span></strong></span></h1>

<h1><span style="font-family: wingdings,zapf dingbats;"><strong><span style="font-size: x-large; color:


#000000;">&nbsp; CONSULTANCY</span></strong></span></h1> -->

<div class="piLogo"><a href="index.php" title="Jobs in India">Jobs in India</a></div>

<p class="cr"></p>

<nav class="tml" id="tml">

<ul>

<li><a href="index.php" title="Job Search Site">Home</a></li>

<li><a href="consultant_login.php" title="Search Job Openings in india">Client Login<i class="


w7px daw"></i></a></li>

<li><a href="consultant_post_job.php" title="Post your Resume Free">Job Posting</a></li>

<li class="on"><a href="#" title="Manage your Resume and Responce">New Client


Register</a></li>

<!-- <li ><a href="#" title="Career Services" title="Career Services">Career Services <i class=" w7px
daw"></i></a></li>

<li><a href="#" title="Sk MAXXPRO Agencies Directory">Classifieds <i class=" w7px


daw"></i></a></li> -->

</ul>

</nav>
</div>

</header>

<section class="jobSea lightbg1 gbiwb">

<div class="w100 dt ac-dtr acc-dtc acc-p10px acc-vat">

<ul>

<li style="*float:left; *width:540px;" id="country_search"></li>

<li style="width:400px; *float:left;"></li>

</ul>

</div>

</section>

<!--contentt -->

<div class="fw bdr c15px">

<center><?php echo $msg; ?></center>

<section class="fl" id="wideColumn" style="width:72%; padding:10px 30px;"><!-- wide column starts -->

<div id="h1"><h1><center>New Client Register Free </center></h1></div>

</section>

<ul class="fo p20px">

<li class="fl" style="width:72%;">

<form name="cons_reg" id="cons_reg" action="consultant_register.php" method="POST"


enctype="multipart/form-data" >
<fieldset class="bdr0 bdrB dotted">

<h2 class="b hig xxlarge db">Account Information</h2>

<br />

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="user_name"><b class="star">* </b>E-mail ID <b>:</b></label></dt>

<dd style="margin-left:210px;" id="email_error_id"><input type="email" name="email" id="email"


class="w220px p7px input" style="width:303px;" required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="pass_word"><b class="star">* </b>Password <b>:</b></label></dt>

<dd style="margin-left:210px;"><input type="password" name="password" id="password"


class="w220px p7px input" style="width:303px;" required ></dd>

</dl>

</fieldset>

<br />

<fieldset class="bdr0 bdrB dotted">

<h2 class="b hig xxlarge db">Company Information</h2>

<br />

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="your_name"><b class="star">*</b> Company Name


<b>:</b></label></dt>
<dd style="margin-left:210px;"><input type="text" name="company_name" id="company_name"
class="w220px p7px input" style="width:303px;" required ></dd>

</dl>

<style type="text/css">

.tr td {padding:5px 8px;}

</style>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="mobile_number">Major Location you Serve <b>:</b></label></dt>

<dl class="fo mb10px">

<dd style="margin-left:210px;" id="email_error_id"><input type="text" name="major_location"


id="major_location" class="w220px p7px input" style="width:303px;" >

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="about_company"><b class="star"></b>About Your Company


<b>:</b></label></dt>

<dd style="margin-left:210px;">

<textarea name="about_company" id="about_company" rows="5" cols="39" ></textarea>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="about_company"><b class="star">* </b>Upload Company Logo


<b>:</b></label></dt>

<dd style="margin-left:210px;">

<input type="file" name="upload_logo" id="upload_logo" class="input w50" type="file" required>


</dd>

</dl>

</fieldset>

<br />

<fieldset class="bdr0 bdrB dotted">

<h2 class="b hig xxlarge db">Contact Details</h2>

<br />

<dl class="fo mb10px" id="currentSalary">

<dt class="fl w30 ar"><label><b class="star">* </b>Your Name <b>:</b></label></dt>

<dd style="margin-left:210px;">

<select name="gender_type" class="w80px input p7px" required>

<option value=""> Gender</option>

<option value="Mr.">Mr.</option><option value="Mrs.">Mrs.</option><option


value="Ms.">Ms.</option><option value="Miss.">Miss.</option><option value="Dr.">Dr.</option>

</select>

<input type="text" name="name" id="name" class="w220px p7px input" required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"><b class="star">* </b> Street Address


<b>:</b></label></dt>
<dd style="margin-left:210px;">

<input type="text" name="address" id="address" class="w220px p7px input" style="width:303px;"


required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"><b class="star">* </b> City


<b>:</b></label></dt>

<dd style="margin-left:210px;">

<input type="text" name="city" id="city" class="w220px p7px input" style="width:303px;" required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"><b class="star">* </b> Pin Code


<b>:</b></label></dt>

<dd style="margin-left:210px;">

<input type="text" name="pin_code" id="pin_code" class="w220px p7px input" style="width:303px;"


required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"><b class="star">* </b> Mobile No


<b>:</b></label></dt>

<dd style="margin-left:210px;">
<input type="text" name="mobile" id="mobile" class="w220px p7px input" style="width:303px;"
required>

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"><b class="star"></b> Web Address


<b>:</b></label></dt>

<dd style="margin-left:210px;">

<input type="text" name="web_add" id="web_add" class="w220px p7px input" style="width:303px;" >

</dd>

</dl>

<dl class="fo mb10px">

<dt class="fl w30 ar"><label for="cover_letter_name"></label></dt>

<dd style="margin-left:210px;">

<input type="checkbox" class="vam" name="terms_use" id="terms_use" checked="checked"


type="checkbox" required >

I Accept the <a href="" class="various4" title="Employer Terms &amp; Conditions">Terms Of


Use</a>

</dd>

</dl>

</fieldset>

<fieldset class="bdr0">
<dl class="fo mb10px">

<dt class="fl w30 ar">&nbsp;</dt>

<dd>

<!--<input type="hidden" name="id1" value="submit_resume"> -->

<input type="submit" name="submit" id="submit" value="Submit" class="darkbg1 gbibb bdr b white


br7px xlarge p10px20px mt20px ml20px" style="background-color:#FF6300; border:solid #FF6300
1px;"></dd>

</dl>

</fieldset>

</form>

</li>

</ul>

</div>

<!--content -->

</body>

</html>

Potrebbero piacerti anche