</thead> <tbody id="taglist"><?php if (is_array($taginfo)) { foreach ($taginfo as $k => $v) { ?> <tr> <td><?php echo $v['tagid']; ?> </td> <td ><?php echo $v['tagname']; ?> </td> <td><?php btime($v['dateline']); ?> </td> </tr> <?php } } ?> </tbody> </table> <?php echo $pagehtml; ?> </div>
?> </th> <th><?php echo $tinputtm; ?> </th> <th><?php echo $toperation; ?> </th> </tr> </thead> <tbody> <?php foreach ($arrayList as $row) { echo "<tr><td><input type='checkbox' name='tyChecks' value='" . $row["rep_id"] . "'/></td><td>" . $row["title"] . "</td><td>" . $row["usr_name"] . "</td><td>" . GBsubstr($row["rep_ctx"], 0, 41) . "</td><td>" . btime($row["input_tm"]) . "</td><td><a onclick=del(" . $row["rep_id"] . ")><i class='fa fa-fw fa-trash-o'></i></a> <a onclick=edit('" . $row["rep_id"] . "')><i class='fa fa-fw fa-eye'></i></a></td></tr>"; } ?> </tbody> </table> <?php $pager->getHtml(); ?> </div> </form> </div> </div> <!-- /.row --> </div>
if (!is_numeric($_B['page'])) { jsonOutput(2, '数据出错,请刷新重试'); } if (!is_numeric($_GET['aid']) || $_GET['aid'] <= 0) { jsonOutput(2, '数据出错,请刷新重试'); } $aid = $_GET['aid']; $comlimit = 30; $start = ($_B['page'] - 1) * $comlimit; $comlist = J::t('comment')->fetch_list('*', "classify='article' AND aid={$aid} AND `status`=1", $start, $comlimit); $next = ''; if ($comlist) { require_once libfile('article'); foreach ($comlist as $k => $v) { $comlist[$k]['formattime'] = btime($v['dateline'], 1); $comlist[$k]['time'] = btime($v['dateline']); $comlist[$k]['avatar'] = IMGDIR . 'jam.png'; $comlist[$k]['content'] = ubb2html($v['content']); } if (count($comlist) >= $comlimit) { $next = 'index.php?m=comment&do=get&aid=' . $aid . '&page=' . ($_B['page'] + 1); } } $data['content'] = display('_comment', 0, true, array('comlist' => $comlist)); $data['next'] = $next; jsonOutput(1, $data); } elseif ($do == 'zan') { if (!$_B['ajax']) { jsonOutput(2, '不允许的操作'); } if (!is_numeric($_GET['cid']) || $_GET['cid'] <= 0) {
echo $webroot . '/' . $tpl_root; ?> /images/default.png"/> </div> <div style="height:100%;margin-left:80px; padding:20px;"> <p style="color:red;"><?php echo $row["usr_name"]; ?> </p> <p><pre style="margin:5px 0;"><?php echo $row["rep_ctx"]; ?> </pre></p> <p style="font-size:0.8em;color:#aaa;"> <?php echo btime($row["input_tm"]); ?> <!--<a onclick="topme(<?php echo $row["rep_id"]; ?> )" style="cursor:pointer;">Top(<?php echo $row["top_count"]; ?> )</a>--> </p> </div> <div class="clear"></div> </div> <?php }
<div class="jumbotron"> <div class="container"> <div class="row text-center"> <b>404 <span class="glyphicon glyphicon-copyright-mark" aria-hidden="true"></span> 2015</b> <span style="margin:0px 10px;">|</span> <a href="mailto:<?php echo $_B['setting']['blog']['adminEmail']; ?> "><?php echo $_B['setting']['blog']['adminEmail']; ?> </a> <br><?php echo btime(TIMESTAMP, '', 'Y-m-d H:i'); ?> </div> </div> </div> <?php if (!$_B['uid']) { ?> <!-- login dialog --> <div class="modal fade" id="login" tabindex="-1" role="dialog" aria-labelledby="login" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> <h3 class="modal-title" id="login"><span class="glyphicon glyphicon-user span-margin-right"></span> 欢迎登录</h3> </div> <div class="modal-body clearfix"> <div class="hidden-xs col-sm-4 col-md-4">
?> <tr> <td><input type='checkbox' name='tyChecks' value='<?php echo $row["block_id"]; ?> '/></td> <td><?php echo $row["block_name"]; ?> </td> <td><?php echo btime($row["input_tm"]); ?> </td> <td><?php echo btime($row["edit_tm"]); ?> </td> <td><?php echo $row["usr_nm"]; ?> </td> <td> <a onclick='delBlock(<?php echo $row["block_id"]; ?> )' ><i class='fa fa-fw fa-trash-o'></i></a> <a onclick='editBlock(<?php echo $row["block_id"]; ?> )' ><i class='fa fa-pencil-square-o'></i></a>
echo $visits; ?> </th> <th><?php echo $toperation; ?> </th> </tr> </thead> <tbody> <?php foreach ($arrayList as $row) { if (strlen($row["top_tm"]) == 0) { echo "<tr><td><input type='checkbox' name='tyChecks' value='" . $row["id"] . "'/></td><td>" . $row["block_name"] . "</td><td class='ctx-title'><a target='_blank' href='Content!editPage?id=" . $row["id"] . "'>" . $row["title"] . "</a></td><td>" . $content_sts[$row["sts"]] . "</td><td>" . btime($row["edit_tm"]) . "</td><td>" . $row["visits"] . "</td><td><a title=\"{$tdelete}\" onclick=del(" . $row["id"] . ")><i class='fa fa-fw fa-trash-o'></i></a> <a title=\"{$torecommend}\" onclick=recommend('" . $row["id"] . "','1')><i class='fa fa-star'></i></a></td></tr>"; } else { echo "<tr><td><input type='checkbox' name='tyChecks' value='" . $row["id"] . "'/></td><td>" . $row["block_name"] . "</td><td class='ctx-title'><a target='_blank' href='Content!editPage?id=" . $row["id"] . "'>" . $row["title"] . "</a></td><td>" . $content_sts[$row["sts"]] . "</td><td>" . btime($row["edit_tm"]) . "</td><td>" . $row["visits"] . "</td><td><a title=\"{$tdelete}\" onclick=del(" . $row["id"] . ")><i class='fa fa-fw fa-trash-o'></i></a> <a title=\"{$derecommend}\" onclick=recommend('" . $row["id"] . "','')><i class='fa fa-download'></i></a></td></tr>"; } } ?> </tbody> </table> <?php $pager->getHtml(); ?> </div> </div> </form> </div> <!-- /.row -->