westdc-zf1/application/default/views/scripts/data/download.phtml

53 lines
2.0 KiB
PHTML
Raw Normal View History

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 if ($this->ftpurls) : ?>
2009-03-06 03:20:46 +00:00
<?php foreach($this->ftpurls as $ftp) : ?>
<li><a href="<?php echo $ftp; ?>"><?php echo $ftp; ?></a></li>
<?php endforeach; endif;?>
2009-03-06 03:20:46 +00:00
</ul>
</fieldset>
</div>
<div id="link">
<?php if ($this->links) : ?>
<fieldset><legend>其他在线资源</legend>
<ul><?php foreach($this->links as $link) : ?>
2009-12-25 11:38:52 +00:00
<li><a href="<?php echo $link['linkage']; ?>">
<?php
if (!empty($link['name']))
echo $link['name'];
elseif (!empty($link['description']))
echo $link['description'];
else
echo $link['linkage'];
?></a></li>
2009-03-06 03:20:46 +00:00
<?php endforeach; ?>
</ul>
<?php endif; ?>
</fieldset>
</div>
2009-12-25 11:57:59 +00:00
<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>
<p>FTP是一种常用的文件传输协议您可以使用您自己喜欢的FTP客户端来进行数据下载也可以使用开源的<a href="http://filezilla-project.org">FileZilla</a>软件来进行数据下载。</p>
<p>您也可以直接使用浏览器进行下载支持的浏览器包括IE7+FIREFOX。注意在IE6下无法直接下载</p>
</fieldset>
</div>
2009-03-06 03:20:46 +00:00
</div>