westdc-zf1/application/default/views/scripts/submit/ftp.phtml

37 lines
1.2 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->submit);
$this->headTitle()->setSeparator(' - ');
$this->headScript()->appendFile('/js/jquery-1.7.min.js');
$this->headLink()->appendStylesheet('/css/author.css');
$this->breadcrumb('<a href="/">首页</a>');
$this->breadcrumb($this->config->title->submit);
$this->breadcrumb()->setSeparator(' > ');
?>
<div id="page">
<div class="subnav">
<?= $this->partial('submit/navi.phtml'); ?>
</div>
<!-- 页面内容 -->
<div id="wapper">
<?php
if(!empty($this->error))
{
echo $this->error;
}else{
if(!preg_match("/.*".$this->uuid.".*/",$this->ftpinfo['homedir']))
{
echo '<p>如果要上传此条元数据的数据需要先更新FTP信息如果需要<a href="/submit/ftp/ac/update/uuid/'.$this->uuid.'">立即更新请点击这里</a></p>';
}else{
?>
<p><h3>FTP信息</h3></p>
<p>用户名:<?= $this->ftpinfo['userid']?></p>
<p>密码:<?= $this->ftpinfo['passwd']?></p>
<p>一次请上传一个数据文件</p>
<?php }
}
?>
</div>
<!-- //页面内容 -->
</div>