[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: apartment-form-2.php
<!-- Header include --> <?php include("header.php"); $aid=base64_decode($_REQUEST['uid']);$em=base64_decode($_REQUEST['m']);$phn=base64_decode($_REQUEST['phn']); //echo $phn; ?> <script> $(document).ready(function(){ $("input[type='radio']").on('click', function(){ var radioValue = $("input[name='category']:checked").val(); if(radioValue=='flatmate'){ $('#flatmate').show(); $('#tenant').hide(); }else{ $('#tenant').show(); $('#flatmate').hide(); } }); }); </script> <script> var max_limit = 5; // Max Limit $(document).ready(function (){ $(".flt:input:checkbox").each(function (index){ this.checked = (".flt:input:checkbox" < max_limit); }).change(function (){ if ($(".flt:input:checkbox:checked").length > max_limit){ this.checked = false; alert('Only 5 preferences can be added'); } }); }); </script> <!-- Flatmate Preferences --> <div class="apartment-preferences"> <div class="container"> <div class="list-apartment"> <h2>Post Your <span>Requirement</span></h2> <form method="post" enctype= "multipart/form-data"> <div class="apartment-preferences-block"> <div class="apartment-preferences-box-content"> <input type="radio" value="flatmate" name="category" id="flatmate-preference1" required> <label for="flatmate-preference1"> <img src="images/apartment-prefarence-1.png"> <h6>Looking for Flatmate</h6> </label> </div> <div class="apartment-preferences-box-content"> <input type="radio" value="tenant" name="category" id="flatmate-preference2" required> <label for="flatmate-preference2"> <img src="images/apartment-prefarence-2.png"> <h6>Looking for Tenant</h6> </label> </div> </div> <div class="apartment-location-block"> <p>Address : </p> <input type="text" id="neat-freak" name="address" placeholder="Neighborhood" required> <select name="city" required> <option value="">Choose City</option> <?php $sr='city'; $stmt =$show->readwithdata_clause($sr,'status','ACTIVE','order by id asc'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <option value="<?=$row['city']?>"><?=$row['city']?></option> <?php } }?> </select> <input type="text" id="postal" name="pincode" placeholder="Postal Code" required> <input type="text" id="state" name="state" placeholder="State" required> </div> <div class="apartment-location-block"> <p>Property Type : </p> <div class="apartment-location-box-content"> <input type="radio" value="Apartment" name="property_type" id="Apartment" > <label for="Apartment1"> Apartment<span>Living space in building</span> </label> </div> <div class="apartment-location-box-content"> <input type="radio" value="House" name="property_type" id="Apartment" checked> <label for="House1"> House<span>Residential Building</span> </label> </div> <div class="apartment-location-box-content"> <input type="radio" value="PG" name="property_type" id="Apartment" > <label for="Condominium1"> PG<span>Paying Guests</span> </label> </div> <div class="apartment-location-box-content"> <input type="radio" value="Shared Accommodation" name="property_type" id="Apartment"> <label for="Accommodation1"> Shared Accommodation<span>Partially Occupied Property</span> </label> </div> </div> <div class="apartment-rent-block"> <p>Rent/Month : </p> <input type="text" id="messy" name="rent" placeholder="Rent/Month"> </div> <div class="apartment-rent-block"> <p>Total Bedrooms : </p> <select name="total_bedroom"> <option value="">Choose Bedrooms</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> <div class="apartment-rent-block"> <p>Total Bathrooms : </p> <select name="total_bathroom"> <option value="">Choose Bathrooms</option> <option value="1">1</option> <option value="2">2</option> <option value="3">3</option> <option value="4">4</option> <option value="5">5</option> </select> </div> <div class="apartment-location-block"> <p>Furnishing : </p> <div class="apartment-location-box-content furnishing-box"> <input type="radio" value="Furnished" name="furnishing" id="Furnished" checked> <label for="Furnished1"> Furnished </label> </div> <div class="apartment-location-box-content furnishing-box"> <input type="radio" value="Semi Furnished" name="furnishing" id="Furnished" > <label for="Partially1"> Semi Furnished </label> </div> <div class="apartment-location-box-content furnishing-box"> <input type="radio" value="Unfurnished" name="furnishing" id="Furnished"> <label for="Unfurnished1"> Unfurnished </label> </div> </div> <div class="apartment-check-block"> <p>Amenities : </p> <?php $sr='amenities'; $stmt =$show->readAll_clause($sr,'order by id asc'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="apartment-check-block-content"> <input type="checkbox" value="<?=$row['amenity']?>" name="amenities[]" id="flatmate-preference1"> <input type="hidden" value="<?=$row['image']?>" name="img[]" > <label for="flatmate-preference1"> <img src="<?=$pic_img?>/<?=$row['image']?>"> <h6><?=$row['amenity']?></h6> </label> </div> <?php } } ?> <!--- <div class="apartment-check-block-content"> <input type="checkbox" value="Laundry Facilities" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/single-page-icon-2.png"> <h6>Laundry Facilities</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Air Conditioning" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/single-page-icon-3.png"> <h6>Air Conditioning</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Internet Access" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/single-page-icon-4.png"> <h6>Internet Access</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Pet Friendliness" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/single-page-icon-5.png"> <h6>Pet Friendliness</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Inverters" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-16.png"> <h6>Inverters</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Generators" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-17.png"> <h6>Generators</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Backup Power Supply" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-18.png"> <h6>Backup Power Supply</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="24hrs. Watter Supply" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-22.png"> <h6>24hrs. Watter Supply</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Gated Communities" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-1.png"> <h6>Gated Communities</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Security Guards" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-2.png"> <h6>Security Guards</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="CCTV Surveillance" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-3.png"> <h6>CCTV Surveillance</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Intercom Facilities" name="amenities[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-4.png"> <h6>Intercom Facilities</h6> </label> </div> --> </div> <div class="upload-photo-block"> <p>Add Apartment : </p> <div class="upload-photo-box"> <input type="file" name="image1"> <input type="file" name="image2"> <input type="file" name="image3"> <input type="file" name="image4"> <input type="file" name="image5"> </div> <h6>You can upload images upto <strong>25 MB</strong></h6> </div> <div class="apartment-check-block"> <p>Nearby Amenities : </p> <?php $sr='amenities_nearby'; $stmt =$show->readAll_clause($sr,'order by id asc'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="apartment-check-block-content"> <input type="checkbox" value="<?=$row['amenity']?>" name="nearby_amenity[]" id="flatmate-preference1"> <input type="hidden" value="<?=$row['image']?>" name="img1[]" > <label for="flatmate-preference1"> <img src="<?=$pic_img?>/<?=$row['image']?>"> <h6><?=$row['amenity']?></h6> </label> </div> <?php } } ?> <!--- <div class="apartment-check-block-content"> <input type="checkbox" value="Hospitals" name="nearby_amenity[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-6.png"> <h6>Hospitals</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Markets" name="nearby_amenity[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-7.png"> <h6>Markets</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Public Transportation Hubs" name="nearby_amenity[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-8.png"> <h6>Public Transportation Hubs</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Recreational Facilities" name="nearby_amenity[]" id="flatmate-preference1"> <label for="flatmate-preference1"> <img src="images/apartment-icon-9.png"> <h6>Recreational Facilities</h6> </label> </div> ---> </div> <div class="apartment-location-block"> <p>Do you want to make your mobile visible to other users?</p> <div class="apartment-location-box-content furnishing-box"> <input type="radio" value="Public" name="visible" id="public" checked> <label for="public1"> Yes! make it public </label> </div> <div class="apartment-location-box-content furnishing-box"> <input type="radio" value="Private" name="visible" id="public" > <label for="private1"> No! make it private </label> </div> </div> <div class="apartment-check-block" id="tenant" style="display:none"> <p>Preferred Tenant Profile : </p> <?php $sr='tenant_category'; $stmt =$show->readAll_clause($sr,'order by id asc'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="apartment-check-block-content"> <input type="checkbox" value="<?=$row['amenity']?>" name="tenant_profile[]" id="MarriedCouple"> <input type="hidden" value="<?=$row['image']?>" name="img2[]" > <label for="MarriedCouple1"> <img src="<?=$pic_img?>/<?=$row['image']?>"> <h6><?=$row['amenity']?></h6> </label> </div> <?php } } ?> <!--- <div class="apartment-check-block-content"> <input type="checkbox" value="Unmarried Couple" name="tenant_profile[]" id="UnmarriedCouple"> <label for="UnmarriedCouple"> <img src="images/apartment-icon-11.png"> <h6>Unmarried Couple</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="College Student" name="tenant_profile[]" id="CollegeStudent"> <label for="CollegeStudent"> <img src="images/apartment-icon-12.png"> <h6>College Student</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Living Couple" name="tenant_profile[]" id="LivingCouple"> <label for="LivingCouple"> <img src="images/apartment-icon-13.png"> <h6>Living Couple</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Working Class" name="tenant_profile[]" id="WorkingClass"> <label for="WorkingClass"> <img src="images/apartment-icon-14.png"> <h6>Working Class</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Government Service" name="tenant_profile[]" id="GovernmentService"> <label for="GovernmentService"> <img src="images/apartment-icon-15.png"> <h6>Government Service</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Vegetarian" name="tenant_profile[]" id="Vegetarian"> <label for="Vegetarian"> <img src="images/apartment-icon-19.png"> <h6>Vegetarian</h6> </label> </div> --> </div> <div class="apartment-check-block" id="flatmate" style="display:none"> <p>Preferred Flatmate Preferences : </p> <?php $sr='flatmate_category'; $stmt =$show->readAll_clause($sr,'order by id asc'); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ extract($row); $id=$row['id']; ?> <div class="apartment-check-block-content"> <input type="checkbox" class="flt" value="<?=$row['amenity']?>" name="flatment_profile[]" id="NeatFreak"> <input type="hidden" value="<?=$row['image']?>" name="img3[]" > <label for="NeatFreak"> <img src="<?=$pic_img?>/<?=$row['image']?>"> <h6><?=$row['amenity']?></h6> </label> </div> <?php } } ?> <!--- <div class="apartment-check-block-content"> <input type="checkbox" value="Male" name="flatment_profile[]" id="Male"> <label for="Male"> <img src="images/apartment-icon-36.png"> <h6>Male</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Female" name="flatment_profile[]" id="Female"> <label for="Female1"> <img src="images/apartment-icon-37.png"> <h6>Female</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="WFH Buddy" name="flatment_profile[]" id="Buddy"> <label for="Buddy"> <img src="images/apartment-icon-24.png"> <h6>WFH Buddy</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Office Goer" name="flatment_profile[]" id="OfficeGoer"> <label for="OfficeGoer"> <img src="images/apartment-icon-25.png"> <h6>Office Goer</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Party Animal" name="flatment_profile[]" id="PartyAnimal"> <label for="PartyAnimal"> <img src="images/apartment-icon-26.png"> <h6>Party Animal</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Non Smoker" name="flatment_profile[]" id="NonSmoker"> <label for="flatmate-preference1"> <img src="images/apartment-icon-27.png"> <h6>Non Smoker</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Pet Friendly" name="flatment_profile[]" id="PetFriendly"> <label for="PetFriendly"> <img src="images/apartment-icon-28.png"> <h6>Pet Friendly</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Vegetarian" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-29.png"> <h6>Vegetarian</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Early Bird" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-30.png"> <h6>Early Bird</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Night Owl" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-31.png"> <h6>Night Owl</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Loves Socialising" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-32.png"> <h6>Loves Socialising</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Introvert" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-33.png"> <h6>Introvert</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Non Alcoholic" name="flatment_profile[]" id="flatmate-preference1"> <label for="Vegetarian1"> <img src="images/apartment-icon-34.png"> <h6>Non Alcoholic</h6> </label> </div> <div class="apartment-check-block-content"> <input type="checkbox" value="Self Cook" name="flatment_profile[]" id="Cook"> <label for="Cook"> <img src="images/apartment-icon-35.png"> <h6>Self Cook</h6> </label> </div> --> </div> <div class="apartment-location-block"> <p>Description : </p> <textarea placeholder="Description" name="description"></textarea> </div> <div class="apartment-supply-block apartment-btn"> <input type="submit" value="Submit" name="sub_register1"> </div> </form> <?php if(isset($_POST['sub_register1'])){ $table="apartment"; $amenities="";$nearby_amenity="";$tenant_profile="";$flatment_profile=""; foreach( $_POST['amenities'] as $key=>$value){ // $amenities .=$amn.":"; $data=array( 'apart_id'=>$aid, 'amenity'=>$_POST['amenities'][$key], 'img'=>$_POST['img'][$key], ); $r1=$show->insert('apartment_amenity',$data); } foreach( $_POST['nearby_amenity'] as $key=>$value){ // $amenities .=$amn.":"; $data=array( 'apart_id'=>$aid, 'amenity'=>$_POST['nearby_amenity'][$key], 'img'=>$_POST['img1'][$key], ); $r1=$show->insert('apartment_nearby',$data); } foreach( $_POST['tenant_profile'] as $key=>$value){ // $amenities .=$amn.":"; $data=array( 'apart_id'=>$aid, 'amenity'=>$_POST['tenant_profile'][$key], 'img'=>$_POST['img2'][$key], ); $r1=$show->insert('apartment_tenant',$data); } foreach( $_POST['flatment_profile'] as $key=>$value){ // $amenities .=$amn.":"; $data=array( 'apart_id'=>$aid, 'amenity'=>$_POST['flatment_profile'][$key], 'img'=>$_POST['img3'][$key], ); $r1=$show->insert('apartment_flatmate',$data); } $allowed = ["category","address","phone","email","property_type","state","city","pincode","rent","total_bedroom","total_bathroom","furnishing","description","visible"]; $params = []; $setStr = ""; foreach ($allowed as $key) { if (isset($_POST[$key]) && $key != "uid") { $setStr .= "`$key` = :$key,"; $params[$key] = htmlspecialchars(strip_tags($_POST[$key])); } } if(file_exists($_FILES['image1']['tmp_name']) || is_uploaded_file($_FILES['image1']['tmp_name'])) { $setStr .= "`image1` = :image1,"; $img=$show->imageEdit($_FILES['image1']['name']); move_uploaded_file($_FILES['image1']['tmp_name'],"product_img/".$img); $params['image1'] =$img; } if(file_exists($_FILES['image2']['tmp_name']) || is_uploaded_file($_FILES['image2']['tmp_name'])) { $setStr .= "`image2` = :image2,"; $img=$show->imageEdit($_FILES['image2']['name']); move_uploaded_file($_FILES['image2']['tmp_name'],"product_img/".$img); $params['image2'] =$img; } if(file_exists($_FILES['image3']['tmp_name']) || is_uploaded_file($_FILES['image3']['tmp_name'])) { $setStr .= "`image3` = :image3,"; $img=$show->imageEdit($_FILES['image3']['name']); move_uploaded_file($_FILES['image3']['tmp_name'],"product_img/".$img); $params['image3'] =$img; } if(file_exists($_FILES['image4']['tmp_name']) || is_uploaded_file($_FILES['image4']['tmp_name'])) { $setStr .= "`image4` = :image4,"; $img=$show->imageEdit($_FILES['image4']['name']); move_uploaded_file($_FILES['image4']['tmp_name'],"product_img/".$img); $params['image4'] =$img; } if(file_exists($_FILES['image5']['tmp_name']) || is_uploaded_file($_FILES['image5']['tmp_name'])) { $setStr .= "`image5` = :image5,"; $img=$show->imageEdit($_FILES['image5']['name']); move_uploaded_file($_FILES['image5']['tmp_name'],"product_img/".$img); $params['image5'] =$img; } $setStr .= "`amenities` = :amenities,`nearby_amenity` = :nearby_amenity,`tenant_profile` = :tenant_profile,`flatment_profile` = :flatment_profile,"; $setStr = rtrim($setStr, ","); $params['apartment_id'] =$aid; $params['amenities'] =$amenities; $params['nearby_amenity'] =$nearby_amenity; $params['tenant_profile'] =$tenant_profile; $params['flatment_profile'] =$flatment_profile; $show->table ='apartment'; $show->cols =$setStr; $show->id_name ='apartment_id'; $show->params =$params; //print_r($params); $r=$show->update_all(); $capcha=rand(1,10000); if($r){ $email_subject = "Registration Confirmation"; $em11='<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8">'; $email_content1="<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#313a49'> <img src='https://itsweb.in/demobyITS/YaarYards7/images/logo.png' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi Admin,<br><br> New registration is been confirmed. <br> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $email_content=" <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns='https://www.w3.org/1999/xhtml'> <head> <title>Test Email Sample</title> <meta http–equiv='Content-Type' content='text/html; charset=UTF-8' /> <meta http–equiv='X-UA-Compatible' content='IE=edge' /> <meta name='viewport' content='width=device-width, initial-scale=1.0 ' /> <style> h2{ color:#000; font-size:26px; } #b{ width:500px; font-size:15px; } th{ background-color:#fff; } </style> </head> <body style='background-color:f9f7f7; text-align:center;font-size:17px;'> <table style='margin-left: auto; margin-right: auto;border: 20px double #b5bcbf;width:600px; text-align:center;font-size:16px;'> <tr><td style='background-color:#313a49'> <img src='https://itsweb.in/demobyITS/YaarYards7/images/logo.png' width='50%'></td></tr> <tr><td style='text-align:center;'> <h3 style='text-align: center;font-size: 17px; text-transform: uppercase;'>Welcome to $company_name</h3></td></tr> <tr><td text-align:center;font-size:14px;><br>Hi ".$_POST['name'].",<br><br> Your Registration with email id ".$em." has been successful.This is your OTP for verification. <br><br> <b>OTP :$capcha</b> <br><br><br><br> <br> </td></tr> </tr> </table> <p><b>Stay in touch with Us</b></p> <p><a href='$fb' target='_blank'><img src='$link_url/images/fb.png' width='50px'></a> <a href='$insta' target='_blank'><img src='$link_url/images/insta.png' width='55px'></a> </p> <p><b>$company_name</b><br> Web : $website<br> Email : $email<br> Phone : $phone<br> </p> <small>Copyright ©<?=date('Y')?> $company_name,$address. All rights reserved. </small> </body></html>"; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; if(@mail($email,$email_subject,$email_content1,$headers) && @mail($em,$email_subject,$email_content,$headers)) { /* echo "<script>alert('Thank you mail has been sent. We will contact you soon.'); </script>";*/ } else { // echo "<script>alert('Message not sent!')</script>"; } echo '<script> setTimeout(function() { swal({ title: "Thank You!", text: "Your registration has been confirmed. An OTP has been sent to your registered mail id please verify to confirm", type: "success" }, function() { window.location = "verify_otp.php?id='.base64_encode($capcha).'&uid='.base64_encode($aid).'&m='.base64_encode($em).'&ph='.base64_encode($phn).'&t='.base64_encode($table).'"; }); }, 1000); </script>'; }else{ echo "<script>swal('aa')</script>";} } ?> </div> </div> </div> <!-- Footer include --> <?php include("footer.php"); ?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server05.hostinghome.co.in
Server IP: 192.168.74.40
PHP Version: 7.4.33
Server Software: Apache
System: Linux server05.hostinghome.co.in 3.10.0-962.3.2.lve1.5.81.el7.x86_64 #1 SMP Wed May 31 10:36:47 UTC 2023 x86_64
HDD Total: 1.95 TB
HDD Free: 691.59 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Disabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes
gcc:
Yes
pkexec:
No
git:
Yes
User Info
Username: itsweb
User ID (UID): 1619
Group ID (GID): 1621
Script Owner UID: 1619
Current Dir Owner: 1619