修改了底部分页导航位置错乱的问题

This commit is contained in:
Li Jianxuan 2011-11-01 02:51:51 +00:00
parent 60d4626c5b
commit 509a59dcb8
6 changed files with 216 additions and 216 deletions

View File

@ -1,47 +1,47 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review); $this->headTitle($this->config->title->review);
$this->headTitle('接收元数据'); $this->headTitle('接收元数据');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>'); $this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
$this->breadcrumb('接收元数据'); $this->breadcrumb('接收元数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/pubfunc.js'); $this->headScript()->appendFile('/js/pubfunc.js');
?> ?>
<div id='sidebar'> <div id='sidebar'>
<div id='leftnavi'> <div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?> <?= $this->partial('review/navi.phtml'); ?>
</div> </div>
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<?php foreach($this->metadata as $md) : <?php foreach($this->metadata as $md) :
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid']; $thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']); $thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
?> ?>
<div class="thumbmd"> <div class="thumbmd">
<div class="thumbtitle"> <div class="thumbtitle">
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>
<?php if ($md['status']!=5) : ?> <?php if ($md['status']!=5) : ?>
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a> <a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" <img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
onclick="fnCreate('<?php echo $thumburl; ?>')" /> onclick="fnCreate('<?php echo $thumburl; ?>')" />
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> <hr class="clear"/>
<hr class="clear"/> <?php echo $this->page->getNavigation();
<?php echo $this->page->getNavigation(); else :
else : ?>
?> <div>
<div> <p>当前没有对应元数据。</p>
<p>当前没有对应元数据。</p> </div>
</div> <?php endif; ?>
<?php endif; ?> </div>

View File

@ -1,44 +1,44 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review); $this->headTitle($this->config->title->review);
$this->headTitle('投稿元数据'); $this->headTitle('投稿元数据');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>'); $this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
$this->breadcrumb('投稿元数据'); $this->breadcrumb('投稿元数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/pubfunc.js'); $this->headScript()->appendFile('/js/pubfunc.js');
?> ?>
<div id='sidebar'> <div id='sidebar'>
<div id='leftnavi'> <div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?> <?= $this->partial('review/navi.phtml'); ?>
</div> </div>
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<?php foreach($this->metadata as $md) : <?php foreach($this->metadata as $md) :
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid']; $thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']); $thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
?> ?>
<div class="thumbmd"> <div class="thumbmd">
<div class="thumbtitle"> <div class="thumbtitle">
<?php echo $this->escape($md['title']); ?>【投稿时间:<?php echo date('Y-m-d',strtotime($md['ts_created'])); ?> <?php echo $this->escape($md['title']); ?>【投稿时间:<?php echo date('Y-m-d',strtotime($md['ts_created'])); ?>
</div> </div>
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" <img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
onclick="fnCreate('<?php echo $thumburl; ?>')" /> onclick="fnCreate('<?php echo $thumburl; ?>')" />
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> <hr class="clear"/>
<hr class="clear"/> <?php echo $this->page->getNavigation();
<?php echo $this->page->getNavigation(); else :
else : ?>
?> <div>
<div> <p>当前没有对应元数据。</p>
<p>当前没有对应元数据。</p> </div>
</div> <?php endif; ?>
<?php endif; ?> </div>

View File

@ -1,47 +1,47 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review); $this->headTitle($this->config->title->review);
$this->headTitle('在审元数据'); $this->headTitle('在审元数据');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>'); $this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
$this->breadcrumb('在审元数据'); $this->breadcrumb('在审元数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/pubfunc.js'); $this->headScript()->appendFile('/js/pubfunc.js');
?> ?>
<div id='sidebar'> <div id='sidebar'>
<div id='leftnavi'> <div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?> <?= $this->partial('review/navi.phtml'); ?>
</div> </div>
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<?php foreach($this->metadata as $md) : <?php foreach($this->metadata as $md) :
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid']; $thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']); $thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
?> ?>
<div class="thumbmd"> <div class="thumbmd">
<div class="thumbtitle"> <div class="thumbtitle">
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a> 【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a> 【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_accepted'])); ?>
<?php if ($md['status']!=5) : ?> <?php if ($md['status']!=5) : ?>
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a> <a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" <img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
onclick="fnCreate('<?php echo $thumburl; ?>')" /> onclick="fnCreate('<?php echo $thumburl; ?>')" />
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> <hr class="clear"/>
<hr class="clear"/> <?php echo $this->page->getNavigation();
<?php echo $this->page->getNavigation(); else :
else : ?>
?> <div>
<div> <p>当前没有对应元数据。</p>
<p>当前没有对应元数据。</p> </div>
</div> <?php endif; ?>
<?php endif; ?> </div>

View File

@ -74,7 +74,7 @@
</p> </p>
<p> <p>
评审附件:<br/> 评审附件:<br/>
<input type="file" name="Filedata" class="half" /><br /> <input type="file" name="Filedata" class="half" autocomplete="on" /><br />
<a href="javascript:void(0);" onclick="$('#showexts').toggle()">查看可上传的附件类型</a> <a href="javascript:void(0);" onclick="$('#showexts').toggle()">查看可上传的附件类型</a>
<div id='showexts' style="display:none;">'doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','gif', 'jpg', 'jpeg', 'png', 'bmp', 'pdf'</div> <div id='showexts' style="display:none;">'doc', 'docx', 'xls', 'xlsx', 'ppt', 'htm', 'html', 'txt', 'zip', 'rar', 'gz', 'bz2','gif', 'jpg', 'jpeg', 'png', 'bmp', 'pdf'</div>
</p> </p>

View File

@ -1,47 +1,47 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review); $this->headTitle($this->config->title->review);
$this->headTitle('审结元数据'); $this->headTitle('审结元数据');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>'); $this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
$this->breadcrumb('审结元数据'); $this->breadcrumb('审结元数据');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/pubfunc.js'); $this->headScript()->appendFile('/js/pubfunc.js');
?> ?>
<div id='sidebar'> <div id='sidebar'>
<div id='leftnavi'> <div id='leftnavi'>
<?= $this->partial('review/navi.phtml'); ?> <?= $this->partial('review/navi.phtml'); ?>
</div> </div>
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<?php foreach($this->metadata as $md) : <?php foreach($this->metadata as $md) :
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid']; $thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']); $thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
?> ?>
<div class="thumbmd"> <div class="thumbmd">
<div class="thumbtitle"> <div class="thumbtitle">
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【接收时间:<?php echo date('Y-m-d',strtotime($md['ts_finished'])); ?>
<?php if ($md['status']!=5) : ?> <?php if ($md['status']!=5) : ?>
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a> <a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" <img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
onclick="fnCreate('<?php echo $thumburl; ?>')" /> onclick="fnCreate('<?php echo $thumburl; ?>')" />
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> <hr class="clear"/>
<hr class="clear"/> <?php echo $this->page->getNavigation();
<?php echo $this->page->getNavigation(); else :
else : ?>
?> <div>
<div> <p>当前没有对应元数据。</p>
<p>当前没有对应元数据。</p> </div>
</div> <?php endif; ?>
<?php endif; ?> </div>

View File

@ -1,47 +1,47 @@
<?php <?php
$this->headTitle($this->config->title->site); $this->headTitle($this->config->title->site);
$this->headTitle($this->config->title->review); $this->headTitle($this->config->title->review);
$this->headTitle('快速搜索'); $this->headTitle('快速搜索');
$this->headTitle()->setSeparator(' - '); $this->headTitle()->setSeparator(' - ');
$this->headLink()->appendStylesheet('/css/mdreview.css'); $this->headLink()->appendStylesheet('/css/mdreview.css');
$this->breadcrumb('<a href="/">首页</a>'); $this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>'); $this->breadcrumb('<a href="/review">'.$this->config->title->review.'</a>');
$this->breadcrumb('快速搜索'); $this->breadcrumb('快速搜索');
$this->breadcrumb()->setSeparator(' > '); $this->breadcrumb()->setSeparator(' > ');
$this->headScript()->appendFile('/js/pubfunc.js'); $this->headScript()->appendFile('/js/pubfunc.js');
?> ?>
<div id='sidebar'> <div id='sidebar'>
<div id='leftnavi'> <div id='leftnavi'>
<?= $this->partial('review/navi.phtml',array('key'=>$this->key)); ?> <?= $this->partial('review/navi.phtml',array('key'=>$this->key)); ?>
</div> </div>
</div> </div>
<?php if (!empty($this->metadata)) : ?> <?php if (!empty($this->metadata)) : ?>
<div id='mdlist'> <div id='mdlist'>
<?php echo $this->page->getNavigation(); ?> <?php echo $this->page->getNavigation(); ?>
<hr /> <hr />
<?php foreach($this->metadata as $md) : <?php foreach($this->metadata as $md) :
$thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid']; $thumburl='/gndata/'.sprintf('%05d',floor(($md['gid']+0.1)/100)*100).'-'.sprintf('%05d',ceil(($md['gid']+0.1)/100)*100-1)."/".$md['gid'];
$thumburl.='/public/'.str_replace('_s.','.',$md['filename']); $thumburl.='/public/'.str_replace('_s.','.',$md['filename']);
?> ?>
<div class="thumbmd"> <div class="thumbmd">
<div class="thumbtitle"> <div class="thumbtitle">
<a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【状态:<?php echo $md['statustext']; ?> <a href="/data/<?php echo $md['uuid'];?>"><?php echo $this->escape($md['title']); ?> </a>【状态:<?php echo $md['statustext']; ?>
<?php if ($md['status']!=5) : ?> <?php if ($md['status']!=5) : ?>
<a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a> <a href="/review/review/uuid/<?php echo $md['uuid'];?>"><img src="/images/review.png" alt="查看评审页" title="进行数据评审"></a>
<?php endif; ?> <?php endif; ?>
</div> </div>
<img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>" <img class="thumbimg" src="/service/thumb/id/<?php echo $md['id'];?>" alt="<?php echo $this->escape($md['title']);?>" title="<?php echo mb_strlen($md['description'])>400?$this->escape(mb_substr($md['description'],0,400,'UTF-8').'...'):$this->escape($md['description']);?>"
onclick="fnCreate('<?php echo $thumburl; ?>')" /> onclick="fnCreate('<?php echo $thumburl; ?>')" />
</div> </div>
<?php endforeach; ?> <?php endforeach; ?>
</div> <hr class="clear"/>
<hr class="clear"/> <?php echo $this->page->getNavigation();
<?php echo $this->page->getNavigation(); else :
else : ?>
?> <div>
<div> <p>您的搜索结果为空,请尝试其他关键词进行查询。</p>
<p>您的搜索结果为空,请尝试其他关键词进行查询。</p> </div>
</div> <?php endif; ?>
<?php endif; ?> </div>