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

53 lines
1.9 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>
2011-10-26 09:34:33 +00:00
<div id="thumb"><img src="/service/thumb/id/<?php echo $this->md['id'];?>" /></div>
2009-03-06 03:20:46 +00:00
<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>
2009-12-25 12:35:25 +00:00
<p>FTP是一种常用的文件传输协议西部数据中心推荐您使用使用开源的<a href="http://filezilla-project.org">FileZilla</a>软件来进行数据下载您可以使用您自己喜欢的FTP客户端来进行数据下载。</p>
<img src="/images/filezilla-westdc.png" alt="以FileZilla演示如何下载数据" />
2009-12-25 11:57:59 +00:00
</fieldset>
</div>
2009-03-06 03:20:46 +00:00
</div>