14 include(
"../../../configuration.inc.php");
17 if ((!empty($_POST[
'id']) || !empty($_POST[
'technical_code'])) && !empty($_POST[
'mode'])) {
18 $sql =
'SELECT subject, text, lang
19 FROM peel_email_template
23 if ($_POST[
'mode'] ==
"message") {
24 $output .= $row_template[
'text'];
25 }
elseif ($_POST[
'mode'] ==
"title") {
26 $output .= $row_template[
'subject'];
27 }
elseif ($_POST[
'mode'] ==
"lang") {
28 $output .= $row_template[
'lang'];
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()