Saturday, 9 May 2015

This website works as one bloc to access all the services. During organize an event people have to face problems by going different shops for ordering. This cause wastage of time, petrol, money and produce anxious. Now people sit at home can order service for a event. This also increase the transparency of prices of items. Different vendor also integrate with this website.

Event Management is a online website that is use for searching all services required for organize an event. This site include main part Admin section, User section and Vendor  section. Admin can view all services and make changes in the entire site. User can view all services as well as book services and edit their account. Vendor can view booked services, confirm services and make changes in their account.

A vendor can create his account on his site and book the order according to their schedule. He
can see all the order that are available for the booking and book an order. ADMIN end can
manage the entire site. He can see all the orders booked by the client and can view which
services are booked by the vendors and which services are pending for booking.


Total Event Management

This website works as one bloc to access all the services. During organize an event people have to face problems by going different shops for ordering. This cause wastage of time, petrol, money and produce anxious. Now people sit at home can order service for a event. This also increase the transparency of prices of items. Different vendor also integrate with this website.

Event Management is a online website that is use for searching all services required for organize an event. This site include main part Admin section, User section and Vendor  section. Admin can view all services and make changes in the entire site. User can view all services as well as book services and edit their account. Vendor can view booked services, confirm services and make changes in their account.

A vendor can create his account on his site and book the order according to their schedule. He
can see all the order that are available for the booking and book an order. ADMIN end can
manage the entire site. He can see all the orders booked by the client and can view which
services are booked by the vendors and which services are pending for booking.


This entry was posted in :

Friday, 8 May 2015


City Table


Thursday, 7 May 2015

Sunday, 3 May 2015

Thursday, 30 April 2015


After Entering email id and password.


Welcome page


After Entering email id and password.


Monday, 27 April 2015

Start Wamp Server.
Activate all services.
Open Browser
Enter address:http://localhost/ibuyhome/admin/ibuyhome/



login page

Start Wamp Server.
Activate all services.
Open Browser
Enter address:http://localhost/ibuyhome/admin/ibuyhome/



Thursday, 23 April 2015

<?php
session_start();
mysql_connect('localhost','root');
mysql_select_db('ibuyhome');
$query="select name,address,email,contact from property_owner where owner_id=".$_SESSION['id'];
$row=mysql_query($query);
$result=mysql_fetch_array($row);
if(isset($_POST['click']))
{
$query="update property_owner set name='".$_POST['name']."',address='".$_POST['address']."',email='".$_POST['emailid']."',contact='".$_POST['contact']."' where owner_id=".$_SESSION['id'];
$k=mysql_query($query);
if($k)
{
echo("information updated");
header('location:dashowner1.php');
}
else
{
mysql_error();
}
}

?>
<html>
<head>
<script type="text/javascript">
function chk()
{

if(chk1() && chk2())
{
 if(chk3())
 {
if(chk4())
{
if(chk5())
{
return true;
}
}
}
}
return false;
 }
function chk1()
{
var elem=document.getElementById("txt1");
  if(elem.value=="")
  {
  document.getElementById("a").innerHTML="please enter name!";
   return false;
  }
  else
 {
document.getElementById("a").innerHTML="";
return true;
 }
 }
 function chk2()
{
var elem=document.getElementById("txt1");
var alphaExp=/^[a-zA-Z]+$/;
if(elem.value.match(alphaExp))
{
 document.getElementById("a").innerHTML="";
return true;
  }
else
  {
document.getElementById("a").innerHTML="please enter only alphabets!";
elem.focus();
 return false;
  }
  }
 function chk3()
{
var elem=document.getElementById("txt2");
  if(elem.value=="")
  {
  document.getElementById("b").innerHTML="please enter name!";
   return false;
  }
  else
 {
document.getElementById("b").innerHTML="";
return true;
 }
 }
 function chk4()
{
var elem=document.getElementById("txt3");
var alphaExp = /^([A-Za-z0-9\-\.\_])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
if(elem.value.match(alphaExp))
{
 document.getElementById("c").innerHTML="";
return true;
  }
else
  {
document.getElementById("c").innerHTML="please enter valid email!";
elem.focus();
 return false;
 }
 }
 function chk5()
  {
  var elem=document.getElementById("txt4");
  var alphaExp=/^\d{10}$/;
  if(elem.value.match(alphaExp))
  {
  document.getElementById("d").innerHTML="";
return true;
}
else
{
document.getElementById("d").innerHTML="enter mobile no of 10 digits !";
elem.focus();
 return false;
  }
 }
</script>
</head>
<body><div>
<form method="post" onsubmit="return chk();"/>

            <table border="0">

                <tbody>
                    <tr>
                        <td>NAME:</td>
                      <?php  "<td><input type='text' name='name' id='txt1' value=".$result['name']." /><span id='a'></span></td>";?>
                    </tr>
                    <tr>
                        <td>ADDRESS:</td>
                        <?php  "<td><input type='text' name='address' id='txt2' value=".$result['address']." /><span id='b'></span></td>";?>
                    </tr>
                    <tr>
                        <td>EMAIL-ID:</td>
                         <?php  "<td><input type='text' name='emailid' id='txt3' value=".$result['email']." /><span id='c'></span></td>";?>
                    </tr>
                   <tr>
                        <td>CONTACT:</td>
                         <?php  "<td><input type='text' name='contact' id='txt4' value=".$result['contact']." /><span id='d'></span></td>";?>
                    </tr>
<tr>
                        <td><input type="submit" value="UPDATE" name="click" /></td>
                         <td><input type="reset" value="CANCEL" /></td>
                    </tr>
                </tbody>
            </table>

        </form>
</div>
</body>
</html>

updateowner.php

<?php
session_start();
mysql_connect('localhost','root');
mysql_select_db('ibuyhome');
$query="select name,address,email,contact from property_owner where owner_id=".$_SESSION['id'];
$row=mysql_query($query);
$result=mysql_fetch_array($row);
if(isset($_POST['click']))
{
$query="update property_owner set name='".$_POST['name']."',address='".$_POST['address']."',email='".$_POST['emailid']."',contact='".$_POST['contact']."' where owner_id=".$_SESSION['id'];
$k=mysql_query($query);
if($k)
{
echo("information updated");
header('location:dashowner1.php');
}
else
{
mysql_error();
}
}

?>
<html>
<head>
<script type="text/javascript">
function chk()
{

if(chk1() && chk2())
{
 if(chk3())
 {
if(chk4())
{
if(chk5())
{
return true;
}
}
}
}
return false;
 }
function chk1()
{
var elem=document.getElementById("txt1");
  if(elem.value=="")
  {
  document.getElementById("a").innerHTML="please enter name!";
   return false;
  }
  else
 {
document.getElementById("a").innerHTML="";
return true;
 }
 }
 function chk2()
{
var elem=document.getElementById("txt1");
var alphaExp=/^[a-zA-Z]+$/;
if(elem.value.match(alphaExp))
{
 document.getElementById("a").innerHTML="";
return true;
  }
else
  {
document.getElementById("a").innerHTML="please enter only alphabets!";
elem.focus();
 return false;
  }
  }
 function chk3()
{
var elem=document.getElementById("txt2");
  if(elem.value=="")
  {
  document.getElementById("b").innerHTML="please enter name!";
   return false;
  }
  else
 {
document.getElementById("b").innerHTML="";
return true;
 }
 }
 function chk4()
{
var elem=document.getElementById("txt3");
var alphaExp = /^([A-Za-z0-9\-\.\_])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
if(elem.value.match(alphaExp))
{
 document.getElementById("c").innerHTML="";
return true;
  }
else
  {
document.getElementById("c").innerHTML="please enter valid email!";
elem.focus();
 return false;
 }
 }
 function chk5()
  {
  var elem=document.getElementById("txt4");
  var alphaExp=/^\d{10}$/;
  if(elem.value.match(alphaExp))
  {
  document.getElementById("d").innerHTML="";
return true;
}
else
{
document.getElementById("d").innerHTML="enter mobile no of 10 digits !";
elem.focus();
 return false;
  }
 }
</script>
</head>
<body><div>
<form method="post" onsubmit="return chk();"/>

            <table border="0">

                <tbody>
                    <tr>
                        <td>NAME:</td>
                      <?php  "<td><input type='text' name='name' id='txt1' value=".$result['name']." /><span id='a'></span></td>";?>
                    </tr>
                    <tr>
                        <td>ADDRESS:</td>
                        <?php  "<td><input type='text' name='address' id='txt2' value=".$result['address']." /><span id='b'></span></td>";?>
                    </tr>
                    <tr>
                        <td>EMAIL-ID:</td>
                         <?php  "<td><input type='text' name='emailid' id='txt3' value=".$result['email']." /><span id='c'></span></td>";?>
                    </tr>
                   <tr>
                        <td>CONTACT:</td>
                         <?php  "<td><input type='text' name='contact' id='txt4' value=".$result['contact']." /><span id='d'></span></td>";?>
                    </tr>
<tr>
                        <td><input type="submit" value="UPDATE" name="click" /></td>
                         <td><input type="reset" value="CANCEL" /></td>
                    </tr>
                </tbody>
            </table>

        </form>
</div>
</body>
</html>

Monday, 20 April 2015

<?php
include ('connect.php');
?>
<html>
<head>
<style type="text/css">
span
{
font-size:20px;
font-family:Lucida Handwriting;
font-style:oblique;
font-weight:bold
}
</style>
</head>
<body>
<div>
<table border="0">
          <thead>
              <tr>
                  <th>PHOTO OF PROPERTY</th>
                  <th>ABOUT PROPERTY</th>
              </tr>
          </thead>
 <tbody>
<?php
session_start();
$query="SELECT *,states.statename,city.cityname,property_owner.name as oname,property_type.p_type from property_registration join states on states.stateid=
property_registration.state_id join city on city.cityid=property_registration.city_id join property_type on property_type.p_id=
property_registration.p_type join property_owner on property_registration.p_owner=property_owner.owner_id where owner_id='".$_SESSION ['id']."'";
$data=mysql_query($query);
while ($row=mysql_fetch_array ($data))
{

         
          echo"<tr>";
           echo"<td><img src='properties\'".$row['photo']." width='200px' height='250px' alt='Sorry image cannot be displayed'/>
                  </td>";
                  echo"<td><span>OWNER NAME:".$row['oname']."</span><br/>

 <span>PROPERTY ADDRESS:".$row['p_address']."</span><br/>
 <span>STATE:".$row['statename']."</span><br/>
 <span>CITY:".$row['cityname']."</span><br/>
 <span>PROPERTY FOR:".$row['p_type']."</span><br/>
 <span>CONTACT NO:".$row['contact']."</span><br/>
   <span><a href='editowner.php?oid=".$row['reg_id']."'>EDIT PROPERTY</a></span><br/>
 <span><a href='deletepro.php?oid=".$row['reg_id']."'>DELETE PROPERTY</a></span></td>";
            echo"</tr>";
}
?>
          </tbody>
      </table>

</div>
</body>
</html>

updateproperty.php

<?php
include ('connect.php');
?>
<html>
<head>
<style type="text/css">
span
{
font-size:20px;
font-family:Lucida Handwriting;
font-style:oblique;
font-weight:bold
}
</style>
</head>
<body>
<div>
<table border="0">
          <thead>
              <tr>
                  <th>PHOTO OF PROPERTY</th>
                  <th>ABOUT PROPERTY</th>
              </tr>
          </thead>
 <tbody>
<?php
session_start();
$query="SELECT *,states.statename,city.cityname,property_owner.name as oname,property_type.p_type from property_registration join states on states.stateid=
property_registration.state_id join city on city.cityid=property_registration.city_id join property_type on property_type.p_id=
property_registration.p_type join property_owner on property_registration.p_owner=property_owner.owner_id where owner_id='".$_SESSION ['id']."'";
$data=mysql_query($query);
while ($row=mysql_fetch_array ($data))
{

         
          echo"<tr>";
           echo"<td><img src='properties\'".$row['photo']." width='200px' height='250px' alt='Sorry image cannot be displayed'/>
                  </td>";
                  echo"<td><span>OWNER NAME:".$row['oname']."</span><br/>

 <span>PROPERTY ADDRESS:".$row['p_address']."</span><br/>
 <span>STATE:".$row['statename']."</span><br/>
 <span>CITY:".$row['cityname']."</span><br/>
 <span>PROPERTY FOR:".$row['p_type']."</span><br/>
 <span>CONTACT NO:".$row['contact']."</span><br/>
   <span><a href='editowner.php?oid=".$row['reg_id']."'>EDIT PROPERTY</a></span><br/>
 <span><a href='deletepro.php?oid=".$row['reg_id']."'>DELETE PROPERTY</a></span></td>";
            echo"</tr>";
}
?>
          </tbody>
      </table>

</div>
</body>
</html>