"; $sel_header = "
"; $sel_footer = "
"; $baseurl = "./select.php?what=country&caller=$caller&p1=$p1&p2=$p2&no_display=$no_display&bt_ajouter=$bt_ajouter"; require_once("$class_path/marc_table.class.php"); $pays = new marc_list('country'); if(!$letter) $letter = "a"; print $sel_header; print $jscript; // affichage d'un sommaire par lettres print "
"; for($i = 65; $i <= 90; $i++) { $char = chr($i); $present = preg_grep("/^$char/i", $s_func->table); if(sizeof($present) && strcasecmp($letter, $char)) print "$char "; else if(!strcasecmp($letter, $char)) print "$char "; } print "

"; foreach($pays->table as $index=>$value) { if(preg_match("/^$letter/i", $value)) { $display[] = "
$value
$index
"; } } print "
"; foreach($display as $dummykey=>$link) print $link; print "
"; print $sel_footer;