From b7163728d99fbaf0e611afc37cb51812d935385f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 11 Jul 2007 07:53:48 +0000 Subject: [PATCH] Ajout images --- htdocs/telephonie/facturation/cdr-import.php | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/htdocs/telephonie/facturation/cdr-import.php b/htdocs/telephonie/facturation/cdr-import.php index f612b2e328b..79e892c39af 100644 --- a/htdocs/telephonie/facturation/cdr-import.php +++ b/htdocs/telephonie/facturation/cdr-import.php @@ -59,7 +59,7 @@ print_barre_liste("Importation des fichiers CDR", $page, "files.php", "", $sortf print ''; print ''; -print ''; +print ''; print "\n"; @@ -70,9 +70,20 @@ $obj->Import($_GET["id"]); foreach ($obj->messages as $message) { - $var=!$var; - print ""; - print ''; + $var=!$var; + print ""; + + if (is_array($message)) + { + $func = 'img_'.$message[0]; + print ''; + print ''; + } + else + { + print ''; + print ''; + } } print "
MessageMessages
'.$message.'
'.$func().''.$message[1].'
'.img_info().''.$message.'
";