westdc-zf1/application/admin/views/scripts/test/reftest.phtml

40 lines
1.2 KiB
PHTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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>