<?php endif ?> <!-- Lista de entradas --> <?php if ($action == 'list') : ?> <?php if (!empty($posts)) : ?> <?php while ($post = $pagedResults->fetchPagedRow()) : $share_title = $post->title; $share_url = SITE_URL . '/project/'.$project->id.'/updates/' . $post->id; $facebook_url = 'http://facebook.com/sharer.php?u=' . rawurlencode($share_url) . '&t=' . rawurlencode($share_title); $twitter_url = 'http://twitter.com/home?status=' . rawurlencode($share_title . ': ' . $share_url . ' #Goteo'); ?> <div class="widget post"> <?php echo new View('view/blog/post.html.php', array('post' => $post->id, 'show' => 'list', 'url' => '/project/'.$project->id.'/updates/')); ?> <ul class="share-goteo"> <?/*<li class="sharetext"><?php echo Text::get('regular-share_this'); ?></li>*/?> <li class="twitter"><a href="<?php echo htmlspecialchars($twitter_url) ?>" target="_blank"><?php echo Text::get('regular-twitter'); ?></a></li> <li class="facebook"><a href="<?php echo htmlspecialchars($facebook_url) ?>" target="_blank"><?php echo Text::get('regular-facebook'); ?></a></li> </ul> <div class="comments-num"><a href="/project/<?php echo $project->id; ?>/updates/<?php echo $post->id; ?>"><?php echo $post->num_comments > 0 ? $post->num_comments . ' ' .Text::get('blog-comments') : Text::get('blog-no_comments'); ?></a></div> </div> <?php endwhile; ?> <ul id="pagination"> <?php $pagedResults->setLayout(new DoubleBarLayout()); echo $pagedResults->fetchPagedNavigation(); ?> </ul> <?php else : ?> <p><?php echo Text::get('blog-no_posts'); ?></p> <?php endif; ?> <?php endif; ?> </div>
?> <a href="/admin/projects/images/<?php echo $project->id; ?> ">[Organizar imágenes]</a> <?php if ($project->status < 3) { ?> <a href="<?php echo "/admin/projects/reject/{$project->id}"; ?> " onclick="return confirm('Se va a enviar un mail automáticamente pero no cambiará el estado, ok?');">[Rechazo express]</a><?php } ?> </td> </tr> </tbody> </table> </div> <?php } ?> <ul id="pagination"> <?php $pagedResults->setLayout(new DoubleBarLayout()); echo $pagedResults->fetchPagedNavigation($the_filters); ?> </ul> <?php }
<td width="70%"><?php if ($item->pendiente == 1) { echo '* '; } echo $item->text; ?> </td> <td width="25%"><?php echo $groups[$item->group]; ?> </td> <td></td> </tr> <?php } ?> </tbody> </table> </div> <ul id="pagination"> <?php $pagedResults->setLayout(new DoubleBarLayout()); echo $pagedResults->fetchPagedNavigation(str_replace('?', '&', $filter)); ?> </ul> <?php } else { ?> <p>No se han encontrado registros</p> <?php }
$i = 1; $pagedResults = new Paginated($personagens, 12, $_GET['pg']); ?> <div class="row"> <div class="twelve columns"> <h3><?php echo _('Characters'); ?> </h3> </div> </div> <div class="row"> <div class="twelve columns"> <?php echo $pagedResults->fetchPagedNavigation('&p=' . urlencode($_GET['p'])); ?> </div> </div> <div class="row"> <?php while ($personagem = $pagedResults->fetchPagedRow()) { ?> <?php include 'personagem-tmpl.php'; ?> <?php if ($i == 4) { ?> </div><div class="row"> <?php