Example #1
0
<form name="formulaire_recherche" id="formulaire_recherche" method="post" action="<?php 
echo $this->url;
?>
" onsubmit="return LancerRecherche()">
    <?php 
$refno = '';
$refchoisie = '';
$villechoisie = '';
// echo 'session : '.$_SESSION['refville']. ' - requete : '.$_REQUEST['refville'];
if (isset($_SESSION["ref"]) || isset($_SESSION["refville"])) {
    $refchoisie = $_SESSION["ref"];
    $refno = '<br/> &rarr; <a style="font-style:italic;" href="' . $this->url . '&ref=&refville=&npage="> Toutes les sociétés </a>';
    $villechoisie = $_SESSION["refville"];
}
echo '&nbsp;&nbsp;&nbsp;' . Form::text('recherche_ref', $refchoisie, '&rarr; Rechercher par nom / NAF', '', '') . '<br/>';
echo '&nbsp;&nbsp;&nbsp;' . Form::text('recherche_ville', $villechoisie, '&rarr; Rechercher par ville', '', '') . Form::btn_Valider();
echo $refno;
?>
</form>

<form name="formulaire_liste" method="post" action="<?php 
echo htmlspecialchars($this->url . '&action=list_apply');
?>
">
	<table class="liste_articles">
		<thead>
			<tr>			
				<?php 
if ($GLOBALS['id-connec'] < 1) {
    ?>