Академический Документы
Профессиональный Документы
Культура Документы
PHP
<html>
<head>
<title>SAHAYAK:Maids For Aid</title>
<style type="text/css">
#one
{
color:white;
font-family:elephant;
font-size:25;
}
#two
{
color:white;
font-family:elephant;
font-size:18;
}
</style>
</head>
<body bgcolor=#14587#>
<a name=hm><font color=#14587#>hm</font></a>
<table cellspacing=10 cellpadding=10 align=left
height=10%>
<tr bgcolor="white">
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'">
<a href="#hm">HOME</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a href="#ABt">ABOUT
US</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a href="#wu">WHY
US</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a
href="#wwp">WHAT WE PROVIDE</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a href="#crg">OUR
CHARGES</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a
href="#cnt">CONTACT US</a></th>
</tr>
</table> <table align="right" cellspacing=10 cellpadding=10
height=10%>
<tr bgcolor=white>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a
href="register.php">REGISTER MAID</a></th>
<th onmouseover="this.bgColor='#428099'"
onmouseout="this.bgColor='white'"><a
href="book.php">LOOK FOR MAID </a></th>
</tr>
</table>
<br><br><br><br>
<center>
<img src=2.jpg align=center width=30%><br>
<img src=title.jpg align=center height=25% width=30%
style=background-color:999999>
<font face="Goudy Stout" color="#14587#">
<h1 align=center style=background-color:white>Maids For
Aid</h1>
</font>
</center>
</div>
ABOUT US PAGE
<div style="background-color:white;height=120%">
<br><br>
<font face="Goudy Stout" color="#14587#">
<h1 align=center><a name=abt>ABOUT US</a></h1>
</font>
<br><br><br><br>
<p align=center>
<font face="Elephant" color="428099" size=5>
Sahayak is a place where you can find maids for daily or
ocassional purpose.<br> This organization was established
on 25th JAN 2019.<br> Sahayak is presently working in
Jaipur.<br> At present there are 28 employees working with
Sahayak.<br> There are many people who are registered
under our organization and using our services.<br> Some
localities where our services are available are Sanganer,
Mansarover, Malviya Nagar, Vaishali Nagar.<br> Soon our
services will be provided all over Rajasthan.
<br><br><br>
<marquee direction=left height=30% behavior=scroll>
<img src=m1.jpg
height=70%>
<img src=m2.jpg height=70%>
<img src=m3.jpg height=70%>
<img src=c1.jpg height=70%>
<img src=c2.jpg height=70%>
<img src=c3.jpg height=70%>
<img src=ec1.jpg height=70%>
<img src=ec2.jpg height=70%>
<img src=ec4.jpg height=70%>
<img src=bs1.jpg height=70%>
<img src=bs2.jpg height=70%>
<img src=bs3.jpg height=70%>
</marquee>
</font>
</p>
<a href=#hm>GoToHome</a>
<br><br><br><br><br>
</div>
WHY US
</div>
WHAT WE PROVIDE PAGE
</div>
OUR CHARGES
<div style="background-color:white;">
<br>
<hr color="#14587#" width=100%>
<br>
<font face="Goudy Stout" color="#14587#">
<h1 align=center><a name=crg>OUR CHARGES</a></h1>
</font>
<br><br>
<table cellspacing=10 align=center cellpading=2 width=80%
height=80%>
<tr bgcolor=#14587#>
<th align=center id=one><u>SERVICE</u></th>
<th align=center id=one><u>FACILITY</u></th><th
align=center id=one><u>CHARGES(per month)</u></th>
</tr>
<tr bgcolor=lightblue>
<td align=center id=one rowspan=2>MAID</td>
<td align=center id=two>Part Time(1/2 hours
everyday)</td>
<td align=center id=two>Rs. 4000</td>
</tr>
<tr bgcolor=lightblue>
<td align=center id=two>Full Time(10/24 hours
everyday)</td>
<td align=center id=two>Rs. 9000</td>
</tr>
<tr bgcolor=428099>
<td align=center id=one rowspan=2>COOK</td>
<td align=center id=two>One Time A
Day(morning/night)</td>
<td align=center id=two>Rs. 5000</td>
</tr>
<tr bgcolor=428099>
<td align=center id=two>Full Time(10/24 hours)</td>
<td align=center id=two>Rs. 10000</td>
</tr>
<tr bgcolor=pink>
<td align=center id=one rowspan=2>BABY SITTER</td>
<td align=center id=two>Part Time(4/5 hours
everyday)</td>
<td align=center id=two>Rs. 6000</td>
</tr>
<tr bgcolor=pink>
<td align=center id=two>Full Time(10/24 hours)</td>
<td align=center id=two>Rs. 12000</td>
</tr>
<tr bgcolor=#989CB>
<td align=center id=one rowspan=2>ELDERLY CARE</td>
<td align=center id=two>Part Time(5/10 hours)</td>
<td align=center id=two>Rs.8000</td>
</tr>
<tr bgcolor=#989CB>
<td align=center id=two>Full Time</td>
<td align=center id=two>Rs. 15000</td>
</tr>
</table>
<br>
<a href=#hm>GoToHome</a>
<br><br>
</div>
CONTACT US PAGE
<div style=background-color:"#14587#">
<br><br>
<font face="Goudy Stout" color=white>
<h1 align=center><a name=cnt>CONTACT US</a></h1>
</font>
<br><br>
<table cellspacing=5 cellpadding=3 align=center>
<tr>
<th align=right id=one>WEBSITE :</th> <td
id=one> www.sahayakMaidsForAid.com</td>
</tr>
<tr>
<th align=right id=one>E-MAIL :</th><td
id=one> sahayakMaidsForAid.gmail.com</td>
</tr>
<tr>
<th align=right id=one>FACEBOOK :</th><td
id=one> Sahayakorg.facebook</td>
<tr>
<th align=right id=one>INSTAGRAM :</th><td
id=one> Maids_For_Aid</td>
</tr>
</table>
<a href=#hm
style=background-color:white> GoToHome </a>
<img src="insta.jpg" align=right width=3%
height=5%>
<img src="fb.png" align=right width=3%
height=5%>
<img src="gm.png" align=right width=3%
height=5%>
<br><br>
</div>
</body>
</html>
BOOKMAIDS.PHP
<html>
<head>
<title>Book Your Servise</title>
<style type=text/css>
#sty
{
font-size:25;
color:white;
font-family:Impact;
}
#sty1
{
font-size=30;
color:grey;
font-family:Impact;
}
#sty2
{
width=50%;
background-color:#428099;
}
#sty3
{
background-color:white;
color:#428099;
}
#a
{
font-size:20;
background-color:white;
}
</style>
<script language="javascript">
function check()
{
if(document.frm.txt1.value=="")
alert("Enter Name");
if(document.frm.txt2.value=="")
alert("Enter Mobile No.");
if(document.frm.txt2.value!=parseInt(document.frm.txt2.val
ue))
alert("Please Enter numeric value for mobile no.");
if(document.frm.txt3.value=="")
alert("Enter Email id");
if(document.frm.txt4.value=="")
alert("Enter Address");
}
</script>
</head>
<body bgcolor=white>
<h1 align=center style="color:#428099;">ENTER YOUR
DETAILS AND REQUIREMENTS</h1><br><br><br>
<div id=sty2>
<form method=post name=frm action="lookformaid.php">
<table align=center cellspacing=4 cellpadding=10
height=40% id=sty width=40%>
<tr>
<td align=right>ENTER NAME</td>
<td><input type=text name=txt1></td>
</tr>
<tr>
<td align=right>ENTER PhnNo.</td>
<td><input type=text name=txt2 maxlength=10></td>
</tr>
<tr>
<td align=right>ENTER EMAIL ID</td>
<td><input type=text name=txt3></td>
</tr>
<tr>
<td align=right>ENTER ADDRESS</td>
<td><input type=text name=txt4></td>
</tr>
<tr id=sty3>
<td colspan=2 align=center>GENDER</td>
</tr>
<tr>
<td align=center><input type=radio name=g value=Male
checked> MALE</td>
<td align=center><input type=radio name=g
value=Female> FEMALE</td>
</tr>
<tr id=sty3>
<td colspan=2 align=center>SELECT YOUR LOCALITY /
NEAREST LOCALITY</td>
</tr>
<tr>
<td align=center><input type=radio name=rd
value="Sanganer" checked> Sanganer</td>
<td align=center><input type=radio name=rd
value="Vaishali Nagar"> Vaishali Nagar</td>
</tr>
<tr>
<td align=center><input type=radio name=rd
value="Mansarover"> Mansarover</td>
<td align=center><input type=radio name=rd
value="Malviya Nagar"> Malviya Nagar</td>
</tr>
<tr>
<td align=right >CHOOSE YOUR SERVICES</td>
<td align=center>
<select name=ser id=sty3>
<option name="Maid(cleaning)"> Maid(Cleaning)</option>
<option name="cook">cook</option>
<option name="Baby Sitter">Baby Sitter</option>
<option name="Elderly Care">Elderly Care</option>
</select>
</td></tr>
<tr id=sty3>
<td align=center colspan=2>TIME
REQUIREMENTS
<select id=sty1 name=time>
<option>P A R T T I M E</option>
<option>F U L L T I M E</option>
</td>
</tr>
<tr>
<td align=right rowspan=2><br><input type=submit
name=sub onClick=check()></td>
<td align=left rowspan=2><br><input type=reset
name=res></td>
</tr>
</table>
</form>
<a href="home.php" id=a>Go Back To Home</a><br>
</div>
</body></html>
LOOKFORMAID.PHP
<?php
if(isset($_POST['sub']))
{
$n=$_POST['txt1'];
$no=$_POST['txt2'];
$id=$_POST['txt3'];
$add=$_POST['txt4'];
$g=$_POST['g'];
$loc=$_POST['rd'];
$ser=$_POST['ser'];
$tm=$_POST['time'];
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sql="INSERT INTO users VALUES
('$n','$no','$id','$add','$g','$loc','$ser','$tm')";
$sel="SELECT * FROM enter_detail WHERE locality='$loc'
AND service='$ser'";
if(mysqli_query($conn,$sql))
{
$res=mysqli_query($conn,$sel);
echo "<font color=#14587#><center><h3><b>Thanks!</b>
$n for connecting with Sahayak.<br><br>Employes
according to your requirment are: </h3><br> </center>";
if(mysqli_num_rows($res)>0)
{
echo "<table border=2 align=center cellpadding=10>
<tr><td>e_id</td><td>name</td><td>age</td><td>gender<
/td><td>mobile_no</td><td>address</td>
<td>locality</td><td>work</td><td>status</td></tr>";
while($row=mysqli_fetch_assoc($res))
echo "<tr><td>".$row['e_id']."
</td><td>".$row['name']."</td><td>
".$row['age']."</td><td>".$row['gender']." </td><td>
".$row['mobile_no']." </td><td> ".$row['address']."
</td><td> ".$row['locality']." </td><td> ".$row['service']."
</td><td> ".$row['status']." </td></tr> ";
echo "</table></font>";
echo "<center><br><br><br><a href=home.php>Go To
Home</a></center>";
}
}
else
echo "Error".mysqli_error($conn);
mysqli_close($conn);
}
?>
REGISTER.PHP
<html>
<head>
<title>Register Maid</title>
<style type=text/css>
#sty
{
font-size:25;
color:#428099;
font-family:Impact;
}
#sty1
{
font-size=30;
color:grey;
font-family:Impact;
}
#sty2
{
width=50%;
background-color:white;
}
#sty3
{
background-color:#428099;
color:white;
}
#a
{
font-size:20;
background-color:#428099;
color:white;
}
</style>
<script language=javascript>
function check()
{
if(document.frm.txt1.value=="")
{alert("Enter Name");}
if(document.frm.txt2.value=="")
{
alert("Enter mobile no");
}
if(document.frm.txt2.value!=parseInt(document.frm.txt2.val
ue))
{ alert("Enter number value for Phn no."); }
if(document.frm.txt3.value=="")
{ alert("Enter Age");}
if(document.frm.txt3.value!=parseInt(document.frm.txt3.val
ue))
{ alert("Enter number value for age"); }
if(document.frm.txt4.value=="")
{ alert("Enter ADDRESS");}
}
</script>
</head>
<body bgcolor=#428099>
<h1 align=center style="color:white;">ENTER YOUR DETAILS
TO GET YOURSELF REGISTERED WIHT SAHAYAK AS AN
EMPLOYEE</h1><br><br><br>
<div id=sty2>
<form method=POST name=frm action="registration.php">
<table align=center cellspacing=4 cellpadding=10
height=40% id=sty width=40%>
<tr>
<td align=right>ENTER NAME</td>
<td><input type=text name=txt1></td>
</tr>
<tr>
<td align=right>ENTER PhnNo.</td>
<td><input type=text name=txt2 maxlength=10></td>
</tr>
<tr>
<td align=right>ENTER AGE</td>
<td><input type=text name=txt3 maxlength=2></td>
</tr>
<tr>
<td align=right>ENTER ADDRESS</td>
<td><input type=text name=txt4></td>
</tr>
<tr id=sty3>
<td colspan=2 align=center>GENDER</td>
</tr>
<tr>
<td align=center><input type=radio name=g value="Male"
checked> MALE</td>
<td align=center><input type=radio name=g
value="Female"> FEMALE</td>
</tr>
<tr>
<td align=right >CHOOSE YOUR SERVICES</td>
<?php
if(isset($_POST['sub']))
{
$n=$_POST['txt1'];
$no=$_POST['txt2'];
$a=$_POST['txt3'];
$add=$_POST['txt4'];
$g=$_POST['g'];
$ser=$_POST['ser'];
$st=$_POST['st'];
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sql="INSERT INTO register VALUES
('$n','$no','$a','$add','$g','$ser','$st')";
if(mysqli_query($conn,$sql))
{
}
else
echo "Error".mysqli_error($conn);
mysqli_close($conn);
}
?>
MAIDS.PHP
<?php
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sel="SELECT * FROM enter_detail WHERE
service='Maid(cleaning)'";
$res=mysqli_query($conn,$sel);
echo "<font color=#14587#><center><h1>Maids registered
with our organization</h1></center>";
if(mysqli_num_rows($res)>0)
{
echo "<table border=1 align=center height=60%
cellpadding=10>
<tr><th>E_id</th><th>Name</th><th>age</th><td>Gender
</th><th>Mobile_no</th><th>Address</th>
<th>Locality</th><th>Work</th><th>Status</th></tr>";
while($row=mysqli_fetch_assoc($res))
echo "<tr><td>".$row['e_id']."
</td><td>".$row['name']."</td><td>
".$row['age']."</td><td>".$row['gender']." </td><td>
".$row['mobile_no']." </td><td> ".$row['address']."
</td><td> ".$row['locality']." </td><td> ".$row['service']."
</td><td> ".$row['status']." </td></tr> ";
echo "</table></font>";
echo "<center><br><br><br><a href=home.php#wwp>Go
Back</a></center>";
}
else
{
echo "No Employee available at present as your
requirment.";
}
mysqli_close($conn);
?>
COOK.PHP
<?php
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sel="SELECT * FROM enter_detail WHERE service='cook'";
$res=mysqli_query($conn,$sel);
echo "<center><font color=#14587#><h1>Cooks registered
with our organization</h1></center>";
if(mysqli_num_rows($res)>0)
{
echo "<table border=1 align=center height=60%
cellpadding=10>
<tr><th>E_id</th><th>Name</th><th>age</th><td>Gender
</th><th>Mobile_no</th><th>Address</th>
<th>Locality</th><th>Work</th><th>Status</th></tr>";
while($row=mysqli_fetch_assoc($res))
echo "<tr><td>".$row['e_id']."
</td><td>".$row['name']."</td><td>
".$row['age']."</td><td>".$row['gender']." </td><td>
".$row['mobile_no']." </td><td> ".$row['address']."
</td><td> ".$row['locality']." </td><td> ".$row['service']."
</td><td> ".$row['status']." </td></tr> ";
echo "</table></font>";
echo "<center><br><br><br><a href=home.php#wwp>Go
Back</a></center>";
}
else
{
echo "No Employee available at present as your
requirment.";
}
mysqli_close($conn);
?>
BABYSIT.PHP
<?php
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sel="SELECT * FROM enter_detail WHERE service='Baby
Sitter'";
$res=mysqli_query($conn,$sel);
echo "<center><font color=#14587#><h1>Baby Sitters
registered with our organization</h1></center>";
if(mysqli_num_rows($res)>0)
{
echo "<table border=1 align=center height=60%
cellpadding=10>
<tr><th>E_id</th><th>Name</th><th>age</th><td>Gender
</th><th>Mobile_no</th><th>Address</th>
<th>Locality</th><th>Work</th><th>Status</th></tr>";
while($row=mysqli_fetch_assoc($res))
echo "<tr><td>".$row['e_id']."
</td><td>".$row['name']."</td><td>
".$row['age']."</td><td>".$row['gender']." </td><td>
".$row['mobile_no']." </td><td> ".$row['address']."
</td><td> ".$row['locality']." </td><td> ".$row['service']."
</td><td> ".$row['status']." </td></tr> ";
echo "</table></font>";
echo "<center><br><br><br><a href=home.php#wwp>Go
Back</a></center>";
}
else
{
echo "No Employee available at present as your
requirment.";
}
mysqli_close($conn);
?>
ELDER.PHP
<?php
$conn=mysqli_connect("localhost","root","1234","sahayak")
;
if(!$conn)
{
die("Connection Failed".mysqli_error($conn));
}
$sel="SELECT * FROM enter_detail WHERE service='Elderly
Care'";
$res=mysqli_query($conn,$sel);
echo "<font color=#14587#><center><h1>Employees for
elderly care registered with our
organization</h1></center>";
if(mysqli_num_rows($res)>0)
{
echo "<table border=1 align=center height=60%
cellpadding=10>
<tr><th>E_id</th><th>Name</th><th>age</th><td>Gender
</th><th>Mobile_no</th><th>Address</th>
<th>Locality</th><th>Work</th><th>Status</th></tr>";
while($row=mysqli_fetch_assoc($res))
echo "<tr><td>".$row['e_id']."
</td><td>".$row['name']."</td><td>
".$row['age']."</td><td>".$row['gender']." </td><td>
".$row['mobile_no']." </td><td> ".$row['address']."
</td><td> ".$row['locality']." </td><td> ".$row['service']."
</td><td> ".$row['status']." </td></tr> ";
echo "</table></font>";
echo "<center><br><br><br><a href=home.php#wwp>Go
Back</a></center>";
}
else
{
echo "No Employee available at present as
your requirment.";
}
mysqli_close($conn);
?>