<!-- #include file="../../themes/admin/~css.php" -->
<form action="<?=url(RPGM.'lang/?ajax')?>" method="post" id="form" onsubmit="return yun_submit(this.id)">
<h3 class="title">语言列表</h3>
 <div class="in">
 <table width="100%">
    <thead>
      <tr>
        <th width="66">序号</th>
        <th>语言名称</th>
        <th width="120">标志</th>
        <th width="60">系统默认</th>
        <th width="60">使用</th>
      </tr>
    </thead>
    <tbody>
      <?php $i=0; foreach($conf['sys_elangs'] as $id=>$v){ ?>
      <tr id="ls_<?=$id?>">
        <td><input type="text" name="order[<?=$id?>]" value="<?=++$i?>" size="5" maxlength="5" /></td>
        <td><input type="text" value="<?=htmlspecialchars($v)?>" name="name[<?=$id?>]"></td>
        <td><?=$id?></td>
        <td><input type="radio" name="lang" value="<?=$id?>" <?=$id==$conf['sys_lang']?'checked="checked"':''?>/></td>
        <td><input type="checkbox" name="elangs[]" value="<?=$id?>" checked="checked"/></td>
        </tr>     
      <?php }?>
            <?php foreach($arg_0 as $id=>$v){ ?>
      <tr id="ls_<?=$id?>">
        <td><input type="text" name="order[<?=$id?>]" value="<?=++$i?>" size="5" maxlength="5" /></td>
        <td><input type="text" value="<?=htmlspecialchars($conf['sys_langs'][$id])?>" name="name[<?=$id?>]"></td>
        <td><?=$id?></td>
        <td><input type="radio" name="lang" value="<?=$id?>" /></td>
        <td><input type="checkbox" name="elangs[]" value="<?=$id?>" /></td>
        </tr>     
      <?php }?>
    </tbody>
  </table>
<div align="center" >
	<input value="提交" type="submit" class="button"> 
    <input value="重置" type="reset" class="button">
</div>
</div>
</form>
<script type="text/javascript">
 </script>
