16 include(
"../../configuration.inc.php");
20 include(
$GLOBALS[
'dirroot'].
"/lib/fonctions/display_caddie.php");
22 if(!empty(
$_SESSION[
'session_utilisateur'][
'id_utilisateur'])) {
23 $session_utilisateur_id =
$_SESSION[
'session_utilisateur'][
'id_utilisateur'];
24 }
elseif (!defined(
'PEEL_VERSION') && !empty(
$_SESSION[
'utilisateur'][
'id_utilisateur'])){
25 $session_utilisateur_id =
$_SESSION[
'utilisateur'][
'id_utilisateur'];
27 $session_utilisateur_id = null;
41 if(!empty($session_utilisateur_id) || !empty(
$_SESSION[
'session_last_bill_viewed'])){
45 WHERE o_timestamp >= "' . date(
'Y-m-d H:i:s', (time())-1800) .
'" AND ' .
get_filter_site_cond(
'commandes') .
'
47 if(!empty($session_utilisateur_id)){
48 $sql .=
' AND id_utilisateur = "' . intval($session_utilisateur_id) .
'"';
50 $sql .=
' AND id="' . intval(
$_SESSION[
'session_last_bill_viewed']) .
'"';
60 include(
$GLOBALS[
'repertoire_modele'] .
"/haut.php");
61 affichage_fin_cb(
vb($r[
'id']),
false);
62 include(
$GLOBALS[
'repertoire_modele'] .
"/bas.php");
get_filter_site_cond($table_technical_code, $table_alias=null, $use_strict_rights_if_in_admin=false, $specific_site_id=null, $exclude_public_items=false, $admin_force_multisite_if_allowed=false)
Retourne la condition SQL permettant de filtrer les données pour une table.
query($query, $die_if_error=false, $database_object=null, $silent_if_error=false, $security_sql_filter=true)
The query() function is meant to be called anywhere you want to make a query.
if(strlen($date2)== '10') if($type== 'users-by-age'&&a_priv('admin_users', true)) elseif($type== 'forums-count'&&a_priv('admin_content', true)) elseif($type== 'forums-categories'&&a_priv('admin_content', true)) elseif($type== 'users-count'&&a_priv('admin_users', true)) elseif($type== 'product-categories'&&a_priv('admin_products', true)) elseif($type== 'users-by-sex'&&a_priv('admin_users', true)) elseif($type== 'users-by-country'&&a_priv('admin_users', true)) elseif($type== 'sales'&&a_priv('admin_sales', true))
fetch_assoc($query_result)
fetch_assoc()
$GLOBALS['page_columns_count']
const PEEL_VERSION(version_compare(PHP_VERSION, '5.1.2', '<'))
update_order_payment_status($order_id, $status_or_is_payment_validated, $allow_update_paid_orders=true, $statut_livraison_new=null, $delivery_tracking=null, $no_stock_decrement_already_done=false, $payment_technical_code=null)
Met à jour le status de paiement et/ou de livraison d'une commande, et gère les stocks suivant le sta...
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']