<?php
if (!defined('USING_SYSTEM')) exit;
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="admin/images/page.css" />
<script type="text/javascript" src="skins/common/images/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="admin/images/page.js"></script>
<title>Filiant Control Panel</title>
</head>
<body>
<div class="bigTips"<?php echo ($tips=='')?'':' style="display:block;"' ?>><?php echo $tips ?></div>
<form id="mainForm" action="" method="post">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <th colspan="3">编辑云卷</th>
  </tr>
  <tr>
    <td class="title" width="150">卷域</td>
    <td width="400"><?php echo $vol->host ?></td>
    <td class="tips">云卷的所在域，不可修改</td>
  </tr>
  <tr>
    <td class="title">容量</td>
    <td><input name="sizeTxt" id="sizeTxt" type="text" class="textbox" value="<?php echo $vol->size ?>" /></td>
    <td class="tips">限制此云卷最大的可用容量，单位字节。</td>
  </tr>
  <tr>
    <td class="title">下载优化</td>
    <td class="dropdown">
      <select name="serverTxt" id="serverTxt">
        <option value="0"<?php echo ($vol->stype=='0')?' selected="selected"':'' ?>>脚本优化</option>
        <option value="1"<?php echo ($vol->stype=='1')?' selected="selected"':'' ?>>Nginx优化</option>
        <option value="2"<?php echo ($vol->stype=='2')?' selected="selected"':'' ?>>Apache优化</option>
      </select>
    </td>
    <td class="tips">根据您的服务器类型可以提高下载文件的性能和降低资源占用。</td>
  </tr>
</table>
<div class="controls">
  <a class="button" href="javascript:void(0);" onclick="$('#mainForm').trigger('submit');return false;">保存<i></i></a>　<a class="button" href="admin.php?ac=p401">返回<i></i></a>
</div>
</form>
</body>
</html>