2009-03-06 03:20:46 +00:00
|
|
|
|
<?php
|
|
|
|
|
$this->headTitle($this->config->title->site);
|
|
|
|
|
$this->headTitle($this->config->title->data);
|
|
|
|
|
$this->headTitle('下载');
|
|
|
|
|
$this->headTitle()->setSeparator(' - ');
|
|
|
|
|
$this->headLink()->appendStylesheet('/css/download.css');
|
|
|
|
|
$this->breadcrumb('<a href="/">首页</a>');
|
|
|
|
|
$this->breadcrumb('<a href="/data">'.$this->config->title->data.'</a>');
|
|
|
|
|
$this->breadcrumb('下载');
|
|
|
|
|
$this->breadcrumb()->setSeparator(' > ');
|
|
|
|
|
?>
|
|
|
|
|
<div id="download">
|
|
|
|
|
<h1><?php echo $this->md['title']; ?>(<?php echo $this->md['filesize']; ?>MB)</h1>
|
|
|
|
|
<div id="thumb"><img src="/data/thumb/id/<?php echo $this->md['id'];?>" /></div>
|
|
|
|
|
<div id="ftpurl">
|
|
|
|
|
<fieldset><legend>FTP下载地址</legend>
|
|
|
|
|
<ul>
|
|
|
|
|
<?php foreach($this->ftpurls as $ftp) : ?>
|
|
|
|
|
<li><a href="<?php echo $ftp; ?>"><?php echo $ftp; ?></a></li>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="ftpinfo">
|
|
|
|
|
<fieldset><legend>FTP使用说明</legend>
|
|
|
|
|
帐号信息如下:<ul><li>FTP的用户名:<?php echo $this->username; ?></li>
|
|
|
|
|
<li>FTP的密码:<?php echo $this->userpass; ?></li>
|
|
|
|
|
<li>密码有效期限:<?php echo $this->ftptime; ?></li>
|
|
|
|
|
</ul>
|
2009-07-30 08:59:49 +00:00
|
|
|
|
<p>FTP是一种常用的文件传输协议,您可以使用您自己喜欢的FTP客户端来进行数据下载,也可以使用开源的FILEZILLA软件来进行数据下载。</p>
|
|
|
|
|
<p>您也可以直接使用浏览器进行下载,支持的浏览器包括IE7+/FIREFOX。(注意:在IE6下无法直接下载!)</p>
|
2009-03-06 03:20:46 +00:00
|
|
|
|
</fieldset>
|
|
|
|
|
</div>
|
|
|
|
|
<div id="link">
|
|
|
|
|
<?php if ($this->links) : ?>
|
|
|
|
|
<fieldset><legend>其他在线资源</legend>
|
|
|
|
|
<ul><?php foreach($this->links as $link) : ?>
|
|
|
|
|
<li><a href="<?php echo $link['linkage']; ?>"><?php echo empty($link['name'])?$link['linkage']:$link['name']; ?></a></li>
|
|
|
|
|
<?php endforeach; ?>
|
|
|
|
|
</ul>
|
|
|
|
|
<?php endif; ?>
|
|
|
|
|
</fieldset>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|