68 lines
2.5 KiB
PHTML
68 lines
2.5 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/data">数据管理</a>');
|
||
$this->breadcrumb('数据文献关联管理');
|
||
$this->breadcrumb()->setSeparator(' > ');
|
||
$this->theme->AppendPlus($this,'colorbox');
|
||
$this->theme->AppendModel($this,"author-literature");
|
||
?>
|
||
<div id="leftPanel">
|
||
<?= $this->partial('data/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; ?>
|
||
|
||
<div class="right_title">数据文献关联管理</div>
|
||
|
||
<div class="search">
|
||
<form action="" method="get">
|
||
<input type="hidden" name="search" value='1' />
|
||
<ul>
|
||
<li><label>搜索关键字</label><input type="text" name="keyword" value="<?php echo $this->keyword; ?>" /></li>
|
||
<li><input type="submit" class="searchbtn" value="搜索" /></li>
|
||
</ul>
|
||
</form>
|
||
</div><!-- search DIV -->
|
||
|
||
<div class="controlplan">
|
||
<a href="/admin/data/reference/add/1">添加新的数据文献</a>
|
||
| <a href="/admin/data/reference/add/1/type/dc">添加数据中心文献</a>
|
||
| <a href="/admin/data/reference/import/1">导入数据文献文件</a>
|
||
| <a href="/admin/data/reference/show/e31f5ea7-a4af-4ae3-9ac1-1a84132c4338">查看数据中心文献</a>
|
||
</div>
|
||
|
||
<?php if (count($this->paginator)): ?>
|
||
<div id="datasetcd">
|
||
<?php
|
||
$u='';
|
||
$i=0;
|
||
foreach ($this->paginator as $item):
|
||
if ($u==$item['uuid']) :
|
||
$i+=1;
|
||
else :
|
||
if (!empty($u)) echo '</ul>';
|
||
$i=0;
|
||
$u=$item['uuid'];
|
||
endif;
|
||
if ($i==0) echo '<ul><li>元数据:<a href="/data/'.$item['uuid'].'">'.$item['title'].'</a>(<a href="/admin/data/reference/add/1/uuid/'.$item['uuid'].'">添加</a>)</li>';
|
||
echo '<li>文献(<a href="/admin/data/reference/edit/'.$item['mdid'].'">编辑</a> <a href="/admin/data/reference/delete/'.$item['mdid'].'">删除</a> <a href="javascript:void(0);" class="order" rel="'.$item['mdid'].'" rev="'.$item['place'].'">排序</a>):'.$item['reference'].'</li>';
|
||
endforeach;
|
||
echo '</ul>';
|
||
?>
|
||
</div>
|
||
<?php endif; ?>
|
||
<?= $this->paginator; ?>
|
||
</div>
|