/** * Get all replies of a message for admin. * * @param object $message * @access public * @return array */ public function getAdminReplies($message) { $replies = $this->getReplies($message); if (!empty($replies)) { echo "<dl class='alert alert-info'>"; foreach ($replies as $reply) { printf($this->lang->message->replyItem, $reply->from, $reply->date, $reply->content); commonModel::printLink('message', 'delete', "messageID={$reply->id}&type=single&status={$reply->status}", $this->lang->delete, "class='deleter'"); $this->getAdminReplies($reply); } echo "</dl>"; } }
<span class='dropdown'> <a data-toggle='dropdown' href='javascript:;'><?php echo $this->lang->more; ?> <span class='caret'></span></a> <ul class='dropdown-menu pull-right'> <li><?php commonModel::printLink('article', 'delete', "articleID={$article->id}", $lang->delete, 'class="deleter"'); ?> </li> <li><?php commonModel::printLink('article', 'setcss', "articleID={$article->id}", $lang->article->css, "data-toggle='modal'"); ?> </li> <li><?php commonModel::printLink('article', 'setjs', "articleID={$article->id}", $lang->article->js, "data-toggle='modal'"); ?> </li> </ul> </span> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='7'><?php $pager->show(); ?> </td></tr></tfoot> </table>
?> </td> <td><?php echo $log->desc; ?> </td> <td><?php echo $log->browser; ?> </td> <td><?php commonModel::printLink('user', 'adminlog', "ip={$log->ip}", $log->ip); ?> </td> <td><?php commonModel::printLink('user', 'adminlog', "location={$log->location}", $log->location); ?> </td> <td><?php echo $log->date; ?> </td> </tr> <?php } ?> </tbody> <tfoot> <tr> <td colspan='8'> <?php
?> <td rowspan='2' class='text-center text-middle'> <?php commonModel::printLink('message', 'reply', "messageID={$message->id}", $lang->message->reply, "data-toggle='modal'"); commonModel::printLink('guarder', 'addToBlacklist', "type=message&id={$message->id}", $lang->addToBlacklist, "data-toggle='modal'"); echo '<br />'; if ($status == 0) { commonModel::printLink('message', 'pass', "messageID={$message->id}&type=single", $lang->message->pass, "class='pass'"); } if ($status == 0) { commonModel::printLink('message', 'pass', "messageID={$message->id}&type=pre", $lang->message->passPre, "class='pre' data-confirm='{$lang->message->confirmPassPre}'"); } echo '<br />'; commonModel::printLink('message', 'delete', "messageID={$message->id}&type=single&status={$status}", $lang->message->delete, "class='deleter'"); if ($status == 0) { commonModel::printLink('message', 'delete', "messageID={$message->id}&type=pre&status={$status}", $lang->message->deletePre, "class='pre' data-confirm='{$lang->message->confirmDeletePre}'"); } ?> </td> </tr> <tr> <td class='content-box'> <?php if ($message->type == 'reply') { ?> <?php $this->message->getObject($message); ?> <?php } ?>
echo $article->editedDate; ?> </td> <td class='text-center'><?php echo $lang->contribution->status[$article->contribution]; ?> </td> <td class='text-center'><?php echo $article->views; ?> </td> <td class='text-center'> <?php if ($article->contribution != 2) { commonModel::printLink('article', 'modify', "articleID={$article->id}", $lang->edit); commonModel::printLink('article', 'delete', "articleID={$article->id}", $lang->delete, 'class="deleter"'); } else { echo html::a('javascript:;', $lang->edit, "class='disabled'") . html::a('javascript:;', $lang->delete, "class='disabled'"); } ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='7'><?php $pager->show(); ?> </td></tr></tfoot> </table>
echo $object->identity; ?> </td> <td> <?php echo $object->expiredDate == '0000-00-00 00:00:00' ? $lang->guarder->permanent : $object->expiredDate; ?> </td> <td> <?php echo $object->reason; ?> </td> <td class='text-center text-middle'> <?php commonModel::printLink('guarder', 'delete', "type={$object->type}&identity={$object->identity}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='7' class='text-right'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div> <?php include '../../common/view/footer.admin.html.php';
?> </strong></div> <div class='panel-body'> <div id='treeMenuBox'><?php echo $treeMenu; ?> </div> <?php if ($isWechatMenu) { ?> <div class='panel-body'> <?php commonModel::printLink('wechat', 'commitMenu', "public=" . str_replace('wechat_', '', $type), $lang->wechatMenu->commit, "class='btn btn-primary jsoner'"); ?> <?php commonModel::printLink('wechat', 'deleteMenu', "public=" . str_replace('wechat_', '', $type), $lang->wechatMenu->delete, "class='btn btn-danger jsoner'"); ?> </div> <?php } ?> </div> </div> </div> <div class='col-md-8' id='categoryBox'></div> </div> <?php } else { ?> <div id='categoryBox'></div> <?php
<?php if ($project->status != 'finished') { commonModel::printLink('project', 'finish', "projectID={$project->id}", $lang->finish, "data-toggle='modal'"); } ?> <?php if ($project->status != 'doing') { commonModel::printLink('project', 'activate', "projectID={$project->id}", $lang->activate, "class='switcher' data-confirm='{$lang->project->confirm->activate}'"); } ?> <?php if ($project->status != 'suspend') { commonModel::printLink('project', 'suspend', "projectID={$project->id}", $lang->project->suspend, "class='switcher' data-confirm='{$lang->project->confirm->suspend}'"); } ?> <?php commonModel::printLink('project', 'delete', "projectID={$project->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> <tfoot><tr><td colspan='9'><?php echo $pager->show(); ?> </td></tr></tfoot> </table> </div> <?php include '../../common/view/footer.html.php';
<?php } ?> <td rowspan='2' class='text-center text-middle'> <?php commonModel::printLink('message', 'reply', "messageID={$message->id}", $lang->message->reply, "data-toggle='modal'"); commonModel::printLink('message', 'delete', "messageID={$message->id}&type=single&status={$status}", $lang->message->delete, "class='deleter'"); if ($status == 0) { commonModel::printLink('message', 'pass', "messageID={$message->id}&type=single", $lang->message->pass, "class='pass'"); } echo '<br />'; if ($status == 0) { commonModel::printLink('message', 'delete', "messageID={$message->id}&type=pre&status={$status}", $lang->message->deletePre, "class='pre' data-confirm='{$lang->message->confirmDeletePre}'"); } if ($status == 0) { commonModel::printLink('message', 'pass', "messageID={$message->id}&type=pre", $lang->message->passPre, "class='pre' data-confirm='{$lang->message->confirmPassPre}'"); } ?> </td> </tr> <tr> <td class='content-box'> <?php if ($message->type == 'reply') { ?> <dl class='alert alert-info'><?php $this->message->getObject($message); ?> </dl> <?php }
<td><?php echo number_format($file->size / 1024, 1) . 'K'; ?> </td> <td><?php echo isset($users[$file->addedBy]) ? $users[$file->addedBy] : ''; ?> </td> <td><?php echo $file->addedDate; ?> </td> <td class='text-center'> <?php commonModel::printLink('file', 'sourceedit', "id={$file->id}", $lang->edit, "data-toggle='modal'"); commonModel::printLink('file', 'sourcedelete', "id={$file->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='8'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div> </div>
<span class='dropdown'> <a data-toggle='dropdown' href='javascript:;'><?php echo $this->lang->more; ?> <span class='caret'></span></a> <ul class='dropdown-menu pull-right'> <li><?php commonModel::printLink('product', 'delete', "productID={$product->id}", $lang->delete, "class='deleter'"); ?> </li> <li><?php commonModel::printLink('product', 'setcss', "productID={$product->id}", $lang->product->css, "data-toggle='modal'"); ?> </li> <li><?php commonModel::printLink('product', 'setjs', "productID={$product->id}", $lang->product->js, "data-toggle='modal'"); ?> </li> </ul> </span> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='8'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div>
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) * @license ZPLV12 (http://zpl.pub/page/zplv12.html) * @author Hao Sun <*****@*****.**> * @package article * @version $Id$ * @link http://www.chanzhi.org */ include '../../common/view/header.admin.html.php'; ?> <div class='form-group'> <div class='col-xs-6 col-md-6 col-md-offset-3 alert'> <i class='icon-info-sign'></i> <div class='content'> <h4><?php echo $message; ?> </h4> <p><?php echo $lang->tree->timeCountDown; ?> </p> <?php commonModel::printLink('tree', 'browse', "type={$type}", $lang->tree->redirect, "class='btn btn-primary' id='countDownBtn'"); ?> </div> </div> </div> <?php include '../../common/view/footer.admin.html.php';
<?php $i++; ?> <td class='border' width="<?php echo $width; ?> "> <table class='board'> <tbody> <tr class='board'> <td> <?php echo $this->forum->isNew($childBoard) ? "<span class='text-success'><i class='icon-comment'></i></span>" : "<span class='text-muted'><i class='icon-comment'></i></span>"; ?> <?php commonModel::printLink('forum', 'board', "id={$childBoard->id}", $childBoard->name, "class='name'"); ?> <?php if ($childBoard->moderators[0]) { printf(" <span class='moderators hidden-xxs'>" . $lang->forum->lblOwner . '</span>', trim(implode(',', $childBoard->moderators), ',')); } ?> </td> </tr> <?php if ($childBoard->desc) { ?> <tr class='board'><td><small class='text-muted'><?php echo $childBoard->desc; ?> </small></td></tr>
<td class='text-left visible-lg'><div title="<?php echo $trade->desc; ?> " class='w-200px text-ellipsis'><?php echo $trade->desc; ?> <div></td> <td> <?php commonModel::printLink('trade', 'edit', "tradeID={$trade->id}", $lang->edit); ?> <?php commonModel::printLink('trade', 'detail', "tradeID={$trade->id}", $lang->trade->detail, "data-toggle='modal'"); ?> <?php commonModel::printLink('trade', 'delete', "tradeID={$trade->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> </table> <div class='table-footer'> <div class='pull-left'> <?php echo html::selectButton() . html::submitButton($lang->edit); ?> <span class='text-danger'><?php $this->trade->countMoney($trades, $mode);
/** * The browse view file of contract module of RanZhi. * * @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) * @license ZPL (http://zpl.pub/page/zplv12.html) * @author Yidong Wang <*****@*****.**> * @package my * @version $Id$ * @link http://www.ranzhico.com */ include './header.html.php'; js::set('type', $type); ?> <div id='menuActions' class='actions'> <?php commonModel::printLink('crm.contract', 'create', '', '<i class="icon-plus"></i> ' . $lang->contract->create, "class='btn btn-primary'"); ?> </div> <div class='panel'> <table class='table table-hover table-striped tablesorter table-data table-fixed' id='contractList'> <thead> <tr class='text-center'> <?php $vars = "type={$type}&orderBy=%s&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}"; ?> <th class='w-60px'> <?php commonModel::printOrderLink('id', $orderBy, $vars, $lang->contract->id); ?> </th> <th class='w-100px'><?php commonModel::printOrderLink('code', $orderBy, $vars, $lang->contract->code);
<div class='panel-body'> <form method='post' id='ajaxForm' enctype='multipart/form-data'> <table class='table table-form'> <tr> <td><?php echo html::file('files', "class='form-control'"); ?> </td> <td><?php echo html::select('theme', $lang->ui->logoList, '', "class='form-control'"); ?> </td> <td><?php echo html::submitButton(); if (isset($logo->webPath)) { commonModel::printLink('ui', 'deleteLogo', '', $lang->reset, "class='btn'"); } ?> </td> <td> <strong class='text-info'> <?php if ($this->device == 'desktop') { printf($lang->ui->suitableLogoSize, '50px-80px', '80px-240px'); } ?> <?php if ($this->device == 'mobile') { printf($lang->ui->suitableLogoSize, '<50px', '50px-200px'); } ?>
<td><?php echo $block->id; ?> </td> <td class='text-left'><?php echo $block->title; ?> </td> <td><?php echo $lang->block->{$template}->typeList[$block->type]; ?> </td> <td> <?php commonModel::printLink('block', 'edit', "blockID={$block->id}&type={$block->type}", $lang->edit); commonModel::printLink('block', 'delete', "blockID={$block->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> <tr> <td colspan='4'> <?php echo $pager->get(); ?> </td> </tr> </table> </div> <?php
<strong><?php echo $lang->survey->common; ?> </strong> <?php echo ' '; echo html::a(inlink('browse', "status=installed"), $lang->survey->installed, $status == 'installed' ? "class='active'" : ''); echo html::a(inlink('browse', "status=deactivated"), $lang->survey->deactivated, $status == 'deactivated' ? "class='active'" : ''); echo html::a(inlink('browse', "status=available"), $lang->survey->available, $status == 'available' ? "class='active'" : ''); ?> <div class='panel-actions'> <?php commonModel::printLink('package', 'upload', '', $lang->survey->upload, "class='btn btn-primary' data-toggle='modal'"); ?> <?php commonModel::printLink('package', 'obtain', '', $lang->survey->obtain, "class='btn btn-primary'"); ?> </div> </div> <div class='panel-body'> <div class='cards'> <?php $structurePriv = commonModel::hasPriv('package', 'structure'); $deactivatePriv = commonModel::hasPriv('package', 'deactivate'); $activatePriv = commonModel::hasPriv('package', 'activate'); $uninstallPriv = commonModel::hasPriv('package', 'uninstall'); $installPriv = commonModel::hasPriv('package', 'install'); $erasePriv = commonModel::hasPriv('package', 'erase'); ?> <?php foreach ($packages as $package) {
* @package customer * @version $Id$ * @link http://www.ranzhico.com */ include '../../common/view/header.html.php'; include '../../../sys/common/view/kindeditor.html.php'; include '../../../sys/common/view/chosen.html.php'; ?> <ul id='menuTitle'> <li><?php commonModel::printLink('customer', 'browse', '', $lang->customer->list); ?> </li> <li class='divider angle'></li> <li><?php commonModel::printLink('customer', 'view', "customerID={$customer->id}", $lang->customer->view); ?> </li> <li class='divider angle'></li> <li class='title'><?php echo $lang->customer->edit; ?> </li> </ul> <form method='post' id='ajaxForm' class='form-condensed'> <div class='row-table'> <div class='col-main'> <div class='panel'> <div class='panel-body'> <table class='table table-form table-data'> <tr>
echo html::hidden('recTotal', isset($this->get->recTotal) ? $this->get->recTotal : 0); ?> <?php echo html::hidden('recPerPage', isset($this->get->recPerPage) ? $this->get->recPerPage : 20); ?> <?php echo html::hidden('pageID', isset($this->get->pageID) ? $this->get->pageID : 1); ?> <div class='input-group'> <?php echo html::input('searchWord', $this->get->searchWord, "class='form-control search-query' placeholder='{$lang->book->inputArticleTitle}'"); ?> <span class='input-group-btn'> <?php echo html::submitButton($lang->search->common, 'btn btn-primary'); ?> </span> </div> </form> <?php commonModel::printLink('book', 'create', '', '<i class="icon-plus"></i> ' . $lang->book->createBook, "class='btn btn-primary'"); ?> </div> </div> <div class='panel-body'><div class='books'><?php echo $catalog; ?> </div></div> </div> <?php include '../../common/view/footer.admin.html.php';
echo $thread->hidden ? '<span class="text-warning"><i class="icon-eye-close"></i> ' . $lang->thread->statusList['hidden'] . '</span>' : '<span class="text-success"><i class="icon-ok-sign"></i> ' . $lang->thread->statusList['normal'] . '</span>'; ?> </td> <td> <?php if ($thread->hidden) { commonModel::printLink('thread', 'switchStatus', "threadID={$thread->id}", $lang->thread->show, "class='reload'"); } else { commonModel::printLink('thread', 'switchStatus', "threadID={$thread->id}", $lang->thread->hide, "class='reload'"); } ?> <?php commonModel::printLink('thread', 'transfer', "threadID={$thread->id}", $lang->thread->transfer, "data-toggle='modal'"); ?> <?php commonModel::printLink('thread', 'delete', "threadID={$thread->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='9'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div> <?php include '../../common/view/footer.admin.html.php';
echo $lang->ui->setFavicon; ?> </strong> <?php echo html::a('http://api.chanzhi.org/goto.php?item=help_favicon', "<i class='icon-question-sign'></i> {$lang->ui->favicon->help}", "class='pull-right' target='_blank'"); ?> </div> <div class='panel-body'> <form method='post' id='ajaxForm' enctype='multipart/form-data'> <table class='table table-form'> <tr> <?php if (isset($this->config->site->favicon)) { echo '<td>' . html::image($favicon->webPath) . '</td>'; } ?> <td><input type='file' name='files' id='files' class='form-control'></td> <td><?php echo html::submitButton(); if ($favicon or $defaultFavicon) { commonModel::printLink('ui', 'deleteFavicon', '', $lang->ui->deleteFavicon, "class='btn'"); } ?> </td> </tr> </table> </form> </div> </div> <?php include '../../common/view/footer.admin.html.php';
</p> <div class='text-center'> <div class='btn-group text-center'> <?php echo html::a($theme->viewLink, $lang->package->view, 'class="btn theme" target="_blank"'); if ($currentRelease->public) { if ($theme->type != 'computer' and $theme->type != 'mobile') { if (isset($installeds[$theme->code])) { if ($installeds[$theme->code]->version != $theme->latestRelease->releaseVersion and $this->theme->checkVersion($theme->latestRelease->chanzhiCompatible)) { commonModel::printLink('theme', 'upgrade', "theme={$theme->code}&downLink=" . helper::safe64Encode($currentRelease->downLink) . "&md5={$currentRelease->md5}&type={$theme->type}", $lang->theme->upgrade, "class='btn' data-toggle='modal'"); } else { echo html::a('javascript:;', $lang->theme->installed, "class='btn disabled'"); } } else { $label = $currentRelease->compatible ? $lang->package->installAuto : $lang->package->installForce; commonModel::printLink('package', 'install', "theme={$theme->code}&downLink=" . helper::safe64Encode($currentRelease->downLink) . "&md5={$currentRelease->md5}&type={$theme->type}&overridePackage=no&ignoreCompitable=yes", $label, "data-toggle='modal' class='btn'"); } } } echo html::a($currentRelease->downLink, $lang->package->downloadAB, 'class="manual btn"'); echo html::a($theme->site, $lang->package->site, "class='btn' target='_blank'"); ?> </div> </div> </div> </div> </div> </div> </div> <?php }
?> </td> <td class='w-p20'><?php echo zget($users, $delivery->deliveredBy, $delivery->deliveredBy); ?> </td> <td class='w-p35'><?php echo $delivery->comment; ?> </td> <td class='w-p20'> <?php commonModel::printLink('purchase', 'editDelivery', "id={$delivery->id}", $lang->edit, "data-toggle='modal'"); ?> <?php commonModel::printLink('purchase', 'deleteDelivery', "id={$delivery->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </table> </div> <?php } ?> <div class='panel'> <div class='panel-heading'> <strong><?php echo $lang->purchase->lifetime;
</div> </div> <div class='form-group'> <label class='col-md-2 control-label'><?php echo $lang->category->desc; ?> </label> <div class='col-md-9'><?php echo html::textarea('desc', htmlspecialchars($category->desc), "class='form-control' rows=3'"); ?> </div> </div> <div class='form-group'> <label class='col-md-2 control-label'>图片</label> <div class='col-md-9' style="padding-top:6px;"><?php commonModel::printLink('file', 'browse', "objectType=category&objectID={$category->id}&isImage=1", '上传图片', "data-toggle='modal'"); ?> </div> </div> </div> <div class='categoryInfo'> <?php if ($category->type == 'forum') { ?> <div class='form-group'> <label class='col-md-2 control-label'><?php echo $lang->category->moderators; ?> </label> <div class='col-md-9'><?php echo html::input('moderators', $category->moderators, "class='form-control' placeholder='{$lang->board->placeholder->moderators}'");
</td> <td title='<?php echo $users; ?> '><?php echo $users; ?> </td> <td class='text-center'> <?php commonModel::printLink('group', 'managePriv', "type=byGroup¶m={$group->id}", $lang->group->managePriv); ?> <?php commonModel::printLink('group', 'manageMember', "groupID={$group->id}", $lang->group->manageMember); ?> <?php commonModel::printLink('group', 'edit', "groupID={$group->id}", $lang->edit, "data-toggle='modal'"); ?> <?php commonModel::printLink('group', 'delete', "groupID={$group->id}", $lang->delete, "class='deleter'"); ?> </td> </tr> <?php } ?> </tbody> </table> </div> <?php include '../../common/view/footer.admin.html.php';
</td> <td><?php echo $public->appID; ?> </td> <td> <?php commonModel::printLink('wechat', 'edit', "publicID={$public->id}", $lang->edit); if (!$public->certified and $public->type == 'subscribe') { echo html::a('javascript:;', $lang->wechat->setMenu, "class='text-muted' data-container='body' data-toggle='popover' data-placement='right' data-content='{$lang->wechat->needCertified}'"); } else { commonModel::printLink('tree', 'browse', "type=wechat_{$public->id}", $lang->wechat->setMenu); } commonModel::printLink('wechat', 'adminResponse', "publicID={$public->id}", $lang->wechat->response->keywords); commonModel::printLink('wechat', 'setResponse', "publicID={$public->id}&group=default&key=default", $lang->wechat->response->default, "data-toggle='modal'"); commonModel::printLink('wechat', 'setResponse', "publicID={$public->id}&group=subscribe&key=subscribe", $lang->wechat->response->subscribe, "data-toggle='modal'"); commonModel::printLink('wechat', 'delete', "publicID={$public->id}", $lang->delete, "class='deleter'"); commonModel::printLink('wechat', 'integrate', "publicID={$public->id}", $lang->wechat->integrate); commonModel::printLink('wechat', 'qrcode', "publicID={$public->id}", $lang->wechat->qrcode, "data-toggle=modal"); ?> </td> </tr> <?php } ?> </tbody> </table> </div> <?php } include '../../common/view/footer.admin.html.php';
commonModel::printLink('stat', 'traffic', "mode=today", $todayReportTitle, "target='_blank'"); ?> </td> </tr> <?php } ?> <?php if (!empty($yestodayReportTitle)) { ?> <tr> <?php $yestodayReportTitle = sprintf($lang->admin->yestodayReport, $yestodayReport->pv, $yestodayReport->uv, $yestodayReport->ip); ?> <td><?php commonModel::printLink('stat', 'traffic', "mode=yestoday", $yestodayReportTitle, "target='_blank'"); ?> </td> </tr> <?php } ?> </table> </div> </div> </div> <div class='col-xs-6'> <div class='row panel'> <div class='panel-heading'><strong><?php echo $lang->admin->shortcuts->common; ?>
<?php if ($this->config->forum->postReview == 'open' and $thread->status == 'wait') { commonmodel::printlink('thread', 'approve', "threadid={$thread->id}&boardid={$thread->board}", $lang->thread->approve, "class='reload'"); } else { echo html::a('javascript:;', $lang->thread->approve, "class='disabled'"); } $text = $thread->hidden ? $lang->thread->show : $lang->thread->hide; if ($thread->status != 'wait') { commonModel::printLink('thread', 'switchStatus', "threadID={$thread->id}", $text, "class='reload'"); commonModel::printLink('thread', 'transfer', "threadID={$thread->id}", $lang->thread->transfer, "data-toggle='modal'"); } else { echo html::a('javascript:;', $text, "class='disabled'"); echo html::a('javascript:;', $lang->thread->transfer, "class='disabled'"); } commonModel::printLink('thread', 'delete', "threadID={$thread->id}", $lang->delete, "class='deleter'"); commonModel::printLink('guarder', 'addToBlacklist', "type=thread&id={$thread->id}", $lang->addToBlacklist, "data-toggle='modal'"); ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='12'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div> <?php include '../../common/view/footer.admin.html.php';
?> <tr class='text-center text-middle'> <td><?php echo html::a(inlink('source', "tag={$tag->tag}"), $tag->tag, "data-toggle='modal'"); ?> </td> <td><?php echo $tag->rank; ?> </td> <td class='text-left'><?php echo $tag->link; ?> </td> <td><?php commonModel::printLink('tag', 'link', "id={$tag->id}", $lang->tag->editLink, "data-toggle='modal'"); ?> </td> </tr> <?php } ?> </tbody> <tfoot><tr><td colspan='4'><?php $pager->show(); ?> </td></tr></tfoot> </table> </div> <?php include '../../common/view/footer.admin.html.php';