juillet 12, 2011

Plan du site

children();
if (count($childs) > 0) {
$out = ‘

    ‘;
    foreach ($childs as $child) {
    if ($child->needs_login != 1) {
    if ($child->level()==1) {
    $out .= ‘

    ‘.$child->link().’

    ‘.snippet_sitemap($child);
    } else {
    $out .= ‘

  • ‘.$child->link().snippet_sitemap($child).’
  • ‘;
    }
    }
    }
    $out.= ‘

‘;
}
return $out;
}

?>

find(‘/’)); ?>

Partager cet article