BACKD00R 1337
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  ]

Current File : /home/rubyaromatics/public_html/controller/full_profile_view.php
<?php
require('function.php');
require('database.php');
$ob = new database();
login_check();

    $xyz = $_GET['xyz']; 

	$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>CCBELTS</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 -->
<link rel="stylesheet" type="text/css" href="http://webrupee.com/font">
</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="order_list.php" class="active">Order List</a> </li>
               	 <li><a href="#" class="active">Profile View</a> </li>
       </ul>
      <div class="page-title"> <i class="icon-custom-left"></i>
        <h3>View - <span class="semi-bold"> Profile</span></h3>
      </div>
                                       <?php 
                                        $xyz = $_GET['xyz']; 

                                        $obj = new database();
                                        $obj->query("SELECT * FROM add_user where email='$e_mail'");
                                        foreach($obj->rows() as $ship)
                                        {
                                        $name = $ship['name'];
                                        $mob = $ship['mobile_no'];
                                        }
                                        ?>
                        <div class="row invoice-to">
                        <div class="col-md-6">
                        <!--widget start-->
                        <aside class="profile-nav alt">
                            <section class="panel">
                                <div class="user-heading alt gray-bg">
                                    <a href="#">
                                        <img alt="" src="assets/img/profiles/a2x.jpg">
                                    </a>
                                    <h1><?php echo $fname; ?> <?php echo $lname; ?></h1>
                                    <p>Phone: <?php echo $ship['mobile_no']; ?> <br>
                                      Email : <?php echo $ship['email'];?></p>
                                </div>
                            </section>
                        </aside>
                        <!--widget end-->
                    </div>
                            <div class="col-md-4 col-sm-4 pull-left">
                                <?php 
                                        $obj = new database();
                                        $obj->query("SELECT * FROM order_details where random_code='$xyz'");
                                        foreach($obj->rows() as $ship)
                                        {
                                       $fname = $ship['billing_name'];
                                        $lname = $ship['l_name'];
                                        }
                                        ?>
                                <h4> BILLING ADDRESS:</h4>
                                <h2><?php echo $fname; ?> <?php echo $lname; ?></h2>
                                <p>
                                    <?php echo $ship['billing_address']; ?><br>
                                    <strong>Near</strong> <?php echo $ship['landmark']; ?><br>
									<?php echo $ship['billing_city']; ?>
                                    <?php echo $ship['billing_state']; ?>
                                    <?php echo $ship['billing_country']; ?>
                                    <?php echo $ship['billing_zip']; ?><br>
                                    Phone: <?php echo $ship['billing_tel']; ?><br>
                                    Email : <?php echo $ship['billing_email']; ?>
                                </p>
                            </div>
                        </div>
      
      <div class="row-fluid">
        <div class="span12">
          <div class="grid simple ">
            <div class="grid-title">
              <h4>View <span class="semi-bold">Profile</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>
            <div class="grid-body ">
              <table class="table table-striped" id="example2" >
                <thead>
                  <tr>
                    <th>S no</th>
                    <th>Order No</th>
                    <th class="text-center">Shiping Status</th>
                    <th class="text-center">Price</th>
                    <th class="text-center">Date</th>
                     <!-- <th class="text-center">Full View</th>-->
                    </tr>
                </thead>
                <tbody>
                        <?php
                        $total = 0;
                        $nof   = 0;
						 $xyz = $_GET['xyz'];
                        
                        $obj->query("SELECT * FROM order_details where random_code='$xyz' order by id desc");
                        $i =0;
						foreach($obj->rows() as $dish)
						if ($obj->numRows() >= 0)
                        {
							$i++;
                        ?>
                        
                        <?php $q = $dish['qty'];
						   $p = $dish['price'];
 						  $sub = $q * $p;
						   ?>
                            <tr>
                            <td><?php echo $i;?></td>
                         <td>
                      <h4><?php echo $dish['order_id']; ?></h4>
                                              </td>
                                <td class="text-center"> 
								<?php
								  if($dish['shiping_status']!='') 
								  {
									  echo $dish['shiping_status'];
									 
									  }
								  else {
									  
									   echo "<span style='color:#cc3333;'> Pending</span>";
									   }
									  ?></td>
                                <td class="text-center"><?php echo $dish['amount'];?></td>
                                <td class="text-center"><?php echo $dish['date'];?></td>
                               <?php ?> <td class="text-center"><a href="invoice.php?abc=random_code&amp;xyz=<?php echo $dish['random_code'];?>" target="_blank">Full</a></td><?php ?>
                            </tr>
                             <?php
                        $total = $total+$sub;
                        $nof   = $nof+$dish['qty'];
                        }
                        ?>
                    </tbody>
              </table>
              <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>
                    
                 </div>
            </div>
          </div>
        </div>
      </div>
    </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 -->
<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>
<!-- END JAVASCRIPTS -->

</body>
</html>

security is just an illusion