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

39 lines
1.1 KiB
PHTML
Raw Normal View History

2010-07-01 11:34:16 +00:00
<?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('DOI重复检查');
$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->doi) : ?>
<div id="mdlist">
DOI有重复的数据
<?php foreach ($this->doi as $doi): ?>
<ul>
<li><?php echo $doi['doi']; ?></li>
<li><a href="/data/<?= $doi['uuid']; ?>"><?php echo $doi['title']; ?></a></li>
</ul>
<?php endforeach; ?>
</div>
<?php else : ?>
恭喜!没有重复。
<?php endif; ?>
</div>