$value){ ?>
    $val){ echo '
  1. ' . (is_numeric($k) ? '' : $k.' : ') . htmlentities($val,ENT_COMPAT,'utf-8') .'
  2. '; } } ?>