2012-08-30 13:38:05 +00:00
|
|
|
<?php
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
$this->headTitle($this->config->title->data);
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
$this->headLink()->appendStylesheet('/css/water.css');
|
|
|
|
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
|
|
|
|
$this->headScript()->appendFile('/js/jquery.colorbox-min.js');
|
|
|
|
$this->headLink()->appendStylesheet('/css/colorbox.css');
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
|
|
$this->breadcrumb('<a href="/yrnmr/">'.$this->config->title->yrnmr.'</a>');
|
|
|
|
$this->breadcrumb('数据文档');
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
?>
|
2013-04-17 02:55:43 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="span3">
|
|
|
|
<?= $this->partial('yrnmr/navi.phtml'); ?>
|
|
|
|
</div>
|
|
|
|
<div class="span9">
|
|
|
|
<div id="intro">
|
|
|
|
</div>
|
|
|
|
<hr />
|
|
|
|
<h3>数据相关文献</h3>
|
|
|
|
<?php if ($this->refs) : ?>
|
|
|
|
<?php echo $this->page->getNavigation(); ?>
|
|
|
|
<div id="mdlist">
|
|
|
|
<ol start="<?php echo $this->offset; ?>">
|
|
|
|
<?php foreach($this->refs as $md) : ?>
|
|
|
|
<li><?php echo $md['reference'];
|
|
|
|
if ($md['link'])
|
|
|
|
{
|
|
|
|
echo ' <a href="'.$md['link'].'">下载</a>';
|
|
|
|
}
|
|
|
|
?>
|
|
|
|
[<a href="javascript:;" onclick="showdata('<?php echo $md['id'];?>',0)">相关数据</a>]
|
|
|
|
</li>
|
|
|
|
<?php endforeach; ?>
|
|
|
|
</ol>
|
|
|
|
</div>
|
|
|
|
<?php endif; ?>
|
|
|
|
</div>
|
2012-08-30 13:38:05 +00:00
|
|
|
</div>
|
|
|
|
<script>
|
|
|
|
function showdata(id,page){
|
|
|
|
var url="/service/refdatalist/id/"+id;
|
|
|
|
$.ajax({
|
|
|
|
'type':"GET",
|
|
|
|
'url':url,
|
|
|
|
'data':'page='+page,
|
|
|
|
'dataType':'html',
|
|
|
|
'success':function(html){$.colorbox({'html':html,'innerHeight':230});}
|
|
|
|
});
|
|
|
|
}
|
|
|
|
</script>
|