当前位置: 首页>>代码示例>>PHP>>正文


PHP group_checkbox函数代码示例

本文整理汇总了PHP中group_checkbox函数的典型用法代码示例。如果您正苦于以下问题:PHP group_checkbox函数的具体用法?PHP group_checkbox怎么用?PHP group_checkbox使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了group_checkbox函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: group_checkbox

<td><?php 
echo group_checkbox('setting[group_search][]', $group_search);
?>
</td>
</tr>
<tr>
<td class="tl">允许设置标题颜色</td>
<td><?php 
echo group_checkbox('setting[group_color][]', $group_color);
?>
</td>
</tr>
<tr>
<td class="tl">允许上传视频</td>
<td><?php 
echo group_checkbox('setting[group_upload][]', $group_upload);
?>
</td>
</tr>
<tr>
<td class="tl">留言启用验证码</td>
<td>
<input type="radio" name="setting[captcha_message]" value="2"  <?php 
if ($captcha_message == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[captcha_message]" value="1"  <?php 
if ($captcha_message == 1) {
    echo 'checked';
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例2: group_checkbox

<td><?php 
echo group_checkbox('setting[group_search][]', $group_search);
?>
</td>
</tr>
<tr>
<td class="tl">允许设置标题颜色</td>
<td><?php 
echo group_checkbox('setting[group_color][]', $group_color);
?>
</td>
</tr>
<tr>
<td class="tl">刷新信息不扣积分</td>
<td><?php 
echo group_checkbox('setting[group_refresh][]', $group_refresh);
?>
</td>
</tr>
<tr>
<td class="tl">留言启用验证码</td>
<td>
<input type="radio" name="setting[captcha_message]" value="2"  <?php 
if ($captcha_message == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[captcha_message]" value="1"  <?php 
if ($captcha_message == 1) {
    echo 'checked';
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例3: group_checkbox

<td><?php 
echo group_checkbox('category[group_list][]', $group_list);
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 允许浏览分类信息内容</td>
<td><?php 
echo group_checkbox('category[group_show][]', $group_show);
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 允许发布信息</td>
<td><?php 
echo group_checkbox('category[group_add][]', $group_add);
?>
</td>
</tr>

</table>


<div class="sbt"><input type="submit" name="submit" value="确 定" class="btn"/>&nbsp;&nbsp;&nbsp;&nbsp;<input type="reset" name="reset" value="重 置" class="btn"/></div>
</form>
<script type="text/javascript">
function ckDir() {
	if(Dd('catdir').value == '') {
		Dtip('请填写分类目录');
		Dd('catdir').focus();
		return false;
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:category_edit.tpl.php

示例4: group_checkbox

<td><?php 
echo group_checkbox('setting[group_color][]', $group_color);
?>
</td>
</tr>
<tr>
<td class="tl">允许查看报价曲线</td>
<td><?php 
echo group_checkbox('setting[group_show_price][]', $group_show_price);
?>
</td>
</tr>
<tr>
<td class="tl">允许发布报价信息</td>
<td><?php 
echo group_checkbox('setting[group_add_price][]', $group_add_price);
?>
</td>
</tr>
<tr>
<td class="tl">审核发布信息</td>
<td>
<input type="radio" name="setting[check_add]" value="2"  <?php 
if ($check_add == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[check_add]" value="1"  <?php 
if ($check_add == 1) {
    echo 'checked';
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例5: group_checkbox

echo $MOD['name'];
?>
内容</td>
<td><?php 
echo group_checkbox('setting[group_show][]', $group_show);
?>
</td>
</tr>

<tr>
<td class="tl">允许搜索<?php 
echo $MOD['name'];
?>
</td>
<td><?php 
echo group_checkbox('setting[group_search][]', $group_search);
?>
</td>
</tr>

</table>
<div class="tt"><?php 
echo $DT['credit_name'];
?>
规则</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td class="tl">发布<?php 
echo $MOD['name'];
?>
奖励</td>
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例6: group_checkbox

?>
"/>
<input type="hidden" name="action" value="<?php 
echo $action;
?>
"/>
<input type="hidden" name="itemid" value="<?php 
echo $itemid;
?>
"/>
<input type="hidden" name="message[type]" value="1"/>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td class="tl"><span class="f_red">*</span> 会员组</td>
<td><?php 
echo group_checkbox('message[groupids][]', $groupids, '2,3,4');
?>
</td>
</tr>

<tr>
<td class="tl"><span class="f_red">*</span> 标题</td>
<td><input type="text" size="50" name="message[title]" id="title" value="<?php 
echo $title;
?>
"/> <span id="dtitle" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 内容</td>
<td><textarea name="message[content]" id="content" class="dsn"><?php 
echo $content;
开发者ID:hcd2008,项目名称:destoon,代码行数:31,代码来源:message_edit.tpl.php

示例7: group_checkbox

<td><?php 
echo group_checkbox('setting[group_refresh][]', $group_refresh);
?>
</td>
</tr>
<tr>
<td class="tl">允许对比信息</td>
<td><?php 
echo group_checkbox('setting[group_compare][]', $group_compare);
?>
</td>
</tr>
<tr>
<td class="tl">允许自主推荐到网站首页</td>
<td><?php 
echo group_checkbox('setting[group_elite][]', $group_elite);
?>
</td>
</tr>
<tr>
<td class="tl">询价启用验证码</td>
<td>
<input type="radio" name="setting[captcha_inquiry]" value="2"  <?php 
if ($captcha_inquiry == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[captcha_inquiry]" value="1"  <?php 
if ($captcha_inquiry == 1) {
    echo 'checked';
开发者ID:hcd2008,项目名称:destoon,代码行数:31,代码来源:setting.tpl.php

示例8: deditor

<tr>
<td class="tl"><span class="f_hid">*</span> 票选说明</td>
<td><textarea name="post[content]" id="content" class="dsn"><?php 
echo $content;
?>
</textarea>
<?php 
echo deditor($moduleid, 'content', 'Destoon', '100%', 350);
?>
<br/><span id="dcontent" class="f_red"></span>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 限制会员</td>
<td><?php 
echo group_checkbox('post[groupid][]', $groupid);
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 验证方式</td>
<td>
<select name="post[verify]">
<option value="0"<?php 
if ($verify == 0) {
    echo ' selected';
}
?>
>不验证</option>
<option value="1"<?php 
if ($verify == 1) {
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:poll_edit.tpl.php

示例9: tips

tips('请上传目录至 ./template/' . $CFG['template'] . '/ 名称为数字、字母组合');
?>
 <span id="dtemplate" class="f_red"></span></td>
</tr> 
<tr>
<td class="tl"><span class="f_hid">*</span> 预览</td>
<td id="preview"></td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 模板作者</td>
<td><input name="post[author]" type="text" size="20" /></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 会员组</td>
<td><?php 
echo group_checkbox('post[groupid][]', '6,7', '1,2,3,4');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 价格(/月)</td>
<td>
<input name="post[fee]" type="text" size="5" value="0"/>&nbsp;&nbsp;
<input type="radio" name="post[currency]" value="money" checked/> <?php 
echo $DT['money_name'];
?>
&nbsp;&nbsp;
<input type="radio" name="post[currency]" value="credit"/> <?php 
echo $DT['credit_name'];
?>
 
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:30,代码来源:style_add.tpl.php

示例10: group_checkbox

" id="credit"/> <?php 
echo $DT['credit_name'];
?>
 <span id="dcredit" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 名额</td>
<td><input type="text" size="10" name="post[amount]" value="<?php 
echo $amount;
?>
" id="amount"/> <span id="damount" class="f_red"></span></td>
</tr>
<tr>
<td class="tl"><span class="f_red">*</span> 会员组</td>
<td><?php 
echo group_checkbox('post[groupid][]', $groupid, '1,2,3,4');
?>
</td>
</tr>
<tr>
<td class="tl"><span class="f_hid">*</span> 有效期</td>
<td><?php 
echo dcalendar('post[fromtime]', $fromtime);
?>
 至 <?php 
echo dcalendar('post[totime]', $totime);
?>
 <?php 
echo tips('不填表示不限时间');
?>
</td>
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:gift_edit.tpl.php

示例11: group_checkbox

<td><?php 
echo group_checkbox('setting[group_show][]', $group_show);
?>
</td>
</tr>
<tr>
<td class="tl">允许搜索信息</td>
<td><?php 
echo group_checkbox('setting[group_search][]', $group_search);
?>
</td>
</tr>
<tr>
<td class="tl">允许设置标题颜色</td>
<td><?php 
echo group_checkbox('setting[group_color][]', $group_color);
?>
</td>
</tr>
<tr>
<td class="tl">审核发布信息</td>
<td>
<input type="radio" name="setting[check_add]" value="2"  <?php 
if ($check_add == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[check_add]" value="1"  <?php 
if ($check_add == 1) {
    echo 'checked';
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例12: group_checkbox

    echo 'checked';
}
?>
/> 开启&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[message_email]" value="0"  <?php 
if (!$message_email) {
    echo 'checked';
}
?>
/> 关闭
</td>
</tr>
<tr> 
<td class="tl">自动转发会员组</td>
<td><?php 
echo group_checkbox('setting[message_group][]', $message_group, '1,2,3,4');
?>
</td>
</tr>
<tr> 
<td class="tl">未读时间限制</td>
<td><input name="setting[message_time]" type="text" size="5" value="<?php 
echo $message_time;
?>
"/> 分钟
<?php 
tips('未读时间超过此时间时开始转发');
?>
</td>
</tr>
<tr> 
开发者ID:hcd2008,项目名称:destoon,代码行数:31,代码来源:setting.tpl.php

示例13: tips

</td>
</tr>
<tr> 
<td class="tl">票选绑定域名</td>
<td><input name="setting[poll_domain]"  type="text" size="30" value="<?php 
echo $poll_domain;
?>
"/><?php 
tips('例如 http://poll.destoon.com/<br/>请将此域名绑定至网站poll目录');
?>
</td>
</tr>
<tr>
<td class="tl">允许参与票选的会员组</td>
<td><?php 
echo group_checkbox('setting[poll_group][]', $poll_group);
?>
</td>
</tr>
</table>

<a name="wap"></a>
<div class="tt">手机版设置</div>
<table cellpadding="2" cellspacing="1" class="tb">
<tr>
<td class="tl">手机版功能</td>
<td>
<input type="radio" name="setting[wap_enable]" value="1"  <?php 
if ($wap_enable) {
    echo 'checked';
}
开发者ID:hcd2008,项目名称:destoon,代码行数:31,代码来源:setting.tpl.php

示例14: group_checkbox

?>
</td>
</tr>

<tr>
<td class="tl">允许搜索招聘</td>
<td><?php 
echo group_checkbox('setting[group_search][]', $group_search);
?>
</td>
</tr>

<tr>
<td class="tl">允许应聘职位</td>
<td><?php 
echo group_checkbox('setting[group_apply][]', $group_apply);
?>
</td>
</tr>

<tr>
<td class="tl">审核发布简历</td>
<td>
<input type="radio" name="setting[check_add_resume]" value="2"  <?php 
if ($check_add_resume == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[check_add_resume]" value="1"  <?php 
if ($check_add_resume == 1) {
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php

示例15: group_checkbox

}
?>
> 关闭
</td>
</tr>
<tr>
<td class="tl">允许评论的会员组</td>
<td><?php 
echo group_checkbox('setting[comment_group][]', $comment_group);
?>
</td>
</tr>
<tr>
<td class="tl">允许支持反对的会员组</td>
<td><?php 
echo group_checkbox('setting[comment_vote_group][]', $comment_group);
?>
</td>
</tr>
<tr>
<td class="tl">审核评论</td>
<td>
<input type="radio" name="setting[comment_check]" value="2"  <?php 
if ($comment_check == 2) {
    echo 'checked';
}
?>
> 继承会员组设置&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<input type="radio" name="setting[comment_check]" value="1"  <?php 
if ($comment_check == 1) {
    echo 'checked';
开发者ID:hiproz,项目名称:zhaotaoci.cc,代码行数:31,代码来源:setting.tpl.php


注:本文中的group_checkbox函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。