?> "><?php echo _('Latest released chapters'); ?> :</a> </div> <?php $current_comic = ""; $current_comic_closer = ""; $opendiv = FALSE; // Let's loop over every chapter. The array is just $chapters because we used get_iterated(), else it would be $chapters->all foreach ($chapters as $key => $chapter) { if ($current_comic != $chapter->comic_id) { if ($opendiv) { echo '</div>'; } echo '<div class="group"><div class="title">' . $chapter->comic->url() . '</div>'; $current_comic = $chapter->comic_id; } echo '<div class="element">' . $chapter->download_url(NULL, 'fleft small') . ' <div class="title">' . $chapter->url() . '</div> <div class="meta_r">' . _('by') . ' ' . $chapter->team_url() . ', ' . $chapter->date() . ' ' . $chapter->edit_url() . '</div> </div>'; $opendiv = TRUE; } // Closing the last comic group echo '</div>'; echo prevnext('latest/', $chapters); ?> </div>
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); ?> <div class="list series"> <div class="title"> <a href="<?php echo site_url('reader/list') ?>"><?php echo _('List of the available comics'); ?></a> </div> <?php foreach ($comics as $key => $comic) { echo '<div class="group">'; if($comic->get_thumb()) echo '<a href="'.$comic->href().'"><img class="preview" src="'.$comic->get_thumb().'" /></a>'; echo '<div class="title">' . $comic->url() . ' <span class="meta">' . $comic->edit_url() . '</span></div> '; if ($comic->latest_chapter->result_count() == 0) { echo '<div class="element"> <div class="title">' . _("No releases for this series") . '.</div> </div></div>'; } else echo '<div class="element"> <div class="title">' . _("Latest release") . ': ' . $comic->latest_chapter->url() . '</div> <div class="meta_r">' . _('by') . ' ' . $comic->latest_chapter->team_url() . ' ' . _('on') . ' ' . $comic->latest_chapter->date() . ' ' . $comic->latest_chapter->edit_url() . '</div> </div></div>'; } echo prevnext('/reader/list/', $comics); ?> </div>
function f_inp_m($defs, $defsb, $def) { $vals = $defs[$def]; if (!$vals) { $vals = $defsb; } $lk = sesm('lk'); if ($defs['_menus_'] && $def != '_menus_') { if (in_array('last-update', $defs['_menus_'])) { $dateup = array_search('last-update', $defs['_menus_']); } } $ret .= btn('imgr', prevnext($defs, $def)); if (auth(4) or $_SESSION['ex_atz']) { $ret .= hidden('def', '', $def); if ($def != "_menus_") { $ret .= input2('text', 'dfn', $def, '') . ' '; } $ret .= add_after($defs) . ' '; if (auth(4)) { $ret .= checkbox('erase', $def, nms(43), '') . ' '; //$ret.=checkbox_j('erase',$def,nms(43)).' '; $ret .= input2("submit", 'save', nms(57), '') . ' '; if (auth(5)) { $ret .= lkc("txtx", $lk . '&newfrom=' . $def, nms(44)) . ' '; } $ret .= lkc('txtx', $lk, 'x'); } } $ret .= br() . br(); foreach ($vals as $k => $v) { $v = msq_data($v); if ($k == $dateup && $dateup) { $v = date('ymdHi', time()); } $retb = btn('txtsmall" style="float:left; width:100px;', $defsb[$k]); $retb .= goodarea($v, 'val' . $k, '', '', 60); if (auth(6)) { $retb .= msql_slct('val', $k, sesm('murl') . ':' . $k); } //$retb.=togbub('hidden','val'.$k.'_msqlc__'.ajx(sesm('murl').':'.$k).'_'.'val'.$k,$k); $ret .= divc('', $retb); } $cl = $_GET['called'] ? '&called=' . $_GET['called'] : ''; return divc('menu', form($lk . '&def=' . $def . $cl, $ret)); }
<?php header('Content-Type: text/html; charset=utf-8'); ?> <?php include_once 'frame.php'; prevnext($order, $from, $title); ?> <?php ini_set("display_errors", "1"); ERROR_REPORTING(E_ALL | E_STRICT); //include_once('UniversalConnect.php'); include_once 'DB/ShowComicsNew.php'; $worker = new ShowComicsNew(); if ($worker) { $worker->Bind($order, $from, $title); } ?> <?php prevnext($order, $from, $title); echo "<br/><br/>";
<a href="<?php echo site_url('directory'); ?> "><?php echo _('List of the available comics'); ?> </a> </div> <?php foreach ($comics as $key => $comic) { echo '<div class="group">'; if ($comic->get_thumb()) { echo '<a href="' . $comic->href() . '"><img class="preview" src="' . $comic->get_thumb() . '" /></a>'; } echo '<div class="title">' . $comic->url() . ' <span class="meta">' . $comic->edit_url() . '</span></div> '; if ($comic->latest_chapter->result_count() == 0) { echo '<div class="element"> <div class="title">' . _("No releases for this series") . '.</div> </div></div>'; } else { echo '<div class="element"> <div class="title">' . _("Latest release") . ': ' . $comic->latest_chapter->url() . '</div> <div class="meta_r">' . _('by') . ' ' . $comic->latest_chapter->team_url() . ', ' . $comic->latest_chapter->date() . ' ' . $comic->latest_chapter->edit_url() . '</div> </div></div>'; } } echo prevnext('directory/', $comics); ?> </div>