<script src="script/my_lightbox.js" language="javascript"></script>
<script type="text/javascript" src="script/Validator.js"></script>
<script src="<{$config.weburl}>/script/jquery.niceforms.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function(){
	$(".radio").dgStyle();
});
</script>
<div class="admin_right_top"><{$lang.set_business_info}></div>
<form action="" method="post" onSubmit="return Validator.Validate(this,3)">
<table class="admin_table">
    <tr>
        <td class="sheader" colspan="2">
        <{if $de.statu==''}>
        <{$lang.info_des}>
        <{elseif $de.statu=='0'}>
        <{$lang.pending_next}>
        <{elseif $de.statu=='-1'}>
        <{$lang.nopending_next}>
        <{/if}>
        </td>
    </tr>
    <tr>
        <td width="20%" class="td"><{$lang.person_name}></td>
        <td><input name='person_name' type='text' size="40" value="<{$de.person_name}>" maxlength="50" dataType="Require" msg="<{$lang.person_name}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.job}></td>
        <td><input name='job' type='text' size="40" value="<{$de.job}>" maxlength="50" dataType="Require" msg="<{$lang.job}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_name}></td>
        <td><input name='com_reg_name' type='text' size="40" value="<{$de.com_reg_name}>" maxlength="100" dataType="Require" msg="<{$lang.com_reg_name}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_id}></td>
        <td>
        <input name='com_reg_id' class="fl w150" type='text' size="40" value="<{$de.com_reg_id}>" maxlength="100" dataType="Require" msg="<{$lang.com_reg_id}><{$lang.msg}>">
        <label class="radio"><input type="radio" value="0" name="com_reg_id_protect" <{if $de.com_reg_id_protect!=1 }>checked<{/if}>><{$lang.statu_open}></label>
        <label class="radio"><input type="radio" value="1" name="com_reg_id_protect" <{if $de.com_reg_id_protect==1 }>checked<{/if}>><{$lang.com_reg_id_protect}>
        </label>
        </td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_add}></td>
        <td>
        <input name='com_reg_add' class="fl w150" type='text' size="40" value="<{$de.com_reg_add}>" maxlength="50" dataType="Require" msg="<{$lang.com_reg_add}><{$lang.msg}>">
       
       	<label class="radio"><input type="radio" value="0" name="com_reg_add_protect" <{if $de.com_reg_add_protect!=1 }>checked<{/if}>><{$lang.statu_open}></label>
        <label class="radio"><input type="radio" value="1" name="com_reg_add_protect"<{if $de.com_reg_add_protect==1 }>checked<{/if}>><{$lang.statu_protect}></label>
        </td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_deputy}></td>
        <td>
        <input name='com_deputy' class="fl w150" type='text' size="40" value="<{$de.com_deputy}>" maxlength="50" dataType="Require" msg="<{$lang.com_deputy}><{$lang.msg}>">
        <label class="radio"><input type="radio" value="0" name="com_deputy_protect" <{if $de.com_deputy_protect!=1 }>checked<{/if}>><{$lang.statu_open}></label>
        <label class="radio"><input type="radio" value="1" name="com_deputy_protect"<{if $de.com_deputy_protect==1 }>checked<{/if}>><{$lang.statu_protect}></label>
        </td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_capital}></td>
        <td>
        <input name='com_reg_capital' class="fl w150" type='text' size="40" value="<{$de.com_reg_capital}>" maxlength="50" dataType="Require" msg="<{$lang.com_reg_capital}><{$lang.msg}>">
        <label class="radio"><input type="radio" value="0" name="com_reg_capital_protect" <{if $de.com_reg_capital_protect!=1 }>checked<{/if}>><{$lang.statu_open}></label>
        <label class="radio"><input type="radio" value="1" name="com_reg_capital_protect"<{if $de.com_reg_capital_protect==1 }>checked<{/if}>><{$lang.statu_protect}></label>
        </td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_type}></td>
        <td><input name='com_reg_type' type='text' size="40" value="<{$de.com_reg_type}>" maxlength="50" dataType="Require" msg="<{$lang.com_reg_type}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_time}></td>
        <td><input name='com_reg_time' type='text' size="40" value="<{$de.com_reg_time|date_format}>" dataType="Require" msg="<{$lang.com_reg_time}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_time_ex}></td>
        <td><input name='com_reg_time_ex' type='text' size="40" value="<{$de.com_reg_time_ex}>" dataType="Require" msg="<{$lang.com_reg_time_ex}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_unit}></td>
        <td><input name='com_reg_unit' type='text' size="40" value="<{$de.com_reg_unit}>" maxlength="50" dataType="Require" msg="<{$lang.com_reg_unit}><{$lang.msg}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_check}></td>
        <td><input name='com_check' type='text' size="40" value="<{$de.com_check}>"  dataType="Require" msg="<{$lang.com_check}>"></td>
    </tr>
    <tr>
        <td class="td"><{$lang.com_reg_area}></td>
        <td><textarea name='com_reg_area' style="width:500px;" rows='6'  id="com_reg_area" dataType="Require" msg="<{$lang.com_reg_area}><{$lang.msg}>"><{$de.com_reg_area}></textarea></td>
    </tr>
    <tr>
        <td class="td">Duplicate of business license</td>
        <td>
        <input name="pic" type="text" id="pic" value="<{$de.pic}>" style="width:500px;">
        <p>
        [<a href="javascript:uploadfile('<{$lang.photo}>','pic',500,500)"><{$lang.upload}></a>] 
        [<a href="javascript:preview('pic');"><{$lang.preview}></a>]
        [<a href="javascript:delet_pic('pic');;"><{$lang.delete}></a>]
        </p>
        </td>
	</tr>
    <tr>
        <td colspan="2">
        <input type='submit' name='Submit' value='<{$lang.submit}>' />
        <input name="action" type="hidden" id="action" value="submit" />
    	</td>
    </tr>
</table>
</form>