    <div id="the_body">
        <div class="container_12">
            <div class="grid_12">    
                <div class="grid_12 alpha omega">
                	<div class="description">
                        <h1>{$lang318}</h1>
                   	</div>
                	<div id="content">         
                   		<div class="clear"></div>               
                        {include file="msg.tpl"}
						
                        <div class="uploadkocont">
                            <form id="editdocform" name="editdoc" method="post" action="{$baseurl}/mydocsedit.php?DID={$DID}">
                            <table style="width: 700px;" class="form" cellpadding="10">
                                <tr>
                                    <td valign="top" style="padding-top: 12px; font-size:16px;">{$lang324}:</td>
                                    <td>
                                        <input type="text" name="title" id="title" value="{$docarray[0].title}">
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang325}:</td>
                                    <td>
                                        <input type="text" name="tags" id="tags" value="{$docarray[0].tags}">
                                    </td>
                                </tr> 
                                <tr>
                                    <td valign="top" style="padding-top: 15px; font-size:16px; vertical-align:top;">{$lang113}:</td>
                                    <td style="padding-top: 15px;">
                                        <textarea name="desc" id="desc" rows="5" style="width:300px;">{$docarray[0].description}</textarea>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang218}:</td>
                                    <td>
                                        <select id="category" name="category" style="width:45%; font-size:16px; padding:10px;">
                                        {insert name=get_doc_categories assign=listdoccategories}
                                        {section name=o loop=$listdoccategories}
                                        <option value="{$listdoccategories[o].CATID}" {if $docarray[0].categories eq $listdoccategories[o].CATID}selected="selected"{/if}>{$listdoccategories[o].name}</option>
                                        {/section}
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang329}:</td>
                                    <td>
                                        <select name="public" style="width:45%; font-size:16px; padding:10px;">
                                            <option value="1" {if $docarray[0].public ne "0"}selected="selected"{/if}>{$lang327}</option>
                                            <option value="0" {if $docarray[0].public eq "0"}selected="selected"{/if}>{$lang328}</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang330}:</td>
                                    <td>
                                        <select name="allowcomments" style="width:45%; font-size:16px; padding:10px;">
                                            <option value="1" {if $docarray[0].allowcomments ne "0"}selected="selected"{/if}>{$lang335}</option>
                                            <option value="0" {if $docarray[0].allowcomments eq "0"}selected="selected"{/if}>{$lang336}</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang331}:</td>
                                    <td>
                                        <select name="allowratings" style="width:45%; font-size:16px; padding:10px;">
                                            <option value="1" {if $docarray[0].allowratings ne "0"}selected="selected"{/if}>{$lang335}</option>
                                            <option value="0" {if $docarray[0].allowratings eq "0"}selected="selected"{/if}>{$lang336}</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td valign="top" style="padding-top: 22px; font-size:16px;">{$lang332}:</td>
                                    <td>
                                        <select name="allowembeds" style="width:45%; font-size:16px; padding:10px;">
                                            <option value="1" {if $docarray[0].allowembeds ne "0"}selected="selected"{/if}>{$lang335}</option>
                                            <option value="0" {if $docarray[0].allowembeds eq "0"}selected="selected"{/if}>{$lang336}</option>
                                        </select>
                                    </td>
                                </tr>
                                <tr>
                                    <td style="padding-top: 22px;" colspan="2" align="center">
                                        <input type="submit" value="{$lang693}" name="editdoc" class="btn">
                                    </td>
                                </tr>
                            </table>
                            <input type="hidden" name="DID" value="{$DID}" />
                            </form>  
                        </div>
                        <div class="clear"></div>
                    </div>
                </div>
            </div>
            
            <div class="clear"></div>
        </div>
    
    </div>