Codice PHP:
<ul id="minitabs">
<?
$pagine
=array('home.php',
              
'about.php',
              
'cartella/portfolio.php',
              
'cartella/sottocartella/resume.php',
              
'contact.php');

foreach (
$pagine as $link
  {
  
$name=basename($link,'.php');
  echo 
'[*][url="'.$link.'"]'.$name.'[/url]';
  }
?>[/list]