From 08cef936c34bbe173f3f7479358f278872f303af Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Wed, 20 Oct 2004 14:09:15 +0000 Subject: [PATCH] old code, don't understand the aim of such thing, and it's broken --- htdocs/marketing/public.php | 4 ++-- templates/search.result.private.tpl | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/marketing/public.php b/htdocs/marketing/public.php index 0d302e0..0a21e14 100644 --- a/htdocs/marketing/public.php +++ b/htdocs/marketing/public.php @@ -18,7 +18,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: public.php,v 1.4 2004-10-09 14:29:06 x2000habouzit Exp $ + $Id: public.php,v 1.5 2004-10-20 14:09:15 x2000habouzit Exp $ ***************************************************************************/ require("auto.prepend.inc.php"); @@ -26,7 +26,7 @@ new_skinned_page('marketing/public.tpl', AUTH_MDP); if (! isset($_REQUEST["num"])) { exit; } -$mat = (((integer) $_REQUEST["num"]) + 100) / 2; +$mat = $_REQUEST["num"]; $res = $globals->db->query("SELECT nom,prenom,promo FROM identification WHERE matricule = '$mat'"); if (list($nom, $prenom, $promo) = mysql_fetch_row($res)) { diff --git a/templates/search.result.private.tpl b/templates/search.result.private.tpl index d8b427b..1d72c65 100644 --- a/templates/search.result.private.tpl +++ b/templates/search.result.private.tpl @@ -17,7 +17,7 @@ * Foundation, Inc., * * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * *************************************************************************** - $Id: search.result.private.tpl,v 1.16 2004-10-16 14:54:50 x2000habouzit Exp $ + $Id: search.result.private.tpl,v 1.17 2004-10-20 14:09:15 x2000habouzit Exp $ ***************************************************************************}
@@ -46,7 +46,7 @@ {if $result.inscrit!=1} {if $result.decede != 1}
- + clique ici si tu connais son adresse email !
-- 2.1.4