From 8f8c54789d6a1807cae4dbe818a46e8ab4e9cdb3 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 29 Jan 2005 14:58:53 +0000 Subject: [PATCH] Qual: Suppression d'une partie de code inutile. --- htdocs/comm/index.php | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/htdocs/comm/index.php b/htdocs/comm/index.php index 613a2f398fd..44b19a5d628 100644 --- a/htdocs/comm/index.php +++ b/htdocs/comm/index.php @@ -49,23 +49,10 @@ if ($user->societe_id > 0) llxHeader(); -function valeur($sql) -{ - global $db; - if ( $db->query($sql) ) - { - if ( $db->num_rows() ) - { - $valeur = $db->result(0,0); - } - $db->free(); - } - return $valeur; -} -/* - * - */ +/* + * Actions + */ if ($_GET["action"] == 'add_bookmark') { @@ -88,6 +75,10 @@ if ($_GET["action"] == 'del_bookmark') } +/* + * Affichage page + */ + print_titre("Espace commercial"); print ''; @@ -95,7 +86,6 @@ print '
'; print '
'; - /* * Recherche Propal */