".$msg["cashdesk_form_locations"]." | ".$msg["cashdesk_form_sections"]." |
---|---|
";
$form.="".htmlentities($loc->location_libelle,ENT_QUOTES, $charset)." "; $form.=" | ";
$requete = "SELECT idsection, section_libelle FROM docs_section, docsloc_section where idsection=num_section and num_location='$loc->idlocation' order by section_libelle";
$result = mysql_query($requete, $dbh);
$form.="";
if ( mysql_num_rows($result)) {
while (($section = mysql_fetch_object($result))) {
if($this->affectation[$loc->idlocation][$section->idsection])$checked=" checked='checked' "; else $checked="";
$form.="".$section->section_libelle." "; } } $form.=" | ";
$form.="