40 lines
1.2 KiB
PHTML
40 lines
1.2 KiB
PHTML
<?php
|
||
$this->headTitle($this->config->title->site);
|
||
$this->headTitle('后台管理');
|
||
$this->headTitle()->setSeparator(' - ');
|
||
$this->headLink()->appendStylesheet('/css/admin.css');
|
||
$this->breadcrumb('<a href="/">首页</a>');
|
||
$this->breadcrumb('<a href="/admin">后台首页</a>');
|
||
$this->breadcrumb('<a href="/admin/test">数据测试工具</a>');
|
||
$this->breadcrumb('文献链接测试');
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
?>
|
||
<div id="leftPanel">
|
||
<?= $this->partial('test/left.phtml'); ?>
|
||
</div>
|
||
<div id="rightPanel">
|
||
<?php if ($this->msg or $this->messages) :?>
|
||
<div id="message">
|
||
<?php if ($this->msg) : ?>
|
||
<p><?php echo $this->msg; ?></p>
|
||
<?php endif; if ($this->messages): foreach($this->messages as $msg): ?>
|
||
<p><?php echo $msg; ?></p>
|
||
<?php endforeach;endif; ?>
|
||
</div>
|
||
<?php endif; ?>
|
||
|
||
<?php if ($this->ref) : ?>
|
||
<div id="mdlist">
|
||
有错误数据:
|
||
<?php foreach ($this->ref as $ref): ?>
|
||
<ul>
|
||
<li><?php echo $ref['id']; ?>:<?php echo $ref['reference']; ?></li>
|
||
<li><a href="/admin/data/ref/edit/<?= $ref['id']; ?>">编辑</a></li>
|
||
<li>错误地址:<?php echo $ref['link']; ?></li>
|
||
</ul>
|
||
<?php endforeach; ?>
|
||
</div>
|
||
<?php else : ?>
|
||
恭喜!没有错误。
|
||
<?php endif; ?>
|
||
</div>
|