15 include(
"../../configuration.inc.php");
17 if (empty($_GET[
'id'])) {
24 include(
$GLOBALS[
'dirroot'] .
"/lib/fonctions/display_caddie.php");
26 if (!empty(
$_SESSION[
'session_utilisateur'][
'id_utilisateur'])) {
27 $session_utilisateur_id =
$_SESSION[
'session_utilisateur'][
'id_utilisateur'];
28 }
elseif (!defined(
'PEEL_VERSION') && !empty(
$_SESSION[
'utilisateur'][
'id_utilisateur'])) {
29 $session_utilisateur_id =
$_SESSION[
'utilisateur'][
'id_utilisateur'];
31 $session_utilisateur_id = null;
46 if (!empty($session_utilisateur_id)) {
47 $sql .=
' AND id_utilisateur = "' . intval($session_utilisateur_id) .
'"';
54 include(
$GLOBALS[
'repertoire_modele'] .
"/haut.php");
55 affichage_fin_cb(
vb($r[
'id']),
true);
56 include(
$GLOBALS[
'repertoire_modele'] .
"/bas.php");
if(empty($_GET['id'])) $transaction_id
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', '<'))
if(defined('IN_PEEL_ADMIN')||IN_INSTALLATION) $_SESSION['session_langue']