(.+)<\/FONT><\/TH>/", $line1, $match1)) { $line1 = fgets($fp1, 1024); preg_match("/^"; print $statinfo; ##################### ?>
Logo ADUC ADUC - Associazione per i diritti degli utenti e consumatori
(.+)<\/FONT><\/TH>/", $line1, $match1); $VTotali = $match1[1]; break; } } fclose($fp1); return $VTotali; } else return 0; } function tot_hit($file) { if (file_exists($file)) { $fpa1 = fopen($file, "r"); while ( !feof($fpa1) ) { $line1 = fgets($fpa1, 1024); if (preg_match("/^(.+)<\/FONT><\/TH><\/TR>/", $line1, $match1)) { $CTotali = $match1[1]; break; } } fclose($fpa1); return $CTotali; } else return 0; } // Si generano le statistiche // CONTATTI $Ctota_aduc = tot_hit($basedir."Portale/logs/stats/2009/index.html"); $Ctota_avve = tot_hit($basedir."Avvertenze/logs/stats/2009/index.html"); $Ctota_dila = tot_hit($basedir."Dilatua/logs/stats/2009/index.html"); $Ctota_drog = tot_hit($basedir."Droghe/logs/stats/2009/index.html"); $Ctota_immi = tot_hit($basedir."Immigrazione/logs/stats/2009/index.html"); $Ctota_inve = tot_hit($basedir."Investire/logs/stats/2009/index.html"); $Ctota_parl = tot_hit($basedir."Parlamento/logs/stats/2009/index.html"); $Ctota_salu = tot_hit($basedir."Salute/logs/stats/2009/index.html"); $Ctota_stam = tot_hit($basedir."../Staminali/logs/stats/2009/index.html"); $Ctota_soso = tot_hit($basedir."Sosonline/logs/stats/2009/index.html"); $Ctota_tlcm = tot_hit($basedir."Tlc/logs/stats/2009/index.html"); // VISITE $Vtota_aduc = tot_visit($basedir."Portale/logs/stats/2009/index.html"); $Vtota_avve = tot_visit($basedir."Avvertenze/logs/stats/2009/index.html"); $Vtota_dila = tot_visit($basedir."Dilatua/logs/stats/2009/index.html"); $Vtota_drog = tot_visit($basedir."Droghe/logs/stats/2009/index.html"); $Vtota_immi = tot_visit($basedir."Immigrazione/logs/stats/2009/index.html"); $Vtota_inve = tot_visit($basedir."Investire/logs/stats/2009/index.html"); $Vtota_parl = tot_visit($basedir."Parlamento/logs/stats/2009/index.html"); $Vtota_salu = tot_visit($basedir."Salute/logs/stats/2009/index.html"); $Vtota_stam = tot_visit($basedir."../Staminali/logs/stats/2009/index.html"); $Vtota_soso = tot_visit($basedir."Sosonline/logs/stats/2009/index.html"); $Vtota_tlcm = tot_visit($basedir."Tlc/logs/stats/2009/index.html"); // RIEPILOGO $ctota = $Ctota_aduc+$Ctota_avve+$Ctota_dila+$Ctota_drog+$Ctota_immi+$Ctota_inve+$Ctota_parl+$Ctota_salu+$Ctota_stam+$Ctota_soso+$Ctota_tlcm; $vtota = $Vtota_aduc+$Vtota_avve+$Vtota_dila+$Vtota_drog+$Vtota_immi+$Vtota_inve+$Vtota_parl+$Vtota_salu+$Vtota_stam+$Vtota_soso+$Vtota_tlcm; $statinfo = "
Nel 2009 abbiamo avuto
SettoreContattiVisite
Portale".number_format($Ctota_aduc,0,',','.')."".number_format($Vtota_aduc,0,',','.')."
Avvertenze".number_format($Ctota_avve,0,',','.')."".number_format($Vtota_avve,0,',','.')."
Dilatua".number_format($Ctota_dila,0,',','.')."".number_format($Vtota_dila,0,',','.')."
Droghe".number_format($Ctota_drog,0,',','.')."".number_format($Vtota_drog,0,',','.')."
Immigrazione".number_format($Ctota_immi,0,',','.')."".number_format($Vtota_immi,0,',','.')."
Investire".number_format($Ctota_inve,0,',','.')."".number_format($Vtota_inve,0,',','.')."
Parlamento".number_format($Ctota_parl,0,',','.')."".number_format($Vtota_parl,0,',','.')."
Salute".number_format($Ctota_salu,0,',','.')."".number_format($Vtota_salu,0,',','.')."
Staminali".number_format($Ctota_stam,0,',','.')."".number_format($Vtota_stam,0,',','.')."
Sosonline".number_format($Ctota_soso,0,',','.')."".number_format($Vtota_soso,0,',','.')."
Telecomun.".number_format($Ctota_tlcm,0,',','.')."".number_format($Vtota_tlcm,0,',','.')."
 
Totale".number_format($ctota,0,',','.')."".number_format($vtota,0,',','.')."
 
Negli ultimi anni abbiamo avuto
2008185.594.7569.143.663
2007122.973.2179.651.187
2006 85.875.9115.610.527
2005 66.050.4133.451.216
2004 51.368.8002.143.295
2003 69.549.4331.501.661