~simontol/+junk/orobikfilm

« back to all changes in this revision

Viewing changes to app/views/elements/film_list.ctp

  • Committer: Simone Tolotti
  • Date: 2009-04-01 14:52:15 UTC
  • Revision ID: simone.tolotti@gmail.com-20090401145215-oldvqm9db9m4vnfc
sistemato CSS

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php foreach ($films as $film): ?>
2
 
      <div id="film_latest_box">
3
 
            <?php e($html->image($film['Film']['image'],array('url' => $film['Film']['slug'],'alt' => $film['Film']['image'],'width' => '320', 'height' => '180'))); ?>
4
 
            
5
 
            <div class="film_latest_info">
6
 
               <h2><?php echo $film['Film']['title'] ?></h2><br />
7
 
                           <?php $content = trim($film['Film']['content'], "\n") ?>
8
 
               <p><?php echo $text->truncate(Sanitize::html($content, true), 300, '...') ?></p><br />
9
 
               <p><?php echo $html->image('icon_latest.png', array('url' => $film['Film']['slug'])); ?>
10
 
               <?php echo $html->link('Guarda ora',$film['Film']['slug']); ?></p><br />
11
 
            </div>
12
 
            
13
 
         
14
 
      </div>
15
 
<?php endforeach; ?>
16
 
<div class="actions">
17
 
<ul>
18
 
<li><?php e($paginator->prev('<< Prec')); ?></li>
19
 
<li><?php e($paginator->numbers()); ?></li>
20
 
<li><?php e($paginator->next('Succ >>')); ?></li>
21
 
</ul>
22
 
</div>