
{include file="page_header.htm"}
{insert_scripts files="../js/utils.js"}
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_form">
  <tr>
    <td class="label">URL:</td><td>{$conf.weburl}/wxchat.php</td>
  </tr>
</table>
<form enctype="multipart/form-data" name="theForm" action="wx_config.php" method="post">
    {foreach from=$setting item=group name="body_group"}
    <table width="100%" id="{$group.code}-table" {if $smarty.foreach.body_group.iteration neq 1}style="display:none"{/if} border="0" cellspacing="0" cellpadding="0" class="table_form">
      {foreach from=$group.vars item=var}   
      <tr>
        <td class="label">
         {$var.title}:
        </td>
        <td>
          {if $var.type eq "text"}
          <input name="value[{$var.id}]" id="{$var.code}" type="text" value="{$var.value}" size="40" class="FormSmall" />

          {elseif $var.type eq "password"}
          <input name="value[{$var.id}]" id="{$var.code}" type="password" value="{$var.value}" size="40" class="FormSmall" />

          {elseif $var.type eq "textarea"}
          <textarea name="value[{$var.id}]" id="{$var.code}" cols="40" rows="5">{$var.value}</textarea>

          {elseif $var.type eq "file"}
          <input name="{$var.code}" id="{$var.code}" type="file" size="40" class="FormSmall" />
          {/if}
        </td>
      </tr>
      {/foreach}
    </table>
    {/foreach}

	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table_form">
		<tr>
			<td class="label" style="border:none;"></td>
			<td style="border:none;">
				<input type="hidden" name="act" value="update" />
				<input type="hidden" name="mail_type" id="mail_type" value="" />
				<input name="submit" type="submit" value=" 确定 " class="bginput" />
				<input name="reset" type="reset" value=" 重置 " class="bginput" />
			</td>
		</tr>
	</table>
	</form>

{insert_scripts files="tab.js"}
{include file="page_footer.htm"}