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/pro/../ |
[ Home ] | [ Terminal ] | [ Upload File ] |
---|
<?php require('function.php'); require('database.php'); $ob = new database(); login_check(); ?> <!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" /> <!-- BEGIN PLUGIN CSS --> <link href="assets/plugins/bootstrap-select2/select2.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"/> <link href="assets/plugins/jquery-datatable/css/jquery.dataTables.css" rel="stylesheet" type="text/css"/> <link href="assets/plugins/boostrap-checkbox/css/bootstrap-checkbox.css" rel="stylesheet" type="text/css" media="screen"/> <link href="assets/plugins/datatables-responsive/css/datatables.responsive.css" rel="stylesheet" type="text/css" media="screen"/> <!-- END PLUGIN CSS --> <!-- 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/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-fluid"> <!-- 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 animate-progress-bar progress-bar-success " ></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="#"><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"> <ul class="breadcrumb"> <li> <p>YOU ARE HERE</p> </li> <li><a href="dash.php" class="active">Dashboard</a> </li> <li><a href="#" class="active">View Order</a> </li> </ul> <div class="page-title"> <i class="icon-custom-left"></i> <h3>View - <span class="semi-bold">Order List</span></h3> </div> <div class="row-fluid"> <div class="span12"> <div class="grid simple "> <div class="grid-title"> <h4>View <span class="semi-bold">Order List</span></h4> <div class="tools"> <a href="javascript:;" class="collapse"></a> <a href="#grid-config" data-toggle="modal" class="config"></a> <a href="javascript:;" class="reload"></a> <a href="javascript:;" class="remove"></a> </div> </div> <?php //edit_order_status(); ?> <!-- <form role="form" method="post" action="<?php //$_SERVER['PHP_SELF'] ?>">--> <div class="grid-body "> <table class="table table-striped" id="example" > <thead> <tr> <th width="7%">S.no</th> <th width="12%">Product Name</th> <th width="10%">Quantity</th> <th width="10%">Order Id</th> <th width="10%"> Date</th> <th width="8%">User Name</th> <th width="8%">Full View</th> </tr> </thead> <tbody> <?php $a="none"; $obj = new database(); $obj->query("SELECT * FROM order_details group by randam_code"); $i=0; foreach($obj->rows() as $dish) { $i++; ?> <tr class=""> <td><?php echo $i;?> <!-- <input type="checkbox" name="id[]" value="<?php //echo $dish['id']; ?>"/>--> </td> <td><?php echo $dish['p_name'];?></td> <td><?php echo $dish['p_quan']; ?></td> <td><?php echo $dish['randam_code']; ?></td> <td><?php echo $dish['c_date']; ?></td> <td> <?php $user=$dish['user_name']; $obj->query("SELECT * FROM add_user WHERE username='$user'"); foreach($obj->rows() as $dish1) { echo $name = $dish1['u_name']; } ?> </td> <td><a href="invoice.php?abc=random_code&xyz=<?php echo $dish['randam_code'];?>" class="btn btn-info btn-xs btn-primary"> <i class="fa fa-external-link"></i> View </a></td> </tr> <?php }?> </tbody> </table> <!-- <input type="submit" name="update_shiping" value="Update" class="btn btn-info btn-xs btn-primary"> </form>--> </div> </div> </div> </div> </div> <div class="addNewRow"></div> </div> </div> <!-- END PAGE --> <!-- BEGIN CHAT --> <!-- 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> <!-- END CORE JS FRAMEWORK --> <!-- BEGIN PAGE LEVEL JS --> <script src="assets/plugins/jquery-block-ui/jqueryblockui.js" type="text/javascript"></script> <script src="assets/plugins/jquery-slider/jquery.sidr.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-numberAnimate/jquery.animateNumbers.js" type="text/javascript"></script> <script src="assets/plugins/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script> <script src="assets/plugins/bootstrap-select2/select2.min.js" type="text/javascript"></script> <script src="assets/plugins/jquery-datatable/js/jquery.dataTables.min.js" type="text/javascript" ></script> <script src="assets/plugins/jquery-datatable/extra/js/TableTools.min.js" type="text/javascript" ></script> <script type="text/javascript" src="assets/plugins/datatables-responsive/js/datatables.responsive.js"></script> <script type="text/javascript" src="assets/plugins/datatables-responsive/js/lodash.min.js"></script> <!-- END PAGE LEVEL PLUGINS --> <script src="assets/js/datatables.js" type="text/javascript"></script> <!-- 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 --> <!-- END JAVASCRIPTS --> <script type="text/javascript" src="source/jquery.fancybox.js?v=2.1.5"></script> <link rel="stylesheet" type="text/css" href="source/jquery.fancybox.css?v=2.1.5" media="screen" /> <script type="text/javascript"> $(document).ready (function() { $('.fancybox').fancybox(); }); </script> <script> //alert on delete function confirm_alert(node) { return confirm("You are about to permanently delete a product. Click OK to continue or CANCEL to quit."); } </script> </body> </html>