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

53 lines
1.9 KiB
PHTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?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="/service/thumb/id/<?php echo $this->md['id'];?>" /></div>
<div id="ftpurl">
<fieldset><legend>FTP下载地址</legend>
<ul>
<?php if ($this->ftpurls) : ?>
<?php foreach($this->ftpurls as $ftp) : ?>
<li><a href="<?php echo $ftp; ?>"><?php echo $ftp; ?></a></li>
<?php endforeach; endif;?>
</ul>
</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
if (!empty($link['name']))
echo $link['name'];
elseif (!empty($link['description']))
echo $link['description'];
else
echo $link['linkage'];
?></a></li>
<?php endforeach; ?>
</ul>
<?php endif; ?>
</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>
<p>FTP是一种常用的文件传输协议西部数据中心推荐您使用使用开源的<a href="http://filezilla-project.org">FileZilla</a>软件来进行数据下载您可以使用您自己喜欢的FTP客户端来进行数据下载。</p>
<img src="/images/filezilla-westdc.png" alt="以FileZilla演示如何下载数据" />
</fieldset>
</div>
</div>