<?php require_once 'head.html';?>                                                             
                    
                    <div class="container">
                        <div class="row">
                            <div class="col-md-12">

                                <div class="block">
                                    <div class="head">                                        
                                        <h2>修改分类</h2>
                                      
                                    </div>                
                                    <div class="content np">                

                                        <form action="?c=opi&xp=edit&id=<?php echo $ify['pid'];?>" method="post">
                                                <fieldset title="Step 1">                            
 
                                                        <div class="controls-row">
                                                            <div class="col-md-2">分类名称:</div>
                                                            <div class="col-md-5">
                                                                <input type="text" value="<?php echo $ify['ify_name'];?>" name="ify_name" class="validate[required,minSize[4]] form-control" value="<?php echo $EditArticle['title'];?>"/>
                                                            </div>
                                                          
                                                        </div>  
                                                        
                                                        <div class="controls-row">
                                                            <div class="col-md-2">类型(Type):</div>
                                                            <div class="col-md-5">
                                                                <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="controls-row">
                                                            <div class="col-md-2">简介:</div>
                                                            <div class="col-md-5">
                                                                <textarea name="the" class="validate[required,minSize[4]]" id="the" style="width:295px;"/><?php echo $ify['the'];?></textarea>
                                                            </div>
                                                          
                                                        </div>                    
                                                </fieldset>
                                                <input name="edit_ify" type="submit" class="btn btn-primary finish" value="保存修改">
                                        </form>                

                                    </div>

                                </div>

                            </div>            

                        </div>                        
                        
                    </div>
                        
                </div>
            </div>
            
        </div>

    </div>
    
</body>
</html>
