diff --git a/htdocs/comm/propal/apercu.php b/htdocs/comm/propal/apercu.php
index ce80783c731..e575c8f27fc 100644
--- a/htdocs/comm/propal/apercu.php
+++ b/htdocs/comm/propal/apercu.php
@@ -186,7 +186,7 @@ if ($id > 0 || ! empty($ref))
// Si fichier png PDF d'1 page trouve
if (file_exists($fileimage))
{
- print '';
+ print '
';
}
// Si fichier png PDF de plus d'1 page trouve
elseif (file_exists($fileimagebis))
@@ -199,13 +199,12 @@ elseif (file_exists($fileimagebis))
if (file_exists($dir_output.$preview))
{
- print '
';
+ print '
';
}
}
}
-print '';
-
-$db->close();
llxFooter();
+
+$db->close();
diff --git a/htdocs/commande/apercu.php b/htdocs/commande/apercu.php
index abb2be95076..839ca73d5b9 100644
--- a/htdocs/commande/apercu.php
+++ b/htdocs/commande/apercu.php
@@ -206,7 +206,7 @@ if ($id > 0 || ! empty($ref))
// Si fichier png PDF d'1 page trouve
if (file_exists($fileimage))
{
- print '';
+ print '
';
}
// Si fichier png PDF de plus d'1 page trouve
elseif (file_exists($fileimagebis))
@@ -219,13 +219,12 @@ elseif (file_exists($fileimagebis))
if (file_exists($dir_output.$preview))
{
- print '
';
+ print '
';
}
}
}
-print '';
-
-$db->close();
llxFooter();
+
+$db->close();
diff --git a/htdocs/compta/facture/apercu.php b/htdocs/compta/facture/apercu.php
index ee197e9cee3..211d9241a8f 100644
--- a/htdocs/compta/facture/apercu.php
+++ b/htdocs/compta/facture/apercu.php
@@ -398,7 +398,7 @@ if ($id > 0 || ! empty($ref))
// Si fichier png PDF d'1 page trouve
if (file_exists($fileimage))
{
- print '';
+ print '
';
}
// Si fichier png PDF de plus d'1 page trouve
elseif (file_exists($fileimagebis))
@@ -411,12 +411,12 @@ elseif (file_exists($fileimagebis))
if (file_exists($dir_output.$preview))
{
- print '
';
+ print '
';
}
}
}
-$db->close();
-
llxFooter();
+
+$db->close();
diff --git a/htdocs/fichinter/apercu.php b/htdocs/fichinter/apercu.php
index 4edd52809df..65721bdcce1 100644
--- a/htdocs/fichinter/apercu.php
+++ b/htdocs/fichinter/apercu.php
@@ -1,6 +1,6 @@
- * Copyright (C) 2004-2005 Laurent Destailleur ';
+ print ' ';
}
}
}
-print '';
-
-$db->close();
llxFooter();
+
+$db->close();
';
+ print '
';
}
// Si fichier png PDF de plus d'1 page trouve
elseif (file_exists($fileimagebis))
@@ -178,13 +185,12 @@ elseif (file_exists($fileimagebis))
if (file_exists($dir_output.$preview))
{
- print '