".$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 = pmb_mysql_query($requete, $dbh);
$form.="";
if ( pmb_mysql_num_rows($result)) {
while ($section = pmb_mysql_fetch_object($result)) {
if(isset($this->affectation[$loc->idlocation][$section->idsection]) && $this->affectation[$loc->idlocation][$section->idsection]) {
$checked=" checked='checked' ";
} else {
$checked="";
}
$form.="".$section->section_libelle." "; } } $form.=" | ";
$form.="