<?php (!defined('IN_ADMIN') || !defined('IN_MUDDER')) && exit('Access Denied'); ?>
<div id="body">
<form method="post" action="admincp.php?action=<?=$action?>&file=<?=$file?>&">
    <div class="space">
        <div class="subtitle">兑换设置</div>
        <table class="maintable" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td class="altbg1" width="50%"><strong>礼品缩略图宽度和高度:</strong>礼品图片上传后自动截取大小，宽度 x 高度，建议（默认）为124 x 94 px</td>
                <td width="*"><input type="text" name="modcfg[thumb_width]" value="<?=$modcfg['thumb_width']?>" class="txtbox5" />&nbsp;x&nbsp;<input type="text" name="modcfg[thumb_height]" value="<?=$modcfg['thumb_height']?>" class="txtbox5" /</td>
            </tr>
            <tr>
                <td class="altbg1"><strong>开启兑换验证码:</strong>兑换商礼品时，必须输入验证码。</td>
                <td>是 <input type="radio" name="modcfg[seccode]" value="1" <?=$exchange_seccode[1]?> />&nbsp;&nbsp;&nbsp;否 <input type="radio" name="modcfg[seccode]" value="0" <?=$exchange_seccode[0]?> /></td>
            </tr>
            <tr>
                <td class="altbg1"><strong>开启优惠券伪静态功能:</strong>请确认服务器支持rewrite模块，并且已经加入rewrite规则，规则请查询modoer官网教程。</td>
                <td>是 <input type="radio" name="modcfg[rewrite]" value="1"<?if($modcfg['rewrite'])echo ' checked'?> />&nbsp;&nbsp;&nbsp;否 <input type="radio" name="modcfg[rewrite]" value="0" <?if(empty($modcfg['rewrite']))echo ' checked'?> /></td>
            </tr>
        </table>
        <center><button type="submit" name="dosubmit" value="yes" class="btn" /> 提交 </button></center>
    </div>
</form>
</div>