[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: share_details.php
<html><?php include 'settings/settings.php'; ?> <head>Share details</head> <body> <form method="post" id="form" enctype="multipart/form-data"> <div class="log-input" id="b_name"> <span> Type Matrimonial<b>*</b></span> <label><i class="fa-solid fa-ring"></i></label> <select name="marraige_type" required> <option value="">Choose</option> <option value="Pre Matrimonial">Pre Matrimonial</option> <option value="Post Matrimonial">Post Matrimonial</option> </select> </div> <div class="log-input" id="b_name"> <span> Bride/Groom <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <select name="type" required> <option value="">Choose</option> <option value="Bride">Bride</option> <option value="Groom">Groom</option> </select> </div> <div class="log-input" id="b_name"> <span> Name <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="text" placeholder="Name" name="name" required=""> </div> <div class="log-input" id="b_name"> <span> Date of Birth <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="date" placeholder="Date of Birth" name="dob" required=""> <input type="hidden" name="tablename" value="user"> </div> <div class="log-input" id="b_name"> <span>Candidate Phone No<b>*</b></span> <label><i class="fa fa-phone" aria-hidden="true"></i></label> <input type="text" placeholder="Candidate Phone No" id="phone" name="phone" maxlength="10" required=""> </div> <div class="log-input" id="b_name"> <span>Candidate Alt Phone No<b>*</b></span> <label><i class="fa fa-phone" aria-hidden="true"></i></label> <input type="text" placeholder="Candidate Alt Phone No" id="phone" name="alt_phone" maxlength="10" required=""> </div> <div class="log-input" id="b_name"> <span> Candidate's Office Address <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="text" placeholder="Candidate's Office Address" id="dob" name="office_address" required=""> </div> <div class="log-input" id="b_name"> <span>Office Pincode<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Office Pincode" name="office_pincode" required=""> </div> <div class="log-input" id="b_name"> <span>Father's Name<b>*</b></span> <label><i class="fa fa-phone" aria-hidden="true"></i></label> <input type="text" placeholder="Father's Name" id="phone" name="father" required=""> </div> <div class="log-input" id="b_name"> <span> Father's Contact No <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="text" placeholder="Father's Contact No " name="father_phone" required=""> </div> <div class="log-input" id="b_name"> <span> Father's Office Address <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="text" placeholder="Father's Office Address " name="father_office_address" required=""> </div> <div class="log-input" id="b_name"> <span>Mother’s Name <b>*</b></span> <label><i class="fa fa-book" aria-hidden="true"></i></label> <input type="text" placeholder="Mother’s Name" name="mother" required=""> </div> <div class="log-input" id="b_name"> <span> Mother's Contact No <b>*</b></span> <label><i class="fa fa-user" aria-hidden="true"></i></label> <input type="text" placeholder="Mother's Contact No" name="mother_phone" required=""> </div> <div class="log-input" id="b_name"> <span> Mother's Office Address <b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Mother’s Office Address" name="mother_office_address" required=""> </div> <div class="log-input" id="b_name"> <span> Brothers<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Brothers" name="brothers" required=""> </div> <div class="log-input" id="b_name"> <span> Sisters<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Sisters" name="sisters" required=""> </div> <div class="log-input" id="b_name"> <span> Complete Residence Address <b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Complete Residence Address" name="residential_address" required=""> </div> <div class="log-input" id="b_name"> <span> Pincode<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Pincode" name="pincode" required=""> </div> <div class="log-input" id="b_name"> <span> Nearest Landmark<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Nearest Landmark" name="landmark" required=""> </div> <div class="log-input" id="b_name"> <span> Position or Designation<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="text" placeholder="Position or Designation" name="designation" required=""> </div> <div class="log-input" id="b_name"> <span> Image/Video<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <input type="file" name="image" required=""> </div> <div class="log-input" id="b_name"> <span>Please Share in Brief if you want to share something<b>*</b></span> <label><i class="fa fa-map" aria-hidden="true"></i></label> <textarea name="content" class="form-control"></textarea> </div> <div class="log-input" id="b_name"> <span>Captcha <b>*</b></span> <label><i class="fas fa-user-alt" aria-hidden="true"></i></label> <input type="text" name="captcha" id="captcha" style="color: #4d3e3e !important; background: url(images/captcha-bg.jpg) no-repeat top right; background-size: auto; background-size: cover; letter-spacing: 3px; margin: 0 0 0 0; padding: 11px 0 8px 75px;" value="<?php echo rand(0,1999); ?>" readonly=""> </div> <div class="log-input" id="b_name"> <label><i class="fas fa-user-alt" aria-hidden="true"></i></label> <input type="text" name="put_captcha" id="put_captcha" placeholder="Captcha Please" required=""> </div> <div class="log-input checkboxbox" id="b_name"> <label style="display: block;font-weight: bold;border: none;"> <input type="checkbox" id="Terms" name="Terms" value="Terms" style="" required=""> I agree to the <a href="terms.php">Terms & Conditions</a> </label> </div> <div class="log-input submitbox" id="b_name"> <input type="submit" class="" name="sub" id="btn" value="submit"> </div> </form> <?php if(isset($_POST['sub'])){ if($_POST['captcha']!=$_POST['put_captcha']){ echo "<script>alert('Oops !! Captcha is invalid!!')</script>"; }else{ // $status='Active'; if(isset($_FILES['image']['name'])){ $img=$show->imageEdit($_FILES['image']['name']); move_uploaded_file($_FILES['image']['tmp_name'],"../product_img/".$img); } $oid=$show->getid('ids','ORD'); $data = array( 'order_id' => $oid, 'type' => htmlspecialchars($_POST['type']), 'marraige_type' => htmlspecialchars($_POST['marraige_type']), 'name' => htmlspecialchars($_POST['name']), 'phone' => htmlspecialchars($_POST['phone']), 'dob' => date('Y-m-d',strtotime($_POST['dob'])), 'father' => htmlspecialchars($_POST['father']), 'father_phone' => htmlspecialchars($_POST['father_phone']), 'father_office_address' => htmlspecialchars($_POST['father_office_address']), 'mother' => htmlspecialchars($_POST['mother']), 'mother_phone' => htmlspecialchars($_POST['mother_phone']), 'mother_office_address' => htmlspecialchars($_POST['mother_office_address']), 'brothers' => htmlspecialchars($_POST['brothers']), 'sisters' => htmlspecialchars($_POST['sisters']), 'residential_address' => htmlspecialchars($_POST['residential_address']), 'pincode' => htmlspecialchars($_POST['pincode']), 'landmark' => htmlspecialchars($_POST['landmark']), 'phone' => htmlspecialchars($_POST['phone']), 'alt_phone' => htmlspecialchars($_POST['alt_phone']), 'office_address' => htmlspecialchars($_POST['office_address']), 'office_pincode' => htmlspecialchars($_POST['office_pincode']), 'designation' => htmlspecialchars($_POST['designation']), 'image' =>$img, 'content' => htmlspecialchars($_POST['content']), 'status' => 'PENDING', 'pay_status' => 'PENDING', ); $no=rand(1,10000); $capcha=$no; if($show->insert('orders',$data)){ /* $site="https://thesajh.com/"; $today=date('d-m-Y'); $username="sajh"; $Password="test_123"; //Getting form data $sender='ITSITE'; $number=$_POST['phone']; //$message=$_POST['message']; $priority='ndnd'; $stype='normal'; //$message=urlencode("api test - BHASHSMS"); $otp=$capcha; //The OTP for Registration is {#var#}. The OTP is valid for 5mins. Thanks for visiting {#var#}. Regards ITSITE $message=urlencode("The OTP for Registration is $otp. The OTP is valid for 5mins. Thanks for visiting $site. Regards ITSITE"); $var="user=".$username."&pass=".$Password."&sender=".$sender."&phone=".$number."&text=".$message."&priority=".$priority."&stype=".$stype.""; $curl=curl_init('http://sms.incrementertech.com/api/sendmsg.php?'.$var); curl_setopt($curl, CURLOPT_RETURNTRANSFER,true); $response=curl_exec($curl); curl_close($curl); */ //window.location = "otp.php?id='.base64_encode($capcha).'&uid='.base64_encode($uid).'&m='.base64_encode($em).'&ph='.base64_encode($number).'&table='.base64_encode($table).'"; echo '<script> setTimeout(function() { swal({ title: "Thank You ", text: "Your Report is successful.Please login or sign up to continue.", type: "success" }, function() { window.location = "login.php?oid='.base64_encode($oid).'&m='.base64_encode($em).'&ph='.base64_encode($number).'&table='.base64_encode($table).'"; }); }, 1000); </script>'; // echo "<script>swal('Thank you','Your registration is complete.Please login to continue.','success');window.location.href='login.php';</script>"; } } }?> </body> </html>
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: 692.2 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