Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: d8059e84b9
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (20 sloc) 0.848 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
<?php $archivo = rb_archivo();
// fake data
/*$archivo = array(
'mes1' => array('anio'=>'2010','mes'=>'07','num_posts'=>15,'formateado'=>'el messss'),
'mes2' => array('anio'=>'2010','mes'=>'07','num_posts'=>15,'formateado'=>'el messss'),
'mes3' => array('anio'=>'2010','mes'=>'07','num_posts'=>15,'formateado'=>'el messss'),
'mes4' => array('anio'=>'2010','mes'=>'07','num_posts'=>15,'formateado'=>'el messss'),
'mes5' => array('anio'=>'2010','mes'=>'07','num_posts'=>15,'formateado'=>'el messss')
);*/
?>
<ul>
<?php foreach($archivo as $mes=>$metadata) { ?>
<li>
<a href="<?= $CONF['base_url'] ?>archivo.php/<?= $metadata['anio'] ?>/<?= $metadata['mes'] ?>/">
<?= $metadata['formateado'] ?>
</a>
(<?= $metadata['num_posts'] ?>)
</li>
<?php } ?>
</ul>
Something went wrong with that request. Please try again.