仰望星辰工作室

better-staridc-MNBT

better-staridc-MNBT/ user/amftp/View/amftp_login.php 1.5 KB · 46 行 原始文件
Z zfhsh first commit 2 个月前
1<?php
2include('amftp_header.php');
3global $Config;
4?>
5<style>
6#header{
7 padding-left:25px;
8 width: auto;
9}
10#content {
11 margin-left: 38px;
12 margin-bottom: 30px;
13 width: 666px;
14}
15#footer {
16 width: 666px;
17 margin-left: 35px;
18}
19</style>
20
21<div id="content" >
22<?php if (!empty($notice)) { ?>
23 <div id="notice"><?php echo $notice;?></div>
24<?php } ?>
25<form action="./index.php?c=index&a=amftp_login" method="POST">
26<dl> <dd>IP域名 / 端口: </dd><dt><input type="text" id="ftp_ip" name="ftp_ip" value="<?php echo $ftp_ip;?>" <?php echo $Config['OnlyLocal'] ? 'disabled=""' : '';?> class="input_text <?php echo $Config['OnlyLocal'] ? 'disabled' : '';?>" style="width:180px"/>
27<input type="text" id="ftp_port" name="ftp_port" value="21" class="input_text" style="width:35px"/>
28<span class="select_text " style="width:95px;border-radius:3px;height:22px;margin: 0px 2px -8px 8px;margin-bottom: -8px;">
29<span class="hidden_border" style="">
30<select name="ftp_pasv"style="width:85px;margin-top:3px;">
31<option value="0">主动模式</option>
32<option value="1">被动模式</option>
33</select>
34</span>
35</span>
36</dt>
37</dl>
38<dl> <dd>用户名: </dd><dt><input type="text" name="ftp_user" value="<?php echo $ftp_user;?>" class="input_text" style="width:230px"/> </dt> </dl>
39<dl> <dd>密码: </dd><dt><input type="password" name="ftp_pass" class="input_text" style="width:230px"/> </dt> </dl>
40<input type="submit" name="submit" value=" 登录 " class="input_button"/>
41</form>
42
43</div>
44
45
46<?php include('amftp_footer.php');?>