<link href="styles/general.css" rel="stylesheet" type="text/css" />
<link href="styles/main.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/utils.js"></script>
<body>
<h1>
<span class="action-span1"><a href="?ctl=index&act=admin_main"><?php  echo $common_admin_index; ?><!--管理首页--></a> >> <?php  echo $system_upload_set; ?><!--附件上传设置--></span>
<div style="clear:both"></div>
</h1>
<div class="main-div">
<form method="post" action="index.php?ctl=system&act=upload_set_save" name="theForm">
<table width="100%" >
  <tr>
    <td width="45%" class="label"><?php  echo $thump_image; ?><!--缩微图设置-->:</td>
    <td width="55%"><?php  echo $thump_image_width; ?><!--宽-->：<input name="thump_image_width" size="10" type="text" value="<?php  echo $upload_info['thump_image_width']['system_value']; ?>">&nbsp;&nbsp;<?php  echo $thump_image_height; ?><!--高-->：<input name="thump_image_height" size="10" type="text" value="<?php  echo $upload_info['thump_image_height']['system_value']; ?>"></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $image_type; ?><!--图片可上传类型-->:</td>
    <td><label>
      <textarea name="image_type" cols="50" rows="3"><?php  echo $upload_info['image_type']['system_value']; ?></textarea>
    </label></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $soft_type; ?><!--附件可上传类型-->:</td>
    <td><textarea name="soft_type" cols="50" rows="3"><?php  echo $upload_info['soft_type']['system_value']; ?></textarea></td>
  </tr>
  <tr>
    <td class="label"><?php  echo $media_type; ?><!--多媒体可上传类型-->:</td>
    <td><textarea name="media_type" cols="50" rows="3"><?php  echo $upload_info['media_type']['system_value']; ?></textarea></td>
  </tr>
    </tr>
  <tr>
    <td colspan="2" align="center">
	<?php  foreach ( $upload_info as $var) { ?>
	<input type="hidden" name="upload_info[]" value="<?php  echo $var['system_name']; ?>" />
	<?php } ?>
      <input type="submit" value="<?php  echo $system_upload_save; ?>" class="button" />
      <input type="reset" value="<?php  echo $system_upload_reset; ?>" class="button" />
      </td>
  </tr>
</table>

</form>
</div>
<div id="footer">
<?php  echo $common_copyright; ?>
</div>
</body>
