<!-- #include file="../../themes/admin/~css.php" -->
<form action="<?=url(RPGM.'base/?ajax')?>" method="post" id="form" onsubmit="return yun_submit(this.id)">
<h3 class="title">全局</h3>
<div class="in">
<?php $i=0; foreach($conf['sys_elangs'] as $k=>$v){?>
<div class="fieldwrapper">
	<label for="" class="styled"><?=$i<1?'网站名称':''?><img style="width:20px;height:18px" src="<?=THEMEPATH?>img/flags/<?=$k?>.png" /><br />
</label>
	<div class="thefield">
    <input name="sys_webname[<?=$k?>]" type="text" id="sys_webname_<?=$k?>"  value="<?=htmlspecialchars($conf['sys_webname'][$k])?>"/></div>
</div>
<?php $i++;}?>
<?php $i=0;foreach($conf['sys_elangs'] as $k=>$v){?>
<div class="fieldwrapper">
	<label for="" class="styled"><?=$i<1?'网站关键字':''?><img style="width:20px;height:18px" src="<?=THEMEPATH?>img/flags/<?=$k?>.png" /></label>
	<div class="thefield"><textarea name="sys_keywords[<?=$k?>]" style="height:50px" id="sys_keywords_<?=$k?>"><?=htmlspecialchars($conf['sys_keywords'][$k])?>
</textarea></div>
</div>
<?php $i++;}?>
<?php $i=0;foreach($conf['sys_elangs'] as $k=>$v){?>
<div class="fieldwrapper">
	<label for="" class="styled"><?=$i<1?'网站描述':''?><img style="width:20px;height:18px" src="<?=THEMEPATH?>img/flags/<?=$k?>.png" /></label>
	<div class="thefield">
    <textarea name="sys_description[<?=$k?>]" style="height:50px" id="sys_description_<?=$k?>"><?=htmlspecialchars($conf['sys_description'][$k])?>
</textarea>
</div>
</div>
<?php $i++;}?>
<div class="fieldwrapper">
	<label for="" class="styled">注册方式</label>
	<div class="thefield">
    <input type="radio" <?=$conf['sys_reg']=='on'?'checked="checked"':''?> value="on" name="reg"> 开放 <input type="radio"  <?=$conf['sys_reg']=='off'?'checked="checked"':''?>  value="off" name="reg"> 关闭 <input  <?=$conf['sys_reg']=='email'?'checked="checked"':''?>  type="radio" value="email" name="reg"> Email核实
    </div>
</div>
<div class="fieldwrapper">
	<label for="" class="styled">注册默认身份</label>
	<div class="thefield">
    <select name="regteam">
    <?php foreach($conf['sys_teams'] as $k=>$v){?>
    <option value="<?=$k?>" <?=$conf['sys_regteam']==$k?'selected="selected"':''?>><?=html($v['name'])?></option>
    <?php }?>
</select>
    </div>
</div>

<div class="buttonsdiv" >
	<input value="提交" type="submit" class="button"> 
    <input value="重置" type="reset" class="button">
</div>

</div>             
</form>
    <script type="text/javascript">
	yun_onfocus("sys_webname");

</script>
