echo '<a href="' . $chapter->href() . '">' . (strlen($chapter->title()) > 58 ? substr($chapter->title(), 0, 50) . '...' : $chapter->title()) . '</a>'; ?> ⤵</div> <?php echo '<ul class="dropdown">'; foreach ($chapters->all as $ch) { echo '<li>' . $ch->url() . '</li>'; } echo '</ul>'; ?> </div> <div class="tbtitle icon_wrapper dnone" ><img class="icon off" src="<?php echo glyphish(181); ?> " /><img class="icon on" src="<?php echo glyphish(181, TRUE); ?> " /></div> <?php echo $chapter->download_url(NULL, "fleft"); ?> </div> <div class="topbar_right"> <div class="tbtitle dropdown_parent dropdown_right"><div class="text"><?php echo count($pages); ?> ⤵</div> <?php $url = $chapter->href(); echo '<ul class="dropdown" style="width:90px;">'; for ($i = 1; $i <= count($pages); $i++) {
/** * Returns a ready to use html <a> link that points to the download * * @param $text string * @author Woxxy * @return string <a> to reader */ public function download_url($text = NULL, $class = "") { if (get_setting('fs_dl_enabled')) return '<div class="icon_wrapper ' . $class . '"><a href="' . $this->download_href() . '"><img class="icon off" src="' . glyphish(67) . '" /><img class="icon on" src="' . glyphish(67, TRUE) . '" /></a></div>'; }
} ?> <?php if (isset($this->tank_auth) && $this->tank_auth->is_logged_in()) { ?> <div class="element"> <a href="<?php echo site_url('/account/auth/logout'); ?> "> <img class="icon off" src="<?php echo glyphish(73); ?> " /> <img class="icon on" src="<?php echo glyphish(73, TRUE); ?> " /> <?php echo _("Logout"); ?> <?php echo $this->tank_auth->get_username(); ?> </a> </div> <?php } ?> </div>
foreach ($comics->all as $co) { echo '<li>' . $co->url() . '</li>'; } echo '</ul>' ?> </div> <div class="title fleft dropdown_parent"><div class="text"><?php echo '<a href="'.$chapter->href().'">'. ((strlen($chapter->title()) > 58)?(substr($chapter->title(), 0, 50).'...'):$chapter->title()) . '</a>' ?> ⤵</div> <?php echo '<ul class="dropdown">'; foreach ($chapters->all as $ch) { echo '<li>' . $ch->url() . '</li>'; } echo '</ul>' ?> </div> <div class="title fleft icon_wrapper dnone" ><img class="icon off" src="<?php echo glyphish(181); ?>" /><img class="icon on" src="<?php echo glyphish(181, TRUE); ?>" /></div> <?php echo $chapter->download_url(NULL, "fleft"); ?> <div class="title fright dropdown_parent dropdown_right"><div class="text"><?php echo count($pages); ?> ⤵</div> <?php $url = $chapter->href(); echo '<ul class="dropdown" style="width:90px;">'; for ($i = 1; $i <= count($pages); $i++) { echo '<li><a href="' . $url . 'page/' . $i . '" onClick="changePage(' . ($i - 1) . '); return false;">' . _("Page") . ' ' . $i . '</a></li>'; } echo '</ul>' ?></div> <div class="numbers fright"> <div class="divider fright"></div>
<div id="background"> <img src="<?php echo base_url() ?>assets/admin/images/admin_background.png" /> </div> <div id="nav"> <div class="element"> <a href="<?php echo site_url(); ?>"> <img class="icon off" src="<?php echo glyphish(158) ?>" /> <img class="icon on" src="<?php echo glyphish(158, TRUE) ?>" /> <?php echo _("Homepage") ?></a> </div> <?php if (isset($this->tank_auth) && logged_in()) { ?><div class="element"> <a href="<?php echo site_url('/admin/auth/logout'); ?>"> <img class="icon off" src="<?php echo glyphish(73) ?>" /> <img class="icon on" src="<?php echo glyphish(73, TRUE) ?>" /> <?php echo _("Logout") ?> <?php echo $this->tank_auth->get_username(); ?></a> </div> <?php } ?> </div> <div id="header"> <div class="title"><?php if (isset($this->tank_auth)) echo get_setting('fs_gen_site_title'); ?> Slide - <?php echo _('control panel'); ?></div> </div> <div id="content_wrap"> <?php if($sidebar) { ?> <div id="sidebar">