Search
Search
Search
Search
Information
Information
Light
Dark
Open actions menu
Basic upload method
Bypass upload method
Tips!
If you encounter an error (by firewall) while uploading using both methods,
try changing extension of the file before uploading it and rename it right after.
This uploader supports multiple file upload.
Submit
~
home
u619466350
domains
a1toursandtravels.com
public_html
File Content:
view_projects.php
<?php include('admin/config/connection_config.php'); $id = $_GET['id']; //$q1a = "Select * from add_project_tb where hot='yes' && online='yes' && id='$id' order by id desc limit 0,4"; $q1a = "Select * from add_project_tb where id='$id' order by id desc"; $run1a = mysqli_query($con,$q1a); $num_rows = mysqli_num_rows($run1a); if($num_rows==0){} else { while($row = mysqli_fetch_array($run1a)){ $id = $row['id']; $phone = $row['phone']; $email = $row['email']; $address = $row['address']; $proaddress = $row['proaddress']; $property = $row['property']; $ptype = $row['ptype']; $sptype = $row['sptype']; $project_title = $row['project_title']; $price = $row['price']; $units = $row['units']; $tower = $row['tower']; $possession_status = $row['possession_status']; $avform22 = $row['avform']; $var333 = $avform22; $avform = date('M Y', strtotime($var333)); $super_area = $row['super_area']; $super_area_unit = $row['super_area_unit']; $discription = $row['discription']; $bhk_type = $row['bhk_type']; $specification = $row['specification']; $builder = $row['builder']; $BHK1 = $row['BHK1']; $super_area1 = $row['super_area1']; $super_area_unit1 = $row['super_area_unit1']; $bathroom1 = $row['bathroom1']; $balconies1 = $row['balconies1']; $type1 = $row['type1']; $BHK2 = $row['BHK2']; $super_area2 = $row['super_area2']; $super_area_unit2 = $row['super_area_unit2']; $bathroom2 = $row['bathroom2']; $balconies2 = $row['balconies2']; $type2 = $row['type2']; $BHK3 = $row['BHK3']; $super_area3 = $row['super_area3']; $super_area_unit3 = $row['super_area_unit3']; $bathroom3 = $row['bathroom3']; $balconies3 = $row['balconies3']; $type3 = $row['type3']; $BHK4 = $row['BHK4']; $super_area4 = $row['super_area4']; $super_area_unit4 = $row['super_area_unit4']; $bathroom4 = $row['bathroom4']; $balconies4 = $row['balconies4']; $type4 = $row['type4']; $BHK5 = $row['BHK5']; $super_area5 = $row['super_area5']; $super_area_unit5 = $row['super_area_unit5']; $bathroom5 = $row['bathroom5']; $balconies5 = $row['balconies5']; $type5 = $row['type5']; $BHK6 = $row['BHK6']; $super_area6 = $row['super_area6']; $super_area_unit6 = $row['super_area_unit6']; $bathroom6 = $row['bathroom6']; $balconies6 = $row['balconies6']; $type6 = $row['type6']; $BHK7 = $row['BHK7']; $super_area7 = $row['super_area7']; $super_area_unit7 = $row['super_area_unit7']; $bathroom7 = $row['bathroom7']; $balconies7 = $row['balconies7']; $type7 = $row['type7']; $BHK8 = $row['BHK8']; $super_area8 = $row['super_area8']; $super_area_unit8 = $row['super_area_unit8']; $bathroom8 = $row['bathroom8']; $balconies8 = $row['balconies8']; $type8 = $row['type8']; $crore1 = $row['crore1']; $lac1 = $row['lac1']; $thousand1 = $row['thousand1']; $crore2 = $row['crore2']; $lac2 = $row['lac2']; $thousand2 = $row['thousand2']; $crore3 = $row['crore3']; $lac3 = $row['lac3']; $thousand3 = $row['thousand3']; $crore4 = $row['crore4']; $lac4 = $row['lac4']; $thousand4 = $row['thousand4']; $crore5 = $row['crore5']; $lac5 = $row['lac5']; $thousand5 = $row['thousand5']; $crore6 = $row['crore6']; $lac6 = $row['lac6']; $thousand6 = $row['thousand6']; $crore7 = $row['crore7']; $lac7 = $row['lac7']; $thousand7 = $row['thousand7']; $crore8 = $row['crore8']; $lac8 = $row['lac8']; $thousand8 = $row['thousand8']; $path1 = $row['path1']; $path2 = $row['path2']; $path3 = $row['path3']; $path4 = $row['path4']; $prise_list = $row['path5']; $path6 = $row['path6']; $path7 = $row['path7']; $brochure = $row['path8']; $path9 = $row['path9']; $path10 = $row['path10']; $path10a = $row['path10a']; $path11 = $row['path11']; $path12 = $row['path12']; $path13 = $row['path13']; $path14 = $row['path14']; $path15 = $row['path15']; $path16 = $row['path16']; $path17 = $row['path17']; $path18 = $row['path18']; $floor_path1 = $row['floor_path0']; $floor_path2 = $row['floor_path1']; $floor_path3 = $row['floor_path2']; $floor_path4 = $row['floor_path3']; $floor_path5 = $row['floor_path4']; $floor_path6 = $row['floor_path5']; $floor_path7 = $row['floor_path6']; $floor_path8 = $row['floor_path7']; $hot = $row['hot']; $online = $row['online']; $amenities = $row['amenities']; //$dbconvenience = explode(',', $row["convenience"]); //$dbsports = explode(',', $row["sports"]); //$dbentertainment = explode(',', $row["entertainment"]); $sql = "SELECT * FROM member_tb where email='$email' "; $row = mysqli_fetch_assoc( mysqli_query($con,$sql) ); $account_type = $row['account_type']; } } //----page url link get-----// function curPageURL() { $pageURL = 'http'; //if ($_SERVER["HTTPS"] == "on") {$pageURL .= "s";} $pageURL .= "://"; if ($_SERVER["SERVER_PORT"] != "80") { $pageURL .= $_SERVER["SERVER_NAME"].":".$_SERVER["SERVER_PORT"].$_SERVER["REQUEST_URI"]; } else { $pageURL .= $_SERVER["SERVER_NAME"].$_SERVER["REQUEST_URI"]; } return $pageURL; } ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>View Projects, The Realtors Club</title> <!-- Font Awesome --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.0/css/font-awesome.min.css"> <!-- Bootstrap core CSS --> <link href="css/c.css" rel="stylesheet"> <!-- Material Design Bootstrap --> <link href="css/mdb.min.css" rel="stylesheet"> <!-- Your custom styles (optional) --> <link href="css/color_style.css" rel="stylesheet"> <link rel="stylesheet" type="text/css" href="css/set1.css" /> <!---Gallery zoom---> <link rel="stylesheet" type="text/css" href="gallery-slider/visuallightbox.css" /> <link rel="stylesheet" type="text/css" href="gallery-slider/vlightbox.css" /> <script type="text/javascript" src="gallery-slider/visuallightbox.js"></script> <script type="text/javascript" src="gallery-slider/jquery.js"></script> <!---/Gallery zoom---> <!--tab script--> <script type="text/javascript"> $(document).ready(function() { $(".tabs-menu a").click(function(event) { event.preventDefault(); $(this).parent().addClass("current"); $(this).parent().siblings().removeClass("current"); var tab = $(this).attr("href"); $(".tab-content").not(tab).css("display", "none"); $(tab).fadeIn(); }); }); </script> <!-----showHide script for paragrap-----> <script> function showHide(shID) { if (document.getElementById(shID)) { if (document.getElementById(shID+'-show').style.display != 'none') { document.getElementById(shID+'-show').style.display = 'none'; document.getElementById(shID).style.display = 'block'; } else { document.getElementById(shID+'-show').style.display = 'inline'; document.getElementById(shID).style.display = 'none'; } } } </script> <!-----/showHide script for paragrap-----> </head> <style> h4{color:#0275d8} h3{font-weight: 400;} h5{font-weight: 400;line-height: 25px;} span{color: #666;} .more { display: none;} a.showLink, a.hideLink { text-decoration: none; color: #36f; padding-left: 8px; background: transparent url(down.gif) no-repeat left; } a.hideLink { background: transparent url(up.gif) no-repeat left; } a.showLink:hover, a.hideLink:hover { border-bottom: 1px dotted #36f; } i.fa.fa-chevron-circle-right.pull-right{font-size: xx-large; margin-top: -3px;} input.form-control{ margin-bottom: 10px; } select,textarea {margin-bottom: 12px;} </style> <body> <div style="position: fixed;top: 215px;right:0;z-index: 999;"> <a download="<?php echo $project_title." Brochure.png"; ?>" href="<?php echo $brochure; ?>"> <img src="img/brochure.png" width="100"> </a><br><br> <a download="<?php echo $project_title." Prise List.png"; ?>" href="<?php echo $prise_list; ?>"> <img src="img/prise list.png" width="100"> </a> </div> <!-- Start project--> <!--Navbar--> <?php require("include/nav.php"); ?> <!--/.Navbar--> <div class="clearfix"></div><br><br> <content> <img src="<?php if($path1==''){echo "admin/images/noimg.png";}else{ echo $path1; }?>" height="80px" style="position:absolute;margin:27px 15px;;"> <img src="<?php if($path2==''){echo "admin/images/noimg.png";}else{ echo $path2; }?>" width="100%" height="400"> <br> <div class="row row2" style="background-color: #eee;"> <!--Carousel Wrapper--> <div class="clearfix"></div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <h3 style="text-align: center;width: 300px;margin: auto;border-bottom: 3px double #666;padding-bottom: 5px;"> <?php echo $project_title; ?></h3> <br> </div> <br><br> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-rupee" style="font-size: xx-large;"></i><br> <h5>Price</h4> <h6><?php if($price!=''){echo $price;} ?></h6> </div> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-location-arrow" style="font-size: xx-large;"></i><br> <h5>Project Area</h4> <h6><?php if($super_area!=''){echo $super_area." ".$super_area_unit;} ?></h6> </div> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-building-o" style="font-size: xx-large;"></i><br> <h5>Configurations</h4> <h6> <?php if($bhk_type!=''){echo $bhk_type;} ?> </h6> </div> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-building-o" style="font-size: xx-large;"></i><br> <h5><b>Project Info</b></h5> <h6>Units - <?php if($units!=''){echo $units;} ?>, Tower - <?php if($tower!=''){echo $tower;} ?> </h5> </div> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-key" style="font-size: xx-large;"></i><br> <h5>Possession Status </h4> <h6><?php if($possession_status=='Ready to Move'){echo "Ready to Move";}else if($possession_status=='Under Construction'){echo "Under Construction "; } if($avform=='Jan 1970'){}else{echo " - ".$avform;} ?></h6> </div> <div class="col-lg-2 col-md-3 col-sm-3 col-xs-12 text-xs-center"> <i class="fa fa-map-marker" style="font-size: xx-large;"></i><br> <h5>Address </h4> <h6><?php echo $address; ?></h6> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><br> <?php echo substr($discription, 0,800); ?> <a href="#" id="example-show" class="showLink" onclick="showHide('example');return false;">See more...</a> <div id="example" class="more"> <?php echo substr($discription, 800); ?> <a href="#" id="example-hide" class="hideLink" onclick="showHide('example');return false;"><i class="fa fa-long-arrow-up" aria-hidden="true"></i> Hide this content.</a> </div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12 text-xs-center"> <?php if($path3==''){ }else{ echo "<br><h3 class='text-xs-center'>Location Map</h3> <img src='$path3' width='100%'> <br>"; } ?> <?php if($path4==''){ }else{ echo "<br><h3 class='text-xs-center'>Master Plan</h3> <img src='$path4' width='100%'> <br>"; } ?> </div> <?php if(($BHK1!='') || ($BHK2!='') || ($BHK3!='') || ($BHK4!='') || ($BHK5!='') || ($BHK6!='') || ($BHK7!='') || ($BHK8!='')){ ?> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <br><h3 class="text-xs-center">Floor Plan</h3><br> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <div class="tabs-menu list-group"> <?php if($BHK1!=''){ ?> <a href="#<?php echo $BHK1; ?>a" class="current list-group-item list-group-item-success"> <?php echo $BHK1." BHK "; if($super_area1!=''){ echo $super_area1." ".$super_area_unit1." - ";} if($type1!=''){echo "Type ".$type1;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK2!=''){ ?> <a href="#<?php echo $BHK2; ?>b" class="list-group-item list-group-item-info"> <?php if($BHK2!=''){echo $BHK2." BHK ";} if($super_area2!=''){ echo $super_area2." ".$super_area_unit2." - ";} if($type2!=''){echo "Type ".$type2;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK3!=''){ ?> <a href="#<?php echo $BHK3; ?>c" class="list-group-item list-group-item-warning"> <?php if($BHK3!=''){echo $BHK3." BHK ";} if($super_area3!=''){ echo $super_area3." ".$super_area_unit3." - ";} if($type3!=''){echo "Type ".$type3;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK4!=''){ ?> <a href="#<?php echo $BHK4; ?>d" class="list-group-item list-group-item-danger"> <?php if($BHK4!=''){echo $BHK4." BHK ";} if($super_area4!=''){ echo $super_area4." ".$super_area_unit4." - ";} if($type4!=''){echo "Type ".$type4;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK5!=''){ ?> <a href="#<?php echo $BHK5; ?>e" class="list-group-item list-group-item-success"> <?php if($BHK5!=''){echo $BHK5." BHK ";} if($super_area5!=''){ echo $super_area5." ".$super_area_unit5." - ";} if($type5!=''){echo "Type ".$type5;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK6!=''){ ?> <a href="#<?php echo $BHK6; ?>f" class="list-group-item list-group-item-info"> <?php if($BHK6!=''){echo $BHK6." BHK ";} if($super_area6!=''){ echo $super_area6." ".$super_area_unit6." - ";} if($type6!=''){echo "Type ".$type6;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK7!=''){ ?> <a href="#<?php echo $BHK7; ?>g" class="list-group-item list-group-item-warning"> <?php if($BHK7!=''){echo $BHK7." BHK ";} if($super_area7!=''){ echo $super_area7." ".$super_area_unit7." - ";} if($type7!=''){echo "Type ".$type7;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } if($BHK8!=''){ ?> <a href="#<?php echo $BHK8; ?>h" class="list-group-item list-group-item-danger"> <?php if($BHK8!=''){echo $BHK8." BHK ";} if($super_area8!=''){ echo $super_area8." ".$super_area_unit8." - ";} if($type8!=''){echo "Type ".$type8;} ?> <i class="fa fa-chevron-circle-right pull-right"></i> </a> <?php } ?> </div> </div> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-12"> <div class="tab"> <div id="<?php echo $BHK1; ?>a" class="tab-content"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path1; ?>" class="vlightbox"><img src="<?php if($floor_path1==''){echo "admin/images/noimg.png";}else{ echo $floor_path1; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK1." BHK ".$super_area1." ".$super_area_unit1." - Type ".$type1; ?></font> </div> <div id="<?php echo $BHK2; ?>b" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path2; ?>" class="vlightbox"><img src="<?php if($floor_path2==''){echo "admin/images/noimg.png";}else{ echo $floor_path2; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK2." BHK ".$super_area2." ".$super_area_unit2." - Type ".$type2; ?></font> </div> <div id="<?php echo $BHK3; ?>c" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path3; ?>" class="vlightbox"><img src="<?php if($floor_path3==''){echo "admin/images/noimg.png";}else{ echo $floor_path3; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK3." BHK ".$super_area3." ".$super_area_unit3." - Type ".$type3; ?></font> </div> <div id="<?php echo $BHK4; ?>d" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path4; ?>" class="vlightbox"><img src="<?php if($floor_path4==''){echo "admin/images/noimg.png";}else{ echo $floor_path4; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK4." BHK ".$super_area4." ".$super_area_unit4." - Type ".$type4; ?></font> </div> <div id="<?php echo $BHK5; ?>e" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path5; ?>" class="vlightbox"><img src="<?php if($floor_path5==''){echo "admin/images/noimg.png";}else{ echo $floor_path5; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK5." BHK ".$super_area5." ".$super_area_unit5." - Type ".$type5; ?></font> </div> <div id="<?php echo $BHK6; ?>f" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path6; ?>" class="vlightbox"><img src="<?php if($floor_path6==''){echo "admin/images/noimg.png";}else{ echo $floor_path6; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK6." BHK ".$super_area6." ".$super_area_unit6." - Type ".$type6; ?></font> </div> <div id="<?php echo $BHK7; ?>g" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path7; ?>" class="vlightbox"><img src="<?php if($floor_path7==''){echo "admin/images/noimg.png";}else{ echo $floor_path7; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK7." BHK ".$super_area7." ".$super_area_unit7." - Type ".$type7; ?></font> </div> <div id="<?php echo $BHK8; ?>h" class="tab-content" style="display:none;"> <div id="vlightbox"> <a id="firstImage" href="<?php echo $floor_path8; ?>" class="vlightbox"><img src="<?php if($floor_path8==''){echo "admin/images/noimg.png";}else{ echo $floor_path8; }?>" width="100%" style="MAX-HEIGHT: 350PX;"/></a> </div> <div class="clearfix"></div> <font color="green" size="4"><?php echo $BHK8." BHK ".$super_area8." ".$super_area_unit8." - Type ".$type8; ?></font> </div> <script type="text/javascript"> var $VisualLightBoxParams$ = {autoPlay:true,borderSize:21,enableSlideshow:true,overlayOpacity:0.4,startZoom:true}; </script> <script type="text/javascript" src="gallery-slider/visuallightbox.js"></script> </div> </div> </div> <?php } ?> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <?php if($prise_list==''){ }else{ echo "<br><h3 class='text-xs-center'>Price List</h3> <img src='$prise_list' width='100%'> <br>"; } ?> <?php if($path6==''){ }else{ echo "<br><h3 class='text-xs-center'>Payment Plan</h3> <img src='$path6' width='100%'> <br>"; } ?> <?php if(($path7!='') || ($specification!='')){ echo "<br><h3 class='text-xs-center'>Specification</h3>"; }?> <?php if($path7==''){ }else{ echo "<img src='$path7' width='100%'> <br>"; } ?> <?php if($specification==''){}else{ echo $specification; } ?> <br><h3>Banks Approved</h3> <img src="<?php if($path9==''){echo "admin/images/noimg.png";}else{ echo $path9; }?>" width="200"> <img src="<?php if($path10==''){echo "admin/images/noimg.png";}else{ echo $path10; }?>" width="200"> <img src="<?php if($path10a==''){echo "admin/images/noimg.png";}else{ echo $path10a; }?>" width="200"> <hr> </div> <div class="clearfix"></div> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <div class="cleafix"></div> <h4 style="color:black;">Amenities</h4> <hr style="margin:0;"> <?php echo $amenities; ?> <BR> </div> <div class="clearfix"></div> <center><br><a class="btn btn-danger" href="gallery.php?id=<?php echo $id; ?>">View Project Galley</a></center> <br> <?php if($builder==''){}else{ ?> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"> <h5><b>About Builder</b> </h4> <h5 style="font-size: 17px;"> <?php echo $builder; ?></h2> </div> <?php } ?> </div> <div class="container-fluid"> <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12"><br> <!--Jumbotron--> <div class="jumbotron clearfix"> <div class="col-lg-3 col-md-12 col-sm-12 col-xs-12"> <h5><b>Send Enquiry for this Project..</b></h5> <form action="enquiry_get.php" method="post"> <input type="text" name="url" value="<?php echo curPageURL(); ?>" style="display:none;"> <input type="text" name="pro_email" value="<?php echo $pro_email; ?>" style="display:none;"> <input type="text" name="name" placeholder="Name" class="form-control" required> <input type="text" name="phone" placeholder="Phone" class="form-control" required> <input type="text" name="email" placeholder="Email" class="form-control" required> <select name="status" class="form-control" required> <option value="">Select Your Status</option> <option value="An Indivisual">An Indivisual</option> <option value="Agent">Agent</option> <option value="Builder">Builder</option> </select> <textarea name="address" placeholder="Address" class="form-control" style="height:80px;" required></textarea> <input type="submit" class="btn btn-danger btn-sm" style="background:red;"> </form> </div> <div class="col-lg-8 col-md-12 col-sm-12 col-xs-12"> <h5><b>Contact Info</b> </h5> <h5 style="font-size: 17px;"> Phone : <?php echo $phone; ?><br> Email : <?php echo $email; ?><br> Address : <?php echo $proaddress; ?></h5> </div> </div> <!--/.Jumbotron--> </div> </div> </div> <!--/.Carousel Wrapper--> </content> <!--Footer section--> <?php require("include/footer.php"); ?> <!--/.Footer section--> <!-- /Start project--> <!-- Go To Top Link --> <a href="#" class="back-to-top"><i class="fa fa-angle-up"></i></a> <div id="loader"> <div class="spinner"> <div class="dot1"></div> <div class="dot2"></div> </div> </div> <!-- Bootstrap core JavaScript --> <script type="text/javascript" src="js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.10.2.min.js"></script> <script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script> <link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css"> <script type="text/javascript"> $(document).ready(function(){ $(document).on('keyup','#list_search',function(){ var value = $(this).val(); $.getJSON('ajax_search_list.php?keyword='+value, function (data) { var availableTags = data; $( "#list_search" ).autocomplete({ source: availableTags, select: function(event, ui) { $(event.target).val(ui.item.value); $('#search_form').submit(); return false; }, }); }); }); }); </script> </body> </html> <?php if(isset($_GET['m'])) { if($_GET['m']==1) { ?> <script>alert("Enquiry is Successfully Send!");</script> <?php } } ?>
Edit
Download
Unzip
Chmod
Delete