{__NOLAYOUT__}
<include file="Common:dialog" />
<div class="page_table" style="width: 98%;">
    <!--<table width="100%" cellpadding="0" cellspacing="0" border="0" class="box_top">
        <thead class="thead">
            <tr class="space">
                <th colspan="10">编辑文章</th>
            </tr>
        </thead>
    </table>-->
    <form action="/Admin/index/file_update_post" method="post" class="formvalidate">
    <input type="hidden" name="id" value="{$data.id}" id="id" />
        <table width="100%" cellpadding="0" cellspacing="3" border="0">
            <tbody>
                <tr>
                    <td class="left" width="120">
                        <label class="validation">
                            <span class="spanMsg">*</span>路径：
                        </label>
                    </td>  
                    <td class="rowform select_type">
                    	<input type="text" name="pathurl" style="width:300px;" value="<?php if($dirfile){ echo($dirfile);}else{echo($_SERVER['DOCUMENT_ROOT']);} ?>">
                    
                </td>
                    <td width="20" class="field">
                        <img title="" class="title2div" src="__PUBLIC__/Admin/images/icons/icon_help.png" width="16" height="16">				
                    </td>
                </tr>

                               
                   
                <tr>
                    <td class="left">
                        <label class="validation">详细内容：</label>
                    </td>
                    <td>
<textarea name="content" style="width:1000px;height:800px;">
<?php if($file_contents){echo($file_contents);}else{print_r($dirArray);} ?></textarea>

<?php
	if($filetrue=='true'){
   		echo("<input type='hidden' name='fileposttrue' value='1'>"); 
   }
 ?>                        
                    </td>
                    <td class="field"><img title="详细内容。" class="title2div" src="__PUBLIC__/Admin/images/icons/icon_help.png" width="16" height="16">				</td>
                </tr>
                
                
            </tbody>
        </table>
<input type="submit"  name="dosubmit" id="dosubmit" class="dialog" value=" 提交 ">
    </form>
</div>
