2013-11-11 04:17:15 +00:00
|
|
|
<?php
|
2014-09-13 02:18:32 +00:00
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle('后台管理');
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/admin/data">数据管理</a>');
|
|
|
|
$this->breadcrumb('文献管理');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
$this->theme->AppendPlus($this,'colorbox');
|
|
|
|
$this->theme->AppendPlus($this,"uploadify");
|
|
|
|
$this->theme->AppendPlus($this,'admin_plugin');
|
2013-11-11 04:17:15 +00:00
|
|
|
?>
|
|
|
|
<style>
|
|
|
|
table thead tr th {background:#EBF2F6;}
|
|
|
|
</style>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="hidden-sm hidden-xs col-md-2">
|
2013-11-11 04:17:15 +00:00
|
|
|
<?= $this->partial('data/left.phtml'); ?>
|
|
|
|
</div>
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="col-md-10 col-sm-12">
|
2013-11-11 04:17:15 +00:00
|
|
|
<div>
|
|
|
|
<?= $this->partial('data/ref-nav.phtml',array('ac'=>$this->ac)); ?>
|
|
|
|
</div>
|
|
|
|
<?php if(!empty($this->error)) { ?>
|
|
|
|
<?= $this->error ?>
|
|
|
|
<?php } ?>
|
|
|
|
<?php if(!empty($this->msg)) { ?>
|
|
|
|
<?= $this->msg ?>
|
|
|
|
<?php } else{ ?>
|
|
|
|
<h3><?= empty($this->referenceData['title']) ? $this->referenceData['reference'] : $this->referenceData['title'] ?></h3>
|
|
|
|
<hr />
|
|
|
|
<?php if(empty($this->data)) { ?>
|
|
|
|
<form class="form-horizontal" method="post" enctype="multipart/form-data">
|
2014-09-13 02:18:32 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="col-md-2 col-sm-2 control-label" for="inputPassword">RIS文本</label>
|
|
|
|
<div class="col-md-5 col-sm-5">
|
|
|
|
<textarea class="form-control" name="ristext" rows="5"><?= $this->ristext ?></textarea>
|
|
|
|
<p class="clearfix"></p>
|
|
|
|
<div class="alert alert-info"> <strong> * </strong>此功能是使用单个文献的 RIS 文本导入并覆盖以前填写过的信息</div>
|
|
|
|
<input type="hidden" name="submit" value="1" />
|
|
|
|
<button type="submit" class="btn btn-primary pull-right">导入</button>
|
2013-11-11 04:17:15 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
<?php }else{ ?>
|
|
|
|
<?php
|
|
|
|
foreach($this->data as $k=>$ref)
|
|
|
|
{
|
|
|
|
echo '<ul>';
|
|
|
|
foreach($ref as $index=>$value)
|
|
|
|
{
|
|
|
|
$v = is_array($value) ? join("|",$value) : $value;
|
|
|
|
echo '<li>'.$index .":". $v .'</li>';
|
|
|
|
}
|
|
|
|
echo "</ul>";
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
<?php } ?>
|
|
|
|
<?php } ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- //页面内容 -->
|