<?php require_once 'head.html';?>
        <div class="span9">
		  <div class="row-fluid">
			<div class="page-header">
				<h1>修改分类<small>Edit Classification</small></h1>
			</div>
			<form class="form-horizontal" action="?c=opi&xp=edit&id=<?php echo $ify['pid'];?>" method="post">
				<fieldset>
					<div class="control-group">
						<label class="control-label" for="role">分类名称</label>
						<div class="controls">
							<input value="<?php echo $ify['ify_name'];?>" name="ify_name" type="text" class="input-xlarge" id="role" />
						</div>
					</div>
					
					<div class="control-group">
						<label class="control-label" for="byname">类型(Type)</label>
						<div class="controls">
							<select name="byname">
							<option>请选一个存储类型</option>
						   <option value='article' <?php echo $ify['alias']=='article' ? "selected='selected'":"";?>>用于存储文章</option>
						   <option value='music' <?php echo $ify['alias']=='music' ? "selected='selected'":"";?>>用于存储音乐</option>
						   <option value='video' <?php echo $ify['alias']=='video' ? "selected='selected'":"";?>>用于存储视频</option>
						   <option value='images' <?php echo $ify['alias']=='images' ? "selected='selected'":"";?>>用于存储图片</option>
						   <option value='down' <?php echo $ify['alias']=='down' ? "selected='selected'":"";?>>用于存储资源</option>
							</select>
						</div>
					</div>
					<div class="control-group">
						<label class="control-label" for="the">简介</label>
						<div class="controls">
							<textarea name="the" class="input-xlarge" id="the" /><?php echo $ify['the'];?></textarea>
						</div>
					</div>
				
					<div class="form-actions">
						<input name="edit_ify" type="submit" class="btn btn-success btn-large" value="保存修改" /> <a class="btn" href="?c=index">返回仪表盘</a>
					</div>					
				</fieldset>
			</form>
		  </div>
        </div>
      </div>

      <hr>

      <?php require_once 'foot.html';?>

    </div>

    <script src="Delivery/js/jquery.js"></script>
	<script src="Delivery/js/bootstrap.min.js"></script>
  </body>
</html>
