Server IP : 164.52.202.56 / Your IP : 216.73.216.231 Web Server : Apache System : Linux e2e-70-56.ssdcloudindia.net 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : rubyaromatics ( 1052) PHP Version : 7.2.34 Directory (0755) : /home/rubyaromatics/public_html/controller/ |
[ Home ] | [ Terminal ] | [ Upload File ] |
---|
<?php require('function.php'); require('database.php'); $ob = new database(); login_check(); $xyz = $_GET['xyz']; ?> <?php $obj = new database(); $obj->query("SELECT * FROM order_details where random_code='$xyz'"); foreach($obj->rows() as $email) { $e_mail = $email['billing_email']; } ?> <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html;charset=UTF-8" /> <meta charset="utf-8" /> <title>Ruby Aromatics</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <meta content="" name="description" /> <meta content="" name="author" /> <link href="assets/plugins/pace/pace-theme-flash.css" rel="stylesheet" type="text/css" media="screen"/> <link href="assets/plugins/jquery-slider/css/jquery.sidr.light.css" rel="stylesheet" type="text/css" media="screen"/> <!-- BEGIN CORE CSS FRAMEWORK --> <link href="assets/plugins/boostrapv3/css/bootstrap.min.css" rel="stylesheet" type="text/css"/> <link href="assets/plugins/boostrapv3/css/bootstrap-theme.min.css" rel="stylesheet" type="text/css"/> <link href="assets/plugins/font-awesome/css/font-awesome.css" rel="stylesheet" type="text/css"/> <link href="assets/css/animate.min.css" rel="stylesheet" type="text/css"/> <!-- END CORE CSS FRAMEWORK --> <!-- BEGIN CSS TEMPLATE --> <link href="assets/css/style.css" rel="stylesheet" type="text/css"/> <link href="assets/css/responsive.css" rel="stylesheet" type="text/css"/> <link href="assets/css/print.css" rel="stylesheet" type="text/css"/> <link href="assets/css/custom-icon-set.css" rel="stylesheet" type="text/css"/> <!-- END CSS TEMPLATE --> </head> <!-- END HEAD --> <!-- BEGIN BODY --> <body class=""> <!-- BEGIN HEADER --> <?php top()?> <!-- END HEADER --> <!-- BEGIN CONTAINER --> <div class="page-container row"> <!-- BEGIN SIDEBAR --> <?php menu()?> <div class="footer-widget"> <div class="progress transparent progress-small no-radius no-margin"> <div data-percentage="79%" class="progress-bar progress-bar-success animate-progress-bar" ></div> </div> <div class="pull-right"> <div class="details-status"> <span data-animation-duration="560" data-value="86" class="animate-number"></span>% </div> <a href="lockscreen.html"><i class="fa fa-power-off"></i></a></div> </div> <!-- END SIDEBAR --> <!-- BEGIN PAGE CONTAINER--> <div class="page-content"> <!-- BEGIN SAMPLE PORTLET CONFIGURATION MODAL FORM--> <div id="portlet-config" class="modal hide"> <div class="modal-header"> <button data-dismiss="modal" class="close" type="button"></button> <h3>Widget Settings</h3> </div> <div class="modal-body"> Widget settings form goes here </div> </div> <div class="clearfix"></div> <div class="content"> <div class="row"> <div class="col-md-11"> <div class="grid simple"> <div class="grid-body no-border invoice-body"> <br> <div class="pull-left"> <h3>Ruby Aromatics MULTI PRODUCT</h3> <address> <?php $obj = new database(); $obj->query("SELECT * FROM order_details where randam_code='$xyz'"); $i=0; foreach($obj->rows() as $dish) { $user=$dish['user_name']; } $obj = new database(); $obj->query("SELECT * FROM add_user where username='$user'"); foreach($obj->rows() as $ship) { $name = $ship['name']; $lname = $ship['l_name']; } ?> <strong>Name: <?php echo $ship['u_name']; ?></strong><br> Email : <?php echo $ship['email'];?><br> Phone: <?php echo $ship['c_no']; ?><br> Address: <?php echo $ship['address']; ?><br> Countary: <?php echo $ship['countary']; ?><br> City: <?php echo $ship['city']; ?><br> </address> </div> <div class="pull-right"> <h2>invoice</h2> </div> <div class="clearfix"></div> <br> <br> <div class="row"> <?php $obj = new database(); $obj->query("SELECT * FROM order_details WHERE random_code='$xyz'"); foreach($obj->rows() as $bill) { $fname = $bill['billing_name']; $lname = $bill['l_name']; } ?> </div> <table class="table"> <thead> <tr> <th style="width:60px" class="unseen text-center">S No</th> <th class="text-left">Product Name</th> <th style="width:170px" class="">Quantity</th> <th style="width:170px" class="">Image</th> <th style="width:170px" class="text-right">Date</th> </tr> </thead> <tbody> <?php $a="none"; $obj = new database(); $obj->query("SELECT * FROM order_details where randam_code='$xyz'"); $i=0; foreach($obj->rows() as $dish) { $i++; ?> <tr> <td class="unseen text-center"><?php echo $i;?></td> <td><?php echo $dish['p_name'];?></td> <td class=""><?php echo $dish['p_quan'];?></td> <td class=""> <?php $p_id=$dish['p_id']; $obj->query("SELECT * FROM product_image WHERE p_id='$p_id' order by id desc"); foreach($obj->rows() as $catsp) { $name = $catsp['p_image']; } ?> <img src="dr/thumb/<?php echo $name;?>" alt="<?php echo $dish['name']; ?>" width="50" height="70" title="<?php echo $dish['name']; ?>" /></td> <td class="text-right"><?php echo $dish['c_date']; ?></td> </tr> <?php }?> </tbody> </table> <div class="row"> <div class="col-md-8 col-xs-7 payment-method"> <h3 class="inv-label itatic">Thank you for your business</h3> </div> </div> <div class="text-center invoice-btn"> <a class="btn btn-success btn-lg" href="javascript:history.back()"><i class="fa fa-check"></i> Back </a> <!-- <a href="invoice_print.php?abc=random_code&&xyz=<?php //echo $xyz;?>" target="_blank" class="btn btn-primary btn-lg"><i class="fa fa-print"></i> Print </a>--> </div> <br> <br> </div> </div> </div> <div class="col-md-1"> <div class="invoice-button-action-set"> <p> <button class="btn btn-primary" type="button"><i class="fa fa-print"></i></button> </p> <p> <button class="btn " type="button"><i class="fa fa-cloud-download"></i></button> </p> </div> </div> </div> </div> </div> </div> <!-- END CONTAINER --> <!-- BEGIN CHAT --> <div id="sidr" class="chat-window-wrapper"> <div id="main-chat-wrapper" > <div class="chat-window-wrapper fadeIn" id="chat-users" > <div class="chat-header"> <div class="pull-left"> <input type="text" placeholder="search"> </div> <div class="pull-right"> <a href="#" class="" ><div class="iconset top-settings-dark "></div> </a> </div> </div> <div class="side-widget"> <div class="side-widget-title">group chats</div> <div class="side-widget-content"> <div id="groups-list"> <ul class="groups" > <li><a href="#"><div class="status-icon green"></div>Office work</a></li> <li><a href="#"><div class="status-icon green"></div>Personal vibes</a></li> </ul> </div> </div> </div> <div class="side-widget fadeIn"> <div class="side-widget-title">favourites</div> <div id="favourites-list"> <div class="side-widget-content" > <div class="user-details-wrapper active" data-chat-status="online" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="Jane Smith"> <div class="user-profile"> <img src="assets/img/profiles/d.jpg" alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> Jane Smith </div> <div class="user-more"> Hello you there? </div> </div> <div class="user-details-status-wrapper"> <span class="badge badge-important">3</span> </div> <div class="user-details-count-wrapper"> <div class="status-icon green"></div> </div> <div class="clearfix"></div> </div> <div class="user-details-wrapper" data-chat-status="busy" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="David Nester"> <div class="user-profile"> <img src="assets/img/profiles/c.jpg" alt="" data-src="assets/img/profiles/c.jpg" data-src-retina="assets/img/profiles/c2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> David Nester </div> <div class="user-more"> Busy, Do not disturb </div> </div> <div class="user-details-status-wrapper"> <div class="clearfix"></div> </div> <div class="user-details-count-wrapper"> <div class="status-icon red"></div> </div> <div class="clearfix"></div> </div> </div> </div> </div> <div class="side-widget"> <div class="side-widget-title">more friends</div> <div class="side-widget-content" id="friends-list"> <div class="user-details-wrapper" data-chat-status="online" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="Jane Smith"> <div class="user-profile"> <img src="assets/img/profiles/d.jpg" alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> Jane Smith </div> <div class="user-more"> Hello you there? </div> </div> <div class="user-details-status-wrapper"> </div> <div class="user-details-count-wrapper"> <div class="status-icon green"></div> </div> <div class="clearfix"></div> </div> <div class="user-details-wrapper" data-chat-status="busy" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="David Nester"> <div class="user-profile"> <img src="assets/img/profiles/h.jpg" alt="" data-src="assets/img/profiles/h.jpg" data-src-retina="assets/img/profiles/h2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> David Nester </div> <div class="user-more"> Busy, Do not disturb </div> </div> <div class="user-details-status-wrapper"> <div class="clearfix"></div> </div> <div class="user-details-count-wrapper"> <div class="status-icon red"></div> </div> <div class="clearfix"></div> </div> <div class="user-details-wrapper" data-chat-status="online" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="Jane Smith"> <div class="user-profile"> <img src="assets/img/profiles/c.jpg" alt="" data-src="assets/img/profiles/c.jpg" data-src-retina="assets/img/profiles/c2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> Jane Smith </div> <div class="user-more"> Hello you there? </div> </div> <div class="user-details-status-wrapper"> </div> <div class="user-details-count-wrapper"> <div class="status-icon green"></div> </div> <div class="clearfix"></div> </div> <div class="user-details-wrapper" data-chat-status="busy" data-chat-user-pic="assets/img/profiles/d.jpg" data-chat-user-pic-retina="assets/img/profiles/d2x.jpg" data-user-name="David Nester"> <div class="user-profile"> <img src="assets/img/profiles/h.jpg" alt="" data-src="assets/img/profiles/h.jpg" data-src-retina="assets/img/profiles/h2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="user-name"> David Nester </div> <div class="user-more"> Busy, Do not disturb </div> </div> <div class="user-details-status-wrapper"> <div class="clearfix"></div> </div> <div class="user-details-count-wrapper"> <div class="status-icon red"></div> </div> <div class="clearfix"></div> </div> </div> </div> </div> <div class="chat-window-wrapper fadeIn" id="messages-wrapper" style="display:none"> <div class="chat-header"> <div class="pull-left"> <input type="text" placeholder="search"> </div> <div class="pull-right"> <a href="#" class="" ><div class="iconset top-settings-dark "></div> </a> </div> </div> <div class="clearfix"></div> <div class="chat-messages-header"> <div class="status online"></div><span class="semi-bold">Jane Smith(Typing..)</span> <a href="#" class="chat-back"><i class="icon-custom-cross"></i></a> </div> <div class="chat-messages"> <div class="sent_time">Yesterday 11:25pm</div> <div class="user-details-wrapper " > <div class="user-profile"> <img src="assets/img/profiles/d.jpg" alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="bubble"> Hello, You there? </div> </div> <div class="clearfix"></div> <div class="sent_time off">Yesterday 11:25pm</div> </div> <div class="user-details-wrapper "> <div class="user-profile"> <img src="assets/img/profiles/d.jpg" alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="bubble"> How was the meeting? </div> </div> <div class="clearfix"></div> <div class="sent_time off">Yesterday 11:25pm</div> </div> <div class="user-details-wrapper "> <div class="user-profile"> <img src="assets/img/profiles/d.jpg" alt="" data-src="assets/img/profiles/d.jpg" data-src-retina="assets/img/profiles/d2x.jpg" width="35" height="35"> </div> <div class="user-details"> <div class="bubble"> Let me know when you free </div> </div> <div class="clearfix"></div> <div class="sent_time off">Yesterday 11:25pm</div> </div> <div class="sent_time ">Today 11:25pm</div> <div class="user-details-wrapper pull-right"> <div class="user-details"> <div class="bubble sender"> Let me know when you free </div> </div> <div class="clearfix"></div> <div class="sent_time off">Sent On Tue, 2:45pm</div> </div> </div> </div> <div class="chat-input-wrapper" style="display:none"> <textarea id="chat-message-input" rows="1" placeholder="Type your message"></textarea> </div> <div class="clearfix"></div> </div> </div> <!-- END CHAT --> <!-- END CONTAINER --> <!-- BEGIN CORE JS FRAMEWORK--> <script src="assets/plugins/jquery-1.8.3.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-ui/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script> <script src="assets/plugins/bootstrap/js/bootstrap.min.js" type="text/javascript"></script> <script src="assets/plugins/breakpoints.js" type="text/javascript"></script> <script src="assets/plugins/jquery-unveil/jquery.unveil.min.js" type="text/javascript"></script> <script src="assets/plugins/pace/pace.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-block-ui/jqueryblockui.js" type="text/javascript"></script> <!-- END CORE JS FRAMEWORK --> <!-- BEGIN PAGE LEVEL JS --> <script src="assets/plugins/jquery-slider/jquery.sidr.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-numberAnimate/jquery.animateNumbers.js" type="text/javascript"></script> <!-- END PAGE LEVEL PLUGINS --> <!-- BEGIN CORE TEMPLATE JS --> <script src="assets/js/core.js" type="text/javascript"></script> <script src="assets/js/chat.js" type="text/javascript"></script> <script src="assets/js/demo.js" type="text/javascript"></script> <!-- END CORE TEMPLATE JS --> </body> </html>