" ; $arrFiltroFornitori = array() ; $qfor = " select T.*, F.idfornitori as IdFornitore, F.Nome as NomeFornitore from target T inner join fornitori F on F.idfornitori = T.IdFornitore where T.Anno = $anno order by T.nome " ; list($n, $d) = $db->RecuperaDati($qfor) ; for ($i=0; $i<$n; $i++) { $id = $d['id'][$i] ; $nomeTarget = htmlspecialchars($d['Nome'][$i]) ; $idFornitore = $d['IdFornitore'][$i] ; $nomeFornitore = htmlspecialchars($d['NomeFornitore'][$i]) ; $valoreTarget = nfl($d['ValoreTarget'][$i]) ; $premio = nfe($d['Premio'][$i]) ; $note = htmlspecialchars($d['Note'][$i]) ; if (! array_key_exists($idFornitore, $arrFiltroFornitori)) $arrFiltroFornitori[$idFornitore] = $nomeFornitore ; if ( (isset($target) and $target != '' and (strpos(strtoupper($nomeTarget), strtoupper($target)) === false)) or (isset($fornitore) and $fornitore > 0 and $idFornitore != $fornitore and $fornitore != "tutti") ) continue ; $act_fil ++ ; $str .= "$nomeTarget$nomeFornitore$valoreTarget$premio$note" ; } @asort($arrFiltroFornitori) ; $str .= "" ; $header = "NOME TARGET,FORNITORE,TARGET $anno,PREMIO,NOTE" ; $attHeaderStyle = "background-color:#ffffaa;border-bottom:1px solid silver;padding:2px 2px 0px 2px" ; $attH = "
,
, , , " ; $attHS = "$attHeaderStyle,$attHeaderStyle,$attHeaderStyle,$attHeaderStyle,$attHeaderStyle" ; $strSort = "str,str,int,euro,str" ; $iniWP = "25,25,10,10,20" ; $setColType = "ro,ro,ro,ro,ro" ; ?> <? echo TITLE ?> 0) : ?>
- Al momento non sono presenti nell'archivio Target per l'anno in esame
Numero Target: ; Attualmente filtrati: (per selezionare un target clicca sulla riga corrispondente)