Project Sarthak
Project Sarthak
<body id="www-url-cz">
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
<?php
include "right.php"
?>
<?php
include "footer.php"
?>
</div> <!-- /main -->
</body>
</html>
<title>JOB-PORTAL BY JITESH</title>
<meta name="description" content="..." />
<meta name="keywords" content="..." />
<body id="www-url-cz">
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
</tr>
<tr>
<td><img src="design/ico_archive2.gif" alt="" width="9"
height="11" /></td>
<td><strong>Email:jobportal.com</strong></td>
</tr>
<tr>
<td><img src="design/ico_archive2.gif" alt="" width="9"
height="11" /></td>
<td><strong>Website:jobportal.com</strong></td>
</tr>
</table>
<p><img src="#" alt="" width="500" height="300" /></p>
<p> </p>
<?php
include "footer.php"
?>
</div> <!-- /main -->
</body>
</html>
<body>
<?php
$CompnayName=$_POST['txtName'];
$ContactPerson=$_POST['txtPerson'];
$Address=$_POST['txtAddress'];
$City=$_POST['txtCity'];
$Email=$_POST['txtEmail'];
$Mobile=$_POST['txtMobile'];
$Area=$_POST['txtAreaWork'];
$Status="Pending";
$UserName=$_POST['txtUserName'];
$Password=$_POST['txtPassword'];
$UserType="Employer";
$Question=$_POST['cmbQue'];
$Answer=$_POST['txtAnswer'];
// Establish Connection with MYSQL
$con = mysqli_connect ("localhost","root","","job");
mysqli_query ($con,$sql);
// Close The Connection
mysqli_close ($con);
?>
</body>
</html>
</div>
<p>
<table width="100%" border="1" cellpadding="1" cellspacing="2"
bordercolor="#006699" >
<tr>
<th height="32" bgcolor="#006699" class="style3"><div align="left"
class="style9 style5 style2"><strong>Company Name</strong></div></th>
<th bgcolor="#006699" class="style3"><div align="left" class="style9 style5
style2"><strong>Contact Person</strong></div></th>
<th bgcolor="#006699" class="style3"><div align="left" class="style9 style5
style2"><strong>Email</strong></div></th>
</tr>
<?php
// Establish Connection with Database
$con = mysqli_connect("localhost","root","","job");
?>
<tr>
<td class="style3"><div align="left" class="style9 style5"><strong><?php echo
$CompanyName;?></strong></div></td>
<td class="style3"><div align="left" class="style9 style5"><strong><?php echo
$ContactPerson;?></strong></div></td>
<td class="style3"><div align="left" class="style9 style5"><strong><?php echo
$Email;?></strong></div></td>
</tr>
<?php
}
// Retrieve Number of records returned
$records = mysqli_num_rows($result);
?>
<?php
// Close the connection
mysqli_close($con);
?>
</table>
</td>
</tr>
</table>
</p>
<?php
include "right.php"
?>
<?php
include "footer.php"
?>
</div> <!-- /main -->
</body>
</html>
<body id="www-url-cz">
<SCRIPT language="JavaScript1.2" src="gen_validation.js"></SCRIPT>
<SCRIPT language="JavaScript1.2">
var arrFormValidation=
[
[//Name
["minlen=1",
"Please Enter Company Name"
]
],
[//Contact Person
["minlen=1",
"Please Enter Contact Person"
]
],
[//Address
["minlen=1",
"Please Enter Address"
]
],
[//City
["minlen=1",
"Please Enter City"
]
],
[//Email
["minlen=1",
"Please Enter Email "
],
["email",
"Please Enter valid email "
]
],
[//Mobile
["num",
"Please Enter valid Mobile "
],
["minlen=10",
"Please Enter valid Mobile "
]
],
[//Area
["minlen=1",
"Please Enter Area of Work"
]
],
[//User
["minlen=1",
"Please Enter UserName "
]
],
[//Password
["minlen=1",
"Please Enter Password "
]
],
[//Que
],
[//Answer
["minlen=1",
"Please Enter Answer "
]
];
</SCRIPT>
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
<tr>
<td>Contact Person:</td>
<td><span id="sprytextfield8">
<label>
<input type="text" name="txtPerson" id="txtPerson" />
</label>
<span class="textfieldRequiredMsg">Enter Contact
Person</span></span></td>
</tr>
<tr>
<td>Address:</td>
<td><span id="sprytextarea1">
<label>
<textarea name="txtAddress" id="txtAddress" cols="45"
rows="5"></textarea>
</label>
<span class="textareaRequiredMsg">Enter
Address</span></span></td>
</tr>
<tr>
<td>City:</td>
<td><span id="sprytextfield4">
<label>
<input type="text" name="txtCity" id="txtCity" />
</label>
<span class="textfieldRequiredMsg">Enter
City</span></span></td>
</tr>
<tr>
<td>Email:</td>
<td><span id="sprytextfield5">
<label>
<input type="text" name="txtEmail" id="txtEmail" />
</label>
<span class="textfieldRequiredMsg">Enter
Email</span></span></td>
</tr>
<tr>
<td>Mobile:</td>
<td><span id="sprytextfield6">
<label>
<input type="text" name="txtMobile" id="txtMobile" />
</label>
<span class="textfieldRequiredMsg">Enter
Mobile</span></span></td>
</tr>
<tr>
<td>Area of Work: </td>
<td><span id="sprytextfield7">
<input type="text" name="txtAreaWork" id="txtAreaWork"
/>
<span class="textfieldRequiredMsg">Enter Area of
Work</span></span></td>
</tr>
<tr>
<td>User Name:</td>
<td><span id="sprytextfield9">
<label>
<input type="text" name="txtUserName" id="txtUserName"
/>
</label>
<span class="textfieldRequiredMsg">Enter User
Name</span></span></td>
</tr>
<tr>
<td>Password:</td>
<td><label><span id="sprytextfield10">
<input type="password" name="txtPassword"
id="txtPassword" />
<span class="textfieldRequiredMsg">Enter
Password</span></span></label></td>
</tr>
<tr>
<td>Security Question:</td>
<td><select name="cmbQue" id="cmbQue">
<option>What is Your Pet Name?</option>
<option selected="selected">Who is Your Favourite
Person?</option>
<option>What is the Name of Your First
School?</option>
</select></t
d>
</tr>
<tr>
<td>Answer:</td>
<td><span id="sprytextfield11">
<label>
<input type="text" name="txtAnswer" id="txtAnswer" />
</label>
<span class="textfieldRequiredMsg">Enter
Answer.</span></span></td>
</tr>
<tr>
<td colspan="2"><label>
<div align="center">
<input type="submit" name="button2" id="button2"
value="Submit" />
</div>
</label></td>
</tr>
</table>
</form>
</div>
<p> </p>
<?php
include "right.php"
?>
<?php
include "footer.php"
?>
</div> <!-- /main -->
<script type="text/javascript">
<!--
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1");
var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8");
var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6");
var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9");
var sprytextfield10 = new Spry.Widget.ValidationTextField("sprytextfield10");
var sprytextfield11 = new Spry.Widget.ValidationTextField("sprytextfield11");
//-->
</script>
</body>
</html>
<?xml version="1.0"?>
<!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" xml:lang="cs" lang="cs">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta http-equiv="content-language" content="cs" />
<meta name="robots" content="all,follow" />
<body id="www-url-cz">
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
<?php
include "right.php"
?>
<?php
include "footer.php"
?>
</div> <!-- /main -->
<script type="text/javascript">
<!--
var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4");
//-->
</script>
</body>
</html>
<body>
<?php
$Name=$_POST['txtName'];
$Address=$_POST['txtAddress'];
$City=$_POST['txtCity'];
$Email=$_POST['txtEmail'];
$Mobile=$_POST['txtMobile'];
$Qualification=$_POST['txtQualification'];
$Gender=$_POST['cmbGender'];
$BirthDate=$_POST['txtBirthDate'];
$path1 = $_FILES["txtFile"]["name"];
$Status="Pending";
$UserName=$_POST['txtUserName'];
$Password=$_POST['txtPassword'];
$Question=$_POST['cmbQue'];
$Answer=$_POST['txtAnswer'];
$UserType="JobSeeker";
if ($Qualification=="Other")
{
$Qualification=$_POST['txtOther'];
}
// move_uploaded_file($_FILES["txtFile"]["tmp_name"],"upload/" .$_FILES
["txtFile"]["name"]);
// Establish Connection with MYSQL
$con = mysqli_connect ("localhost","root","","job");
// Select Database mysql_select_db("job", $con);
// Specify the query to Insert Record
// $sql = "insert into
jobSeeker_reg(JobSeekerName,Address,City,Email,Mobile,Qualification,Gender,Bir
thDate,Resume,Status,UserName,Password,Question,Answer) values(
//'".$Name."','".$Address."','".$City."','".$Email."',".$Mobile.",'".$Qualific
ation."','".$Gender."',
//'".$BirthDate."','".$path1."','".$Status."','".$UserName."','".$Password."',
'".$Question."','".$Answer."')";
$sql="insert into
jobseeker_reg(JobSeekerName,Address,City,Email,Mobile,Qualification,Gender,Bir
thDate,Status,UserName,Password,Question,Answer) VALUES (
'$Name','$Address','$City','$Email','$Mobile','$Qualification','$Gender','$Bir
thDate','$Status','$UserName','$Password','$Question','$Answer'
)";
// execute query
// var_dump($sql);
if(mysqli_query ($con,$sql)){
?>
</body>
</html>
<body>
<?php
session_start();
$UserName=$_POST['txtUser'];
$Password=$_POST['txtPass'];
$UserType=$_POST['cmbUser'];
if($UserType=="Administrator")
{
$con = mysqli_connect("localhost","root","","job");
</body>
</html>
<html>
<frameset rows="25%,*">
<frame src="top.html" name="top" scrolling="no"
frameborder="0"></frame>
<frameset cols="255,75%">
<frame src="left.html" name="left" scrolling="no"
frameborder="0"></frame>
<frame src="right.html" name="right" scrolling="auto"
frameborder="0"></frame>
</frameset>
</frameset>
</html>
<h3 class="noscreen">Navigation</h3>
<ul class="box">
<li><a href="index.php">Home<span class="tab-l"></span><span
class="tab-r"></span></a></li>
<li><a href="AboutUs.php">About Us<span class="tab-
l"></span><span class="tab-r"></span></a></li>
<li><a href="Employer.php">Employer<span class="tab-
l"></span><span class="tab-r"></span></a></li>
<li><a href="JobSeeker.php">Job Seeker<span class="tab-
l"></span><span class="tab-r"></span></a></li>
<li><a href="News.php">Latest News<span class="tab-
l"></span><span class="tab-r"></span></a></li>
<li><a href="ContactUs.php">Contact Us<span class="tab-
l"></span><span class="tab-r"></span></a></li>
</ul>
<title>JOB PORTAL</title>
<meta name="description" content="..." />
<meta name="keywords" content="..." />
<body id="www-url-cz">
<!-- Main -->
<div id="main" class="box">
<?php
include "Header.php"
?>
<?php
include "menu.php"
?>
<!-- Page (2 columns) -->
<div id="page" class="box">
<div id="page-in" class="box">
<p>
<table width="100%" border="1" cellpadding="1" cellspacing="2"
bordercolor="#006699" >
<tr>
<th bgcolor="#006699" class="style3"> </th>
<th height="32" bgcolor="#006699" class="style3"><div align="left"
class="style9 style5 style2"><strong>News</strong></div></th>
<th bgcolor="#006699" class="style3"><div align="left" class="style9 style5
style2"><strong>News Date</strong></div></th>
</tr>
<?php
// Establish Connection with Database
$con = mysqli_connect("localhost","root","","job");
// Select Database
?>
<tr>
<td class="style3"><img src="design/ico_archive2.gif" alt="" width="9"
height="11" /></td>
<td class="style3"><div align="left" class="style9 style5"><strong><?php echo
$News;?></strong></div></td>
<td class="style3"><div align="left" class="style9 style5"><strong><?php echo
$NewsDate;?></strong></div></td>
</tr>
<?php
}
// Retrieve Number of records returned
$records = mysqli_num_rows($result);
?>
<?php
// Close the connection
mysqli_close($con);
?>
</table>
</td>
</tr>
</table>
</p>
<p class="btn-more box noprint"> </p>
</div> <!-- /article -->
<?php
include "right.php"
?>
<?php
include "footer.php"
?>
</div> <!-- /main -->
</body>
</html>
<div id="about-me">
<p><strong>JOB-PORTAL</strong></p>
<P>099-520612</P>
<p>982348094</p>
<p>jobportal.com<br />
</p>
<p><b>Bangalore, India</b></p>
<div class="login">
<form name="form1" method="post" action="login.php">
<table width="100%" border="0">
<tr>
<td><strong>User Name</strong></td>
</tr>
<tr>
<td><span id="sprytextfield1">
<label>
<input type="text" name="txtUser" id="txtUser">
</label>
<span class="textfieldRequiredMsg">*</span></span>
<label></label></td>
</tr>
<tr>
<td><strong>Password</strong></td>
</tr>
<tr>
<td><span id="sprytextfield2">
<label>
<input type="password" name="txtPass" id="txtPass">
</label>
<span class="textfieldRequiredMsg">*</span></span></td>
</tr>
<tr>
<td><strong>User Type</strong></td>
</tr>
<tr>
<td><label>
<select name="cmbUser" id="cmbUser">
<option value="JobSeeker">JobSeeker</option>
<option value="Employer" selected="selected">Employer</option>
<option value="Administrator">Administrator</option>
</select>
</label></td>
</tr>
<tr>
<td><label>
<div align="center">
<input type="submit" name="button" id="button" value="Login">
</div>
</label></td>
</tr>
<tr>
<td>
<div align="center"><a href="Forget.php"><strong>Forgot Password?
</strong></a></div>
</td>
</tr>
</table>
</form>
</div>
<br />
<body>
<?php
echo date("Y-m-d")."<br/>";
?>
</body>
</html>
<div id="about-me">
<p><strong>JOB-PORTAL</strong></p>
<P>099-520612</P>
<p>982348094</p>
<p>jobportal.com<br />
</p>
<p><b>Bangalore, India</b></p>