[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: receipt.php
<?php include '../settings/settings.php'; $user=$_REQUEST['mid']; $order=$_REQUEST['oid']; $show=new Oops($db); ?> <!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>Bill</title> <style type="text/css" media="print"> @page { size: auto; /* auto is the initial value */ margin: 0mm; /* this affects th e 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: 'Open Sans', sans-serif; font-size:12px;} table{ border-collapse:collapse; width:100%;} table tr,td,th{ border:1px solid #efefef; padding:6px; text-align:center;} .text-head{border-bottom: 1px solid #fff; font-size: 15px; line-height: 25px; color: #fff; background: #ffb900; text-align: center; } div.table{ margin: 3% auto; width: 35%; border: 1px solid #d0d0d0; overflow: hidden; } .left-border{ width: 79%; text-align: right; font-size: 13px; } 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 h2{ padding:0 0 7px 0; margin: 0; font-size: 15px; line-height: 20px; color: #011319;} table.top h4{ padding: 0; margin: 0; font-size: 11px; line-height: 20px; color: #001117;} table.top p{padding: 0; margin: 0; font-size: 13px; line-height: 24px; color: #02151b;} table.top tr,td{ border:none;} 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;} .print{padding:7px 15px; margin:0 auto; background:rgba(0, 0, 0, 0) -moz-linear-gradient(center top , #cae0b0 0%, #a6cb7a 2%, #6da42b 100%) repeat scroll 0 0; background:#619126; Color:#fff; } .no-print{ margin:2em 0;} @media print { .no-print, .no-print * { display: none !important; } div.table{ margin: 0% auto; width: 50%; border: 1px solid #d0d0d0; } } </style> <link href='//fonts.googleapis.com/css?family=Montserrat+Alternates:400,700' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic' rel='stylesheet' type='text/css'> <link href='//fonts.googleapis.com/css?family=Racing+Sans+One' rel='stylesheet' type='text/css'> </head> <body> <?php $stmt1=$show->readwithdata('payout_log','order_id',$order); $num1=$stmt1->rowCount(); if($num1>0){ while($row=$stmt1->fetch(PDO::FETCH_ASSOC)){ $add1=$row['address']; $payout=$row['payout']; $pay_date=$row['pay_date']; $payout_status=$row['payout_status']; $convenience=$row['convenience']; } } $sq1=$show->readwithdata('food_maker','maker_id',$user); while($row1=$sq1->fetch(PDO::FETCH_ASSOC)){ $com_name=$row1['title']; $c_address=$row1['address']; $cpincode=$row1['pincode']; $clocality=$row1['locality']; } ?> <div class='privacy about' style='padding:0 5em 5em 2em;'> <div class="table"> <table class="top"> <tr> <td colspan="4" class="text-head" style=""> <label>Thanks for choosing <?=$company_name?>, <?=$name?>! Here are your receipt details :</label> </td> </tr> <tr> <td width="50%"> <p><b><h2>Dootkart</h2></b></p> <h4></h4> <p>Order No : <?=$order?></p> <p>Payout Date: <?=date('d-m-Y',strtotime($pay_date))?></p> <p>Payout Amout :Rs <?=$payout?> </p> <p>Status : <?=$payout_status?></p> </td> <td width="50%"> <p><b><h2>Payout To</h2></b></p> <h4><?=$com_name?>[<?=$user?>]</h4> <p><?=$c_address?>,<?=$locality?>,<?=$pin?></p> </td> </tr> </table> <style> table.new-table{ border:solid 1px #000;} table.new-table tr th{ border:solid 1px #000;} table.new-table tr{ border:none;} table.new-table tr td.no-left{ border-right:1px solid #000; } </style> <div class="no-print" align="center"> <button onclick="myFunction()" class="print">Print this page</button> <div> <script> function myFunction() { window.print(); } </script> </div> </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: 678.19 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