diff --git a/htdocs/societe/admin/contact_extrafields.php b/htdocs/societe/admin/contact_extrafields.php index 6a359232a16..34bdb688835 100644 --- a/htdocs/societe/admin/contact_extrafields.php +++ b/htdocs/societe/admin/contact_extrafields.php @@ -113,6 +113,6 @@ if ($action == 'edit' && ! empty($attrname)) require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/admin/societe.php b/htdocs/societe/admin/societe.php index ecbefe2cb1d..a833363aff1 100644 --- a/htdocs/societe/admin/societe.php +++ b/htdocs/societe/admin/societe.php @@ -835,7 +835,6 @@ print ''; dol_fiche_end(); - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/admin/societe_extrafields.php b/htdocs/societe/admin/societe_extrafields.php index 11131eb25af..39f3ab53866 100644 --- a/htdocs/societe/admin/societe_extrafields.php +++ b/htdocs/societe/admin/societe_extrafields.php @@ -114,6 +114,6 @@ if ($action == 'edit' && ! empty($attrname)) require DOL_DOCUMENT_ROOT.'/core/tpl/admin_extrafields_edit.tpl.php'; } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/agenda.php b/htdocs/societe/agenda.php index ebd35a6575c..ffcd894e84a 100644 --- a/htdocs/societe/agenda.php +++ b/htdocs/societe/agenda.php @@ -190,7 +190,6 @@ if ($socid > 0) } } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/card.php b/htdocs/societe/card.php index 419c007906a..5343c5509a1 100644 --- a/htdocs/societe/card.php +++ b/htdocs/societe/card.php @@ -2650,7 +2650,6 @@ else } } - // End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/checkvat/checkVatPopup.php b/htdocs/societe/checkvat/checkVatPopup.php index e15c0864574..1222689358f 100644 --- a/htdocs/societe/checkvat/checkVatPopup.php +++ b/htdocs/societe/checkvat/checkVatPopup.php @@ -174,6 +174,6 @@ if ($messagetoshow) print nl2br($messagetoshow); } - +// End of page llxFooter(); -$db->close(); +$db->close();; diff --git a/htdocs/societe/consumption.php b/htdocs/societe/consumption.php index 947c35a2d5c..c46f046f483 100644 --- a/htdocs/societe/consumption.php +++ b/htdocs/societe/consumption.php @@ -650,6 +650,6 @@ else { print ""; +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/contact.php b/htdocs/societe/contact.php index 37fb07eb652..24ec0026455 100644 --- a/htdocs/societe/contact.php +++ b/htdocs/societe/contact.php @@ -171,8 +171,6 @@ if ($action != 'presend') } } - - // End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/document.php b/htdocs/societe/document.php index edceeb255c1..25478e133af 100644 --- a/htdocs/societe/document.php +++ b/htdocs/societe/document.php @@ -169,6 +169,6 @@ else accessforbidden('',0,0); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/index.php b/htdocs/societe/index.php index 1bed6e635a0..b7ce405b433 100644 --- a/htdocs/societe/index.php +++ b/htdocs/societe/index.php @@ -365,6 +365,6 @@ else //print ''; print ''; +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/list.php b/htdocs/societe/list.php index d0e7fd19062..a8ae45b317c 100644 --- a/htdocs/societe/list.php +++ b/htdocs/societe/list.php @@ -1301,5 +1301,6 @@ print ""; print ''; +// End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/note.php b/htdocs/societe/note.php index e31a07e8e65..169d2b687e9 100644 --- a/htdocs/societe/note.php +++ b/htdocs/societe/note.php @@ -129,6 +129,7 @@ else print $langs->trans("ErrorRecordNotFound"); } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/notify/card.php b/htdocs/societe/notify/card.php index cd8212ae327..fb4b51f17c8 100644 --- a/htdocs/societe/notify/card.php +++ b/htdocs/societe/notify/card.php @@ -532,7 +532,6 @@ if ($result > 0) } else dol_print_error('','RecordNotFound'); - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/notify/index.php b/htdocs/societe/notify/index.php index 3326e431178..9980cf19a2a 100644 --- a/htdocs/societe/notify/index.php +++ b/htdocs/societe/notify/index.php @@ -105,6 +105,6 @@ else dol_print_error($db); } - +// End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/paymentmodes.php b/htdocs/societe/paymentmodes.php index 89aad30e2f5..d099cfcc103 100644 --- a/htdocs/societe/paymentmodes.php +++ b/htdocs/societe/paymentmodes.php @@ -1610,7 +1610,6 @@ if ($socid && ($action == 'create' || $action == 'createcard') && $user->rights- print ''; } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/price.php b/htdocs/societe/price.php index e35cf186ae3..45d7f9ad020 100644 --- a/htdocs/societe/price.php +++ b/htdocs/societe/price.php @@ -615,6 +615,6 @@ if (! empty($conf->global->PRODUIT_CUSTOMER_PRICES)) { } } +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/project.php b/htdocs/societe/project.php index 08e2f593acb..dd06346ca33 100644 --- a/htdocs/societe/project.php +++ b/htdocs/societe/project.php @@ -147,7 +147,6 @@ if ($socid) $result=show_projects($conf, $langs, $db, $object, $_SERVER["PHP_SELF"].'?socid='.$object->id, 1, $addbutton); } - +// End of page llxFooter(); - $db->close(); diff --git a/htdocs/societe/societecontact.php b/htdocs/societe/societecontact.php index dfe78041f8a..a2f09f9b77d 100644 --- a/htdocs/societe/societecontact.php +++ b/htdocs/societe/societecontact.php @@ -343,5 +343,6 @@ if ($id > 0 || ! empty($ref)) } } +// End of page llxFooter(); $db->close(); diff --git a/htdocs/societe/website.php b/htdocs/societe/website.php index d00b3144185..760bfef4d27 100644 --- a/htdocs/societe/website.php +++ b/htdocs/societe/website.php @@ -549,8 +549,6 @@ if (in_array('builddoc',$arrayofmassactions) && ($nbtotalofrecords === '' || $nb print $formfile->showdocuments('massfilesarea_mymodule','',$filedir,$urlsource,0,$delallowed,'',1,1,0,48,1,$param,$title,'','','',null,$hidegeneratedfilelistifempty); } - - +// End of page llxFooter(); - $db->close();