示例#1
0
						<div class="wholetip clear"><h3>3、QQ空间登录</h3></div>
						<div class="field">
                            <label>App ID</label>
                            <input type="text" size="30" name="qzone[key]" class="f-input" value="<?php echo $INI['qzone']['key']; ?>" style="width:300px;"/><span class="inputtip"><a href="http://connect.opensns.qq.com/" target="_blank">申请网站APP key</a></span>
                        </div>
                        <div class="field">
                            <label>App KEY</label>
                            <input type="text" size="30" name="qzone[sec]" class="f-input" value="<?php echo $INI['qzone']['sec']; ?>" style="width:300px;"/>
                        </div>
						<div class="field">
                            <label>QQ空间登录</label>
							<select name="option[qzonelogin]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('qzonelogin')); ?></select><span class="inputtip">是否开启QQ空间登录</span>
                        </div>
                        <div class="field">
                            <label>首次登录绑定</label>
							<select name="option[firstqzonelogin]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('firstqzonelogin')); ?></select><span class="inputtip">是否开启首次用QQ空间登录后绑定(或新建)账号</span>
                        </div>
						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>

</div>
							<select name="option[rewritecity]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('rewritecity'));
?>
</select><span class="inputtip">以 "/cityname" 形式重写首页网址</span>
						</div>
                        <div class="field">
                            <label>团购项目</label>
							<select name="option[rewriteteam]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('rewriteteam'));
?>
</select><span class="inputtip">以 "/team/12345.html" 形式重写项目页面网址</span>
						</div>
                        <div class="field">
                            <label>品牌商户</label>
							<select name="option[rewritepartner]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('rewritepartner'));
?>
</select><span class="inputtip">以 "/partner/12345.html" 形式重写商户页面网址</span>
						</div>
						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>
							<select name="option[emailverify]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('emailverify'));
?>
</select><span class="inputtip">用户注册时,是否必须进行邮箱验证</span>
                        </div>
						<div class="field">
                            <label>手机号码必填</label>
							<select name="option[needmobile]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('needmobile'));
?>
</select><span class="inputtip">用户注册时,是否必须输入合法的手机号码</span>
                        </div>
						<div class="field">
                            <label>手机号码验证</label>
							<select name="option[mobilecode]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('mobilecode'));
?>
</select><span class="inputtip">用户注册时,是否必须验证手机号码</span>
                        </div>

						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
示例#4
0
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
					<h2>选项设置</h2>
					<ul class="filter"><?php echo current_system_option($s); ?></ul>
				</div>
                <div class="sect">
                    <form method="post">
						<div class="wholetip clear"><h3>1、签到设置</h3></div>
                        <div class="field">
                            <label>赠送积分</label>
							<select name="option[givecredit]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('givecredit')); ?></select><span class="inputtip">是否开启签到送积分</span>
						</div>
                        <div class="field">
                            <label>赠送金钱</label>
							<select name="option[givemoney]" style="float:left;"><?php echo Utility::Option($option_yn, option_yesv('givemoney')); ?></select><span class="inputtip">是否开启签到送金钱</span>
						</div>
						<?php if(option_yes('givecredit')){?>
						<div class="field">
                            <label>赠送积分值</label>
                            <input type="text" size="30" name="system[givecredit]" class="number" value="<?php echo abs(intval($INI['system']['givecredit'])); ?>"/>
							<span class="inputtip">每日签到赠送的积分值.</span>
						</div>
						<?php }?>
						<?php if(option_yes('givemoney')){?>
						<div class="field">
                            <label>赠送金额</label>
                            <input type="text" size="30" name="system[givemoney]" class="number" value="<?php echo abs(strval($INI['system']['givemoney'])); ?>"/>
							<span class="inputtip"><font color="red">(单位:元)</font>  &nbsp;每日签到赠送的金额,建议最少0.1元</span>
						</div>
						<?php }?>
							<select name="option[verifyregister]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('verifyregister'));
?>
</select><span class="inputtip">用户注册时,是否需要验证码</span>
                        </div>
						<div class="field">
                            <label>讨论区发帖</label>
							<select name="option[verifytopic]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('verifytopic'));
?>
</select><span class="inputtip">讨论区发帖时,是否需要验证码</span>
                        </div>
						<div class="field">
                            <label>意见反馈</label>
							<select name="option[verifyfeedback]" style="float:left;"><?php 
echo Utility::Option($option_yn, option_yesv('verifyfeedback'));
?>
</select><span class="inputtip">发送意见反馈时,是否需要验证码</span>
                        </div>
						<div class="act">
                            <input type="submit" value="保存" name="commit" class="formbutton" />
                        </div>
                    </form>
                </div>
            </div>
            <div class="box-bottom"></div>
        </div>
	</div>

<div id="sidebar">
</div>