21 <section
id=
"news-archive-news-<?= $instance_name ?>">
23 <?= _(
'Archivio news') ?>
25 - <?= \Gino\htmlChars($ctg->ml(
'name')); ?>
28 <?
if(count($news)): ?>
29 <?
foreach($news as $n): ?>
31 <h1><a href=
"<?= $n->getUrl() ?>"><?= \Gino\htmlChars($n->ml(
'title')) ?></a></h1>
32 <time><?= \
Gino\dbDateToDate($n->date) ?></time>
34 <? $image = new \Gino\GImage(\
Gino\absolutePath($n->getImgPath())); $thumb = $image->thumb(200, 200); ?>
35 <img
class=
"left" style=
"margin: 0 10px 10px 0" src=
"<?= $thumb->getPath() ?>" />
36 <?= \Gino\cutHtmlText(\
Gino\htmlChars($n->ml(
'text')), 300,
'...',
false,
false,
true, array(
'endingPosition' =>
'in')) ?>
37 <div
class=
"null"></div>
39 <?= \
Gino\cutHtmlText(\
Gino\htmlChars($n->ml(
'text')), 300,
'...',
false,
false,
true, array(
'endingPosition' =>
'in')) ?>
45 <p><?= _(
'Non risultano elementi registrati') ?></p>
Namespace dell'applicazione News