code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 2 => Array ( 'gid' => 2, 'grouptitle' => '信息管理员', 'system' => -1, 'banvisit' => '0', 'explower' => '0', 'maxfriendnum' => '0', 'maxattachsize' => '0', 'allowhtml' => 1, 'allowcomment' => 1, 'searchinterval' => '0', 'searchignore' => 1, 'postinterval' => '0', 'spamignore' => 1, 'videophotoignore' => 1, 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => 1, 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => 1, 'allowmyop' => 1, 'allowtopic' => 1, 'allowstat' => 1, 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => 3, 'closeignore' => 1, 'seccode' => '0', 'color' => 'blue', 'icon' => 'image/group/infor.gif', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => 1, 'manageshare' => 1, 'managedoing' => 1, 'manageblog' => 1, 'managetag' => 1, 'managetagtpl' => '0', 'managealbum' => 1, 'managecomment' => 1, 'managemtag' => 1, 'managethread' => 1, 'manageevent' => 1, 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => 1, 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_2.php
PHP
asf20
2,216
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['task']=Array ( 2 => Array ( 'taskid' => 2, 'available' => 1, 'name' => '将个人资料补充完整', 'note' => '把自己的个人资料填写完整吧。<br>这样您会被更多的朋友找到的,系统也会帮您找到朋友。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/profile.gif', 'filename' => 'profile.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => 2, 'credit' => 20, 'displayorder' => '0' ), 1 => Array ( 'taskid' => 1, 'available' => 1, 'name' => '更新一下自己的头像', 'note' => '头像就是你在这里的个人形象。<br>设置自己的头像后,会让更多的朋友记住您。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/avatar.gif', 'filename' => 'avatar.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => '', 'credit' => 20, 'displayorder' => 1 ), 3 => Array ( 'taskid' => 3, 'available' => 1, 'name' => '发表自己的第一篇日志', 'note' => '现在,就写下自己的第一篇日志吧。<br>与大家一起分享自己的生活感悟。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/blog.gif', 'filename' => 'blog.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => '', 'credit' => 5, 'displayorder' => 3 ), 4 => Array ( 'taskid' => 4, 'available' => 1, 'name' => '寻找并添加五位好友', 'note' => '有了好友,您发的日志、图片等会被好友及时看到并传播出去;<br>您也会在首页方便及时的看到好友的最新动态。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/friend.gif', 'filename' => 'friend.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => '', 'credit' => 50, 'displayorder' => 4 ), 5 => Array ( 'taskid' => 5, 'available' => 1, 'name' => '验证激活自己的邮箱', 'note' => '填写自己真实的邮箱地址并验证通过。<br>您可以在忘记密码的时候使用该邮箱取回自己的密码;<br>还可以及时接受站内的好友通知等等。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/email.gif', 'filename' => 'email.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => '', 'credit' => 10, 'displayorder' => 5 ), 6 => Array ( 'taskid' => 6, 'available' => 1, 'name' => '邀请10个新朋友加入', 'note' => '邀请一下自己的QQ好友或者邮箱联系人,让亲朋好友一起来加入我们吧。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/friend.gif', 'filename' => 'invite.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => '', 'credit' => 100, 'displayorder' => 6 ), 7 => Array ( 'taskid' => 7, 'available' => 1, 'name' => '领取每日访问大礼包', 'note' => '每天登录访问自己的主页,就可领取大礼包。', 'num' => '0', 'maxnum' => '0', 'image' => 'image/task/gift.gif', 'filename' => 'gift.php', 'starttime' => '0', 'endtime' => '0', 'nexttime' => '0', 'nexttype' => 'day', 'credit' => 5, 'displayorder' => 99 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_task.php
PHP
asf20
3,300
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SCONFIG=Array ( 'sitename' => '我的空间', 'template' => 'default', 'adminemail' => 'webmaster@localhost', 'onlinehold' => 1800, 'timeoffset' => 8, 'maxpage' => 100, 'starcredit' => 100, 'starlevelnum' => 5, 'cachemode' => 'database', 'cachegrade' => '0', 'allowcache' => 1, 'allowdomain' => '0', 'allowrewrite' => '0', 'allowwatermark' => '0', 'allowftp' => '0', 'holddomain' => 'www|*blog*|*space*|x', 'mtagminnum' => 5, 'feedday' => 7, 'feedmaxnum' => 100, 'feedfilternum' => 10, 'importnum' => 100, 'maxreward' => 10, 'singlesent' => 50, 'groupnum' => 8, 'closeregister' => '0', 'closeinvite' => '0', 'close' => '0', 'networkpublic' => 1, 'networkpage' => 1, 'seccode_register' => 1, 'uc_tagrelated' => 1, 'manualmoderator' => 1, 'linkguide' => 1, 'showall' => 1, 'sendmailday' => '0', 'realname' => '0', 'namecheck' => '0', 'namechange' => '0', 'name_allowviewspace' => 1, 'name_allowfriend' => 1, 'name_allowpoke' => 1, 'name_allowdoing' => 1, 'name_allowblog' => '0', 'name_allowalbum' => '0', 'name_allowthread' => '0', 'name_allowshare' => '0', 'name_allowcomment' => '0', 'name_allowpost' => '0', 'showallfriendnum' => 10, 'feedtargetblank' => 1, 'feedread' => 1, 'feedhotnum' => 3, 'feedhotday' => 2, 'feedhotmin' => 3, 'feedhiddenicon' => 'friend,profile,task,wall', 'uc_tagrelatedtime' => 86400, 'privacy' => Array ( 'view' => Array ( 'index' => '0', 'profile' => '0', 'friend' => '0', 'wall' => '0', 'feed' => '0', 'mtag' => '0', 'event' => '0', 'doing' => '0', 'blog' => '0', 'album' => '0', 'share' => '0', 'poll' => '0' ), 'feed' => Array ( 'doing' => 1, 'blog' => 1, 'upload' => 1, 'share' => 1, 'poll' => 1, 'joinpoll' => 1, 'thread' => 1, 'post' => 1, 'mtag' => 1, 'event' => 1, 'join' => 1, 'friend' => 1, 'comment' => 1, 'show' => 1, 'spaceopen' => 1, 'credit' => 1, 'invite' => 1, 'task' => 1, 'profile' => 1, 'album' => 1, 'click' => 1 ) ), 'cronnextrun' => 1268371220, 'my_status' => '0', 'uniqueemail' => 1, 'updatestat' => 1, 'my_showgift' => 1, 'topcachetime' => 60, 'newspacenum' => 3 ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_config.php
PHP
asf20
2,266
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['setting']=Array ( 'thumbwidth' => 100, 'thumbheight' => 100, 'watermarkpos' => 4, 'watermarktrans' => 75 ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_setting.php
PHP
asf20
184
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['profield']=Array ( 1 => Array ( 'fieldid' => 1, 'title' => '自由联盟', 'formtype' => 'text', 'inputnum' => 100, 'mtagminnum' => '0', 'manualmoderator' => '0', 'manualmember' => 1 ), 2 => Array ( 'fieldid' => 2, 'title' => '地区联盟', 'formtype' => 'text', 'inputnum' => 100, 'mtagminnum' => '0', 'manualmoderator' => '0', 'manualmember' => 1 ), 3 => Array ( 'fieldid' => 3, 'title' => '兴趣联盟', 'formtype' => 'text', 'inputnum' => 100, 'mtagminnum' => '0', 'manualmoderator' => '0', 'manualmember' => 1 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_profield.php
PHP
asf20
651
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['block']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_block.php
PHP
asf20
92
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['creditrule']=Array ( 'register' => Array ( 'rid' => 1, 'rulename' => '开通空间', 'action' => 'register', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 10, 'experience' => '0' ), 'realname' => Array ( 'rid' => 2, 'rulename' => '实名认证', 'action' => 'realname', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 20, 'experience' => 20 ), 'realemail' => Array ( 'rid' => 3, 'rulename' => '邮箱认证', 'action' => 'realemail', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 40, 'experience' => 40 ), 'invitefriend' => Array ( 'rid' => 4, 'rulename' => '成功邀请好友', 'action' => 'invitefriend', 'cycletype' => 4, 'cycletime' => '0', 'rewardnum' => 20, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 10, 'experience' => 10 ), 'setavatar' => Array ( 'rid' => 5, 'rulename' => '设置头像', 'action' => 'setavatar', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 15, 'experience' => 15 ), 'videophoto' => Array ( 'rid' => 6, 'rulename' => '视频认证', 'action' => 'videophoto', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 40, 'experience' => 40 ), 'report' => Array ( 'rid' => 7, 'rulename' => '成功举报', 'action' => 'report', 'cycletype' => 4, 'cycletime' => '0', 'rewardnum' => '0', 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ), 'updatemood' => Array ( 'rid' => 8, 'rulename' => '更新心情', 'action' => 'updatemood', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 3, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 3, 'experience' => 3 ), 'hotinfo' => Array ( 'rid' => 9, 'rulename' => '热点信息', 'action' => 'hotinfo', 'cycletype' => 4, 'cycletime' => '0', 'rewardnum' => '0', 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 10, 'experience' => 10 ), 'daylogin' => Array ( 'rid' => 10, 'rulename' => '每天登陆', 'action' => 'daylogin', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 15, 'experience' => 15 ), 'visit' => Array ( 'rid' => 11, 'rulename' => '访问别人空间', 'action' => 'visit', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 2, 'credit' => 1, 'experience' => 1 ), 'poke' => Array ( 'rid' => 12, 'rulename' => '打招呼', 'action' => 'poke', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 2, 'credit' => 1, 'experience' => 1 ), 'guestbook' => Array ( 'rid' => 13, 'rulename' => '留言', 'action' => 'guestbook', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 20, 'rewardtype' => 1, 'norepeat' => 2, 'credit' => 2, 'experience' => 2 ), 'getguestbook' => Array ( 'rid' => 14, 'rulename' => '被留言', 'action' => 'getguestbook', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 5, 'rewardtype' => 1, 'norepeat' => 2, 'credit' => 1, 'experience' => '0' ), 'doing' => Array ( 'rid' => 15, 'rulename' => '发表记录', 'action' => 'doing', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 5, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 1, 'experience' => 1 ), 'publishblog' => Array ( 'rid' => 16, 'rulename' => '发表日志', 'action' => 'publishblog', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 3, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 5, 'experience' => 5 ), 'uploadimage' => Array ( 'rid' => 17, 'rulename' => '上传图片', 'action' => 'uploadimage', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ), 'camera' => Array ( 'rid' => 18, 'rulename' => '拍大头贴', 'action' => 'camera', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 5, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 3, 'experience' => 3 ), 'publishthread' => Array ( 'rid' => 19, 'rulename' => '发表话题', 'action' => 'publishthread', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 5, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 5, 'experience' => 5 ), 'replythread' => Array ( 'rid' => 20, 'rulename' => '回复话题', 'action' => 'replythread', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => 1 ), 'createpoll' => Array ( 'rid' => 21, 'rulename' => '创建投票', 'action' => 'createpoll', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 5, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ), 'joinpoll' => Array ( 'rid' => 22, 'rulename' => '参与投票', 'action' => 'joinpoll', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => 1 ), 'createevent' => Array ( 'rid' => 23, 'rulename' => '发起活动', 'action' => 'createevent', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 3, 'experience' => 3 ), 'joinevent' => Array ( 'rid' => 24, 'rulename' => '参与活动', 'action' => 'joinevent', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => 1 ), 'recommendevent' => Array ( 'rid' => 25, 'rulename' => '推荐活动', 'action' => 'recommendevent', 'cycletype' => 4, 'cycletime' => '0', 'rewardnum' => '0', 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 10, 'experience' => 10 ), 'createshare' => Array ( 'rid' => 26, 'rulename' => '发起分享', 'action' => 'createshare', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 3, 'rewardtype' => 1, 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ), 'comment' => Array ( 'rid' => 27, 'rulename' => '评论', 'action' => 'comment', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 40, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => 1 ), 'getcomment' => Array ( 'rid' => 28, 'rulename' => '被评论', 'action' => 'getcomment', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 20, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => '0' ), 'installapp' => Array ( 'rid' => 29, 'rulename' => '安装应用', 'action' => 'installapp', 'cycletype' => 4, 'cycletime' => '0', 'rewardnum' => '0', 'rewardtype' => 1, 'norepeat' => 3, 'credit' => 5, 'experience' => 5 ), 'useapp' => Array ( 'rid' => 30, 'rulename' => '使用应用', 'action' => 'useapp', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 3, 'credit' => 1, 'experience' => 1 ), 'click' => Array ( 'rid' => 31, 'rulename' => '信息表态', 'action' => 'click', 'cycletype' => 1, 'cycletime' => '0', 'rewardnum' => 10, 'rewardtype' => 1, 'norepeat' => 1, 'credit' => 1, 'experience' => 1 ), 'editrealname' => Array ( 'rid' => 32, 'rulename' => '修改实名', 'action' => 'editrealname', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 5, 'experience' => '0' ), 'editrealemail' => Array ( 'rid' => 33, 'rulename' => '更改邮箱认证', 'action' => 'editrealemail', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 5, 'experience' => '0' ), 'delavatar' => Array ( 'rid' => 34, 'rulename' => '头像被删除', 'action' => 'delavatar', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 10, 'experience' => 10 ), 'invitecode' => Array ( 'rid' => 35, 'rulename' => '获取邀请码', 'action' => 'invitecode', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => '0', 'experience' => '0' ), 'search' => Array ( 'rid' => 36, 'rulename' => '搜索一次', 'action' => 'search', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 1, 'experience' => '0' ), 'blogimport' => Array ( 'rid' => 37, 'rulename' => '日志导入', 'action' => 'blogimport', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 10, 'experience' => '0' ), 'modifydomain' => Array ( 'rid' => 38, 'rulename' => '修改域名', 'action' => 'modifydomain', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 5, 'experience' => '0' ), 'delblog' => Array ( 'rid' => 39, 'rulename' => '日志被删除', 'action' => 'delblog', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 10, 'experience' => 10 ), 'deldoing' => Array ( 'rid' => 40, 'rulename' => '记录被删除', 'action' => 'deldoing', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ), 'delimage' => Array ( 'rid' => 41, 'rulename' => '图片被删除', 'action' => 'delimage', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 4, 'experience' => 4 ), 'delpoll' => Array ( 'rid' => 42, 'rulename' => '投票被删除', 'action' => 'delpoll', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 4, 'experience' => 4 ), 'delthread' => Array ( 'rid' => 43, 'rulename' => '话题被删除', 'action' => 'delthread', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 4, 'experience' => 4 ), 'delevent' => Array ( 'rid' => 44, 'rulename' => '活动被删除', 'action' => 'delevent', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 6, 'experience' => 6 ), 'delshare' => Array ( 'rid' => 45, 'rulename' => '分享被删除', 'action' => 'delshare', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 4, 'experience' => 4 ), 'delguestbook' => Array ( 'rid' => 46, 'rulename' => '留言被删除', 'action' => 'delguestbook', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 4, 'experience' => 4 ), 'delcomment' => Array ( 'rid' => 47, 'rulename' => '评论被删除', 'action' => 'delcomment', 'cycletype' => '0', 'cycletime' => '0', 'rewardnum' => 1, 'rewardtype' => '0', 'norepeat' => '0', 'credit' => 2, 'experience' => 2 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_creditrule.php
PHP
asf20
11,791
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 7 => Array ( 'gid' => 7, 'grouptitle' => '高级会员', 'system' => '0', 'banvisit' => '0', 'explower' => 1000, 'maxfriendnum' => 300, 'maxattachsize' => 104857600, 'allowhtml' => 1, 'allowcomment' => 1, 'searchinterval' => 10, 'searchignore' => 1, 'postinterval' => 10, 'spamignore' => '0', 'videophotoignore' => '0', 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => 1, 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => '0', 'allowmyop' => 1, 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => 3, 'closeignore' => '0', 'seccode' => '0', 'color' => '', 'icon' => '', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '', 'exphigher' => 999999999 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_7.php
PHP
asf20
2,256
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['magic']=Array ( 'invisible' => '隐身草', 'friendnum' => '好友增容卡', 'attachsize' => '附件增容卡', 'thunder' => '雷鸣之声', 'updateline' => '救生圈', 'downdateline' => '时空机', 'color' => '彩色灯', 'hot' => '热点灯', 'visit' => '互访卡', 'icon' => '彩虹蛋', 'flicker' => '彩虹炫', 'gift' => '红包卡', 'superstar' => '超级明星', 'viewmagiclog' => '八卦镜', 'viewmagic' => '透视镜', 'viewvisitor' => '偷窥镜', 'call' => '点名卡', 'coupon' => '代金券', 'frame' => '相框', 'bgimage' => '信纸', 'doodle' => '涂鸦板', 'anonymous' => '匿名卡', 'reveal' => '照妖镜', 'license' => '道具转让许可证', 'detector' => '探测器' ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_magic.php
PHP
asf20
798
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['censor']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_censor.php
PHP
asf20
93
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 1 => Array ( 'gid' => 1, 'grouptitle' => '站点管理员', 'system' => -1, 'banvisit' => '0', 'explower' => '0', 'maxfriendnum' => '0', 'maxattachsize' => '0', 'allowhtml' => 1, 'allowcomment' => 1, 'searchinterval' => '0', 'searchignore' => 1, 'postinterval' => '0', 'spamignore' => 1, 'videophotoignore' => 1, 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => 1, 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => 1, 'allowmyop' => 1, 'allowtopic' => 1, 'allowstat' => 1, 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => 1, 'closeignore' => 1, 'seccode' => '0', 'color' => 'red', 'icon' => 'image/group/admin.gif', 'manageconfig' => 1, 'managenetwork' => 1, 'manageprofilefield' => 1, 'manageprofield' => 1, 'manageusergroup' => 1, 'managefeed' => 1, 'manageshare' => 1, 'managedoing' => 1, 'manageblog' => 1, 'managetag' => 1, 'managetagtpl' => '0', 'managealbum' => 1, 'managecomment' => 1, 'managemtag' => 1, 'managethread' => 1, 'manageevent' => 1, 'manageeventclass' => 1, 'managecensor' => 1, 'managead' => 1, 'managesitefeed' => '0', 'managebackup' => 1, 'manageblock' => 1, 'managetemplate' => 1, 'managestat' => 1, 'managecache' => 1, 'managecredit' => 1, 'managecron' => 1, 'managename' => 1, 'manageapp' => 1, 'managetask' => 1, 'managereport' => 1, 'managepoll' => 1, 'manageclick' => 1, 'managemagic' => 1, 'managemagiclog' => 1, 'managebatch' => 1, 'managedelspace' => 1, 'managetopic' => 1, 'manageip' => 1, 'managehotuser' => 1, 'managedefaultuser' => 1, 'managespacegroup' => 1, 'managespaceinfo' => 1, 'managespacecredit' => 1, 'managespacenote' => 1, 'managevideophoto' => 1, 'managelog' => 1, 'magicaward' => '' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_1.php
PHP
asf20
2,147
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['mail']=Array ( 'mailsend' => 1, 'maildelimiter' => '0', 'mailusername' => 1 ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_mail.php
PHP
asf20
154
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['ad']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_ad.php
PHP
asf20
89
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 8 => Array ( 'gid' => 8, 'grouptitle' => '禁止发言', 'system' => -1, 'banvisit' => '0', 'explower' => '0', 'maxfriendnum' => 1, 'maxattachsize' => 1048576, 'allowhtml' => '0', 'allowcomment' => '0', 'searchinterval' => 9999, 'searchignore' => '0', 'postinterval' => 9999, 'spamignore' => '0', 'videophotoignore' => '0', 'allowblog' => '0', 'allowdoing' => '0', 'allowupload' => '0', 'allowshare' => '0', 'allowmtag' => '0', 'allowthread' => '0', 'allowpost' => '0', 'allowcss' => '0', 'allowpoke' => '0', 'allowfriend' => '0', 'allowpoll' => '0', 'allowclick' => '0', 'allowevent' => '0', 'allowmagic' => '0', 'allowpm' => '0', 'allowviewvideopic' => '0', 'allowmyop' => '0', 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => 1, 'edittrail' => '0', 'domainlength' => 99, 'closeignore' => '0', 'seccode' => 1, 'color' => '', 'icon' => '', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_8.php
PHP
asf20
2,261
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['spam']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_spam.php
PHP
asf20
91
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['app']=Array ( 1 => Array ( 'name' => '个人家园', 'url' => 'http://localhost/newbbs/home', 'type' => 'UCHOME', 'open' => '0', 'icon' => 'uchome' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_app.php
PHP
asf20
240
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 3 => Array ( 'gid' => 3, 'grouptitle' => '贵宾VIP', 'system' => 1, 'banvisit' => '0', 'explower' => '0', 'maxfriendnum' => '0', 'maxattachsize' => '0', 'allowhtml' => 1, 'allowcomment' => 1, 'searchinterval' => '0', 'searchignore' => 1, 'postinterval' => '0', 'spamignore' => 1, 'videophotoignore' => '0', 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => 1, 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => 1, 'allowmyop' => 1, 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => 3, 'closeignore' => '0', 'seccode' => '0', 'color' => 'green', 'icon' => 'image/group/vip.gif', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_3.php
PHP
asf20
2,238
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['click']=Array ( 'blogid' => Array ( 1 => Array ( 'clickid' => 1, 'name' => '路过', 'icon' => 'luguo.gif', 'idtype' => 'blogid', 'displayorder' => '0' ), 5 => Array ( 'clickid' => 5, 'name' => '鸡蛋', 'icon' => 'jidan.gif', 'idtype' => 'blogid', 'displayorder' => '0' ), 4 => Array ( 'clickid' => 4, 'name' => '鲜花', 'icon' => 'xianhua.gif', 'idtype' => 'blogid', 'displayorder' => '0' ), 3 => Array ( 'clickid' => 3, 'name' => '握手', 'icon' => 'woshou.gif', 'idtype' => 'blogid', 'displayorder' => '0' ), 2 => Array ( 'clickid' => 2, 'name' => '雷人', 'icon' => 'leiren.gif', 'idtype' => 'blogid', 'displayorder' => '0' ) ), 'tid' => Array ( 14 => Array ( 'clickid' => 14, 'name' => '鲜花', 'icon' => 'xianhua.gif', 'idtype' => 'tid', 'displayorder' => '0' ), 13 => Array ( 'clickid' => 13, 'name' => '雷人', 'icon' => 'leiren.gif', 'idtype' => 'tid', 'displayorder' => '0' ), 12 => Array ( 'clickid' => 12, 'name' => '迷惑', 'icon' => 'mihuo.gif', 'idtype' => 'tid', 'displayorder' => '0' ), 11 => Array ( 'clickid' => 11, 'name' => '搞笑', 'icon' => 'gaoxiao.gif', 'idtype' => 'tid', 'displayorder' => '0' ), 15 => Array ( 'clickid' => 15, 'name' => '鸡蛋', 'icon' => 'jidan.gif', 'idtype' => 'tid', 'displayorder' => '0' ) ), 'picid' => Array ( 10 => Array ( 'clickid' => 10, 'name' => '鸡蛋', 'icon' => 'jidan.gif', 'idtype' => 'picid', 'displayorder' => '0' ), 9 => Array ( 'clickid' => 9, 'name' => '鲜花', 'icon' => 'xianhua.gif', 'idtype' => 'picid', 'displayorder' => '0' ), 8 => Array ( 'clickid' => 8, 'name' => '雷人', 'icon' => 'leiren.gif', 'idtype' => 'picid', 'displayorder' => '0' ), 7 => Array ( 'clickid' => 7, 'name' => '酷毙', 'icon' => 'kubi.gif', 'idtype' => 'picid', 'displayorder' => '0' ), 6 => Array ( 'clickid' => 6, 'name' => '漂亮', 'icon' => 'piaoliang.gif', 'idtype' => 'picid', 'displayorder' => '0' ) ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_click.php
PHP
asf20
2,304
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['userapp']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_userapp.php
PHP
asf20
94
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['grouptitle']=Array ( 7 => Array ( 'grouptitle' => '高级会员', 'color' => '', 'icon' => '' ), 6 => Array ( 'grouptitle' => '中级会员', 'color' => '', 'icon' => '' ), 1 => Array ( 'grouptitle' => '站点管理员', 'color' => 'red', 'icon' => 'image/group/admin.gif' ), 2 => Array ( 'grouptitle' => '信息管理员', 'color' => 'blue', 'icon' => 'image/group/infor.gif' ), 3 => Array ( 'grouptitle' => '贵宾VIP', 'color' => 'green', 'icon' => 'image/group/vip.gif' ), 5 => Array ( 'grouptitle' => '普通会员', 'color' => '', 'icon' => '' ), 8 => Array ( 'grouptitle' => '禁止发言', 'color' => '', 'icon' => '' ), 9 => Array ( 'grouptitle' => '禁止访问', 'color' => '', 'icon' => '' ), 4 => Array ( 'grouptitle' => '受限会员', 'color' => '', 'icon' => '' ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup.php
PHP
asf20
954
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['profilefield']=Array ( ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_profilefield.php
PHP
asf20
99
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 6 => Array ( 'gid' => 6, 'grouptitle' => '中级会员', 'system' => '0', 'banvisit' => '0', 'explower' => 100, 'maxfriendnum' => 200, 'maxattachsize' => 52428800, 'allowhtml' => '0', 'allowcomment' => 1, 'searchinterval' => 30, 'searchignore' => '0', 'postinterval' => 30, 'spamignore' => '0', 'videophotoignore' => '0', 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => '0', 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => '0', 'allowmyop' => 1, 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => 5, 'closeignore' => '0', 'seccode' => '0', 'color' => '', 'icon' => '', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '', 'exphigher' => 999 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_6.php
PHP
asf20
2,254
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['network']=Array ( 'blog' => Array ( 'hot1' => 3, 'cache' => 600 ), 'pic' => Array ( 'hot1' => 3, 'cache' => 700 ), 'thread' => Array ( 'hot1' => 3, 'cache' => 800 ), 'event' => Array ( 'cache' => 900 ), 'poll' => Array ( 'cache' => 500 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_network.php
PHP
asf20
354
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 4 => Array ( 'gid' => 4, 'grouptitle' => '受限会员', 'system' => '0', 'banvisit' => '0', 'explower' => -999999999, 'maxfriendnum' => 10, 'maxattachsize' => 10485760, 'allowhtml' => '0', 'allowcomment' => '0', 'searchinterval' => 600, 'searchignore' => '0', 'postinterval' => 300, 'spamignore' => '0', 'videophotoignore' => '0', 'allowblog' => '0', 'allowdoing' => '0', 'allowupload' => '0', 'allowshare' => '0', 'allowmtag' => '0', 'allowthread' => '0', 'allowpost' => '0', 'allowcss' => '0', 'allowpoke' => '0', 'allowfriend' => '0', 'allowpoll' => '0', 'allowclick' => '0', 'allowevent' => '0', 'allowmagic' => '0', 'allowpm' => '0', 'allowviewvideopic' => '0', 'allowmyop' => '0', 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => 1, 'edittrail' => '0', 'domainlength' => '0', 'closeignore' => '0', 'seccode' => 1, 'color' => '', 'icon' => '', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '', 'exphigher' => -1 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_4.php
PHP
asf20
2,291
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['eventclass']=Array ( 1 => Array ( 'classid' => 1, 'classname' => '生活/聚会', 'poster' => 'image/event/default.jpg', 'template' => '费用说明: 集合地点: 着装要求: 联系方式: 注意事项:', 'displayorder' => 1 ), 2 => Array ( 'classid' => 2, 'classname' => '出行/旅游', 'poster' => 'image/event/default.jpg', 'template' => '路线说明: 费用说明: 装备要求: 交通工具: 集合地点: 联系方式: 注意事项:', 'displayorder' => 2 ), 4 => Array ( 'classid' => 4, 'classname' => '电影/演出', 'poster' => 'image/event/default.jpg', 'template' => '剧情介绍: 费用说明: 集合地点: 联系方式: 注意事项:', 'displayorder' => 3 ), 3 => Array ( 'classid' => 3, 'classname' => '比赛/运动', 'poster' => 'image/event/default.jpg', 'template' => '费用说明: 集合地点: 着装要求: 场地介绍: 联系方式: 注意事项:', 'displayorder' => 4 ), 5 => Array ( 'classid' => 5, 'classname' => '教育/讲座', 'poster' => 'image/event/default.jpg', 'template' => '主办单位: 活动主题: 费用说明: 集合地点: 联系方式: 注意事项:', 'displayorder' => 5 ), 6 => Array ( 'classid' => 6, 'classname' => '其它', 'poster' => 'image/event/default.jpg', 'template' => '', 'displayorder' => 6 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_eventclass.php
PHP
asf20
1,493
<?php if(!defined('IN_UCHOME')) exit('Access Denied'); $_SGLOBAL['usergroup']=Array ( 5 => Array ( 'gid' => 5, 'grouptitle' => '普通会员', 'system' => '0', 'banvisit' => '0', 'explower' => '0', 'maxfriendnum' => 100, 'maxattachsize' => 20971520, 'allowhtml' => '0', 'allowcomment' => 1, 'searchinterval' => 60, 'searchignore' => '0', 'postinterval' => 60, 'spamignore' => '0', 'videophotoignore' => '0', 'allowblog' => 1, 'allowdoing' => 1, 'allowupload' => 1, 'allowshare' => 1, 'allowmtag' => 1, 'allowthread' => 1, 'allowpost' => 1, 'allowcss' => '0', 'allowpoke' => 1, 'allowfriend' => 1, 'allowpoll' => 1, 'allowclick' => 1, 'allowevent' => 1, 'allowmagic' => 1, 'allowpm' => 1, 'allowviewvideopic' => '0', 'allowmyop' => 1, 'allowtopic' => '0', 'allowstat' => '0', 'magicdiscount' => '0', 'verifyevent' => '0', 'edittrail' => '0', 'domainlength' => '0', 'closeignore' => '0', 'seccode' => '0', 'color' => '', 'icon' => '', 'manageconfig' => '0', 'managenetwork' => '0', 'manageprofilefield' => '0', 'manageprofield' => '0', 'manageusergroup' => '0', 'managefeed' => '0', 'manageshare' => '0', 'managedoing' => '0', 'manageblog' => '0', 'managetag' => '0', 'managetagtpl' => '0', 'managealbum' => '0', 'managecomment' => '0', 'managemtag' => '0', 'managethread' => '0', 'manageevent' => '0', 'manageeventclass' => '0', 'managecensor' => '0', 'managead' => '0', 'managesitefeed' => '0', 'managebackup' => '0', 'manageblock' => '0', 'managetemplate' => '0', 'managestat' => '0', 'managecache' => '0', 'managecredit' => '0', 'managecron' => '0', 'managename' => '0', 'manageapp' => '0', 'managetask' => '0', 'managereport' => '0', 'managepoll' => '0', 'manageclick' => '0', 'managemagic' => '0', 'managemagiclog' => '0', 'managebatch' => '0', 'managedelspace' => '0', 'managetopic' => '0', 'manageip' => '0', 'managehotuser' => '0', 'managedefaultuser' => '0', 'managespacegroup' => '0', 'managespaceinfo' => '0', 'managespacecredit' => '0', 'managespacenote' => '0', 'managevideophoto' => '0', 'managelog' => '0', 'magicaward' => '', 'exphigher' => 99 ) ) ?>
zyyhong
trunk/jiaju001/newbbs/home/data/data_usergroup_5.php
PHP
asf20
2,255
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: help.php 12059 2009-05-04 02:43:18Z liguode $ */ include_once('./common.php'); if(empty($_GET['ac'])) $_GET['ac'] = 'register'; $actives = array($_GET['ac'] => ' style="font-weight:bold;"'); include template('help'); ?>
zyyhong
trunk/jiaju001/newbbs/home/help.php
PHP
asf20
296
var gSetColorType = ""; var gIsIE = document.all; var gIEVer = fGetIEVer(); var gLoaded = false; var ev = null; var gIsHtml = true;//切换纯文本 var pos = 0; var sLength = 0; /** * 获取event对象 */ function fGetEv(e){ ev = e; } /** * 获取IE版本 */ function fGetIEVer(){ var iVerNo = 0; var sVer = navigator.userAgent; if(sVer.indexOf("MSIE")>-1){ var sVerNo = sVer.split(";")[1]; sVerNo = sVerNo.replace("MSIE",""); iVerNo = parseFloat(sVerNo); } return iVerNo; } /** * 设置可编辑 */ function fSetEditable(){ var f = window.frames["HtmlEditor"]; f.document.designMode="on"; if(!gIsIE) f.document.execCommand("useCSS",false, true); } /** *恢复上次保存的内容 */ function renewContent() { if(window.confirm('您确定要恢复上次保存?')) { var oArea = parent.$('uchome-ttHtmlEditor'); var tagObj = parent.$('tag'); var subjectObj = parent.$('subject'); var f = window.frames["HtmlEditor"]; try { oArea.load('UCHome'); var oXMLDoc = oArea.XMLDocument; oArea.value = oXMLDoc.selectSingleNode("/ROOTSTUB/message").nodeTypedValue; f.document.body.innerHTML = oArea.value; if(tagObj != null ) tagObj.value = oXMLDoc.selectSingleNode("/ROOTSTUB/tag").nodeTypedValue; if(subjectObj != null ) subjectObj.value = oXMLDoc.selectSingleNode("/ROOTSTUB/subject").nodeTypedValue; } catch (e) { if(window.sessionStorage) { try { f.document.body.innerHTML = sessionStorage.getItem('message'); if(subjectObj !=null ) subjectObj.value = sessionStorage.getItem('subject'); if(tagObj !=null ) tagObj.value = sessionStorage.getItem('tag'); } catch(e) {} } } } } /** * 设置编辑区域的事件 */ function fSetFrmClick(){ var f = window.frames["HtmlEditor"]; f.document.onclick = function(){ fHideMenu(); } if(gIsIE) { f.document.attachEvent("onkeydown", listenKeyDown); } else { f.addEventListener('keydown', function(e) {listenKeyDown(e);}, true); } } /** * 监听键盘按键事件 */ function listenKeyDown(event) { parent.gIsEdited = true; parent.ctrlEnter(event, 'issuance'); } /** * 设置onload事件 */ window.onload = function(){ try{ gLoaded = true; fSetEditable(); fSetFrmClick(); }catch(e){ // window.location.reload(); } } window.onbeforeunload = parent.edit_save; /** * 设置文字颜色 */ function fSetColor(){ var dvForeColor =$("dvForeColor"); if(dvForeColor.getElementsByTagName("TABLE").length == 1){ dvForeColor.innerHTML = drawCube() + dvForeColor.innerHTML; } } /** * 设置mousemove事件 */ document.onmousemove = function(e){ if(gIsIE) var el = event.srcElement; else var el = e.target; var tdView = $("tdView"); var tdColorCode = $("tdColorCode"); if(el.tagName == "IMG"){ try{ if(fInObj(el, "dvForeColor")){ tdView.bgColor = el.parentNode.bgColor; tdColorCode.innerHTML = el.parentNode.bgColor } }catch(e){} } } /** * 判断el对象是否在另一个节点里 */ function fInObj(el, id){ if(el){ if(el.id == id){ return true; }else{ if(el.parentNode){ return fInObj(el.parentNode, id); }else{ return false; } } } } /** * 显示对象 */ function fDisplayObj(id){ var o = $(id); if(o) o.style.display = ""; } /** * 设置onclick事件 */ document.onclick = function(e){ if(gIsIE) var el = event.srcElement; else var el = e.target; var dvForeColor =$("dvForeColor"); var dvPortrait =$("dvPortrait"); if(el.tagName == "IMG"){ try{ if(fInObj(el, "dvForeColor")){ format(gSetColorType, el.parentNode.bgColor); dvForeColor.style.display = "none"; return; } }catch(e){} try{ if(fInObj(el, "dvPortrait")){ format("InsertImage", el.src); dvPortrait.style.display = "none"; return; } }catch(e){} } //弹出层的二次操作禁止关闭 try{ if(fInObj(el, "createUrl") || fInObj(el, "createImg") || fInObj(el, "createSwf")){ return; } }catch(e){} fHideMenu(); var hideId = ""; if(arrMatch[el.id]){ hideId = arrMatch[el.id]; fDisplayObj(hideId); } } var arrMatch = { imgFontface:"fontface", imgFontsize:"fontsize", imgFontColor:"dvForeColor", imgBackColor:"dvForeColor", imgFace:"dvPortrait", imgAlign:"divAlign", imgList:"divList", imgInOut:"divInOut", faceBox:"editFaceBox", icoUrl:"createUrl", icoImg:"createImg", icoSwf:"createSwf" } /** * 执行格式化显示 */ function format(type, para){ var f = window.frames["HtmlEditor"]; var sAlert = ""; if(!gIsIE){ switch(type){ case "Cut": sAlert = "您的浏览器安全设置不允许编辑器自动执行剪切操作,请使用键盘快捷键(Ctrl+X)来完成"; break; case "Copy": sAlert = "您的浏览器安全设置不允许编辑器自动执行拷贝操作,请使用键盘快捷键(Ctrl+C)来完成"; break; case "Paste": sAlert = "您的浏览器安全设置不允许编辑器自动执行粘贴操作,请使用键盘快捷键(Ctrl+V)来完成"; break; } } if(sAlert != ""){ alert(sAlert); return; } f.focus(); if(!para){ if(gIsIE){ f.document.execCommand(type); }else{ f.document.execCommand(type,false,false); } }else{ if(type == 'insertHTML') { if(window.Event){ f.document.execCommand('insertHTML', false, para); } else { var obj = f.document.selection.createRange(); obj.pasteHTML(para); obj.collapse(false); obj.select(); } } else { f.document.execCommand(type,false,para); } } f.focus(); } /** * 转换编辑模式 */ function setMode(bStatus){ var sourceEditor = $("sourceEditor"); var HtmlEditor = $("HtmlEditor"); var divEditor = $("divEditor"); var f = window.frames["HtmlEditor"]; var body = f.document.getElementsByTagName("BODY")[0]; if(bStatus){ sourceEditor.style.display = ""; divEditor.style.display = "none"; sourceEditor.value = body.innerHTML; $('uchome-editstatus').value = 'code'; }else{ sourceEditor.style.display = "none"; divEditor.style.display = ""; body.innerHTML = sourceEditor.value; $('uchome-editstatus').value = 'html'; } } /** * 设置字体颜色 */ function foreColor(e) { fDisplayColorBoard(e); gSetColorType = "foreColor"; } /** * 设置表情 */ function faceBox(e) { if(gIsIE){ var e = window.event; } var dvFaceBox = $("editFaceBox"); var iX = e.clientX; var iY = e.clientY; dvFaceBox.style.display = ""; dvFaceBox.style.left = (iX-140) + "px"; dvFaceBox.style.top = 33 + "px"; dvFaceBox.innerHTML = ""; var faceul = document.createElement("ul"); for(i=1; i<31; i++) { var faceli = document.createElement("li"); faceli.innerHTML = '<img src="image/face/'+i+'.gif" onclick="insertImg(this.src);" style="cursor:pointer;" />'; faceul.appendChild(faceli); } dvFaceBox.appendChild(faceul); return true; } function insertImg(src) { format("insertHTML", '<img src="' + src + '"/>'); } //打开涂鸦板 function doodleBox(event, id) { if(parent.$(id) != null) { parent.ajaxmenu(event, id, 1); } else { alert("找不到涂鸦板初始化数据"); } } /** * 设置背景色 */ function backColor(e){ var sColor = fDisplayColorBoard(e); if(gIsIE) gSetColorType = "backcolor"; else gSetColorType = "backcolor"; } /** * 显示颜色拾取器 */ function fDisplayColorBoard(e){ if(gIsIE){ var e = window.event; } if(gIEVer<=5.01 && gIsIE){ var arr = showModalDialog("ColorSelect.htm", "", "font-family:Verdana; font-size:12; status:no; dialogWidth:21em; dialogHeight:21em"); if (arr != null) return arr; return; } var dvForeColor =$("dvForeColor"); // fSetColor(); var iX = e.clientX; var iY = e.clientY; dvForeColor.style.display = ""; dvForeColor.style.left = (iX-30) + "px"; dvForeColor.style.top = 33 + "px"; // EV.stopEvent(); return true; } /** * 创建链接 */ function createLink(e, show) { if(typeof show == 'undefined') { var urlObj = $('insertUrl'); var sURL = urlObj.value; if ((sURL!=null) && (sURL!="http://")){ setCaret(); format("CreateLink", sURL); } fHide($('createUrl')); urlObj.value = 'http://'; } else { if(gIsIE){ var e = window.event; } getCaret(); var dvUrlBox = $("createUrl"); var iX = e.clientX; var iY = e.clientY; dvUrlBox.style.display = ""; dvUrlBox.style.left = (iX-300) + "px"; dvUrlBox.style.top = 33 + "px"; } } //获取起始焦点 function getCaret() { if(gIsIE){ window.frames["HtmlEditor"].focus(); var ran = window.frames["HtmlEditor"].document.selection.createRange(); sLength = ran.text.replace(/\r?\n/g, ' ').length; if(!sLength) { ran = window.frames["HtmlEditor"].document.body.createTextRange(); } var rang = document.selection.createRange(); rang.setEndPoint("StartToStart", ran); pos = rang.text.replace(/\r?\n/g, ' ').length; } } //重设焦点 function setCaret() { if(gIsIE){ window.frames["HtmlEditor"].focus(); //重新选持字符串 var r = window.frames["HtmlEditor"].document.body.createTextRange(); var textLen = r.text.replace(/\r?\n/g, ' ').length; r.moveStart('character', pos); if(sLength) { var eLen = sLength - (textLen - pos); r.moveEnd('character', eLen); } else { r.collapse(true); } r.select(); } } /** * 删除链接 */ function clearLink() { format("Unlink", false); } /** * 创建图片 */ function createImg(e, show) { if(typeof show == 'undefined') { var imgObj = $('imgUrl'); var sPhoto = imgObj.value; if ((sPhoto!=null) && (sPhoto!="http://")){ setCaret(); format("InsertImage", sPhoto); } fHide($('createImg')); imgObj.value = 'http://'; } else { if(gIsIE){ var e = window.event; } getCaret(); var dvImgBox = $("createImg"); var iX = e.clientX; var iY = e.clientY; dvImgBox.style.display = ""; dvImgBox.style.left = (iX-300) + "px"; dvImgBox.style.top = 33 + "px"; } } /** * 视频FLASH */ function createFlash(e, show) { if(typeof show == 'undefined') { var flashtag = ''; var vObj = $('videoUrl'); var sFlash = vObj.value; if ((sFlash!=null) && (sFlash!="http://")){ setCaret(); var sFlashType = $('vtype').value; if(sFlashType==1) { flashtag = '[flash=media]'; } else if(sFlashType==2) { flashtag = '[flash=real]'; } else { flashtag = '[flash]'; } format("insertHTML", flashtag + sFlash + '[/flash]'); } fHide($('createSwf')); vObj.value = 'http://'; } else { if(gIsIE){ var e = window.event; } getCaret(); var dvSwfBox = $("createSwf"); var iX = e.clientX; var iY = e.clientY; dvSwfBox.style.display = ""; dvSwfBox.style.left = (iX-350) + "px"; dvSwfBox.style.top = 33 + "px"; } } /** * 删除字符串两边空格 */ String.prototype.trim = function(){ return this.replace(/(^\s*)|(\s*$)/g, ""); } /** * 鼠标移上图标 */ function fSetBorderMouseOver(obj) { obj.style.borderRight="1px solid #aaa"; obj.style.borderBottom="1px solid #aaa"; obj.style.borderTop="1px solid #fff"; obj.style.borderLeft="1px solid #fff"; } /** * 鼠标移出图标 */ function fSetBorderMouseOut(obj) { obj.style.border="none"; } /** * 鼠标按下图标 */ function fSetBorderMouseDown(obj) { obj.style.borderRight="1px #F3F8FC solid"; obj.style.borderBottom="1px #F3F8FC solid"; obj.style.borderTop="1px #cccccc solid"; obj.style.borderLeft="1px #cccccc solid"; } /** * 显示下拉菜单 */ function fDisplayElement(element,displayValue) { if(gIEVer<=5.01 && gIsIE){ alert('只支持IE 5.01以上版本'); return; } fHideMenu(); if ( typeof element == "string" ) element = $(element); if (element == null) return; element.style.display = displayValue; if(gIsIE){ var e = event; var target = e.srcElement; }else{ var e = ev; var target = e.target; } var iX = f_GetX(target); element.style.display = ""; element.style.left = (iX) + "px"; element.style.top = 33 + "px"; // EV.stopEvent(); return true; } /** * 显示编辑源码提示 */ function fSetModeTip(obj){ var x = f_GetX(obj); var y = f_GetY(obj); var dvModeTip = $("dvModeTip"); if(!dvModeTip){ var dv = document.createElement("DIV"); dv.style.position = "absolute"; dv.style.top = 33 + "px"; dv.style.left = (x-40) + "px"; dv.style.zIndex = "999"; dv.style.fontSize = "12px"; dv.id = "dvModeTip"; dv.style.padding = "2 2 2 2px"; dv.style.border = "1px #000000 solid"; dv.style.backgroundColor = "#FFFFCC"; dv.style.height = "12px"; dv.innerHTML = "编辑源码"; document.body.appendChild(dv); }else{ dvModeTip.style.display = ""; } } /** * 隐藏编辑源码 */ function fHideTip(){ $("dvModeTip").style.display = "none"; } /** * 获取对象的x坐标 */ function f_GetX(e) { var l=e.offsetLeft; while(e=e.offsetParent){ l+=e.offsetLeft; } return l; } /** * 获取对象的y坐标 */ function f_GetY(e) { var t=e.offsetTop; while(e=e.offsetParent){ t+=e.offsetTop; } return t; } /** * 隐藏下拉菜单 */ function fHideMenu(){ try{ var arr = ["fontface", "fontsize", "dvForeColor", "dvPortrait", "divAlign", "divList" ,"divInOut", "editFaceBox", "createUrl", "createImg", "createSwf"]; for(var i=0;i<arr.length;i++){ var obj = $(arr[i]); if(obj){ obj.style.display = "none"; } } try{ parent.LetterPaper.control(window, "hide"); }catch(exp){} }catch(exp){} } /** * 获取对象 */ function $(id){ return document.getElementById(id); } /** * 隐藏对象 */ function fHide(obj){ obj.style.display="none"; } /** * 切换编辑模式 */ function changeEditType(flag, ev){ gIsHtml = flag; try{ var mod = parent.MM["compose"]; mod.html = flag; }catch(exp){} try{ var dvhtml = $("dvhtml"); var dvtext = $("dvtext"); var HtmlEditor = window.frames["HtmlEditor"]; var ifmHtmlEditor = $("HtmlEditor"); var sourceEditor = $("sourceEditor"); var switchMode = $("switchMode"); var sourceEditor = $("sourceEditor"); var dvHtmlLnk = $("dvHtmlLnk"); if(flag){ dvhtml.style.display = ""; dvtext.style.display = "none"; dvHtmlLnk.style.display = "none"; // setMode(false); if(switchMode.checked){ sourceEditor.value = dvtext.value; $('uchome-editstatus').value = 'code'; }else{ //HtmlEditor.document.body.innerHTML = dvtext.value.replace(/\r\n|\n/g,"<br>"); if(document.all){ HtmlEditor.document.body.innerText = dvtext.value; } else { HtmlEditor.document.body.innerHTML = dvtext.value.unescapeHTML(); } $('uchome-editstatus').value = 'html'; } }else{ function sub1(){ dvhtml.style.display = "none"; dvtext.style.display = ""; dvHtmlLnk.style.display = ""; if(switchMode.checked){ dvtext.value = sourceEditor.value.unescapeHTML(); }else{ if(document.all){ dvtext.value = HtmlEditor.document.body.innerText; }else{ dvtext.value = HtmlEditor.document.body.innerHTML.unescapeHTML(); } } } ev = ev || event; if(ev){ if(window.confirm("转换为纯文本时将会遗失某些格式。\n您确定要继续吗?")){ $('uchome-editstatus').value = 'text'; sub1(); }else{ return; } } } }catch(exp){ } } /** * 删除标签符号 */ String.prototype.stripTags = function(){ return this.replace(/<\/?[^>]+>/gi, ''); }; /** * 转换成文本格式 */ String.prototype.unescapeHTML = function(){ var div = document.createElement('div'); div.innerHTML = this.stripTags(); return div.childNodes[0].nodeValue; }; // Draw color selector // create 6-element array var s = ""; var hex = new Array(6) // assign non-dithered descriptors hex[0] = "FF" hex[1] = "CC" hex[2] = "99" hex[3] = "66" hex[4] = "33" hex[5] = "00" // draw a single table cell based on all descriptors function drawCell(red, green, blue) { // open cell with specified hexadecimal triplet background color var color = '#' + red + green + blue; if(color == "#000066") color = "#000000"; s += '<TD BGCOLOR="' + color + '" style="height:12px;width:12px;" >'; // print transparent image (use any height and width) s += '<IMG '+ ((document.all)?"":"src='editor_none.gif'") +' HEIGHT=12 WIDTH=12>'; // close table cell s += '</TD>'; } // draw table row based on red and blue descriptors function drawRow(red, blue) { // open table row s += '<TR>'; // loop through all non-dithered color descripters as green hex for (var i = 0; i < 6; ++i) { drawCell(red, hex[i], blue) } // close current table row s += '</TR>'; } // draw table for one of six color cube panels function drawTable(blue) { // open table (one of six cube panels) s += '<TABLE CELLPADDING=0 CELLSPACING=0 BORDER=0>'; // loop through all non-dithered color descripters as red hex for (var i = 0; i < 6; ++i) { drawRow(hex[i], blue) } // close current table s += '</TABLE>'; } // draw all cube panels inside table cells function drawCube() { // open table s += '<TABLE CELLPADDING=0 CELLSPACING=0 style="border:1px #888888 solid"><TR>'; // loop through all non-dithered color descripters as blue hex for (var i = 0; i < 2; ++i) { // open table cell with white background color s += '<TD BGCOLOR="#FFFFFF">'; // call function to create cube panel with hex[i] blue hex drawTable(hex[i]) // close current table cell s += '</TD>'; } s += '</TR><TR>'; for (var i = 2; i < 4; ++i) { // open table cell with white background color s += '<TD BGCOLOR="#FFFFFF">'; // call function to create cube panel with hex[i] blue hex drawTable(hex[i]) // close current table cell s += '</TD>'; } // close table row and table s += '</TR></TABLE>'; return s; } /** * event函数集合 * * @class event对象 */ function EV(){} EV.getTarget = fGetTarget; // 获取target EV.getEvent = fGetEvent; // 获取event EV.stopEvent = fStopEvent; // 取消事件和事件冒泡 EV.stopPropagation = fStopPropagation; // 取消事件冒泡 EV.preventDefault = fPreventDefault; // 取消事件 function fGetTarget(ev, resolveTextNode){ if(!ev) ev = this.getEvent(); var t = ev.target || ev.srcElement; if (resolveTextNode && t && "#text" == t.nodeName) { return t.parentNode; } else { return t; } } function fGetEvent (e) { var ev = e || window.event; if (!ev) { var c = this.getEvent.caller; while (c) { ev = c.arguments[0]; if (ev && Event == ev.constructor) { break; } c = c.caller; } } return ev; } function fStopEvent(ev) { if(!ev) ev = this.getEvent(); this.stopPropagation(ev); this.preventDefault(ev); } function fStopPropagation(ev) { if(!ev) ev = this.getEvent(); if (ev.stopPropagation) { ev.stopPropagation(); } else { ev.cancelBubble = true; } } function fPreventDefault(ev) { if(!ev) ev = this.getEvent(); if (ev.preventDefault) { ev.preventDefault(); } else { ev.returnValue = false; } } function getExt(path) { return path.lastIndexOf('.') == -1 ? '' : path.substr(path.lastIndexOf('.') + 1, path.length).toLowerCase(); }
zyyhong
trunk/jiaju001/newbbs/home/image/editor/editor_base.js
JavaScript
asf20
19,679
function uploadEdit(obj) { mainForm = obj.form; forms = $('attachbody').getElementsByTagName("FORM"); albumid = $('uploadalbum').value; edit_save(); upload(); } //提交保存 function edit_save() { var p = window.frames['uchome-ifrHtmlEditor']; var obj = p.window.frames['HtmlEditor']; var status = p.document.getElementById('uchome-editstatus').value; if(status == 'code') { $('uchome-ttHtmlEditor').value = p.document.getElementById('sourceEditor').value; } else if(status == 'text') { if(is_ie) { obj.document.body.innerText = p.document.getElementById('dvtext').value; $('uchome-ttHtmlEditor').value = obj.document.body.innerHTML; } else { obj.document.body.textContent = p.document.getElementById('dvtext').value; var sOutText = obj.document.body.innerHTML; $('uchome-ttHtmlEditor').value = sOutText.replace(/\r\n|\n/g,"<br>"); } } else { $('uchome-ttHtmlEditor').value = obj.document.body.innerHTML; } backupContent($('uchome-ttHtmlEditor').value); } //获取关键字 function relatekw() { edit_save(); var subject = cnCode($('subject').value); var message = cnCode($('uchome-ttHtmlEditor').value); if(message) { message = message.substr(0, 500); message = message.replace(/&/ig, '', message); } var x = new Ajax(); x.get('cp.php?ac=relatekw&subjectenc=' + subject + '&messageenc=' + message, function(s){ $('tag').value = s; }); } function backupContent(sHTML) { if (sHTML.length > 11) { var oArea = $('uchome-ttHtmlEditor'); try { var xmlDoc = oArea.XMLDocument; var subNode = xmlDoc.createNode(1, 'subject', ''); var subValueNode = xmlDoc.createNode(4, "subject", ""); var msgNode = xmlDoc.createNode(1, 'message', ''); var msgValueNode = xmlDoc.createNode(4, "message", ""); var tagNode = xmlDoc.createNode(1, 'tag', ''); var tagValueNode = xmlDoc.createNode(4, "tag", ""); delmsg = xmlDoc.selectNodes("//subject"); delmsg.removeAll(); delmsg = xmlDoc.selectNodes("//message"); delmsg.removeAll(); delmsg = xmlDoc.selectNodes("//tag"); delmsg.removeAll(); msgValueNode.nodeValue = sHTML; subValueNode.nodeValue = $('subject').value; tagValueNode.nodeValue = $('tag').value; subNode.appendChild(subValueNode); msgNode.appendChild(msgValueNode); tagNode.appendChild(tagValueNode); root = xmlDoc.documentElement; root.appendChild(msgNode); root.appendChild(subNode); root.appendChild(tagNode); oArea.save('UCHome'); } catch (e) { if(window.sessionStorage) { try { sessionStorage.setItem('message', sHTML); if($('subject') !=null ) sessionStorage.setItem('subject', $('subject').value); if($('tag') !=null ) sessionStorage.setItem('tag', $('tag').value); } catch(e) {} } } } } //向编辑器插入代码 function edit_insert(html) { var p = window.frames['uchome-ifrHtmlEditor']; var obj = p.window.frames['HtmlEditor']; var status = p.document.getElementById('uchome-editstatus').value; if(status != 'html') { alert('本操作只在多媒体编辑模式下才有效'); return; } obj.focus(); if(window.Event){ obj.document.execCommand('insertHTML', false, html); } else { obj.focus(); var f = obj.document.selection.createRange(); f.pasteHTML(html); f.collapse(false); f.select(); } } //插入图片 function insertImage(image) { edit_insert('<p><img src="'+image+'"></p>'); }
zyyhong
trunk/jiaju001/newbbs/home/image/editor/editor_function.js
JavaScript
asf20
3,535
channel { font-size: 12px; background: white; font-family: 宋体, 新宋体, verdana, arial, helvetica, sans-serif; margin: 0px auto; width: 100%; padding:10px 10px 15px 10px; text-align: center; } channel title { display: block; font-weight: bold; font-size: 18px; z-index: 1; position: relative; height: auto; } item { padding:10px 10px 2px 10px; display: block; font-size: 14px; margin: 20px 0px; width: 90%; line-height: 100%; text-align: left; } image, image title, image height, image width, image url, category, ttl, generator, guid, language, docs, comments,pubDate { display: none; } rss, item title, item link, item description, item pubDate, item author, item { display: block; font-weight: normal; font-size: 14px; margin: 5px; background: #F0F8FB; } item title { font-weight: bold; font-size: 16px; display: block; height: auto; position: relative; z-index: 1} item link { margin-bottom: 0; } link { display: block; color: blue; text-decoration: underline; } info { display: block; margin: 3em 4em 3em 4em; color: Black; text-align: center; padding: 1.5em; font-family: mono; font-size: small; } managingEditor, webMaster, title, link, description, copyright, lastBuildDate, pubDate { display: block; font-size: 14px; line-height:150%; }
zyyhong
trunk/jiaju001/newbbs/home/image/rss.css
CSS
asf20
1,350
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=app"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <p>以下列出的是UCenter中已经安装的所有产品应用。</p> <p>当您安装了新的基于UCenter的应用后,需要在本页面进行配置修改,并提交更新后,新安装的应用才能在UCenter Home中显示。</p> <p>如果您发现某个应用的信息有误,请到UCenter的管理平台进行应用参数的修正。</p> </div> <br> <!--{loop $applist $data}--> <!--{eval $template = stripslashes(htmlspecialchars($relatedtag['data'][$data[appid]]['template'] != '' ? $relatedtag['data'][$data[appid]]['template'] : $data['tagtemplates']['template']));}--> <!--{eval $name = stripslashes(htmlspecialchars($relatedtag['data'][$data[appid]]['name'] != '' ? $relatedtag['data'][$data[appid]]['name'] : $data['name']));}--> <!--{eval $openarr = !isset($relatedtag['data'][$data[appid]][open]) || intval($relatedtag['data'][$data[appid]][open]) > 0 ? array('', 'checked') : array('checked', '');}--> <div class="bdrcontent"> <div class="title"> <h3>$data[name]</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width: 200px;">显示名称:</th> <td><input type="text" name="relatedtag[data][{$data[appid]}][name]" value="$name"></td> </tr> <tr> <th>访问地址:</th> <td> <a href="$data[url]" target="_blank">$data[url]</a> <input type="hidden" name="relatedtag[data][{$data[appid]}][url]" value="$data[url]" size="50"></td> </tr> <tr> <th>导航中是否显示:</th> <td> <!--{if $data['appid'] == UC_APPID}--> <input type="hidden" name="relatedtag[data][{$data[appid]}][open]" value="0">当前产品,不需要选择 <!--{else}--> <input type="radio" name="relatedtag[data][{$data[appid]}][open]" value="1" $openarr[1]>是 <input type="radio" name="relatedtag[data][{$data[appid]}][open]" value="0" $openarr[0]>否 <!--{/if}--> </td> </tr> <tr> <th>标签相关显示条数:</th> <td><input type="text" size="4" name="relatedtag[limit][{$data[appid]}]" value="<!--{eval echo intval($relatedtag['limit'][$data[appid]]);}-->" /> 设置为 0,则不显示本产品的标签相关。</td> </tr> <tr> <th>标签相关单条模板:<br> <!--{if is_array($data[tagtemplates][fields])}--> <!--{loop $data[tagtemplates][fields] $field $memo}--> <a onclick="insertunit('{{$field}}', 'jstemplate_$data[appid]')" href="javascript:;">{{$field}}</a> 代表 $memo<br /> <!--{/loop}--> <!--{/if}--> </th> <td><img src="image/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomTextarea('jstemplate_$data[appid]', 1)"> <img src="image/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomTextarea('jstemplate_$data[appid]', 0)"><br /> <textarea cols="100" rows="5" id="jstemplate_$data[appid]" name="relatedtag[data][{$data[appid]}][template]" style="width: 95%;">$template</textarea> <input type="hidden" name="relatedtag[data][{$data[appid]}][type]" value="$data[type]"> </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="appsubmit" value="提交更新" class="submit"> </div> <br> <!--{/loop}--> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <script type="text/javascript"> function insertunit(text, obj) { if(!obj) { obj = 'jstemplate'; } $(obj).focus(); if(!isUndefined($(obj).selectionStart)) { var opn = $(obj).selectionStart + 0; $(obj).value = $(obj).value.substr(0, $(obj).selectionStart) + text + $(obj).value.substr($(obj).selectionEnd); } else if(document.selection && document.selection.createRange) { var sel = document.selection.createRange(); sel.text = text.replace(/\r?\n/g, '\r\n'); sel.moveStart('character', -strlen(text)); } else { $(obj).value += text; } } </script> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/app.htm
HTML
asf20
4,033
/* Master Style Sheet for Ucenter Home CopyRight: 2001-2007 Comsenz Inc. URL: http://www.comsenz.com */ .mainarea { float: right; width: 100%; margin-left: -150px; } .maininner { margin-left: 140px; } .side { float: left; width: 130px; } #cp_content { margin: 1em 0;} /*细线边框区域*/ .bdrcontent { padding: 1em; border: 1px solid #FF8E00; zoom: 1; } .bdrcontent th { font-weight:bold; } /*粗边框区域*/ .block { margin-bottom: 10px; padding: 0.5em 1em; border: 1px solid #EFF5F8; } .block h2 { margin: 0.5em 0; color: #363636; font-size: 1.17em; } .block p { margin: 0.5em 0; } .side .block li { margin: 0.2em 0; } /*多列的列表*/ .listcol { overflow: hidden; zoom: 1; } .list2col li { float: left; width: 49.9%; } .list3col li { float: left; width: 33.3%; } .list4col li { float: left; width: 24.9%; } .list5col li { float: left; width: 19.9%; } .list6col li { float: left; width: 16.6%; } /*分页*/ .pages { margin-top: 10px; } .pages * { float: left; padding: 0 4px; border: 1px solid #CDCDCD; margin-right: 5px; background: #FFF; font-style: normal; } .topactions { margin-bottom: 10px; padding-top: 0.4em; padding-bottom: 0.4em; border-bottom: 1px solid #FF8E00; } .topactions a { font-size: 14px; font-weight:bold; padding: 0.5em; border-top: 1px solid #FF8E00; border-right: 1px solid #FF8E00; border-left: 1px solid #FF8E00; background: #FCF9E6; } .footactions { margin: 0 0 1em; padding: 0.5em; border: 1px solid #FF8E00; border-top: 0px; text-align:center; } /*\*/ * html .footactions { height: 1%; } /**/ * > .footactions { overflow: hidden; } .footactions .pages { float: right; } /*标题右浮动 Digg 按钮*/ .titlel { float: left; margin-right: 0.83em; margin-top: 0.5em; } .titler { position: absolute; right: 1em; top: 0.5em; z-index: 1; } /*各种区域样式*/ .style1 { border-color: #EBE6C9; background: #FCF9E6; } .style2 { border-color: #EAF6D2; } .style3 { border-color: #EDEDED; } .style3 { border-color: #CDE39C; } .style4 { border: none; background: #FCF9E6; zoom: 1; border: 1px solid #CDCDCD; } .style5 { padding: 10px; border: 1px solid #CDCDCD; background:#EAF6D2; } .style6 { border: none; background: #DDF3FD; } .gray { color: #999; font-weight: normal; } .sfont { font-size: 10px; } .underline { text-decoration: underline; } .noline { text-decoration: none !important; border: none; } .noline a { text-decoration: none !important; border: none; } .footmargin { margin-bottom: 10px; } /*用于表单的表格*/ .formtable { width: 100%; table-layout: fixed; } .formtable th { text-align: left; font-weight: bold; color: #333333; } .formtable th, .formtable td { padding: 0.5em 0; border-bottom: 1px solid #F2F2F2; vertical-align: top; line-height:1.5em; } .formtable td th, .formtable td td { border: none; } .title { margin-bottom: 10px; padding-bottom: 0.5em; border-bottom: 1px solid #FF8E00;} .title h1, .title h3 { padding: 0.6em 0 0.2em 0; font-size: 1.17em; } #footer { clear: both; padding: 1em 0; color: #939393; text-align: center; } #footer p { font-size: 0.83em; } #footer .menu a { padding: 0 1em; } /*目录列表*/ .folder li { padding-left: 1em; } .folder .active { font-weight:bold; padding-left: 1em; } .message { width:100%; text-align:center; font-size:14px; padding:1em; }
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/style.css
CSS
asf20
3,305
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>评论类型</th> <td> <select name="idtype"> <option value="">全部</option> <option value="uid"$idtype[uid]>留言</option> <option value="blogid"$idtype[blogid]>日志</option> <option value="picid"$idtype[picid]>图片</option> <option value="eventid"$idtype[eventid]>活动</option> <option value="sid"$idtype[sid]>分享</option> </select> <th>评论ID</th><td><input type="text" name="id" value="$_GET[id]"></td> </tr> <tr><th>评论UID</th><td><input type="text" name="authorid" value="$_GET[authorid]"></td> <th>评论者</th><td><input type="text" name="author" value="$_GET[author]"></td> </tr> <!--{if $allowmanage}--> <tr><th>被评论UID</th><td colspan="3"><input type="text" name="uid" value="$_GET[uid]"></td></tr> <!--{/if}--> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>内容*</th><td><input type="text" name="message" value="$_GET[message]"></td> <th>发布IP</th><td><input type="text" name="ip" value="$_GET[ip]"></td> </tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>评论时间</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="comment"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=comment"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[cid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list $value}--> <tr> <td width="25"><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[cid]"></td> <td> $value[message] <!--{if $wheresql == 1 }--><a href="admincp.php?ac=comment&cid=$value[cid]">...</a><!--{/if}--> <p> <!--{if $value[author]}--> 作者: <a href="admincp.php?ac=comment&author=$value[author]">$_SN[$value[authorid]]</a> <!--{else}--> 作者:<a href="space.php?uid=$value[authorid]" target="_blank">匿名</a> <!--{/if}--> 被评论对象: <a href="admincp.php?ac=comment&id=$value[id]&idtype=$value[idtype]">{$value[idtype]}-$value[id]</a> <!--{if $value[idtype] == 'uid'}--> (<a href="space.php?uid=$value[id]&do=wall" target="_blank">访问</a>) <!--{/if}--> IP: <a href="admincp.php?ac=comment&ip=$value[ip]">$value[ip]</a> <!--{date('Y-m-d H:i',$value[dateline])}--> </p> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/comment.htm
HTML
asf20
4,368
<!--{eval $_TPL['pagetypes'] = array('header'=>'页头', 'rightside'=>'内容页面', 'footer'=>'页脚', 'couplet'=>'对联', 'contenttop'=>'页面主区域上方', 'contentbottom'=>'页面主区域下方', 'feedbox'=>'动态置顶位'); $_TPL['availables'] = array('0'=>'-', '1'=>'有效'); }--> <!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=ad"><span>浏览广告</span></a></li> <li class="null"><a href="admincp.php?ac=ad&op=add">添加新广告</a></li> </ul> </div> <!--{if empty($_GET['op'])}--> <form method="post" action="admincp.php?ac=ad"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>系统内置广告</h3> <p>广告位置已经内置,根据需要自己填写要显示的广告内容就可以了</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>标题</th> <th width="24%">页面位置</th> <th width="8%">有效</th> <th width="8%">编辑</th> </tr> <!--{loop $listvalue[1] $key $value}--> <tr> <td><input type="checkbox" name="adids[]" value="$value[adid]"> $value[title]</td> <td><a href="admincp.php?ac=ad&pagetype=$value[pagetype]">$_TPL[pagetypes][$value[pagetype]]</a></td> <td>$_TPL[availables][$value[available]]</td> <td><a href="admincp.php?ac=ad&op=edit&adid=$value[adid]">编辑</a></td> </tr> <!--{/loop}--> </table> <br /> <div class="title"> <h3>自定义广告列表</h3> <p>可以自由决定广告的显示位置,只需要获取广告代码(模板内嵌代码,或者Javascript代码均可),然后将广告代码插入到模板任意位置即可显示</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>标题</th> <th width="32%">调用广告</th> <th width="8%">操作</th> </tr> <!--{loop $listvalue[0] $key $value}--> <tr> <td><input type="checkbox" name="adids[]" value="$value[adid]"> $value[title]</td> <td><a href="admincp.php?ac=ad&op=tpl&adid=$value[adid]">模板内嵌代码</a> | <a href="admincp.php?ac=ad&op=js&adid=$value[adid]">Javascript代码</a></td> <td><a href="admincp.php?ac=ad&op=edit&adid=$value[adid]">编辑</a></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="checkbox" name="chkall" onclick="checkAll(this.form, 'adid')">全选 <input type="submit" name="delsubmit" value="批量删除" class="submit"> </div> </form> <!--{elseif $_GET['op'] == 'add' || $_GET['op'] == 'edit'}--> <script type="text/JavaScript"> function style_show(theobj) { var styles,key; styles = new Array('html','flash','image','text'); for(key in styles){ var obj=$('style_'+styles[key]); obj.style.display = styles[key]==theobj.options[theobj.selectedIndex].value?'':'none'; } } </script> <form method="post" action="admincp.php?ac=ad"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">广告类型</th> <td><input type="radio" name="system" value="1" $systems[1] onclick="$('style_system').style.display='';">系统内置广告 <input type="radio" name="system" value="0" $systems[0] onclick="$('style_system').style.display='none';">用户自定义广告 </td></tr> <tr><th>广告标题</th> <td><input name="title" value="$advalue[title]" class="t_input"></td> </tr> <tbody id="style_system" style="display:<!--{if $advalue['system']==0}-->none<!--{/if}-->"> <tr> <th>页面位置</th> <td> <select name="pagetype"> <option value="header"{$pagetypes[header]}>页面顶部 (宽970px)</option> <option value="footer"{$pagetypes[footer]}>页脚 (宽970px)</option> <option value="contenttop"{$pagetypes[contenttop]}>页面主区域上方 (宽800px)</option> <option value="contentbottom"{$pagetypes[contentbottom]}>页面主区域下方 (宽800px)</option> <option value="rightside"{$pagetypes[rightside]}>日志(话题)内容区域 (宽300px)</option> <option value="couplet"{$pagetypes[couplet]}>对联广告 (宽90px)</option> <option value="feedbox"{$pagetypes[feedbox]}>动态顶部 (宽500px)</option> </select> </td> </tr> <tr> <th>有效性</th> <td> <input type="radio" name="available" value="1" $availables[1]>有效 <input type="radio" name="available" value="0" $availables[0]>无效 </td></tr> </tbody> <tr><th>广告方式</th><td> <select name="adcode[type]" onchange="style_show(this)"> <option value="html" $adcodes[html]>代码</option> <option value="flash" $adcodes[flash]>Flash</option> <option value="image" $adcodes[image]>Image</option> <option value="text" $adcodes[text]>文本</option> </select> </td></tr> <tbody id="style_html" style="display:<!--{if $advalue['adcode']['type']!='html'}-->none<!--{/if}-->"> <tr> <th>广告代码(必填)</th> <td><textarea rows="10" style="width:98%;" name="adcode[html]">$advalue[adcode][html]</textarea></td> </tr> </tbody> <tbody id="style_flash" style="display:<!--{if $advalue['adcode']['type']!='flash'}-->none<!--{/if}-->"> <tr> <th>Flash宽度(必填)</th> <td><input name="adcode[flashwidth]" value="$advalue[adcode][flashwidth]" size="5"></td> </tr> <tr> <th>Flash高度(必填)</th> <td><input name="adcode[flashheight]" value="$advalue[adcode][flashheight]" size="5"></td> </tr> <tr> <th>Flash URL(必填)</th> <td><input name="adcode[flashurl]" value="$advalue[adcode][flashurl]" size="50"></td> </tr> </tbody> <tbody id="style_image" style="display:<!--{if $advalue['adcode']['type']!='image'}-->none<!--{/if}-->"> <tr> <th>图片地址(必填)</th> <td><input name="adcode[imagesrc]" value="$advalue[adcode][imagesrc]" size="50"></td> </tr> <tr> <th>图片链接(必填)</th> <td><input name="adcode[imageurl]" value="$advalue[adcode][imageurl]" size="50"></td> </tr> <tr> <th>图片宽度(选填)</th> <td><input name="adcode[imagewidth]" value="$advalue[adcode][imagewidth]" size="5"></td> </tr> <tr> <th>图片高度(选填)</th> <td><input name="adcode[imageheight]" value="$advalue[adcode][imageheight]" size="5"></td> </tr> <tr> <th>图片替换文字(选填)</th> <td><input name="adcode[imagealt]" value="$advalue[adcode][imagealt]"></td> </tr> </tbody> <tbody id="style_text" style="display:<!--{if $advalue['adcode']['type']!='text'}-->none<!--{/if}-->"> <tr> <th>文字内容(必填)</th> <td><input name="adcode[textcontent]" value="$advalue[adcode][textcontent]" size="50"></td> </tr> <tr> <th>文字链接(必填)</th> <td><input name="adcode[texturl]" value="$advalue[adcode][texturl]" size="50"></td> </tr> <tr> <th>文字大小(选填)</th> <td><input name="adcode[textsize]" value="$advalue[adcode][textsize]" size="5"> px</td> </tr> </tbody> </table> </div> <div class="footactions"> <input type="hidden" name="adid" value="$advalue[adid]"> <input type="submit" name="adsubmit" value="提交" class="submit"> </div> </form> <!--{elseif $_GET['op'] == 'tpl'}--> <div class="bdrcontent"> <div class="title"><h3>模版调用代码</h3></div> <table class="formtable"> <tr><td>请将以下代码复制,放到站点模板的任意页面的指定位置即可。</td></tr> <tr><td><input type="text" name="blockadcode" value="$adcode" size="80"></td></tr> </table> </div> <!--{elseif $_GET['op'] == 'js'}--> <div class="bdrcontent"> <div class="title"><h3>Javascript调用代码</h3></div> <table class="formtable"> <tr><td><textarea name="blockadcode" style="width:98%;" rows="5">$adcode</textarea></td></tr> </table> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/ad.htm
HTML
asf20
8,253
<!--{eval $_TPL['menunames'] = array( 'index' => '管理首页', 'config' => '站点设置', 'privacy' => '隐私设置', 'usergroup' => '用户组', 'credit' => '积分规则', 'profilefield' => '用户栏目', 'profield' => '群组栏目', 'eventclass' => '活动分类', 'magic' => '道具设置', 'task' => '有奖任务', 'spam' => '防灌水设置', 'censor' => '词语屏蔽', 'ad' => '广告设置', 'userapp' => 'MYOP应用', 'app' => 'UCenter应用', 'network' => '随便看看', 'cache' => '缓存更新', 'log' => '系统log记录', 'space' => '用户管理', 'feed' => '动态(feed)', 'share' => '分享', 'blog' => '日志', 'album' => '相册', 'pic' => '图片', 'comment' => '评论/留言', 'thread' => '话题', 'post' => '回帖', 'doing' => '记录', 'tag' => '标签', 'mtag' => '群组', 'poll' => '投票', 'event' => '活动', 'magiclog' => '道具记录', 'report' => '举报', 'block' => '数据调用', 'template' => '模板编辑', 'backup' => '数据备份', 'stat' => '统计更新', 'cron' => '系统计划任务', 'click' => '表态动作', 'ip' => '访问IP设置', 'hotuser' => '推荐成员设置', 'defaultuser' => '默认好友设置', ); }--> <!--{eval $_TPL['nosidebar'] = 1;}--> <!--{template header}--> <style type="text/css"> @import url(admin/tpl/style.css); </style> <div id="cp_content">
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/header.htm
HTML
asf20
1,481
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if empty($_GET['op'])}--> <div class="bdrcontent"> <!--{if $tpls}--> <!--{loop $tpls $key $value}--> <div class="title"> <h3>$key</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th>模板文件名</th><th width="80">操作</th></tr> <!--{loop $value $subvalue}--> <tr><td>$subvalue[0]</td><td><a href="$turl&op=edit&filename=$subvalue[0]">编辑</a> <!--{if $subvalue[1]}--> <a href="$turl&op=repair&filename=$subvalue[0]">恢复</a> <!--{/if}--> </td></tr> <!--{/loop}--> </table> <br /> <!--{/loop}--> <!--{else}--> <div class="c_form">当前模板目录下,没有可编辑的模板文件</div> <!--{/if}--> </div> <!--{elseif $_GET['op'] == 'edit'}--> <form method="post" action="$turl"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>编辑模板: $filename</h3> </div> <table cellspacing="0" cellpadding="0" width="100%"> <tr><td> <textarea name="content" style="width:98%;font-size:11px;" rows="30">$content</textarea> </td></tr> </table> </div> <div class="footactions"> <input type="hidden" name="filename" value="$filename"> <input type="submit" name="editsubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/template.htm
HTML
asf20
1,530
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>相册名*</th> <td><input type="text" name="albumname" value="$_GET[albumname]" /></td> <th>查看权限</th> <td> <select name="friend"> <option value="">不限</option> <option value="0"<!--{if $_GET[friend] == '0'}--> selected<!--{/if}-->>全站用户可见</option> <option value="1"<!--{if $_GET[friend] == '1'}--> selected<!--{/if}-->>全好友可见</option> <option value="2"<!--{if $_GET[friend] == '2'}--> selected<!--{/if}-->>仅指定的好友可见</option> <option value="3"<!--{if $_GET[friend] == '3'}--> selected<!--{/if}-->>仅自己可见</option> <option value="4"<!--{if $_GET[friend] == '4'}--> selected<!--{/if}-->>凭密码查看</option> </select> </td> </tr> <tr> <th>相册ID</th> <td colspan="3"> <input type="text" name="albumid" value="$_GET[albumid]" /> </td> </tr> <!--{if $allowmanage}--> <tr> <th>作者UID</th> <td><input type="text" name="uid" value="$_GET[uid]" /></td> <th>作者名</th> <td><input type="text" name="username" value="$_GET[username]" /></td> </tr> <!--{/if}--> <tr> <th>创建时间</th> <td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10" /> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10" /> (YYYY-MM-DD) </td> </tr> <tr> <th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>创建时间</option> <option value="updatetime"$orderby[updatetime]>更新时间</option> <option value="picnum"$orderby[picnum]>图片数</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="album" /> <input type="submit" name="searchsubmit" value="搜索" class="submit" /> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=album"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[albumid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <!--{loop $list $key $value}--> <td width="105"> <a href="space.php?uid=$value[uid]&do=album&id=$value[albumid]" target="_blank"><img src="$value[pic]" alt="$value[albumname]" width="100" height="90"></a> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[albumid]"> 选择 </td> <td> <a href="admincp.php?ac=pic&albumid=$value[albumid]">$value[albumname]</a> <!--{if $allowmanage}--> <br />作者: <a href="admincp.php?ac=album&uid=$value[uid]">$value[username]</a> <!--{/if}--> <br />时间: <!--{date('Y-m-d',$value[dateline])}--> <!--{if $value[friend]}--><br />权限: [<a href="admincp.php?ac=album&friend=$value[friend]">$value[friend]</a>]<!--{/if}--> <br /><a href="admincp.php?ac=pic&albumid=$value[albumid]">管理图片($value[picnum])</a> </td> <!--{if $key%2==1}--></tr><tr><!--{/if}--> <!--{/loop}--> </tr> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/album.htm
HTML
asf20
4,760
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=usergroup"><span>浏览用户组</span></a></li> <li class="null"><a href="admincp.php?ac=usergroup&op=add">添加新用户组</a></li> </ul> </div> <!--{if $list }--> <form method="post" action="admincp.php?ac=usergroup"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>普通用户组</h3> <p>普通用户组的用户级别,随着其经验值的变化而自动升级或者降级</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>组头衔</th> <td>经验值大于</td> <td width="100">操作</td> </tr> <!--{loop $list[0] $value}--> <tr> <th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th> <!--{if $value['explower'] == -999999999}--> <td><input type="text" size="15" value="$value[explower]" name="explower[{$value[gid]}]" readonly></td> <!--{else}--> <td><input type="text" size="15" value="$value[explower]" name="explower[{$value[gid]}]"></td> <!--{/if}--> <td width="100"> <a href="admincp.php?ac=usergroup&op=edit&gid=$value[gid]">编辑</a> <a href="admincp.php?ac=usergroup&op=copy&gid=$value[gid]">复制</a> <a href="admincp.php?ac=usergroup&op=delete&gid=$value[gid]">删除</a> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="submit" name="updatesubmit" value="提交更新" class="submit"> </div> </form> <div class="bdrcontent"> <br /> <div class="title"> <h3>特殊用户组</h3> <p>归属于特殊用户组的用户级别身份,不受经验值的影响,始终保持不变</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list[1] $value}--> <tr> <th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th> <td width="100"> <a href="admincp.php?ac=usergroup&op=edit&gid=$value[gid]">编辑</a> <a href="admincp.php?ac=usergroup&op=copy&gid=$value[gid]">复制</a> <a href="admincp.php?ac=usergroup&op=delete&gid=$value[gid]">删除</a> </td> </tr> <!--{/loop}--> </table> <br /> <div class="title"> <h3>系统用户组</h3> <p>系统内置,用户组不能被编辑或删除;用户级别身份,不受经验值的变化的影响</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list[-1] $value}--> <tr> <th><span<!--{eval g_color($value[gid]);}-->>$value[grouptitle]</span><!--{eval g_icon($value[gid]);}--></th> <td width="80"> <a href="admincp.php?ac=usergroup&op=edit&gid=$value[gid]">编辑</a> | <a href="admincp.php?ac=usergroup&op=copy&gid=$value[gid]">复制</a> </td> </tr> <!--{/loop}--> </table> </div> <!--{/if}--> <!--{if $_GET[op]=='copy'}--> <form method="post" action="admincp.php?ac=usergroup&gid=$gid"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>权限复制</h3> <p>这里可以把目标用户组权限应用给选中的用户组</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:12em;">源用户组</th> <td>$from</td> </tr> <tr> <th>目标用户组</th> <td> <select name="aimgroup[]" size="10" multiple="multiple" style="width: 80%"> <!--{loop $grouparr $key $value}--> <option value="$value[gid]">$value[grouptitle]</option> <!--{/loop}--> </select> <p>选择要将源用户组权限复制到哪些目标用户组,可以按住 CTRL 多选</p> </td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="gid" value="$gid"> <input type="submit" name="copysubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> <!--{if $thevalue}--> <script type="text/javascript"> function credisshow(value) { if(value=='0') { document.getElementById('tr_credit').style.display = ''; } else { document.getElementById('tr_credit').style.display = 'none'; } } </script> <!--{eval $_TPL['discount'] = array( '0' => '不打折', '1' => '1折', '2' => '2折', '3' => '3折', '4' => '4折', '5' => '5折', '6' => '6折', '7' => '7折', '8' => '8折', '9' => '9折', '-1' => '免费' ); }--> <form method="post" action="admincp.php?ac=usergroup&gid=$thevalue[gid]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>$thevalue[grouptitle] 空间权限</h3> <p>这里设置该用户组成员对自己的个人空间的操作权限许可</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">名称</th><td><input type="text" name="set[grouptitle]" value="$thevalue[grouptitle]"></td></tr> <!--{if !isset($thevalue['system'])}--> <tr> <th>用户组类型</th> <td> <input type="radio" name="set[system]" value="0" onclick="credisshow(0)" checked> 普通用户组 <input type="radio" name="set[system]" value="1" onclick="credisshow(1)"> 特殊用户组 (不受经验值限制) </td> </tr> <!--{/if}--> <tr> <th>禁止访问</th> <td> <input type="radio" name="set[banvisit]" value="0"<!--{if $thevalue['banvisit']!=1}--> checked<!--{/if}-->> 允许访问 <input type="radio" name="set[banvisit]" value="1"<!--{if $thevalue['banvisit']==1}--> checked<!--{/if}-->> 禁止访问 </td> </tr> <!--{if empty($thevalue['system'])}--> <tr id="tr_credit"><th>经验值下限</th><td> <!--{if $thevalue['explower'] > -999999999}--> <input type="text" name="set[explower]" value="$thevalue[explower]" size="20"> <!--{else}--> <input type="hidden" name="set[explower]" value="$thevalue[explower]" size="20"> $thevalue[explower] (系统默认最低分,不能修改) <!--{/if}--> 成为本用户组的最低积分</td></tr> <!--{/if}--> <tr><th>用户名显示颜色</th><td><input type="text" name="set[color]" value="$thevalue[color]" size="10"> 例如:#FF0000</td></tr> <tr><th>用户身份识别图标</th><td><input type="text" name="set[icon]" value="$thevalue[icon]" size="40"> 填写URL地址,大小 20*20 最佳,会显示在用户名的后面,作为身份识别</td></tr> <tr><th>上传空间大小</th><td><input type="text" name="set[maxattachsize]" value="$thevalue[maxattachsize]" size="10"> 单位:M, 0为无限</td></tr> <tr><th>最多好友数</th><td><input type="text" name="set[maxfriendnum]" value="$thevalue[maxfriendnum]" size="10"> 0为无限</td></tr> <tr> <th>两次发布操作间隔</th> <td><input type="text" name="set[postinterval]" value="$thevalue[postinterval]" size="10"> 单位:秒 , 0为不限制,包括日志/评论/留言/话题/回帖等发布操作</td> </tr> <tr> <th>发布操作需填验证码</th> <td> <input type="radio" name="set[seccode]" value="0"<!--{if $thevalue['seccode']!=1}--> checked<!--{/if}-->> 不需要验证码 <input type="radio" name="set[seccode]" value="1"<!--{if $thevalue['seccode']==1}--> checked<!--{/if}-->> 填写验证码 <br>包括记录/日志/话题/分享的发布操作,开启验证码可以防止灌水机等,但会增加用户操作易用度。 </td> </tr> <tr> <th>两次搜索操作间隔</th> <td><input type="text" name="set[searchinterval]" value="$thevalue[searchinterval]" size="10"> 单位:秒 , 0为不限制</td> </tr> <tr> <th>是否免费搜索</th> <td> <input type="radio" name="set[searchignore]" value="1"<!--{if $thevalue['searchignore']==1}--> checked<!--{/if}-->> 免费搜索 <input type="radio" name="set[searchignore]" value="0"<!--{if $thevalue['searchignore']!=1}--> checked<!--{/if}-->> 搜索要扣积分 </td> </tr> <tr> <th>二级域名最短长度</th> <td><input type="text" name="set[domainlength]" value="$thevalue[domainlength]" size="10"> 0为禁止使用二级域名,在站点开启二级域名时有效</td> </tr> <tr> <th>防灌水限制</th> <td> <input type="radio" name="set[spamignore]" value="0"<!--{if $thevalue['spamignore']!=1}--> checked<!--{/if}-->> 受限制 <input type="radio" name="set[spamignore]" value="1"<!--{if $thevalue['spamignore']==1}--> checked<!--{/if}-->> 不受灌水限制 </td> </tr> <tr> <th>发表记录</th> <td> <input type="radio" name="set[allowdoing]" value="1"<!--{if $thevalue['allowdoing']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowdoing]" value="0"<!--{if $thevalue['allowdoing']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发表日志</th> <td> <input type="radio" name="set[allowblog]" value="1"<!--{if $thevalue['allowblog']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowblog]" value="0"<!--{if $thevalue['allowblog']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>上传图片</th> <td> <input type="radio" name="set[allowupload]" value="1"<!--{if $thevalue['allowupload']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowupload]" value="0"<!--{if $thevalue['allowupload']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发布分享</th> <td> <input type="radio" name="set[allowshare]" value="1"<!--{if $thevalue['allowshare']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowshare]" value="0"<!--{if $thevalue['allowshare']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发表留言/评论</th> <td> <input type="radio" name="set[allowcomment]" value="1"<!--{if $thevalue['allowcomment']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowcomment]" value="0"<!--{if $thevalue['allowcomment']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许表态</th> <td> <input type="radio" name="set[allowclick]" value="1"<!--{if $thevalue['allowclick']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowclick]" value="0"<!--{if $thevalue['allowclick']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>创建新群组</th> <td> <input type="radio" name="set[allowmtag]" value="1"<!--{if $thevalue['allowmtag']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowmtag]" value="0"<!--{if $thevalue['allowmtag']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发表群组话题</th> <td> <input type="radio" name="set[allowthread]" value="1"<!--{if $thevalue['allowthread']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowthread]" value="0"<!--{if $thevalue['allowthread']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>编辑话题附加编辑记录</th> <td> <input type="radio" name="set[edittrail]" value="1"<!--{if $thevalue['edittrail']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[edittrail]" value="0"<!--{if $thevalue['edittrail']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发表群组回帖</th> <td> <input type="radio" name="set[allowpost]" value="1"<!--{if $thevalue['allowpost']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowpost]" value="0"<!--{if $thevalue['allowpost']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发起投票</th> <td> <input type="radio" name="set[allowpoll]" value="1"<!--{if $thevalue['allowpoll']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowpoll]" value="0"<!--{if $thevalue['allowpoll']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发布活动</th> <td> <input type="radio" name="set[allowevent]" value="1"<!--{if $thevalue['allowevent']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowevent]" value="0"<!--{if $thevalue['allowevent']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>发表的活动需要审核</th> <td> <input type="radio" name="set[verifyevent]" value="1"<!--{if $thevalue['verifyevent']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[verifyevent]" value="0"<!--{if $thevalue['verifyevent']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许发短消息</th> <td> <input type="radio" name="set[allowpm]" value="1"<!--{if $thevalue['allowpm']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowpm]" value="0"<!--{if $thevalue['allowpm']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许打招呼</th> <td> <input type="radio" name="set[allowpoke]" value="1"<!--{if $thevalue['allowpoke']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowpoke]" value="0"<!--{if $thevalue['allowpoke']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许加好友</th> <td> <input type="radio" name="set[allowfriend]" value="1"<!--{if $thevalue['allowfriend']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowfriend]" value="0"<!--{if $thevalue['allowfriend']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>视频认证限制</th> <td> <input type="radio" name="set[videophotoignore]" value="1"<!--{if $thevalue['videophotoignore']==1}--> checked<!--{/if}-->> 不受视频认证限制 <input type="radio" name="set[videophotoignore]" value="0"<!--{if $thevalue['videophotoignore']!=1}--> checked<!--{/if}-->> 受限制 </td> </tr> <tr> <th>允许查看视频认证</th> <td> <input type="radio" name="set[allowviewvideopic]" value="1"<!--{if $thevalue['allowviewvideopic']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowviewvideopic]" value="0"<!--{if $thevalue['allowviewvideopic']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许使用应用</th> <td> <input type="radio" name="set[allowmyop]" value="1"<!--{if $thevalue['allowmyop']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowmyop]" value="0"<!--{if $thevalue['allowmyop']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许使用道具</th> <td> <input type="radio" name="set[allowmagic]" value="1"<!--{if $thevalue['allowmagic']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowmagic]" value="0"<!--{if $thevalue['allowmagic']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>购买道具折扣</th> <td> <select name="set[magicdiscount]"> <!--{loop $_TPL[discount] $key $val}--> <option value="$key" <!--{if $thevalue['magicdiscount'] == $key}--> selected<!--{/if}-->>$val</option> <!--{/loop}--> </select> </td> </tr> <tr> <th>添加新的热闹</th> <td> <input type="radio" name="set[allowtopic]" value="1"<!--{if $thevalue['allowtopic']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowtopic]" value="0"<!--{if $thevalue['allowtopic']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>允许自定义CSS</th> <td> <input type="radio" name="set[allowcss]" value="1"<!--{if $thevalue['allowcss']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowcss]" value="0"<!--{if $thevalue['allowcss']!=1}--> checked<!--{/if}-->> 否 &nbsp;谨慎允许,允许自定义CSS可能会造成javascript脚本引起的不安全因素 </td> </tr> <tr> <th>日志全HTML标签支持</th> <td> <input type="radio" name="set[allowhtml]" value="1"<!--{if $thevalue['allowhtml']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowhtml]" value="0"<!--{if $thevalue['allowhtml']!=1}--> checked<!--{/if}-->> 否 &nbsp;谨慎允许,支持所有html标签可能会造成javascript脚本引起的不安全因素 </td> </tr> <tr> <th>允许查看趋势统计</th> <td> <input type="radio" name="set[allowstat]" value="1"<!--{if $thevalue['allowstat']==1}--> checked<!--{/if}-->> 是 <input type="radio" name="set[allowstat]" value="0"<!--{if $thevalue['allowstat']!=1}--> checked<!--{/if}-->> 否 </td> </tr> <tr> <th>站点关闭和IP屏蔽</th> <td> <input type="radio" name="set[closeignore]" value="1"<!--{if $thevalue['closeignore']==1}--> checked<!--{/if}-->> 不受站点关闭和IP屏蔽限制 <input type="radio" name="set[closeignore]" value="0"<!--{if $thevalue['closeignore']!=1}--> checked<!--{/if}-->> 受限制 </td> </tr> <tr> <th>升级奖励道具</th> <td> <select id="newmagicaward"> <!--{loop $_SGLOBAL['magic'] $key $value}--> <option value="$key">$value</option> <!--{/loop}--> </select> <input type="text" id="newmagicawardnum" value="1" /> <input class="button" type="button" onclick="addMagicAward()" value="添加" /> <ul id="magicawards"> <!--{loop $thevalue[magicaward] $value}--> <li id="magicaward_$value[mid]"> <input type="hidden" name="magicaward[]" value="$value[mid],$value[num]"> $_SGLOBAL[magic][$value[mid]] &nbsp;&nbsp; $value[num] &nbsp;&nbsp; <a href="#" onclick="removeMagicAward(this);return false;">删除</a> </li> <!--{/loop}--> </ul> <script type="text/javascript"> function addMagicAward(){ var mid = $('newmagicaward').value; var id = "magicaward_" + mid; var num = $('newmagicawardnum').value; var name = $('newmagicaward').options[$('newmagicaward').selectedIndex].text; if($(id)) { removeMagicAward($(id).getElementsByTagName("a")[0]); } var s = '<li id="' + id + '">'; s += '<input type="hidden" name="magicaward[]" value="' + mid + ',' + num + '" />'; s += name + ' &nbsp;&nbsp;' + "\n"; s += num + ' &nbsp;&nbsp;' + "\n"; s += '<a href="#" onclick="removeMagicAward(this);return false;">删除</a>'; s += '</li>'; $('magicawards').innerHTML += s; } function removeMagicAward(o) { $('magicawards').removeChild(o.parentNode); } </script> </td> </tr> </table> <!--{if $thevalue[system]}--> <br /> <div class="title"> <h3>$thevalue[grouptitle] 管理权限</h3> <p>设置该用户组成员是否拥有站点管理权限,这可能会影响到站点数据安全,请谨慎选择</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:12em;">管理员身份</th> <td> <input type="radio" name="set[manageconfig]" value="1"<!--{if $thevalue['manageconfig']==1}--> checked<!--{/if}-->> 拥有管理员身份 <input type="radio" name="set[manageconfig]" value="0"<!--{if $thevalue['manageconfig']!=1}--> checked<!--{/if}-->> 禁止 <br>注意,该用户组成员拥有管理员身份后,将不再受下面权限设置,将自动拥有全部权限 </td> </tr> <tr> <th>批量管理操作</th> <td> <input type="radio" name="set[managebatch]" value="1"<!--{if $thevalue['managebatch']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managebatch]" value="0"<!--{if $thevalue['managebatch']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>标签</th> <td> <input type="radio" name="set[managetag]" value="1"<!--{if $thevalue['managetag']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managetag]" value="0"<!--{if $thevalue['managetag']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>群组</th> <td> <input type="radio" name="set[managemtag]" value="1"<!--{if $thevalue['managemtag']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managemtag]" value="0"<!--{if $thevalue['managemtag']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>活动</th> <td> <input type="radio" name="set[manageevent]" value="1"<!--{if $thevalue['manageevent']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageevent]" value="0"<!--{if $thevalue['manageevent']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>动态(feed)</th> <td> <input type="radio" name="set[managefeed]" value="1"<!--{if $thevalue['managefeed']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managefeed]" value="0"<!--{if $thevalue['managefeed']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>记录</th> <td> <input type="radio" name="set[managedoing]" value="1"<!--{if $thevalue['managedoing']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managedoing]" value="0"<!--{if $thevalue['managedoing']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>分享</th> <td> <input type="radio" name="set[manageshare]" value="1"<!--{if $thevalue['manageshare']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageshare]" value="0"<!--{if $thevalue['manageshare']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>日志</th> <td> <input type="radio" name="set[manageblog]" value="1"<!--{if $thevalue['manageblog']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageblog]" value="0"<!--{if $thevalue['manageblog']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>相册</th> <td> <input type="radio" name="set[managealbum]" value="1"<!--{if $thevalue['managealbum']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managealbum]" value="0"<!--{if $thevalue['managealbum']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>评论</th> <td> <input type="radio" name="set[managecomment]" value="1"<!--{if $thevalue['managecomment']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managecomment]" value="0"<!--{if $thevalue['managecomment']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>话题</th> <td> <input type="radio" name="set[managethread]" value="1"<!--{if $thevalue['managethread']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managethread]" value="0"<!--{if $thevalue['managethread']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>投票</th> <td> <input type="radio" name="set[managepoll]" value="1"<!--{if $thevalue['managepoll']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managepoll]" value="0"<!--{if $thevalue['managepoll']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>道具记录</th> <td> <input type="radio" name="set[managemagiclog]" value="1"<!--{if $thevalue['managemagiclog']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managemagiclog]" value="0"<!--{if $thevalue['managemagiclog']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>随便看看</th> <td> <input type="radio" name="set[managenetwork]" value="1"<!--{if $thevalue['managenetwork']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managenetwork]" value="0"<!--{if $thevalue['managenetwork']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>用户组</th> <td> <input type="radio" name="set[manageusergroup]" value="1"<!--{if $thevalue['manageusergroup']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageusergroup]" value="0"<!--{if $thevalue['manageusergroup']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>积分规则</th> <td> <input type="radio" name="set[managecredit]" value="1"<!--{if $thevalue['managecredit']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managecredit]" value="0"<!--{if $thevalue['managecredit']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>用户栏目</th> <td> <input type="radio" name="set[manageprofilefield]" value="1"<!--{if $thevalue['manageprofilefield']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageprofilefield]" value="0"<!--{if $thevalue['manageprofilefield']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>群组栏目</th> <td> <input type="radio" name="set[manageprofield]" value="1"<!--{if $thevalue['manageprofield']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageprofield]" value="0"<!--{if $thevalue['manageprofield']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>活动分类</th> <td> <input type="radio" name="set[manageeventclass]" value="1"<!--{if $thevalue['manageeventclass']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageeventclass]" value="0"<!--{if $thevalue['manageeventclass']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>词语屏蔽</th> <td> <input type="radio" name="set[managecensor]" value="1"<!--{if $thevalue['managecensor']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managecensor]" value="0"<!--{if $thevalue['managecensor']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>广告设置</th> <td> <input type="radio" name="set[managead]" value="1"<!--{if $thevalue['managead']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managead]" value="0"<!--{if $thevalue['managead']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>举报管理</th> <td> <input type="radio" name="set[managereport]" value="1"<!--{if $thevalue['managereport']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managereport]" value="0"<!--{if $thevalue['managereport']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>缓存更新</th> <td> <input type="radio" name="set[managecache]" value="1"<!--{if $thevalue['managecache']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managecache]" value="0"<!--{if $thevalue['managecache']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>多产品/应用</th> <td> <input type="radio" name="set[manageapp]" value="1"<!--{if $thevalue['manageapp']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageapp]" value="0"<!--{if $thevalue['manageapp']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>数据调用</th> <td> <input type="radio" name="set[manageblock]" value="1"<!--{if $thevalue['manageblock']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageblock]" value="0"<!--{if $thevalue['manageblock']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>模板编辑</th> <td> <input type="radio" name="set[managetemplate]" value="1"<!--{if $thevalue['managetemplate']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managetemplate]" value="0"<!--{if $thevalue['managetemplate']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>数据备份</th> <td> <input type="radio" name="set[managebackup]" value="1"<!--{if $thevalue['managebackup']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managebackup]" value="0"<!--{if $thevalue['managebackup']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>统计更新</th> <td> <input type="radio" name="set[managestat]" value="1"<!--{if $thevalue['managestat']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managestat]" value="0"<!--{if $thevalue['managestat']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>计划任务</th> <td> <input type="radio" name="set[managecron]" value="1"<!--{if $thevalue['managecron']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managecron]" value="0"<!--{if $thevalue['managecron']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>IP设置</th> <td> <input type="radio" name="set[manageip]" value="1"<!--{if $thevalue['manageip']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageip]" value="0"<!--{if $thevalue['manageip']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>推荐成员设置</th> <td> <input type="radio" name="set[managehotuser]" value="1"<!--{if $thevalue['managehotuser']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managehotuser]" value="0"<!--{if $thevalue['managehotuser']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>默认好友设置</th> <td> <input type="radio" name="set[managedefaultuser]" value="1"<!--{if $thevalue['managedefaultuser']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managedefaultuser]" value="0"<!--{if $thevalue['managedefaultuser']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>删除用户</th> <td> <input type="radio" name="set[managedelspace]" value="1"<!--{if $thevalue['managedelspace']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managedelspace]" value="0"<!--{if $thevalue['managedelspace']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>实名认证</th> <td> <input type="radio" name="set[managename]" value="1"<!--{if $thevalue['managename']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managename]" value="0"<!--{if $thevalue['managename']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>视频认证</th> <td> <input type="radio" name="set[managevideophoto]" value="1"<!--{if $thevalue['managevideophoto']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managevideophoto]" value="0"<!--{if $thevalue['managevideophoto']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>用户保护信息</th> <td> <input type="radio" name="set[managespacegroup]" value="1"<!--{if $thevalue['managespacegroup']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managespacegroup]" value="0"<!--{if $thevalue['managespacegroup']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>用户基本信息</th> <td> <input type="radio" name="set[managespaceinfo]" value="1"<!--{if $thevalue['managespaceinfo']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managespaceinfo]" value="0"<!--{if $thevalue['managespaceinfo']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>用户积分</th> <td> <input type="radio" name="set[managespacecredit]" value="1"<!--{if $thevalue['managespacecredit']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managespacecredit]" value="0"<!--{if $thevalue['managespacecredit']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>向用户发通知</th> <td> <input type="radio" name="set[managespacenote]" value="1"<!--{if $thevalue['managespacenote']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managespacenote]" value="0"<!--{if $thevalue['managespacenote']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>有奖任务</th> <td> <input type="radio" name="set[managetask]" value="1"<!--{if $thevalue['managetask']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managetask]" value="0"<!--{if $thevalue['managetask']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>道具设置</th> <td> <input type="radio" name="set[managemagic]" value="1"<!--{if $thevalue['managemagic']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managemagic]" value="0"<!--{if $thevalue['managemagic']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>表态动作设置</th> <td> <input type="radio" name="set[manageclick]" value="1"<!--{if $thevalue['manageclick']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[manageclick]" value="0"<!--{if $thevalue['manageclick']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>热闹管理</th> <td> <input type="radio" name="set[managetopic]" value="1"<!--{if $thevalue['managetopic']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managetopic]" value="0"<!--{if $thevalue['managetopic']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> <tr> <th>管理记录</th> <td> <input type="radio" name="set[managelog]" value="1"<!--{if $thevalue['managelog']==1}--> checked<!--{/if}-->> 可管理 <input type="radio" name="set[managelog]" value="0"<!--{if $thevalue['managelog']!=1}--> checked<!--{/if}-->> 禁止 </td> </tr> </table> <!--{/if}--> </div> <div class="footactions"> <input type="hidden" name="set[gid]" value="$thevalue[gid]"> <input type="submit" name="thevaluesubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/usergroup.htm
HTML
asf20
33,402
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[holdlog]><a href="admincp.php?ac=magiclog&view=holdlog"><span>道具持有记录</span></a></li> <li$actives[inlog]><a href="admincp.php?ac=magiclog&view=inlog"><span>道具获取记录</span></a></li> <li$actives[uselog]><a href="admincp.php?ac=magiclog&view=uselog"><span>道具使用记录</span></a></li> <!--{if $allowmanage}--> <li$actives[storelog]><a href="admincp.php?ac=magiclog&view=storelog"><span>道具出售统计</span></a></li> <!--{/if}--> </ul> </div> <!--{if $_GET[view] == 'inlog'}--> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <!--{if $allowmanage}--> <th>用户名</th><td><input type="text" name="username" value="$_GET[username]"></td> <!--{else}--> <th>用户名</th><td><input type="text" name="username" value="$_SGLOBAL[supe_username]" disabled></td> <!--{/if}--> <th>道具</th> <td> <select name="mid"> <option value="">不限</option> <!--{loop $_SGLOBAL[magic] $key $value}--> <option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option> <!--{/loop}--> </select> </td> </tr> <tr> <th>交易量</th> <td> <select name="count"> <option value="">不限</option> <option value="1-4"<!--{if $_GET['count']=='1-4'}--> selected<!--{/if}-->>1 - 4</option> <option value="5-9"<!--{if $_GET['count']=='5-9'}--> selected<!--{/if}-->>5 - 9</option> <option value="10-49"<!--{if $_GET['count']=='10-49'}--> selected<!--{/if}-->>10 - 49</option> <option value="50-99"<!--{if $_GET['count']=='50-99'}--> selected<!--{/if}-->>50 - 99</option> <option value="100-99999"<!--{if $_GET['count']=='100-99999'}--> selected<!--{/if}-->>100以上</option> </select> </td> <th>获得途径</th> <td> <select name="type"> <option value="">不限</option> <option value="1"<!--{if $_GET[type]==1}--> selected<!--{/if}-->>购买</option> <option value="2"<!--{if $_GET[type]==2}--> selected<!--{/if}-->>赠送</option> <option value="3"<!--{if $_GET[type]==3}--> selected<!--{/if}-->>升级</option> </select> </td> </tr> <tr> <th>记录时间</th> <td colspan="3"> <script type="text/javascript" src="source/script_calendar.js" charset="$_SC[charset]"></script> <input type="text" name="starttime" value="$_GET[starttime]" onclick="showcalendar(event,this,1)"/> ~ <input type="text" name="endtime" value="$_GET[endtime]" onclick="showcalendar(event,this,1)" /> <input type="hidden" name="view" value="$_GET[view]"> <input type="hidden" name="ac" value="magiclog"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <div class="bdrcontent"> <table width="100%"> <tr> <th>用户</th> <th>方式</th> <th>道具</th> <th>数量</th> <th>时间</th> </tr> <!--{loop $list $value}--> <tr> <td> <a href="admincp.php?ac=magiclog&view=inlog&username=$value[username]">$value[username]</a> </td> <td> <!--{if $value[type]==2}--> 获赠 <!--{elseif $value[type] == 3}--> 升级用户组 <!--{else}--> 购买 <!--{/if}--> </td> <td> <a href="admincp.php?ac=magiclog&view=inlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a> </td> <td> $value[count] </td> <td> <!--{eval echo sgmdate('Y-m-d H:i', $value[dateline])}--> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <div class="pages">$multi</div> </div> <!--{else}--> <div class="bdrcontent"> 没有指定数据 </div> <!--{/if}--> <!--{elseif $_GET[view] == 'uselog'}--> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <!--{if $allowmanage}--> <th>用户名</th><td><input type="text" name="username" value="$_GET[username]"></td> <!--{else}--> <th>用户名</th><td><input type="text" name="username" value="$_SGLOBAL[supe_username]" disabled></td> <!--{/if}--> <th>道具</th> <td> <select name="mid"> <option value="">不限</option> <!--{loop $_SGLOBAL[magic] $key $value}--> <option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option> <!--{/loop}--> </select> </select> </td> </tr> <tr> <th>作用对象类型</th> <td> <select name="idtype"> <option value="">不限</option> <option value="blogid"<!--{if $_GET['idtype']=='blogid'}--> selected<!--{/if}-->>日志</option> <option value="tid"<!--{if $_GET['idtype']=='tid'}--> selected<!--{/if}-->>话题</option> <option value="cid"<!--{if $_GET['idtype']=='cid'}--> selected<!--{/if}-->>评论/留言</option> <option value="uid"<!--{if $_GET['idtype']=='uid'}--> selected<!--{/if}-->>空间</option> <option value="picid"<!--{if $_GET['idtype']=='picid'}--> selected<!--{/if}-->>图片</option> <option value="pollid"<!--{if $_GET['idtype']=='pollid'}--> selected<!--{/if}-->>投票</option> <option value="eventid"<!--{if $_GET['idtype']=='eventid'}--> selected<!--{/if}-->>活动</option> </select> </td> <th>作用对象ID</th> <td> <input type="text" name="id" value="$_GET[id]" /> </td> </tr> <tr> <th>记录时间</th> <td colspan="3"> <script type="text/javascript" src="source/script_calendar.js"></script> <input type="text" name="starttime" value="$_GET[starttime]" onclick="showcalendar(event,this,1)"/> ~ <input type="text" name="endtime" value="$_GET[endtime]" onclick="showcalendar(event,this,1)" /> <input type="hidden" name="view" value="$_GET[view]"> <input type="hidden" name="ac" value="magiclog"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <div class="bdrcontent"> <table width="100%"> <tr> <th>用户</th> <th>道具</th> <th>时间</th> </tr> <!--{loop $list $value}--> <tr> <td> <a href="admincp.php?ac=magiclog&view=uselog&username=$value[username]">$value[username]</a> </td> <td> <a href="admincp.php?ac=magiclog&view=uselog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a> </td> <td> <!--{eval echo sgmdate('Y-m-d H:i', $value[dateline])}--> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <div class="pages">$multi</div> </div> <!--{else}--> <div class="bdrcontent"> 没有指定数据 </div> <!--{/if}--> <!--{elseif $_GET['view'] == 'storelog'}--> <!--{if $list}--> <div class="bdrcontent"> <h3> 共售出道具 $totalcount 件,回收 $totalcredit 积分 </h3> <br /> <table width="100%"> <tr> <th>道具</th> <th>售出数</th> <th>回收积分</th> </tr> <!--{loop $list $value}--> <tr> <td><a href="admincp.php?ac=magiclog&view=holdlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a></td> <td>$value[sellcount]</td> <td>$value[sellcredit]</td> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <div class="pages">$multi</div> </div> <!--{else}--> <div class="bdrcontent"> 没有指定数据 </div> <!--{/if}--> <!--{else}--> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <!--{if $allowmanage}--> <th>用户UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>用户名</th><td><input type="text" name="username" value="$_GET[username]"></td> <!--{else}--> <th>用户UID</th><td><input type="text" name="uid" value="$_SGLOBAL[supe_uid]" disabled></td> <th>用户名</th><td><input type="text" name="username" value="$_GET[username]" disabled></td> <!--{/if}--> </tr> <tr> <th>道具</th> <td colspan="3"> <select name="mid"> <option value="">不限</option> <!--{loop $_SGLOBAL[magic] $key $value}--> <option value="$key"<!--{if $_GET[mid]==$key}--> selected<!--{/if}-->>$value</option> <!--{/loop}--> </select> </select> <input type="hidden" name="view" value="$_GET[view]"> <input type="hidden" name="ac" value="magiclog"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <div class="bdrcontent"> <table width="100%"> <tr> <th>用户</th> <th>道具</th> <th>数量</th> </tr> <!--{loop $list $value}--> <tr> <td> <a href="admincp.php?ac=magiclog&view=holdlog&uid=$value[uid]"> $value[username] </a> </td> <td> <a href="admincp.php?ac=magiclog&view=holdlog&mid=$value[mid]">$_SGLOBAL[magic][$value[mid]]</a> </td> <td> $value[count] </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <div class="pages">$multi</div> </div> <!--{else}--> <div class="bdrcontent"> 没有指定数据 </div> <!--{/if}--> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/magiclog.htm
HTML
asf20
9,595
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[all]><a href="admincp.php?ac=$ac"><span>浏览全部列表</span></a></li> <li$actives[grade0]><a href="admincp.php?ac=$ac&perpage=20&grade=0&searchsubmit=1"><span>待审核活动</span></a></li> <li$actives[grade_1]><a href="admincp.php?ac=$ac&perpage=20&grade=-1&searchsubmit=1"><span>未通过审核活动</span></a></li> <li$actives[grade1]><a href="admincp.php?ac=$ac&perpage=20&grade=1&searchsubmit=1"><span>已通过审核活动</span></a></li> <li$actives[grade_2]><a href="admincp.php?ac=$ac&perpage=20&grade=-2&searchsubmit=1"><span>已关闭活动</span></a></li> <li$actives[grade2]><a href="admincp.php?ac=$ac&perpage=20&grade=2&searchsubmit=1"><span>推荐活动</span></a></li> </ul> </div> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>活动ID</th><td><input type="text" name="eventid" value="$_GET[eventid]"></td> <th>创建者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> </tr> <tr> <th>标题*</th><td><input type="text" name="title" value="$_GET[title]"></td> <th>活动类型</th> <td> <select name="classid"> <option value=""> 请选择活动分类 </option> <!--{loop $_SGLOBAL[eventclass] $key $value}--> <option value="$key" <!--{if $_GET[classid] == $key}--> selected<!--{/if}-->>$value[classname]</option> <!--{/loop}--> </select> </td> </tr> <tr> <th>活动城市</th> <td id="citybox"> <script type="text/javascript" src="source/script_city.js" charset="$_SC[charset]"></script> <script type="text/javascript" charset="$_SC[charset]"> showprovince('province', 'city', '$_GET[province]', 'citybox'); showcity('city', '$_GET[city]', 'province', 'citybox'); </script> </td> <th>公开性质</th> <td> <select name="public"> <option value="">不限</option> <option value="0"<!--{if $_GET[public] === '0'}--> selected<!--{/if}-->>私密</option> <option value="1"<!--{if $_GET[public] === '1'}--> selected<!--{/if}-->>半公开</option> <option value="2"<!--{if $_GET[public] === '2'}--> selected<!--{/if}-->>完全公开</option> </select> </td> </tr> <tr> <th>活动时间</th> <td> <script type="text/javascript" src="source/script_calendar.js"></script> <input type="text" name="starttime" value="$_GET[starttime]" onclick="showcalendar(event,this,1)"/> ~ <input type="text" name="endtime" value="$_GET[endtime]" onclick="showcalendar(event,this,1)" /> </td> <th>是否结束</th> <td> <select name="over"> <option value="">不限</option> <option value="0"<!--{if $_GET[over] === '0'}--> selected<!--{/if}-->>未结束</option> <option value="1"<!--{if $_GET[over] === '1'}--> selected<!--{/if}-->>已结束</option> </select> </td> </tr> <tr> <th>活动状态</th> <td colspan="3"> <select name="grade"> <option value="">不限</option> <option value="-2"<!--{if $_GET[grade] === '-2'}--> selected<!--{/if}-->>已关闭</option> <option value="-1"<!--{if $_GET[grade] === '-1'}--> selected<!--{/if}-->>未通过审核</option> <option value="0"<!--{if $_GET[grade] === '0'}--> selected<!--{/if}-->>待审核</option> <option value="1"<!--{if $_GET[grade] === '1'}--> selected<!--{/if}-->>通过审核</option> <option value="2"<!--{if $_GET[grade] === '2'}--> selected<!--{/if}-->>推荐</option> </select> </td> </tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr> <th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="starttime"$orderby[starttime]>开始时间</option> <option value="membernum"$orderby[membernum]>参加人数</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="event"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=event"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[eventid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td width="25">&nbsp;</td> <th>活动名称</th> <th width="80">活动城市</th> <th width="120">活动时间</th> <th width="80">参加/关注</th> <th width="80">发起者</th> <th width="40">操作</th> </tr> <!--{loop $list $value}--> <tr> <td> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[eventid]"> </td> <td> <a href="space.php?do=event&id=$value[eventid]" target="_blank">$value[title]</a> <a class="gray" href="admincp.php?ac=event&grade=$value[grade]"> <!--{if $value[grade] == 0}-->待审核 <!--{elseif $value[grade]==-1}-->未通过审核 <!--{elseif $value[grade]==2}-->推荐 <!--{elseif $value[grade]==-2}-->已关闭 <!--{/if}--> </a> <!--{if $value[hot]}--><span style="color:red;">热度($value[hot])</span><!--{/if}--> </td> <td> <a href="admincp.php?ac=event&province=$value[province]">$value[province]</a> - <a href="admincp.php?ac=event&province=$value[province]&city=$value[city]">$value[city]</a> </td> <td><!--{eval echo sgmdate('m-d',$value[starttime])}--> ~ <!--{eval echo sgmdate('m-d',$value[endtime])}--></td> <td>$value[membernum] / $value[follownum]</td> <td> <a href="space.php?uid=$value[uid]">$value[username]</a> </td> <td> <a href="cp.php?ac=event&op=edit&id=$value[eventid]" target="_blank">编辑</a> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <input type="hidden" name="mpurl" value="$mpurl"> <!--{if $allowbatch && $perpage<=100}--> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 <!--{/if}--> <input id="ckdelete" type="radio" name="optype" value="delete"><label for="ckdelete">删除</label> <input id="ckverify" type="radio" name="optype" value="verify"><label for="ckverify">通过审核</label> <input id="ckdelayverify" type="radio" name="optype" value="delayverify"><label for="ckdelayverify">不通过审核</label> <input id="ckrecommend" type="radio" name="optype" value="recommend"><label for="ckrecommend">推荐</label> <input id="ckunrecommend" type="radio" name="optype" value="unrecommend"><label for="ckunrecommend">取消推荐</label> <input type="submit" name="opsubmit" value="执行操作" onclick="if($('ckdelete').checked){return confirm('本操作不可恢复,确认继续?')};" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/event.htm
HTML
asf20
8,301
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=ip"> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th>允许访问的IP列表</th></tr> <tr> <td> <textarea name="config[ipaccess]" style="width:98%;" rows="8">$configs[ipaccess]</textarea> <br /> 只有当用户处于本列表中的 IP 地址时才可以访问站点,列表以外的地址访问将视为 IP 被禁止。<br/> 每个 IP 一行,既可输入完整地址,也可只输入 IP 开头。<br/> 例如: <br/>"192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255 范围内的所有地址,留空为所有 IP 均可访问。 <br />您当前的IP: $onlineip </td> </tr> <tr><th>禁止访问的IP列表</th></tr> <tr> <td> <textarea name="config[ipbanned]" style="width:98%;" rows="8">$configs[ipbanned]</textarea> <br/> 用户处于本列表中的 IP 地址禁止访问站点。每个 IP 一行,既可输入完整地址,也可只输入 IP 开头。<br/> 例如:<br/> "192.168."(不含引号) 可匹配 192.168.0.0~192.168.255.255 范围内的所有地址<br/> 202.101.98.55<br/> </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="thevaluesubmit" value="提交" class="submit"> </div> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/ip.htm
HTML
asf20
1,726
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr> <th>指定分享ID</th> <td colspan="3"> <input type="text" name="sid" value="$_GET[sid]" /> </td> </tr> <tr><th>事件类型</th><td colspan="3"><input type="text" name="type" value="$_GET[type]"></td> </tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="share"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=share"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[sid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list $value}--> <tr><td width="25"><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[sid]"></td> <td> <p><a href="admincp.php?ac=share&uid=$value[uid]">$value[username]</a> $value[title_template] &nbsp;<!--{date('Y-m-d H:i', $value[dateline])}--><!--{if $value[hot]}--><span style="color:red;">热度($value[hot])</span><!--{/if}--></p> $value[body_template] <br> <a href="admincp.php?ac=comment&id=$value[sid]&idtype=sid">管理评论</a> </td></tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="batchsubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/share.htm
HTML
asf20
3,588
<!--{eval $_TPL['formtypes'] = array('text'=>'文本输入', 'select'=>'单选列表', 'multi'=>'多选列表'); }--> <!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=profilefield"><span>浏览全部栏目</span></a></li> <li class="null"><a href="admincp.php?ac=profilefield&op=add">添加新用户栏目</a></li> </ul> </div> <!--{if empty($thevalue)}--> <form method="post" action="admincp.php?ac=profilefield"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>用户栏目</th> <th>栏目字段名</th> <th>填写类型</th> <th>显示顺序</th> <th width="80">操作</th> </tr> <!--{loop $list $value}--> <tr> <th>$value[title]</th> <th>field_$value[fieldid]</th> <td>{$_TPL[formtypes][$value[formtype]]}</td> <td><input type="text" name="displayorder[{$value[fieldid]}]" value="$value[displayorder]" size="5"></td> <td width="80"> <a href="admincp.php?ac=profilefield&op=edit&fieldid=$value[fieldid]">编辑</a> | <a href="admincp.php?ac=profilefield&op=delete&fieldid=$value[fieldid]" onclick="return confirm('确认删除?');">删除</a></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="submit" name="ordersubmit" value="更新排序" class="submit"> </div> </form> <!--{else}--> <script language="javascript"> function formtypeShow(value) { if(value == 'text') { $('tb_choice').style.display = 'none'; } else { $('tb_choice').style.display = ''; } } </script> <form method="post" action="admincp.php?ac=profilefield&fieldid=$thevalue[fieldid]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:15em;">栏目名称</th><td><input type="text" name="title" value="$thevalue[title]"></td></tr> <tr><th>表单类型</th><td> <select name="formtype" onchange="formtypeShow(this.value)"> <option value="text"$formtypearr[text]>文本输入框</option> <option value="select"$formtypearr[select]>列表框</option> </select> </td></tr> <tbody id="tb_choice"<!--{if $thevalue[formtype]=='text'}--> style="display:none;"<!--{/if}-->> <tr><th>可选值</th><td><textarea name="choice" rows="5" cols="20">$thevalue[choice]</textarea> <br />每行一个值,例如输入:<br />北京<br />上海</td></tr> </tbody> <tr><th>可填写的最多字符</th><td><input type="text" name="maxsize" value="$thevalue[maxsize]" size="5"> (1~255)</td></tr> <tr><th>必填</th><td><input type="radio" name="required" value="0"<!--{if !$thevalue[required]}--> checked<!--{/if}-->> 否 <input type="radio" name="required" value="1"<!--{if $thevalue[required]}--> checked<!--{/if}-->> 是</td></tr> <tr><th>资料页面隐藏</th><td><input type="radio" name="invisible" value="0"<!--{if !$thevalue[invisible]}--> checked<!--{/if}-->> 否 <input type="radio" name="invisible" value="1"<!--{if $thevalue[invisible]}--> checked<!--{/if}-->> 是</td></tr> <tr><th>允许搜索</th><td><input type="radio" name="allowsearch" value="0"<!--{if !$thevalue[allowsearch]}--> checked<!--{/if}-->> 否 <input type="radio" name="allowsearch" value="1"<!--{if $thevalue[allowsearch]}--> checked<!--{/if}-->> 是</td></tr> <tr><th>简单介绍</th><td><input type="text" name="note" value="$thevalue[note]" size="40"></td></tr> <tr><th>显示顺序</th><td><input type="text" name="displayorder" value="$thevalue[displayorder]" size="5"></td></tr> </table> </div> <div class="footactions"> <input type="submit" name="fieldsubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/profilefield.htm
HTML
asf20
4,058
<!--{eval $_TPL['formtypes'] = array('text'=>'文本输入', 'select'=>'单选列表', 'multi'=>'多选列表'); }--> <!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=profield"><span>浏览栏目</span></a></li> <li class="null"><a href="admincp.php?ac=profield&op=add">添加新群组栏目</a></li> </ul> </div> <!--{if $_GET['op'] == 'delete'}--> <form method="post" action="admincp.php?ac=profield&op=delete&fieldid=$_GET[fieldid]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="topactions"> 该栏目删除后,请选择该栏目下面已有的群组会归类到那个新栏目。 </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="150">栏目下的群组新归类</th> <td> <select name="newfieldid"> <!--{loop $newfield $value}--> <option value="$value[fieldid]">$value[title]</option> <!--{/loop}--> </select> </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="deletesubmit" value="确定删除" class="submit"> </div> <!--{else}--> <form method="post" action="admincp.php?ac=profield&fieldid=$thevalue[fieldid]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if empty($thevalue)}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>栏目</th> <th>填写类型</th> <th>显示顺序</th> <th width="80">操作</th> </tr> <!--{loop $list $value}--> <tr> <th>$value[title]</th> <td>{$_TPL[formtypes][$value[formtype]]}</td> <td><input type="text" name="displayorder[{$value[fieldid]}]" value="$value[displayorder]" size="5"></td> <td width="80"> <a href="admincp.php?ac=profield&op=edit&fieldid=$value[fieldid]">编辑</a> | <a href="admincp.php?ac=profield&op=delete&fieldid=$value[fieldid]">删除</a></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="submit" name="ordersubmit" value="更新排序" class="submit"> </div> </form> <!--{else}--> <script language="javascript"> function formtypeShow(value) { if(value != 'select') { $('tb_inputnum').style.display = ''; $('tb_choice').style.display = (value=='text'?'none':''); } else { $('tb_inputnum').style.display = 'none'; $('tb_choice').style.display = ''; } } </script> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:15em;">栏目名称</th><td><input type="text" name="title" value="$thevalue[title]"></td></tr> <tr><th>简单介绍</th><td><input type="text" name="note" value="$thevalue[note]" size="60"></td></tr> <tr><th>群组添加表单类型</th><td> <select name="formtype" onchange="formtypeShow(this.value)"> <option value="text"$formtypearr[text]>文本输入框</option> <option value="select"$formtypearr[select]>单选列表框</option> <option value="multi"$formtypearr[multi]>多选列表框</option> </select> </td></tr> <tbody id="tb_inputnum"<!--{if $thevalue[formtype]=='select'}--> style="display:none;"<!--{/if}-->> <tr><th>用户可加入群组最多个数</th><td><input type="text" name="inputnum" value="$thevalue[inputnum]" size="5"></td></tr> </tbody> <tbody id="tb_choice"<!--{if $thevalue[formtype]=='text'}--> style="display:none;"<!--{/if}-->> <tr><th>可选值</th><td><textarea name="choice" rows="5" cols="20">$thevalue[choice]</textarea> <br />每行一个值,例如输入:<br />北京<br />上海</td></tr> </tbody> <tr> <th>群组讨论区人数下限</th> <td><input type="text" name="mtagminnum" value="$thevalue[mtagminnum]" size="5"> 当群组的成员数达到该数目时,才允许成员在群组内发话题和回帖。</td> </tr> <tr> <th>群组群主手工指定</th> <td> <input type="radio" name="manualmoderator" value="1"<!--{if $thevalue[manualmoderator] == 1}--> checked<!--{/if}-->>手工 <input type="radio" name="manualmoderator" value="0"<!--{if $thevalue[manualmoderator] != '1'}--> checked<!--{/if}-->>自动 <br>如果选择不手工指定,则系统会自动将第一次使用某个群组的用户作为群主。</td> </tr> <tr> <th>群组成员可由群主控制</th> <td> <input type="radio" name="manualmember" value="1"<!--{if $thevalue[manualmember] == 1}--> checked<!--{/if}-->>群主可控制 <input type="radio" name="manualmember" value="0"<!--{if $thevalue[manualmember] != '1'}--> checked<!--{/if}-->>会员可自由加入 <br>群主可控制,则允许群主有权设置群组的会员加入方式,来控制加入群组的会员。</td> </tr> <tr><th>显示顺序</th><td><input type="text" name="displayorder" value="$thevalue[displayorder]" size="5"></td></tr> </table> </div> <div class="footactions"> <input type="submit" name="fieldsubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/profield.htm
HTML
asf20
5,229
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="$turl"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:8em;">选择类型</th> <td> <p><input type="checkbox" id="cachetype1" name="cachetype[]" value="tpl" checked /> <label for="cachetype1" style="font-weight:bold;">模板文件缓存</label></p> <p>当你通过FTP上传或者在线编辑等操作修改了站点模板后,如果显示页面没有及时显示出修改后的效果,你可以通过手工模板缓存操作进行立即更新</p> <br /> <p><input type="checkbox" id="cachetype2" name="cachetype[]" value="block" checked /> <label for="cachetype2" style="font-weight:bold;">模块数据缓存</label></p> <p>站点开启模块数据缓存功能后,站点区块显示数据(如最新日志、最新相册等区块数据)都将进行缓存,以大大提高站点访问速度,降低服务器负载<br /> 通常,这些数据缓存会根据各自模块代码设置的更新间隔自动进行更新,不需要人工更新<br /> 如果你想立即更新所有的模块数据缓存,可以选择本选项<br /> 注意:清空数据缓存后,由于站点需要重新生成各个区块缓存,因此会短时间内对服务器带来很大负载,所以<strong>请选择访问人数较少的时段</strong>进行本操作</p> <br /> <p><input type="checkbox" id="cachetype3" name="cachetype[]" value="database" checked /> <label for="cachetype3" style="font-weight:bold;">系统配置缓存</label></p> <p>系统配置缓存一般情况下都会在后台修改设定后自动更新,一般不需要手工更新。如果站点运行过程中出现错误,你可以尝试更新本缓存</p> <br /> <p><input type="checkbox" id="cachetype4" name="cachetype[]" value="network" checked /> <label for="cachetype4" style="font-weight:bold;">其他缓存</label></p> <p>包括随便看看的数据缓存、用户排行榜的缓存、首页的数据缓存等。</p> </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="cachesubmit" value="缓存更新" class="submit" /> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/cache.htm
HTML
asf20
2,575
<!--{template admin/tpl/header}--> <div class="bdrcontent"> <div class="message"> <!--{if $url_forward}--> <a href="$url_forward">$message</a> <!--{else}--> $message <!--{/if}--> </div> </div> <div class="footactions"> &nbsp; <!--{if $url_forward}--><a href="$url_forward">确定</a> &nbsp; <!--{/if}--><a href="javascript:history.back(-1)">返回上一页</a> &nbsp; <a href="admincp.php">管理首页</a> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/message.htm
HTML
asf20
475
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="bdrcontent"> 如果发现站点某些统计出现问题(比如某些人的日志数有误)时候,才使用本功能进行重新统计。重新统计对服务器负载占用严重,建议选择站点访问人数较少的时候进行。 </div> <br /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:12em;">选择更新统计数类型</th> <td> <select name="counttype"> <option value="blog_replynum">日志回复数</option> <option value="space_friendnum">空间好友数</option> <option value="space_friend">空间好友缓存</option> <option value="mtag_membernum">群组成员数</option> <option value="mtag_threadnum">群组话题数</option> <option value="mtag_postnum">群组回帖数</option> <option value="thread_replynum">话题回复数</option> <option value="album_picnum">相册图片数</option> <option value="tag_blognum">标签日志数</option> </select> </td> </tr> <tr> <th>每次处理个数</th> <td> <input type="text" name="perpage" value="10" size="10"> </td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="ac" value="stat"> <input type="submit" name="countsubmit" value="统计更新" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/stat.htm
HTML
asf20
1,614
<!--{template admin/tpl/header}--> <style type="text/css"> .poster{ max-width: 240px; max-height: 180px;} </style> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=eventclass"><span>浏览全部分类</span></a></li> <li class="null"><a href="admincp.php?ac=eventclass&op=add">添加新活动分类</a></li> </ul> </div> <form method="post" action="admincp.php?ac=eventclass" enctype="multipart/form-data"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if "add" == $_GET['op'] || "edit" == $_GET['op']}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:15em;">分类名称</th> <td><input type="text" name="classname" value="$thevalue[classname]"></td> </tr> <tr> <th>默认海报</th> <td> 活动发起者发起此类型的活动时如果没有上传海报则默认使用此海报 <br /> <img id="posterview" class="poster" src="$thevalue[poster]?v=$_SGLOBAL[timestamp]" alt="默认海报" onerror="this.src='image/event/default.jpg'" /> <a href="#" onclick="$('posterview').src='image/event/default.jpg'; $('delposter').value='1'; return false;">删除</a> <br /> <input type="hidden" id="delposter" name="delposter" value="0" /> <input type="file" name="poster" value=""> </td> </tr> <tr> <th>默认模板</th> <td> 建议活动发起者发起此类型的活动时按此内容模板填写活动介绍 <br /> <textarea name="template" rows="8" cols="80">$thevalue[template]</textarea> </td> </tr> <tr> <th>显示顺序</th> <td> <input type="text" name="displayorder" value="$thevalue[displayorder]" /> </td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="classid" value="$thevalue[classid]" /> <input type="submit" name="eventclasssubmit" value="提交" class="submit"> </div> </form> <!--{elseif "delete" == $_GET['op']}--> <div class="topactions"> 该活动分类删除后,请选择该活动分类下面已有的活动会归类到那个新活动分类。 </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="150">活动分类下的新归类</th> <td> <select name="newclassid"> <!--{loop $list $key $value}--> <!--{if $value}--> <option value="$value[classid]">$value[classname]</option> <!--{/if}--> <!--{/loop}--> </select> </td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="classid" value="$thevalue[classid]" /> <input type="submit" name="deletesubmit" value="确认" class="submit"> </div> </form> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>名称</th> <th>设置海报</th> <th>设置模板</th> <th>显示顺序</th> <th width="80">操作</th> </tr> <!--{loop $list $key=>$value}--> <tr> <th>$value[classname]</th> <td><!--{if $value[poster]=='image/event/default.jpg'}-->否<!--{else}-->是<!--{/if}--></td> <td><!--{if empty($value[template])}-->否<!--{else}-->是<!--{/if}--></td> <td><input type="text" name="displayorder[$key]" value="$value[displayorder]" size="5"></td> <td width="80"> <a href="admincp.php?ac=eventclass&op=edit&classid=$key">编辑</a> | <a onclick="return confirm('确认删除?');" href="admincp.php?ac=eventclass&op=delete&classid=$key">删除</a></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="submit" name="ordersubmit" value="更新排序" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/eventclass.htm
HTML
asf20
4,015
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=privacy"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>系统开放程度</h3> <p>可以根据自己的需求,决定系统的内容开放程度。</p> </div> <table class="formtable"> <tr> <th style="width:12em;">游客开放浏览</th> <td> <input type="radio" name="config[networkpublic]" value="1"<!--{if $configs[networkpublic] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[networkpublic]" value="0"<!--{if $configs[networkpublic] == 0}--> checked<!--{/if}-->>否 <br>用户不需要登录也能浏览随便看看、未设置隐私的个人空间,同时,站内的信息也可以被搜索引擎收录。</td> </tr> </table> <br> <div class="title"> <h3>新用户默认隐私设置</h3> <p>新用户将采用站内的默认隐私设置。用户可以修改自己的隐私设置,以下设置只对其他用户访问个人主页生效</p> </div> <table class="formtable"> <tr> <th style="width:12em;">空间首页</th> <td><select name="privacy[view][index]"> <option value="0"$sels[view][index][0]>全站用户可见</option> <option value="1"$sels[view][index][1]>仅好友可见</option> <option value="2"$sels[view][index][2]>仅自己可见</option> </select></td> </tr> <tr> <th>好友列表</th> <td><select name="privacy[view][friend]"> <option value="0"$sels[view][friend][0]>全站用户可见</option> <option value="1"$sels[view][friend][1]>仅好友可见</option> <option value="2"$sels[view][friend][2]>仅自己可见</option> </select></td> </tr> <tr> <th>留言板</th> <td><select name="privacy[view][wall]"> <option value="0"$sels[view][wall][0]>全站用户可见</option> <option value="1"$sels[view][wall][1]>仅好友可见</option> <option value="2"$sels[view][wall][2]>仅自己可见</option> </select></td> </tr> <tr> <th>个人动态</th> <td><select name="privacy[view][feed]"> <option value="0"$sels[view][feed][0]>全站用户可见</option> <option value="1"$sels[view][feed][1]>仅好友可见</option> </select></td> </tr> <tr> <th>群组</th> <td><select name="privacy[view][mtag]"> <option value="0"$sels[view][mtag][0]>全站用户可见</option> <option value="1"$sels[view][mtag][1]>仅好友可见</option> <option value="2"$sels[view][mtag][2]>仅自己可见</option> </select> </td> </tr> <tr> <th>活动</th> <td><select name="privacy[view][event]"> <option value="0"$sels[view][event][0]>全站用户可见</option> <option value="1"$sels[view][event][1]>仅好友可见</option> </select> </td> </tr> <tr> <th>记录</th> <td><select name="privacy[view][doing]"> <option value="0"$sels[view][doing][0]>全站用户可见</option> <option value="1"$sels[view][doing][1]>仅好友可见</option> </select><br/> 在全站的记录列表中可能会出现记录信息。 </td> </tr> <tr> <th>日志</th> <td><select name="privacy[view][blog]"> <option value="0"$sels[view][blog][0]>全站用户可见</option> <option value="1"$sels[view][blog][1]>仅好友可见</option> </select><br/> 相关浏览权限需要在每篇日志中单独设置方可完全生效。 </td> </tr> <tr> <th>相册</th> <td><select name="privacy[view][album]"> <option value="0"$sels[view][album][0]>全站用户可见</option> <option value="1"$sels[view][album][1]>仅好友可见</option> </select><br/> 相关浏览权限需要在每个相册中单独设置方可完全生效。 </tr> <tr> <th>分享</th> <td><select name="privacy[view][share]"> <option value="0"$sels[view][share][0]>全站用户可见</option> <option value="1"$sels[view][share][1]>仅好友可见</option> </select><br/> 在全站的分享列表中可能会出现分享信息。 </td> </tr> <tr> <th>投票</th> <td><select name="privacy[view][poll]"> <option value="0"$sels[view][poll][0]>全站用户可见</option> <option value="1"$sels[view][poll][1]>仅好友可见</option> </select><br/> 在全站的投票列表中可能会出现投票信息。 </td> </tr> </table> <br> <div class="title"> <h3>默认动态发布设置</h3> <p>设置系统默认将哪些动作发布到个人动态里面。用户可以修改这些默认设置。</p> </div> <table class="formtable"> <tr> <th style="width:12em;">&nbsp;</th> <td><input type="checkbox" name="privacy[feed][doing]" value="1"$sels[feed][doing]>记录</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][blog]" value="1"$sels[feed][blog]>撰写日志</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][upload]" value="1"$sels[feed][upload]>上传图片</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][share]" value="1"$sels[feed][share]>添加分享</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][poll]" value="1"$sels[feed][poll]>发起投票</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][joinpoll]" value="1"$sels[feed][joinpoll]>参与投票</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][thread]" value="1"$sels[feed][thread]>发起话题</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][post]" value="1"$sels[feed][post]>对话题回复</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][mtag]" value="1"$sels[feed][mtag]>加入群组</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][event]" value="1"$sels[feed][event]>组织活动</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][join]" value="1"$sels[feed][join]>参加活动</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][friend]" value="1"$sels[feed][friend]>添加好友</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][comment]" value="1"$sels[feed][comment]>发表评论/留言</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][show]" value="1"$sels[feed][show]>竞价排名</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][credit]" value="1"$sels[feed][credit]>积分消费</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][spaceopen]" value="1"$sels[feed][spaceopen]>新空间开通</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][invite]" value="1"$sels[feed][invite]>邀请好友</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][task]" value="1"$sels[feed][task]>完成任务</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][profile]" value="1"$sels[feed][profile]>更新个人资料</td> </tr> <tr> <th>&nbsp;</th> <td><input type="checkbox" name="privacy[feed][click]" value="1"$sels[feed][click]>对日志/图片/话题表态</td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="thevaluesubmit" value="提交" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/privacy.htm
HTML
asf20
7,989
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=block"><span>浏览全部模块</span></a></li> <li class="null"><a href="admincp.php?ac=block&op=add">添加新模块</a></li> </ul> </div> <!--{if empty($_GET['op'])}--> <div class="bdrcontent"> <p>数据调用,会将站内的数据,通过你编写的查询SQL语句,进行查询并读取出来,生成一段调用代码。 你将调用代码(模板内嵌,或者JS调用都可以)放置到站点页面上便可以将相应的查询结果展示给访客了, 从而可以实现站内任意数据的显示调用。</p> </div> <br /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>名称</th> <th width="220">调用代码</th> <th width="180">操作</th> </tr> <!--{loop $list $value}--> <tr> <td>$value[blockname]</td> <td><a href="$turl&op=tpl&id=$value[bid]">模块内嵌代码</a> | <a href="$turl&op=js&id=$value[bid]">Javascript调用代码</a></td> <td><a href="$turl&op=blocksql&id=$value[bid]">编辑SQL</a> | <a href="$turl&op=code&id=$value[bid]">参数设置</a> | <a href="$turl&op=delete&id=$value[bid]">删除</a></td> </tr> <!--{/loop}--> <tr><td colspan="3"><div class="pages">$multi</div></td></tr> </table> </div> <!--{elseif $_GET['op'] == 'add' || $_GET['op'] == 'blocksql'}--> <form method="post" action="$turl" id="sqlform"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="tabs_header"id="sqlGuide" style="display:none;"> <ul class="tabs"> <li id="li_<!--{eval echo tname('blog');}-->"><a id="a_select_<!--{eval echo tname('blog');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('blog');}-->');"><span>日志</span></a></li> <li id="li_<!--{eval echo tname('album');}-->"><a id="a_select_<!--{eval echo tname('album');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('album');}-->');"><span>相册</span></a></li> <li id="li_<!--{eval echo tname('thread');}-->"><a id="a_select_<!--{eval echo tname('thread');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('thread');}-->');"><span>话题</span></a></li> <li id="li_<!--{eval echo tname('feed');}-->"><a id="a_select_<!--{eval echo tname('feed');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('feed');}-->');"><span>动态</span></a></li> <li id="li_<!--{eval echo tname('space');}-->"><a id="a_select_<!--{eval echo tname('space');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('space');}-->');"><span>用户</span></a></li> <li id="li_<!--{eval echo tname('pic');}-->"><a id="a_select_<!--{eval echo tname('pic');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('pic');}-->');"><span>照片</span></a></li> <li id="li_<!--{eval echo tname('mtag');}-->"><a id="a_select_<!--{eval echo tname('mtag');}-->" href="javascript:void(0);" onclick="javascript:showSQLDiv('<!--{eval echo tname('mtag');}-->');"><span>群组</span></a></li> <li id="li_sqlDiy"><a id="a_select_sqlDiy" href="javascript:void(0);" onclick="javascript:showSQLDiv('sqlDiy');"><span>手写SQL</span></a></li> </ul> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:10em;">模块名称</th><td><input type="text" name="blockname" value="$block[blockname]"></td></tr> </table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['blog']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tr><th>指定日志blogid</th><td> <input type="radio" name="sqluseid_{$sqlTables['blog']}" value="0" onclick="javascript:setRadioValue('{$sqlTables['blog']}_where', '{$sqlTables['blog']}_ids');" checked />不指定 <input type="radio" name="sqluseid_{$sqlTables['blog']}" value="1" onclick="javascript:setRadioValue('{$sqlTables['blog']}_ids', '{$sqlTables['blog']}_where');" />指定 <input type="hidden" id="{$sqlTables['blog']}_id" value="blogid" /> </td></tr> <tbody id="{$sqlTables['blog']}_ids" style="display:none;"> <tr><th>日志blogid</th><td><input type="text" id="{$sqlTables['blog']}_where_blogid" value="" /> 多个日志的 blogid 请用“,”格开</td></tr> </tbody> <tbody id="{$sqlTables['blog']}_where"> <tr><th>指定作者uid</th><td><input type="text" id="{$sqlTables['blog']}_where_uid" value="" /> 多个用户的 uid 请用“,”格开</td></tr> <tr><th>查看数范围</th><td><input type="text" id="{$sqlTables['blog']}_where_viewnum_min" value="" /> ~ <input type="text" id="{$sqlTables['blog']}_where_viewnum_max" value="" /></td></tr> <tr><th>回复数范围</th><td><input type="text" id="{$sqlTables['blog']}_where_replynum_min" value="" /> ~ <input type="text" id="{$sqlTables['blog']}_where_replynum_max" value="" /></td></tr> <tr><th>发布时间</th><td><select id="{$sqlTables['blog']}_where_dateline"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>是否有图片</th><td><select id="{$sqlTables['blog']}_where_picflag"> <option value="null">全部</option> <option value="1">有图片</option> </select></td></tr> <tr><th>隐私范围</th><td><select id="{$sqlTables['blog']}_where_friend"> <option value="0">全站用户可见</option> <option value="null">全部</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['blog']}_order_key_1"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['blog']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第二排序</th><td><select id="{$sqlTables['blog']}_order_key_2"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['blog']}_order_value_2"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第三排序</th><td><select id="{$sqlTables['blog']}_order_key_3"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['blog']}_order_value_3"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['album']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tr><th>指定相册albumid</th><td> <input type="radio" name="sqluseid_{$sqlTables['album']}" value="0" onclick="javascript:setRadioValue('{$sqlTables['album']}_where', '{$sqlTables['album']}_ids');" checked />不指定 <input type="radio" name="sqluseid_{$sqlTables['album']}" value="1" onclick="javascript:setRadioValue('{$sqlTables['album']}_ids', '{$sqlTables['album']}_where');" />指定 <input type="hidden" id="{$sqlTables['album']}_id" value="albumid" /> </td></tr> <tbody id="{$sqlTables['album']}_ids" style="display:none;"> <tr><th>相册albumid</th><td><input type="text" id="{$sqlTables['album']}_where_albumid" value="" /> 多个相册的 albumid 请用“,”格开</td></tr> </tbody> <tbody id="{$sqlTables['album']}_where"> <tr><th>指定作者uid</th><td><input type="text" id="{$sqlTables['album']}_where_uid" value="" /> 多个用户的 uid 请用“,”格开</td></tr> <tr><th>照片数量范围</th><td><input type="text" id="{$sqlTables['album']}_where_picnum_min" value="" /> ~ <input type="text" id="{$sqlTables['album']}_where_picnum_max" value="" /></td></tr> <tr><th>发布时间</th><td><select id="{$sqlTables['album']}_where_dateline"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>更新时间</th><td><select id="{$sqlTables['album']}_where_updatetime"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>是否有图片</th><td><select id="{$sqlTables['album']}_where_picflag"> <option value="1">有图片</option> <option value="null">全部</option> </select></td></tr> <tr><th>隐私范围</th><td><select id="{$sqlTables['album']}_where_friend"> <option value="0">全站用户可见</option> <option value="null">所有</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['album']}_order_key_1"> <option value="null">请选择</option> <option value="picnum">照片数量</option> <option value="updatetime">更新时间</option> <option value="dateline">创建时间</option> </select> <select id="{$sqlTables['album']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第二排序</th><td><select id="{$sqlTables['album']}_order_key_2"> <option value="null">请选择</option> <option value="picnum">照片数量</option> <option value="updatetime">更新时间</option> <option value="dateline">创建时间</option> </select> <select id="{$sqlTables['album']}_order_value_2"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第三排序</th><td><select id="{$sqlTables['album']}_order_key_3"> <option value="null">请选择</option> <option value="picnum">照片数量</option> <option value="updatetime">更新时间</option> <option value="dateline">创建时间</option> </select> <select id="{$sqlTables['album']}_order_value_3"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['thread']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tr><th>话题threadid</th><td> <input type="radio" name="sqluseid_{$sqlTables['thread']}" value="0" onclick="javascript:setRadioValue('{$sqlTables['thread']}_where', '{$sqlTables['thread']}_ids');" checked />不指定 <input type="radio" name="sqluseid_{$sqlTables['thread']}" value="1" onclick="javascript:setRadioValue('{$sqlTables['thread']}_ids', '{$sqlTables['thread']}_where');" />指定 <input type="hidden" id="{$sqlTables['thread']}_id" value="tid" /> </td></tr> <tbody id="{$sqlTables['thread']}_ids" style="display:none;"> <tr><th>话题threadid</th><td><input type="text" id="{$sqlTables['thread']}_where_tid" value="" /> 多个话题的 threadid 请用“,”格开</td></tr> </tbody> <tbody id="{$sqlTables['thread']}_where"> <tr><th>指定作者uid</th><td><input type="text" id="{$sqlTables['thread']}_where_uid" value="" /> 多个用户的 uid 请用“,”格开</td></tr> <tr><th>指定群组tagid</th><td><input type="text" id="{$sqlTables['thread']}_where_tagid" value="" /> 多个群组的 tagid 请用“,”格开</td></tr> <tr><th>话题查看数范围</th><td><input type="text" id="{$sqlTables['thread']}_where_viewnum_min" value="" /> ~ <input type="text" id="{$sqlTables['thread']}_where_viewnum_max" value="" /></td></tr> <tr><th>话题回复数范围</th><td><input type="text" id="{$sqlTables['thread']}_where_replynum_min" value="" /> ~ <input type="text" id="{$sqlTables['thread']}_where_replynum_max" value="" /></td></tr> <tr><th>发布时间</th><td><select id="{$sqlTables['thread']}_where_dateline"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>是否置顶</th><td><select id="{$sqlTables['thread']}_where_displayorder"> <option value="null">全部</option> <option value="1">置顶</option> </select></td></tr> <tr><th>是否精华话题</th><td><select id="{$sqlTables['thread']}_where_digest"> <option value="null">全部</option> <option value="1">精华</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['thread']}_order_key_1"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['thread']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第二排序</th><td><select id="{$sqlTables['thread']}_order_key_2"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['thread']}_order_value_2"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第三排序</th><td><select id="{$sqlTables['thread']}_order_key_3"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="replynum">回复数</option> <option value="dateline">发布时间</option> </select> <select id="{$sqlTables['thread']}_order_value_3"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['feed']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tbody id="{$sqlTables['feed']}_where"> <tr><th>动态feedid</th><td><input type="text" id="{$sqlTables['feed']}_where_feedid" value="" /> 多个动态的 feedid 请用“,”格开</td></tr> <tr><th>动态类型</th><td><select id="{$sqlTables['feed']}_where_appid"> <option value="null">全部</option> <option value="0">站内</option> <option value="1">应用</option> </select></td></tr> <tr><th>隐私范围</th><td><select id="{$sqlTables['feed']}_where_friend"> <option value="0">全站用户可见</option> <option value="null">全部</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['feed']}_order_key_1"> <option value="null">请选择</option> <option value="dateline">产生时间</option> </select> <select id="{$sqlTables['feed']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['space']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tr><th>指定用户uid</th><td> <input type="radio" name="sqluseid_{$sqlTables['space']}" value="0" onclick="javascript:setRadioValue('{$sqlTables['space']}_where', '{$sqlTables['space']}_ids');" checked />不指定 <input type="radio" name="sqluseid_{$sqlTables['space']}" value="1" onclick="javascript:setRadioValue('{$sqlTables['space']}_ids', '{$sqlTables['space']}_where');" />指定 <input type="hidden" id="{$sqlTables['space']}_id" value="uid" /> </td></tr> <tbody id="{$sqlTables['space']}_ids" style="display:none;"> <tr><th>用户uid</th><td><input type="text" id="{$sqlTables['space']}_where_uid" value="" /> 多个用户的 uid 请用“,”格开</td></tr> </tbody> <tbody id="{$sqlTables['space']}_where"> <tr><th>积分数范围</th><td><input type="text" id="{$sqlTables['space']}_where_credit_min" value="" /> ~ <input type="text" id="{$sqlTables['space']}_where_credit_max" value="" /></td></tr> <tr><th>指定用户组</th><td> <table cellpadding="0" cellspacing="0" class="formtable"><tr> <!--{eval $i = 0;}--> <!--{loop $usergrouparr $gid $value}--> <!--{if !empty($i) && 0 == $i % 3}--></tr><tr><!--{/if}--> <td><input type="checkbox" name="{$sqlTables['space']}_where_groupid_{$gid}" value="$gid" id="{$sqlTables['space']}_where_groupid_{$gid}" /> <label for="{$sqlTables['space']}_where_groupid_{$gid}" style="cursor:pointer;">$value[grouptitle]</label></td> <!--{eval $i ++;}--> <!--{/loop}--> </tr></table> </td></tr> <tr><th>查看数范围</th><td><input type="text" id="{$sqlTables['space']}_where_viewnum_min" value="" /> ~ <input type="text" id="{$sqlTables['space']}_where_viewnum_max" value="" /></td></tr> <tr><th>好友数范围</th><td><input type="text" id="{$sqlTables['space']}_where_friendnum_min" value="" /> ~ <input type="text" id="{$sqlTables['space']}_where_friendnum_max" value="" /></td></tr> <tr><th>是否实名认证</th><td><select id="{$sqlTables['space']}_where_namestatus"> <option value="null">全部</option> <option value="1">已认证</option> </select></td></tr> <tr><th>建立时间</th><td><select id="{$sqlTables['space']}_where_dateline"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>更新时间</th><td><select id="{$sqlTables['space']}_where_updatetime"> <option value="0" selected>---不限制---</option> <option value="86400">一天以来</option> <option value="172800">两天以来</option> <option value="604800">一周以来</option> <option value="1209600">两周以来</option> <option value="2592000">一个月以来</option> <option value="7948800">三个月以来</option> <option value="15897600">六个月以来</option> <option value="31536000">一年以来</option> </select></td></tr> <tr><th>是否有头像</th><td><select id="{$sqlTables['space']}_where_avatar"> <option value="null">全部</option> <option value="1">有</option> </select></td></tr> <tr><th>用户性别</th><td><select id="{$sqlTables['space']}_where_sex"> <option value="null">全部</option> <option value="1">男</option> <option value="2">女</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['space']}_order_key_1"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="friendnum">好友数</option> <option value="updatetime">最后更新</option> <option value="lastlogin">最后登录时间</option> <option value="credit">积分数</option> <option value="dateline">开通时间</option> </select> <select id="{$sqlTables['space']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第二排序</th><td><select id="{$sqlTables['space']}_order_key_2"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="friendnum">好友数</option> <option value="updatetime">最后更新</option> <option value="lastlogin">最后登录时间</option> <option value="credit">积分数</option> <option value="dateline">开通时间</option> </select> <select id="{$sqlTables['space']}_order_value_2"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr> <tr><th>第三排序</th><td><select id="{$sqlTables['space']}_order_key_3"> <option value="null">请选择</option> <option value="viewnum">查看数</option> <option value="friendnum">好友数</option> <option value="updatetime">最后更新</option> <option value="lastlogin">最后登录时间</option> <option value="credit">积分数</option> <option value="dateline">开通时间</option> </select> <select id="{$sqlTables['space']}_order_value_3"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['mtag']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tr><th>指定群组tagid</th><td> <input type="radio" name="sqluseid_{$sqlTables['mtag']}" value="0" onclick="javascript:setRadioValue('{$sqlTables['mtag']}_where', '{$sqlTables['mtag']}_ids');" checked />不指定 <input type="radio" name="sqluseid_{$sqlTables['mtag']}" value="1" onclick="javascript:setRadioValue('{$sqlTables['mtag']}_ids', '{$sqlTables['mtag']}_where');" />指定 <input type="hidden" id="{$sqlTables['mtag']}_id" value="tagid" /> </td></tr> <tbody id="{$sqlTables['mtag']}_ids" style="display:none;"> <tr><th>群组tagid</th><td><input type="text" id="{$sqlTables['mtag']}_where_tagid" value="" /> 多个群组的 tagid 请用“,”格开</td></tr> </tbody> <tbody id="{$sqlTables['mtag']}_where"> <tr><th>群组人数</th><td><input type="text" id="{$sqlTables['mtag']}_where_membernum_min" value="" /> ~ <input type="text" id="{$sqlTables['mtag']}_where_membernum_max" value="" /></td></tr> <tr><th>群组分类</th><td> <table cellpadding="0" cellspacing="0" class="formtable"><tr> <!--{eval $i = 0;}--> <!--{loop $list $value}--> <!--{if !empty($i) && 0 == $i % 3}--></tr><tr><!--{/if}--> <td><input type="checkbox" name="{$sqlTables['mtag']}_where_fieldid_{$value[fieldid]}" value="{$value[fieldid]}" id="{$sqlTables['mtag']}_where_fieldid_{$value[fieldid]}" /> <label for="{$sqlTables['mtag']}_where_fieldid_{$value[fieldid]}" style="cursor:pointer;">$value[title]</label></td> <!--{eval $i ++;}--> <!--{/loop}--> </tr></table> </td></tr> <tr><th>群组权限</th><td><select id="{$sqlTables['mtag']}_where_joinperm"> <option value="null">全部</option> <option value="1">允许所有人可加入</option> </select></td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['mtag']}_order_key_1"> <option value="null">请选择</option> <option value="membernum">群组人数</option> </select> <select id="{$sqlTables['mtag']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="{$sqlTables['pic']}" style="display:none;"> <tr><th style="width:10em;">过滤设置</th><td></td></tr> <tbody id="{$sqlTables['pic']}_where"> <tr><th>相册albumid</th><td><input type="text" id="{$sqlTables['pic']}_where_albumid" value="" /> 多个相册的 albumid 请用“,”格开</td></tr> <tr><th>用户uid</th><td><input type="text" id="{$sqlTables['pic']}_where_uid" value="" /> 多个用户的 uid 请用“,”格开</td></tr> </tbody> <tr><th>排序设置</th><td></td></tr> <tr><th>第一排序</th><td><select id="{$sqlTables['pic']}_order_key_1"> <option value="null">请选择</option> <option value="dateline">上传时间</option> </select> <select id="{$sqlTables['pic']}_order_value_1"> <option value="null">请选择</option> <option value="ASC">递增</option> <option value="DESC">递减</option> </select></td></tr></table> <table cellspacing="0" cellpadding="0" class="formtable" id="sqlDiy" style="display:none;"> <tr><th style="width:10em;">数据调用SQL</th><td><textarea id="blocksql" name="blocksql" style="width:98%;" rows="6">$block[blocksql]</textarea> <br />本功能需要你掌握一定的SQL编写知识。 <br />本数据调用只支持编写 SELECT 开头的查询SQL。 <br />SQL语句中需要使用完整的表名。如果想调用非本程序数据库中的表,在表名前面增加数据库名即可。例如: <br />1. 查询读取最新的日志 (假如表名前缀为默认的 uchome_) <br />SELECT * FROM uchome_blog ORDER BY dateline DESC <br />2. 查询读取论坛的最新帖子 (假如论坛安装在discuz数据库,表名前缀为 cdb_) <br />SELECT * FROM discuz.cdb_threads ORDER BY dateline DESC </td></tr> </table> </div> <div class="footactions"> <input type="hidden" name="bid" value="$block[bid]"> <input type="submit" name="valuesubmit" value="提交" class="submit"> </div> <script language="javascript" type="text/javascript"> var curMod = ''; var tableFields = ['uid', 'feedid', 'tagid', 'albumid']; var sqls = []; var tablePre = '{$_SC['tablepre']}'; <!--{loop $sqls $key $value}--> sqls['$key'] = '$value'; <!--{/loop}--> $('sqlform').onsubmit = function() { var frmObj = $('sqlform'); var eLen = frmObj.elements.length; var whereArr = []; var orderKeys = []; var orderValues = []; var orderArr = []; var tmpArr = []; var groupidArr = []; var fieldidArr = []; var preReg = new RegExp(tablePre, 'ig'); var tableName = curMod.replace(preReg, ''); var timeFields = ['dateline', 'updatetime']; var str = ''; var whereOrder = ''; if('' == curMod || 'undefined' == typeof(sqls[tableName])) { return; } var tReg = new RegExp('_([a-zA-Z0-9]*)', 'ig'); for(var i = 0; i < eLen; i ++) { if('' == frmObj.elements[i].value || 'null' == frmObj.elements[i].value) { continue; } tmpArr.length = 0; str = (frmObj.elements[i].id).replace(curMod, ''); if(frmObj.elements[i].id != str) { str.replace(tReg, function($0, $1) { tmpArr[tmpArr.length] = $1; }); if('where' == tmpArr[0]) { if('min' == tmpArr[2]) { minv = parseInt(frmObj.elements[i].value); if(isNaN(minv)) { continue; } whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`>'" + minv + "'"); } else if('max' == tmpArr[2]) { maxv = parseInt(frmObj.elements[i].value); if(isNaN(maxv)) { continue; } whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`<'" + maxv + "'"); } else { if(-1 != in_array(tmpArr[1], tableFields)) { whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "` in ('" + ((frmObj.elements[i].value).split(',')).join("','") + "')"); } else if('groupid' == tmpArr[1]) { groupid = parseInt(tmpArr[2]); if(isNaN(groupid) || !frmObj.elements[i].checked) { continue; } groupidArr.push(tmpArr[2]); } else if('fieldid' == tmpArr[1]) { fieldid = parseInt(tmpArr[2]); if(isNaN(fieldid) || !frmObj.elements[i].checked) { continue; } fieldidArr.push(tmpArr[2]); } else if('appid' == tmpArr[1]) { appid = parseInt(frmObj.elements[i].value); if(isNaN(appid)) { continue; } if(0 == appid) { whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`='0'"); } else { whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`>'0'"); } } else if('sex' == tmpArr[1]) { whereArr.push("`spacefield`.`sex`='" + parseInt(frmObj.elements[i].value) + "'"); } else if(-1 != in_array(tmpArr[1], timeFields)) { if(0 < frmObj.elements[i].value) { whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`>'[" + frmObj.elements[i].value + "]'"); } } else { whereArr.push("`" + tableName + "`.`" + tmpArr[1] + "`='" + frmObj.elements[i].value + "'"); } } } else if('order' == tmpArr[0]) { if('key' == tmpArr[1]) { orderKeys[frmObj.elements[i].value] = tmpArr[2]; } else if('value' == tmpArr[1]) { orderValues[tmpArr[2]] = frmObj.elements[i].value; } } } } if(0 < groupidArr.length) { whereArr.push("`" + tableName + "`.`groupid` in ('" + groupidArr.join("','") + "')"); } if(0 < fieldidArr.length) { whereArr.push("`" + tableName + "`.`fieldid` in ('" + fieldidArr.join("','") + "')"); } for(var i in orderKeys) { if(null != orderValues[orderKeys[i]]) { orderArr.push("`" + tableName + "`.`" + i + "` " + orderValues[orderKeys[i]]); } } // 如果是只使用了ID,则把where清空 if($(curMod + '_ids') && 'none' != $(curMod + '_ids').style.display) { whereArr.length = 0; var whereId = $(curMod + '_where_' + $(curMod + '_id').value).value; if('' != whereId) { whereArr.push("`" + tableName + "`.`" + $(curMod + '_id').value + "` in ('" + (whereId.split(",")).join("','") + "')"); } } if(0 < whereArr.length) { whereOrder += ' WHERE ' + whereArr.join(' AND '); } if(0 < orderArr.length) { whereOrder += " ORDER BY " + orderArr.join(", "); } $('blocksql').value = sqls[tableName].replace(/WHEREORDER/g, whereOrder); } function in_array(ineedle, haystack, caseinsensitive) { var needle = new String(ineedle); if(needle.Length == 0) return -1; if(caseinsensitive) { needle = needle.toLowerCase(); for(var i in haystack) { if(haystack[i].toLowerCase() == needle) { return i; } } } else { for(var i in haystack) { if(haystack[i] == needle) { return i; } } } return -1; } function setRadioValue(showid, hiddenid) { if($(showid)) { $(showid).style.display = ''; } if($(hiddenid)) { $(hiddenid).style.display = 'none'; } } function showSQLDiv(sid) { var sObj = $(sid); if('' != curMod) { $(curMod).style.display = 'none'; $('li_' + curMod).className = ''; } $('li_' + sid).className = 'active'; sObj.style.display = ''; curMod = sid; } <!--{if 'blocksql' == $_GET['op']}--> $('sqlDiy').style.display = ''; <!--{else}--> $('sqlGuide').style.display = ''; showSQLDiv('{$sqlTables['blog']}'); <!--{/if}--> </script> </form> <br /> <div class="bdrcontent"> <div class="title"> <h3>数据字典参考</h3> <p>以下是本程序的数据库的数据表名以及字段列表,供你编写查询语句的时候参考。每个字段的具体含义,请参考程序包中的《数据字典》文档</p> </div> <!--{loop $tables $key $value}--> <br /> <ul class="listcol list4col"> <b>$key</b> <!--{loop $value $subkey $subvalue}--> <li>$subvalue</li> <!--{/loop}--> </ul> <!--{/loop}--> </div> <!--{elseif $_GET['op'] == 'code'}--> <form method="post" action="$turl"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:10em;">查询SQL语句</th><td> $block[blocksql] <br />[<a href="$turl&op=blocksql&id=$block[bid]">编辑SQL</a>] </td></tr> <tr><th>变量名</th><td>{$phptag}_SBLOCK['<input type="text" name="cachename" id="cachename" value="$block[cachename]" style="width: 60px;">']</td></tr> <tr><th>缓存时间</th><td><input type="text" name="cachetime" value="$block[cachetime]" size="5"> 秒 <br />设置一个缓存时间间隔,该模块数据将自动在指定的时间间隔内更新数据。 <br />缓存时间设置越大,对服务器的负载就越小,但数据的及时性就不够。 <br />设置为0,则不使用缓存,实时更新,这样会严重增加服务器负载。</td></tr> <tr><th>获取数目</th><td> <input id="ra_start_num" name="num_option" type="radio" onclick="show_num_option()"<!--{if !$block[perpage]}--> checked="checked"<!--{/if}-->><label for="ra_start_num">获取满足条件的部分数据</label> &nbsp;&nbsp; <input id="ra_perpage" name="num_option" type="radio" onclick="show_num_option()"<!--{if $block[perpage]}--> checked="checked"<!--{/if}-->><label for="ra_perpage">获取全部数据,分页显示</label><br /> <p id="op_start_num"<!--{if $block[perpage]}--> style="display:none"<!--{/if}-->> 获取满足条件的第<input type="text" name="startnum" value="$block[startnum]" size="5"> 至 <input type="text" name="num" value="$block[num]" size="5"> 条数据 </p> <p id="op_perpage"<!--{if !$block[perpage]}--> style="display:none"<!--{/if}-->> 每页显示 <input type="text" name="perpage" value="$block[perpage]" size="5"> 条 </p> </td></tr> <tr><th>数据显示HTML代码</th><td> <textarea name="htmlcode" id="htmlcode" style="width:98%;" rows="10">$block[htmlcode]</textarea> <br />用html语言,编写数据的显示样式。 <br />获取到的数据存放在数组 {$phptag}_SBLOCK[变量名] 中(将“变量名”替换为你在上面设定的变量名),可以使用 loop 语法对该数组变量进行循环展示。请参考程序包中《数据调用》文档。 </td></tr> <!--{if $colnames}--> <tr><th>数据预览</th><td> <input type="button" class="submit" id="preview" name="preview" value="预览" /> <div id="previewBlock" style="border:1px solid #BBB;padding:2px;margin-top:3px;">数据预览</div></td></tr> <tr><th>可调用字段实例</th> <td> <table cellspacing="1" cellpadding="0" bgcolor="#CCCCCC"> <tr bgcolor="#F3F3F3"><th>&nbsp;字段名 </th><th>&nbsp;数据实例&nbsp;</th></tr> <!--{loop $colnames $key $value}--> <tr><td bgcolor="#F5F5F5">&nbsp;$key&nbsp;</td><td bgcolor="#FFFFFF">&nbsp;$value&nbsp;</td></tr> <!--{/loop}--> </table> </td></tr> <!--{/if}--> </table> </div> <div class="footactions"> <input type="hidden" name="bid" value="$block[bid]"> <input type="submit" name="codesubmit" value="提交" class="submit"> </div> </form> <script language="javascript" type="text/javascript"> $('cachename').onkeyup = function() { var blockReg = new RegExp('\\$\\_SBLOCK\\[(.*?)\\]', 'ig'); var cname = $('cachename').value; var htmvalue = $('htmlcode').value; htmvalue = htmvalue.replace(blockReg, function($0, $1) { $1 = cname; return '$' + '_SBLOCK[' + $1 + ']'; }); $('htmlcode').value = htmvalue; } <!--{if $colnames}--> var colname = {}; <!--{loop $colnames $key $value}--> colname['$key'] = '<!--{eval echo addcslashes($value, '\'\\');}-->'; <!--{/loop}--> $('preview').onclick = function() { var html = $('htmlcode').value; var loopReg2 = /\<\!\-\-\{loop\s+(\S+)\s+\$(\S+)\}\-\-\>/ig; var loopReg3 = /\<\!\-\-\{loop\s+(\S+)\s+\$(\S+)\s+\$(\S+)\}\-\-\>/ig; var varReg = /\$(([a-zA-Z_]+)(\[[a-zA-Z0-9_\-\.\"\'\[\]\$]+\])*)/ig; var reg = ''; html = html.replace(loopReg2, function($0, $1, $2) { reg = $2; return ''; }); if('' == reg) { html = html.replace(loopReg3, function($0, $1, $2, $3) { reg = $3; return ''; }) } eval(reg + ' = colname'); html = html.replace(varReg, function($0, $1, $2, $3) { key = $3.match(/(\w+)/ig); return eval($2 + '["' + key + '"]'); }); $('previewBlock').innerHTML = html; } <!--{/if}--> function show_num_option(){ if($('ra_perpage').checked) { var inputs = $('op_start_num').getElementsByTagName('input'); for(var i = 0, L=inputs.length; i < L; i++) { inputs[i].value = '0'; } $('op_perpage').style.display = ""; $('op_start_num').style.display = "none"; } else { var inputs = $('op_perpage').getElementsByTagName('input'); for(var i = 0, L=inputs.length; i < L; i++) { inputs[i].value = '0'; } $('op_perpage').style.display = "none"; $('op_start_num').style.display = ""; } } </script> <!--{elseif $_GET['op'] == 'tpl'}--> <div class="bdrcontent"> <div class="title"><h3>模版调用代码</h3></div> <table cellspacing="0" cellpadding="0" width="100%"> <tr><td>请将以下代码复制,放到站点模板的任意页面的指定位置即可。</td></tr> <tr><td><input type="text" name="blockcode" value="$code" size="80"></td></tr> </table> </div> <!--{elseif $_GET['op'] == 'js'}--> <div class="bdrcontent"> <div class="title"><h3>Javascript调用代码</h3></div> <table cellspacing="0" cellpadding="0" width="100%"> <tr><td><textarea name="blockcode" style="width:98%;" rows="5">$code</textarea></td></tr> </table> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/block.htm
HTML
asf20
39,759
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr><th>标题*</th><td><input type="text" name="subject" value="$_GET[subject]"></td> <th>内容*</th><td><input type="text" name="message" value="$_GET[message]">*表示支持模糊查询</td> </tr> <tr> <th>公开性质</th><td> <select name="friend"> <option value="">不限</option> <option value="0"<!--{if $_GET[friend] == '0'}--> selected<!--{/if}-->>全站用户可见</option> <option value="1"<!--{if $_GET[friend] == '1'}--> selected<!--{/if}-->>全好友可见</option> <option value="2"<!--{if $_GET[friend] == '2'}--> selected<!--{/if}-->>仅指定的好友可见</option> <option value="3"<!--{if $_GET[friend] == '3'}--> selected<!--{/if}-->>仅自己可见</option> <option value="4"<!--{if $_GET[friend] == '4'}--> selected<!--{/if}-->>凭密码查看</option> </select> </td> <th>发布IP</th><td colspan="3"><input type="text" name="postip" value="$_GET[postip]"></td> </tr> <tr> <th>指定日志ID</th> <td colspan="3"> <input type="text" name="blogid" value="$_GET[blogid]" /> </td> </tr> <tr><th>查看数</th><td colspan="3"> <input type="text" name="viewnum1" value="$_GET[viewnum1]" size="10"> ~ <input type="text" name="viewnum2" value="$_GET[viewnum2]" size="10"> </td></tr> <tr><th>回复数</th><td colspan="3"> <input type="text" name="replynum1" value="$_GET[replynum1]" size="10"> ~ <input type="text" name="replynum2" value="$_GET[replynum2]" size="10"> </td></tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="viewnum"$orderby[viewnum]>查看数</option> <option value="replynum"$orderby[replynum]>回复数</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="blog"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" id="batchform" action="admincp.php?ac=blog"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[blogid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><td width="25">&nbsp;</td><th>标题</th><th width="80">操作</th></tr> <!--{loop $list $value}--> <tr> <td> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[blogid]"> </td> <td> <a href="space.php?uid=$value[uid]&do=blog&id=$value[blogid]" target="_blank">$value[subject]</a> <!--{if $value[friend]}-->[<a href="admincp.php?ac=blog&friend=$value[friend]">$value[friend]</a>]<!--{/if}--> <p class="gray"> <a href="admincp.php?ac=blog&uid=$value[uid]">$value[username]</a><!--{if $value[postip]}-->(<a href="admincp.php?ac=blog&postip=$value[postip]">$value[postip]</a>)<!--{/if}--> &nbsp; <!--{date('Y-m-d H:i',$value[dateline])}--> <br>热度({$value[hot]}) / 回复({$value[replynum]}) / 查看({$value[viewnum]}) </p> </td> <td> <a href="cp.php?ac=blog&op=edit&blogid=$value[blogid]" target="_blank">编辑</a>&nbsp; <a href="admincp.php?ac=comment&id=$value[blogid]&idtype=blogid">评论</a> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="batchsubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/blog.htm
HTML
asf20
5,615
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if $allowmanage}--> <div class="tabs_header"> <ul class="tabs"> <li$actives[all]><a href="admincp.php?ac=feed"><span>浏览全部动态</span></a></li> <li$actives[site]><a href="admincp.php?ac=feed&uid=0"><span>浏览全局动态</span></a></li> <li class="null"><a href="admincp.php?ac=feed&op=add">发布全局动态</a></li> </ul> </div> <!--{/if}--> <!--{if $_GET['op']!='add'}--> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr><th>动态(feedid)</th><td><input type="text" name="feedid" value="$_GET[feedid]"></td> <th>动态类型(icon)</th><td><input type="text" name="icon" value="$_GET[icon]"></td> </tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>热度范围</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="feed"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{else}--> <div class="bdrcontent"> 全局动态,就是会在站内任何一个成员的好友动态里面都会出现的动态,每个成员都能第一时间看到。站长可以灵活使用全局动态来发布一些公开的信息。 </div> <br> <!--{/if}--> <!--{if $_GET['op']=='add' || $_GET['op']=='edit'}--> <form method="post" action="admincp.php?ac=feed"> <script language="javascript" src="image/editor/editor_function.js"></script> <div class="bdrcontent"> <table cellspacing="3" cellpadding="3" width="100%"> <!--{if empty($feed[uid])}--> <tr><th width="150">动态标题</th><td><input type="text" name="title_template" value="$feed[title_template]" size="100"> <br>支持html,例如:加粗 &lt;b>&lt;/b>,变色 &lt;font color=red>&lt;/font></td></tr> <tr><th>动态内容</th><td> <textarea class="userData" name="body_template" id="uchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px">$feed[body_template]</textarea> <iframe src="editor.php?charset=$_SC[charset]&allowhtml=1" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="400"></iframe> </td></tr> <tr><th>动态备注</th><td><input type="text" name="body_general" value="$feed[body_general]" size="60"> (支持html)</td></tr> <!--{else}--> <tr><th width="150">动态标题</th><td>$feed[title_template]</td></tr> <tr><th>动态内容</th><td>$feed[body_template]</td></tr> <tr><th>动态备注</th><td>$feed[body_general]</td></tr> <!--{/if}--> <tbody id="image"> <tr><th>第1张图片地址</th><td><input type="text" name="image_1" value="$feed[image_1]" size="60"></td></tr> <tr><th>第1张图片链接</th><td><input type="text" name="image_1_link" value="$feed[image_1_link]" size="60"></td></tr> <tr><th>第2张图片地址</th><td><input type="text" name="image_2" value="$feed[image_2]" size="60"></td></tr> <tr><th>第2张图片链接</th><td><input type="text" name="image_2_link" value="$feed[image_2_link]" size="60"></td></tr> <tr><th>第3张图片地址</th><td><input type="text" name="image_3" value="$feed[image_3]" size="60"></td></tr> <tr><th>第3张图片链接</th><td><input type="text" name="image_3_link" value="$feed[image_3_link]" size="60"></td></tr> <tr><th>第4张图片地址</th><td><input type="text" name="image_4" value="$feed[image_4]" size="60"></td></tr> <tr><th>第4张图片链接</th><td><input type="text" name="image_4_link" value="$feed[image_4_link]" size="60"></td></tr> </tbody> <tr><th>发布时间</th><td><input type="text" name="dateline" value="$feed[dateline]" size="30"> (当前时刻:<!--{eval echo sgmdate('Y-m-d H:i');}-->) <br>您可以填写一个将来的日期和时间,那么这条动态会在这个将来的日期到来之前,一直显示在第一位。</td></tr> <!--{if $feed['id']}--> <tr><th>动态热度</th><td><input type="text" name="hot" value="$feed[hot]" size="10"></td></tr> <!--{/if}--> <tr><td>&nbsp;</td><td> <input type="hidden" name="feedid" value="$feed[feedid]"> <input type="hidden" name="feeduid" value="$feed[uid]"> <input type="hidden" name="id" value="$feed[id]"> <input type="hidden" name="idtype" value="$feed[idtype]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <input type="submit" name="feedsubmit" value="提交保存" class="submit"<!--{if empty($feed[uid])}--> onclick="edit_save();"<!--{/if}-->> <!--{if $feed[feedid]}--> &nbsp; <a href="admincp.php?ac=feed&op=delete&feedid=$feed[feedid]" onclick="return confirm('确定要删除吗?');">删除此动态</a> <!--{/if}--> </td> </tr> </table> </div> </form> <br> <!--{else}--> <!--{if $list}--> <form method="post" action="admincp.php?ac=feed"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="feed"> <div id="feed_div" class="feed_content"> <ul> <!--{loop $list $value}--> <!--{eval $value = mkfeed($value);}--> <li id="feed_$value[feedid]_li"> <div style="width:100%;overflow:hidden;"> <div style="padding:10px 0 0 0;" class="r_option gray"> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[feedid]"> 选择 <!--{if $allowmanage}--> &nbsp; <a href="admincp.php?ac=feed&op=edit&feedid=$value[feedid]">编辑</a> <!--{/if}--> </div> <a class="type" href="admincp.php?ac=feed&icon=$value[icon]" title="只看此类动态"><img src="$value[icon_image]" /></a> $value[title_template] <span class="time"><!--{date('m-d H:i',$value[dateline],1)}--></span> <!--{if $value[hot]}--><span style="color:red;">(热度:$value[hot])</span><!--{/if}--> <div class="feedContent"> <!--{if $value['image_1']}--> <a href="$value[image_1_link]"><img src="$value[image_1]" class="summaryimg" /></a> <!--{/if}--> <!--{if $value['image_2']}--> <a href="$value[image_2_link]"><img src="$value[image_2]" class="summaryimg" /></a> <!--{/if}--> <!--{if $value['image_3']}--> <a href="$value[image_3_link]"><img src="$value[image_3]" class="summaryimg" /></a> <!--{/if}--> <!--{if $value['image_4']}--> <a href="$value[image_4_link]"><img src="$value[image_4]" class="summaryimg" /></a> <!--{/if}--> <!--{if $value['body_template']}--> <div class="detail" <!--{if $value['image_3']}-->style="clear: both;"<!--{/if}-->> $value[body_template] </div> <!--{/if}--> <!--{if $value['body_general']}--> <div class="quote"><span class="q">$value[body_general]</span></div> <!--{/if}--> </div> </div> </li> <!--{/loop}--> </ul> </div> </div> </div> <div class="footactions"> <!--{if $allowbatch}--> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 <!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/feed.htm
HTML
asf20
8,792
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=$_SC[charset]" /> <title>UCenter Home 管理中心</title> <style type="text/css"> * { margin: 0; padding: 0; } body { text-align: center; color: #333; } body, td, th { font: 12px/1.5em Arial; } .loginbox { margin: 180px auto 60px; text-align: left; } td { } .logo { width: 296px; w\idth: 226px; padding: 90px 70px 30px 0; background: url(admin/tpl/image/login_logo.gif) no-repeat 100% 50%; text-align: right; } .logo p { margin: -40px 0 0 0; } .loginform th, .loginform td { padding: 3px; font-size: 14px; } .t_input { padding: 3px 2px; border: 1px solid; border-color: #666 #EEE #EEE #666; } .submit { height: 22px; padding: 0 5px; border: 1px solid; border-color: #EEE #666 #666 #EEE; background: #DDD; font-size: 14px; cursor: pointer; } .footer { position: absolute; bottom: 10px; left: 50%; width: 500px; margin-left: -250px; color: #999; } a { color: #2366A8; text-decoration: none; } a:hover { text-decoration: underline; } </style> </head> <body> <div class="mainarea"> <form method="post" action="admincp.php"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <table callspacing="0" cellpadding="0" class="loginbox"> <tr> <td class="logo"><p>请输入你的密码,进入管理平台</p></td> <td> <table callspacing="0" cellpadding="0" class="loginform"> <tr> <th>用户名:</th> <td>$_SGLOBAL[username] (<a href="cp.php?ac=common&op=logout">退出</a>)</td> </tr> <tr> <th>密 码:</th> <td><input type="password" name="password" class="t_input" /></td> </tr> <tr> <td></td> <td> <input type="hidden" name="loginsubmit" value="true" /> <input type="hidden" name="refer" value="$_SGLOBAL[refer]" /> <input type="submit" name="btnsubmit" value="确定" class="submit" /> </td> </tr> </table> </td> </tr> </table> </form> </div> <p class="footer">Powered by <a href="http://u.discuz.net" target="_blank">UCenter Home</a> <!--{eval echo X_VER;}--> &copy; 2001 - 2009 <a href="http://www.comsenz.com" target="_blank">Comsenz Inc.</a></p> </body> </html>
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/login.htm
HTML
asf20
2,477
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=task"><span>浏览全部任务</span></a></li> <li class="null"><a href="admincp.php?ac=task&op=add">添加新任务</a></li> </ul> </div> <form method="post" action="admincp.php?ac=task&taskid=$taskid"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> 通过有奖任务,您可以实现引导站内的新人更好的完善自己的头像、资料和发表信息;还可以实现在节日期间给用户发送积分;用户定期领取积分红包等各种任务。有奖任务可以带动用户更容易的融入到站内的气氛中来。 </div> <br> <div class="bdrcontent"> <!--{if $_GET['op']=='edit' || $_GET['op']=='add'}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:12em;">有奖任务名</th> <td><input size="25" name="name" value="$thevalue[name]" type="text"> </td> </tr> <tr> <th>有奖任务图片</th> <td><input size="100" name="image" value="$thevalue[image]" type="text"><br>输入有奖任务图片的URL地址,不要太大,建议长60px,宽60px的小图片 </td> </tr> <tr> <th>有奖任务说明</th> <td><textarea name="note" rows="8" style="width:90%;">$thevalue[note]</textarea> <br>支持html代码,文字换行请使用&lt;br&gt;标签。 </td></tr> <tr> <th>有奖任务奖励积分</th> <td><input type="text" name="credit" value="$thevalue[credit]" size="10"> <br>设置用户完成该有奖任务后可以获得的积分奖励。为0,则不奖励积分。 </td> </tr> <tr> <th>有奖任务完成数限制</th> <td><input type="text" name="maxnum" value="$thevalue[maxnum]" size="10"> <br>设置该有奖任务最多可完成多少人次。超过该人次后,该有奖任务将自动失效。为0,则不限制。 <!--{if $thevalue[num]}--><br><b>目前该有奖任务已经完成 $thevalue[num] 人次</b>。<!--{/if}--> </td> </tr> <tr> <th>有奖任务处理PHP脚本</th> <td>./source/task/<input size="25" name="filename" value="$thevalue[filename]" type="text"> <br>不能包含路径,程序脚本必须存放于 ./source/task/ 目录中 <br>本功能为高级应用,有奖任务脚本的编写,需要您懂一定PHP知识。 <br>请参考系统自带的有奖任务脚本 ./source/task/sample.php 中的说明来编写。 </td></tr> <tr> <th>有效性</th> <td><input type="radio" name="available" value="1"$availables[1]>有效 <input type="radio" name="available" value="0"$availables[0]>无效 </td> </tr> <tr> <th>开始日期</th> <td><input type="text" name="starttime" value="$thevalue[starttime]" size="25"> (格式:2008-08-08 00:00:00) <br>设置该有奖任务开始的日期。为空为立即开始。 </td> </tr> <tr> <th>结束日期</th> <td><input type="text" name="endtime" value="$thevalue[endtime]" size="25"> (格式:2008-08-08 23:59:59) <br>设置该有奖任务结束的日期。为空为永久有效。 </td> </tr> <tr> <th>用户重复执行周期</th> <td> <select name="nexttype" onchange="show_nexttime(this.value);"> <option value="">不重复</option> <option value="day"$nexttypearr[day]>每天</option> <option value="hour"$nexttypearr[hour]>整点</option> <option value="time"$nexttypearr[time]>间隔指定时间</option> </select> <span id="nexttime" style="display:{$nextimestyle};"> 间隔 <input type="text" name="nexttime" value="$thevalue[nexttime]" size="10"> 秒后可重复执行 </span> <script> function show_nexttime(type) { if(type == 'time') { $('nexttime').style.display =''; } else { $('nexttime').style.display ='none'; } } </script> </td> </tr> <tr> <th>优先顺序</th> <td><input type="text" name="displayorder" value="$thevalue[displayorder]" size="10"><br>数字越小,排序越靠前,优先级越高 </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="tasksubmit" value="提交" class="submit"> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="80">图片</th> <th>有奖任务名/有奖任务脚本</th> <th>积分奖励</th> <th>有效期</th> <th>操作</th> </tr> <!--{loop $list $task}--> <tr> <td><img src="$task[image]" width="60" height="60"></td> <td>$task[name]<br>$task[filename]</td> <td>$task[credit]</td> <td><!--{if $task[available]}-->$task[starttime]<br>$task[endtime]<!--{else}-->无效<!--{/if}--></td> <td><a href="admincp.php?ac=task&op=edit&taskid=$task[taskid]">编辑</a> &nbsp;|&nbsp;<a href="admincp.php?ac=task&op=delete&taskid=$task[taskid]">删除</a> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/task.htm
HTML
asf20
5,033
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=cron"><span>浏览全部</span></a></li> <li class="null"><a href="admincp.php?ac=cron&op=add">添加新计划任务</a></li> </ul> </div> <form method="post" action="admincp.php?ac=cron&cronid=$cronid"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $_GET['op']=='edit' || $_GET['op']=='add'}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:12em;">任务名</th> <td><input size="25" name="name" value="$thevalue[name]" type="text"> </td></tr> <tr> <th>任务脚本</th> <td><input size="25" name="filename" value="$thevalue[filename]" type="text"> <br>不能包含路径,程序脚本必须存放于 ./source/cron/ 目录中 </td></tr> <tr> <th>有效性</th> <td><input type="radio" name="available" value="1"$availables[1]>有效 <input type="radio" name="available" value="0"$availables[0]>无效 </td></tr> <tr> <th>星期</th> <td><select name="weekday"> <option value="-1">*</option> <option value="0"$weekdays[0]>星期日</option> <option value="1"$weekdays[1]>星期一</option> <option value="2"$weekdays[2]>星期二</option> <option value="3"$weekdays[3]>星期三</option> <option value="4"$weekdays[4]>星期四</option> <option value="5"$weekdays[5]>星期五</option> <option value="6"$weekdays[6]>星期六</option> </select> <br>本设置会覆盖下面的“日”设定</td></tr> <tr> <th>日</th> <td> <select name="day"> <option value="-1">*</option> $daystr </select></td></tr> <tr> <th>小时</th> <td> <select name="hour"> <option value="-1">*</option> $hourstr </select></td></tr> <tr> <th>分钟</th> <td> $minuteselect</td></tr> </table> </div> <div class="footactions"> <input type="submit" name="cronsubmit" value="提交" class="submit"> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>任务名</th> <th>上次执行/下次执行</th> <th>操作</th> </tr> <!--{loop $list $cron}--> <tr> <td><b>$cron[name]</b><br />$cron[filename]</td> <td>$cron[lastrun]<br>$cron[nextrun]</td> <td><a href="admincp.php?ac=cron&op=edit&cronid=$cron[cronid]">编辑</a> <!--{if $cron['available']}-->&nbsp;|&nbsp;<a href="admincp.php?ac=cron&op=run&cronid=$cron[cronid]">执行</a><!--{/if}--> <!--{if $cron['type']!='system'}-->&nbsp;|&nbsp;<a href="admincp.php?ac=cron&op=delete&cronid=$cron[cronid]">删除</a><!--{/if}--> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/cron.htm
HTML
asf20
2,877
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=network"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>日志聚合设置</h3> <p>设置日志显示在随便看看页面的条件</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td style="width:10em;">指定日志(blogid)</td> <td> <input name="network[blog][blogid]" type="text" size="50" value="$network[blog][blogid]" /> 多个blogid用","分隔 </td> </tr> <tr> <td>指定作者(uid)</td> <td> <input name="network[blog][uid]" type="text" size="50" value="$network[blog][uid]" /> 多个uid用","分隔 </td> </tr> <tr> <td>热度范围</td> <td> <input name="network[blog][hot1]" type="text" size="10" value="$network[blog][hot1]" /> ~ <input name="network[blog][hot2]" type="text" size="10" value="$network[blog][hot2]" /> </td> </tr> <tr> <td>查看数范围</td> <td> <input name="network[blog][viewnum1]" type="text" size="10" value="$network[blog][viewnum1]" /> ~ <input name="network[blog][viewnum2]" type="text" size="10" value="$network[blog][viewnum2]" /> </td> </tr> <tr> <td>回复数范围</td> <td> <input name="network[blog][replynum1]" type="text" size="10" value="$network[blog][replynum1]" /> ~ <input name="network[blog][replynum2]" type="text" size="10" value="$network[blog][replynum2]" /> </td> </tr> <tr> <td>发布时间范围</td> <td><input type="text" name="network[blog][dateline]" value="$network[blog][dateline]" size="10"> 内天发布的才显示</td> </tr> <tr> <td>列表排序</td> <td> <select name="network[blog][order]"> <option value="dateline">发布时间</option> <option value="viewnum"{$orders[blog][viewnum]}>查看数</option> <option value="replynum"{$orders[blog][replynum]}>回复数</option> <option value="hot"{$orders[blog][hot]}>热度</option> </select> <select name="network[blog][sc]"> <option value="desc">递减</option> <option value="asc"{$scs[blog][asc]}>递增</option> </select> </td> </tr> <tr> <td>缓存有效时间</td> <td><input type="text" name="network[blog][cache]" value="$network[blog][cache]" size="10"> 单位:秒 (设为0将不使用缓存机制,这会增加服务器负担)</td> </tr> </table> <br> <div class="title"> <h3>图片聚合设置</h3> <p>设置图片显示在随便看看页面的条件</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td style="width:10em;">指定图片(picid)</td> <td> <input name="network[pic][picid]" type="text" size="50" value="$network[pic][picid]" /> 多个picid用","分隔 </td> </tr> <tr> <td>指定作者(uid)</td> <td> <input name="network[pic][uid]" type="text" size="50" value="$network[pic][uid]" /> 多个uid用","分隔 </td> </tr> <tr> <td>热度范围</td> <td> <input name="network[pic][hot1]" type="text" size="10" value="$network[pic][hot1]" /> ~ <input name="network[pic][hot2]" type="text" size="10" value="$network[pic][hot2]" /> </td> </tr> <tr> <td>发布时间范围</td> <td><input type="text" name="network[pic][dateline]" value="$network[pic][dateline]" size="10"> 内天发布的才显示</td> </tr> <tr> <td>列表排序</td> <td> <select name="network[pic][order]"> <option value="dateline">发布时间</option> <option value="hot"{$orders[pic][hot]}>热度</option> </select> <select name="network[pic][sc]"> <option value="desc">递减</option> <option value="asc"{$scs[pic][asc]}>递增</option> </select> </td> </tr> <tr> <td>缓存有效时间</td> <td><input type="text" name="network[pic][cache]" value="$network[pic][cache]" size="10"> 单位:秒 (设为0将不使用缓存机制,这会增加服务器负担)</td> </tr> </table> <br> <div class="title"> <h3>话题聚合设置</h3> <p>设置话题显示在随便看看页面的条件</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td style="width:10em;">指定话题(tid)</td> <td> <input name="network[thread][tid]" type="text" size="50" value="$network[thread][tid]" /> 多个tid用","分隔 </td> </tr> <tr> <td>指定作者(uid)</td> <td> <input name="network[thread][uid]" type="text" size="50" value="$network[thread][uid]" /> 多个uid用","分隔 </td> </tr> <tr> <td>热度范围</td> <td> <input name="network[thread][hot1]" type="text" size="10" value="$network[thread][hot1]" /> ~ <input name="network[thread][hot2]" type="text" size="10" value="$network[thread][hot2]" /> </td> </tr> <tr> <td>查看数范围</td> <td> <input name="network[thread][viewnum1]" type="text" size="10" value="$network[thread][viewnum1]" /> ~ <input name="network[thread][viewnum2]" type="text" size="10" value="$network[thread][viewnum2]" /> </td> </tr> <tr> <td>回复数范围</td> <td> <input name="network[thread][replynum1]" type="text" size="10" value="$network[thread][replynum1]" /> ~ <input name="network[thread][replynum2]" type="text" size="10" value="$network[thread][replynum2]" /> </td> </tr> <tr> <td>发布时间范围</td> <td><input type="text" name="network[thread][dateline]" value="$network[thread][dateline]" size="10"> 内天发布的才显示</td> </tr> <tr> <td>回复时间范围</td> <td><input type="text" name="network[thread][lastpost]" value="$network[thread][lastpost]" size="10"> 内天回复的才显示</td> </tr> <tr> <td>列表排序</td> <td> <select name="network[thread][order]"> <option value="dateline">发布时间</option> <option value="viewnum"{$orders[thread][viewnum]}>查看数</option> <option value="replynum"{$orders[thread][replynum]}>回复数</option> <option value="hot"{$orders[thread][hot]}>热度</option> </select> <select name="network[thread][sc]"> <option value="desc">递减</option> <option value="asc"{$scs[thread][asc]}>递增</option> </select> </td> </tr> <tr> <td>缓存有效时间</td> <td><input type="text" name="network[thread][cache]" value="$network[thread][cache]" size="10"> 单位:秒 (设为0将不使用缓存机制,这会增加服务器负担)</td> </tr> </table> <br> <div class="title"> <h3>活动聚合设置</h3> <p>设置活动显示在随便看看页面的条件</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td style="width:10em;">指定活动(eventid)</td> <td> <input name="network[event][eventid]" type="text" size="50" value="$network[event][eventid]" /> 多个eventid用","分隔 </td> </tr> <tr> <td>指定作者(uid)</td> <td> <input name="network[event][uid]" type="text" size="50" value="$network[event][uid]" /> 多个uid用","分隔 </td> </tr> <tr> <td>热度范围</td> <td> <input name="network[event][hot1]" type="text" size="10" value="$network[event][hot1]" /> ~ <input name="network[event][hot2]" type="text" size="10" value="$network[event][hot2]" /> </td> </tr> <tr> <td>参与人数范围</td> <td> <input name="network[event][membernum1]" type="text" size="10" value="$network[event][membernum1]" /> ~ <input name="network[event][membernum2]" type="text" size="10" value="$network[event][membernum2]" /> </td> </tr> <tr> <td>关注人数范围</td> <td> <input name="network[event][follownum1]" type="text" size="10" value="$network[event][follownum1]" /> ~ <input name="network[event][follownum2]" type="text" size="10" value="$network[event][follownum2]" /> </td> </tr> <tr> <td>发布时间范围</td> <td><input type="text" name="network[event][dateline]" value="$network[event][dateline]" size="10"> 内天发布的才显示</td> </tr> <tr> <td>列表排序</td> <td> <select name="network[event][order]"> <option value="dateline">发布时间</option> <option value="membernum"{$orders[event][membernum]}>参与人数</option> <option value="follownum"{$orders[event][follownum]}>关注人数</option> <option value="hot"{$orders[event][hot]}>热度</option> </select> <select name="network[event][sc]"> <option value="desc">递减</option> <option value="asc"{$scs[event][asc]}>递增</option> </select> </td> </tr> <tr> <td>缓存有效时间</td> <td><input type="text" name="network[event][cache]" value="$network[event][cache]" size="10"> 单位:秒 (设为0将不使用缓存机制,这会增加服务器负担)</td> </tr> </table> <br> <div class="title"> <h3>投票聚合设置</h3> <p>设置投票显示在随便看看页面的条件</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td style="width:10em;">指定投票(pid)</td> <td> <input name="network[poll][pid]" type="text" size="50" value="$network[poll][pid]" /> 多个pid用","分隔 </td> </tr> <tr> <td>指定作者(uid)</td> <td> <input name="network[poll][uid]" type="text" size="50" value="$network[poll][uid]" /> 多个uid用","分隔 </td> </tr> <tr> <td>热度范围</td> <td> <input name="network[poll][hot1]" type="text" size="10" value="$network[poll][hot1]" /> ~ <input name="network[poll][hot2]" type="text" size="10" value="$network[poll][hot2]" /> </td> </tr> <tr> <td>投票人数范围</td> <td> <input name="network[poll][voternum1]" type="text" size="10" value="$network[poll][voternum1]" /> ~ <input name="network[poll][voternum2]" type="text" size="10" value="$network[poll][voternum2]" /> </td> </tr> <tr> <td>回复人数范围</td> <td> <input name="network[poll][replynum1]" type="text" size="10" value="$network[poll][replynum1]" /> ~ <input name="network[poll][replynum2]" type="text" size="10" value="$network[poll][replynum2]" /> </td> </tr> <tr> <td>发布时间范围</td> <td><input type="text" name="network[poll][dateline]" value="$network[poll][dateline]" size="10"> 内天发布的才显示</td> </tr> <tr> <td>列表排序</td> <td> <select name="network[poll][order]"> <option value="dateline">发布时间</option> <option value="voternum"{$orders[poll][voternum]}>参与人数</option> <option value="replynum"{$orders[poll][replynum]}>关注人数</option> <option value="hot"{$orders[poll][hot]}>热度</option> </select> <select name="network[poll][sc]"> <option value="desc">递减</option> <option value="asc"{$scs[poll][asc]}>递增</option> </select> </td> </tr> <tr> <td>缓存有效时间</td> <td><input type="text" name="network[poll][cache]" value="$network[poll][cache]" size="10"> 单位:秒 (设为0将不使用缓存机制,这会增加服务器负担)</td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="networksubmit" value="提交" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/network.htm
HTML
asf20
12,047
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr><th>标题*</th><td><input type="text" name="subject" value="$_GET[subject]"></td> <th>指定投票ID</th><td><input type="text" name="pid" value="$_GET[pid]">*表示支持模糊查询</td> </tr> <tr> <th>评论限制</th><td> <select name="noreply"> <option value="">不限</option> <option value="0"<!--{if $_GET[noreply] == '0'}--> selected<!--{/if}-->>全站用户可见</option> <option value="1"<!--{if $_GET[noreply] == '1'}--> selected<!--{/if}-->>仅好友可评论</option> </select> </td> <th>投票限制</th><td> <select name="sex"> <option value="">不限</option> <option value="1"<!--{if $_GET[sex] == '1'}--> selected<!--{/if}-->>男</option> <option value="2"<!--{if $_GET[sex] == '2'}--> selected<!--{/if}-->>女</option> </select> </td> </tr> <tr> <th>过期投票</th> <td colspan="3"> <select name="expiration"> <option value="">不限</option> <option value="1"<!--{if $_GET[expiration] == '1'}--> selected<!--{/if}-->>已过期</option> <option value="2"<!--{if $_GET[expiration] == '2'}--> selected<!--{/if}-->>未过期</option> </select> </td> </tr> <tr><th>悬赏积分</th><td colspan="3"> <input type="text" name="percredit1" value="$_GET[percredit1]" size="10"> ~ <input type="text" name="percredit2" value="$_GET[percredit2]" size="10"> </td></tr> <tr><th>参与人数</th><td colspan="3"> <input type="text" name="voternum1" value="$_GET[voternum1]" size="10"> ~ <input type="text" name="voternum2" value="$_GET[voternum2]" size="10"> </td></tr> <tr><th>评论数</th><td colspan="3"> <input type="text" name="replynum1" value="$_GET[replynum1]" size="10"> ~ <input type="text" name="replynum2" value="$_GET[replynum2]" size="10"> </td></tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="voternum"$orderby[voternum]>参与人数</option> <option value="replynum"$orderby[replynum]>评论数</option> <option value="percredit"$orderby[percredit]>悬赏积分</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="poll"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=poll"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[blogid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><td width="25">&nbsp;</td><th>标题</th><!--{if $allowmanage}--><th width="80">作者</th><!--{/if}--><th width="80">参与数/评论</th><th width="80">时间</th><th width="80">操作</th></tr> <!--{loop $list $value}--> <tr> <td> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[pid]"> </td> <td> <a href="space.php?uid=$value[uid]&do=poll&pid=$value[pid]" target="_blank"><strong><!--{if $value[credit]}-->[悬赏:{$value[credit]}]<!--{/if}--><!--{if $value[isexpired]}-->[已过期]<!--{/if}--></strong>$value[subject]</a> <!--{if $value[hot]}--><span style="color:red;">热度($value[hot])</span><!--{/if}--> <!--{if $value[friend]}-->[<a href="admincp.php?ac=blog&friend=$value[friend]">$value[friend]</a>]<!--{/if}--> </td> <!--{if $allowmanage}--><td><a href="admincp.php?ac=poll&uid=$value[uid]">$value[username]</a></td><!--{/if}--> <td align="center">$value[voternum]/$value[replynum]</td> <td><!--{date('Y-m-d',$value[dateline])}--></td> <td> <a href="admincp.php?ac=poll&op=delete&pid=$value[pid]" onclick="return confirm('本操作不可恢复,确认删除?');" >删除</a>&nbsp; <a href="admincp.php?ac=comment&id=$value[pid]&idtype=pid">评论</a> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/poll.htm
HTML
asf20
6,406
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[all]><a href="admincp.php?ac=$ac"><span>浏览全部用户</span></a></li> <!--{if checkperm('managename')}--> <li$actives[0]><a href="admincp.php?ac=$ac&perpage=20&namestatus=0&searchsubmit=1&tab=0"><span>实名未认证</span></a></li> <li$actives[1]><a href="admincp.php?ac=$ac&perpage=20&namestatus=1&searchsubmit=1&tab=1"><span>实名已认证</span></a></li> <!--{/if}--> <li$actives[2]><a href="admincp.php?ac=$ac&perpage=20&videostatus=0&searchsubmit=1&tab=2"><span>视频未认证</span></a></li> <li$actives[3]><a href="admincp.php?ac=$ac&perpage=20&videostatus=1&searchsubmit=1&tab=3"><span>视频已认证</span></a></li> </ul> </div> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>用户UID</th><td><input type="text" name="uid" value="$_GET[uid]" size="10"></td> <th>用户名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <tr> <th>姓名*</th><td><input type="text" name="name" value="$_GET[name]"></td> <th>头像</th><td> <select name="avatar"> <option value="">不限</option> <option value="1"<!--{if $_GET[avatar] == '1'}--> selected<!--{/if}-->>上传头像</option> <option value="0"<!--{if $_GET[avatar] == '0'}--> selected<!--{/if}-->>没有头像</option> </select></td> </tr> <tr> <th>实名认证</th><td> <select name="namestatus"> <option value="">不限</option> <option value="1"<!--{if $_GET[namestatus] == '1'}--> selected<!--{/if}-->>已认证</option> <option value="0"<!--{if $_GET[namestatus] == '0'}--> selected<!--{/if}-->>未认证</option> </select></td> <th>视频认证</th><td> <select name="videostatus"> <option value="">不限</option> <option value="1"<!--{if $_GET[videostatus] == '1'}--> selected<!--{/if}-->>已认证</option> <option value="0"<!--{if $_GET[videostatus] == '0'}--> selected<!--{/if}-->>未认证</option> </select></td> </tr> <tr> <th>用户组</th><td> <select name="groupid"> <option value="">不限制</option> <!--{loop $usergroups $gid $value}--> <option value="$value[gid]"<!--{if $_GET[groupid] == $value[gid]}--> selected<!--{/if}-->>$value[grouptitle]</option> <!--{/loop}--> </select> </td> <th>用户状态</th><td> <select name="flag"> <option value="">不限</option> <option value="1"<!--{if $_GET[flag] == '1'}--> selected<!--{/if}-->>保护用户</option> <option value="0"<!--{if $_GET[flag] == '0'}--> selected<!--{/if}-->>普通用户</option> <option value="-1"<!--{if $_GET[flag] == '-1'}--> selected<!--{/if}-->>锁定用户</option> </select> </td> </tr> <tr> <th>用户经验值</th><td> <input type="text" name="experience1" value="$_GET[experience1]" size="10"> ~ <input type="text" name="experience2" value="$_GET[experience2]" size="10"> </td> </tr> <tr> <th>用户积分</th><td> <input type="text" name="credit1" value="$_GET[credit1]" size="10"> ~ <input type="text" name="credit2" value="$_GET[credit2]" size="10"> </td> </tr> <tr><th>空间创建时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>最后更新时间</th><td colspan="3"> <input type="text" name="updatetime1" value="$_GET[updatetime1]" size="10"> ~ <input type="text" name="updatetime2" value="$_GET[updatetime2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>最后访问时间</th><td colspan="3"> <input type="text" name="lastlogin1" value="$_GET[lastlogin1]" size="10"> ~ <input type="text" name="lastlogin2" value="$_GET[lastlogin2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>最后发信息时间</th><td colspan="3"> <input type="text" name="lastpost1" value="$_GET[lastpost1]" size="10"> ~ <input type="text" name="lastpost2" value="$_GET[lastpost2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>建立时间</option> <option value="updatetime"$orderby[updatetime]>更新时间</option> <option value="viewnum"$orderby[viewnum]>访问量</option> <option value="experience"$orderby[experience]>经验值</option> <option value="credit"$orderby[credit]>积分数</option> <option value="friendnum"$orderby[friendnum]>好友数</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> </select> <input type="hidden" name="ac" value="$ac"> <!--{if isset($_GET[tab])}--> <input type="hidden" name="tab" value="$_GET[tab]"> <!--{/if}--> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <!--{eval $flagarr = array( '-1' => '<span style="color:blue;">锁定</span>', '0' => '正常', '1' => '<span style="color:red;">保护</span>' ); }--> <div class="bdrcontent"> <form method="post" action="admincp.php?ac=$ac&perpage=$perpage&page=$page"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <table cellspacing="2" cellpadding="2" class="listtable"> <tr class="line"> <th width="30">选择</th> <th width="55">用户</th> <th>用户名/姓名</th> <th>用户组</th> <th>经验/积分/好友</th> <th>附件</th> <th>注册/更新</th> <th>状态</th> <th>操作</th> </tr> <!--{loop $list $key $value}--> <tr<!--{if $key%2==1}--> class="line"<!--{/if}-->> <td> <input type="checkbox" name="uids[]" value="$value[uid]"> </td> <td> <a href="space.php?uid=$value[uid]" target="_blank"><!--{avatar($value[uid],small)}--></a> </td> <td> <a href="space.php?uid=$value[uid]">$value[username]</a> <!--{if $value[name]}--> <!--{if $value[namestatus]}--> <p style="color:red;">$value[name]</p> <!--{else}--> <p class="gray">$value[name]</p> <!--{/if}--> <!--{/if}--> </td> <td> $value[grouptitle] <!--{if $fusers[$value[uid]]}--> <p>期限:{$fusers[$value[uid]][expiration]}</p> <p>操作:<a href="space.php?uid={$fusers[$value[uid]][opuid]}">{$fusers[$value[uid]][opusername]}</a></p> <!--{/if}--> </td> <td class="gray"> $value[experience] / $value[credit] / $value[friendnum]</td> <td>$value[attachsize]</td> <td> <!--{date('Y-m-d H:i', $value[dateline])}--><br> <!--{if $value[updatetime]}--><!--{date('Y-m-d H:i', $value[updatetime])}--><!--{else}-->-<!--{/if}--> </td> <td> {$flagarr[$value[flag]]} </td> <td><a href="admincp.php?ac=space&op=manage&uid=$value[uid]">管理</a><br></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'uids')">全选 &nbsp;&nbsp; <!--{if checkperm('managename')}--> <input type="radio" name="optype" value="1"> 通过实名 <input type="radio" name="optype" value="2"> 取消实名 <input type="radio" name="optype" value="3"> 清空实名 <!--{/if}--> <!--{if $managespacenote}--> <input type="radio" name="optype" value="4"> 发送邮件 <input type="radio" name="optype" value="5"> 打招呼 <!--{/if}--> <!--{if checkperm('manageconfig')}--> <input type="radio" name="optype" value="7"> 赠送道具 <!--{/if}--> <!--{if $managespaceinfo}--> <input type="radio" name="optype" value="6"> 清理CSS <!--{/if}--> <input type="submit" name="listsubmit" value="提交" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/space.htm
HTML
asf20
8,638
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if $uid}--> <form method="post" action="admincp.php?ac=space&uid=$uid" enctype="multipart/form-data"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>$member[username] 基本信息</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">用户名</th> <td><a href="space.php?uid=$member[uid]" target="_blank">$member[username]</a></td></tr> <tr><th>开通时间</th><td><!--{date('Y-m-d H:i',$member[dateline])}--></td></tr> <tr><th>更新时间</th><td><!--{if $member[updatetime]}--><!--{date('Y-m-d H:i',$member[updatetime])}--><!--{else}-->-<!--{/if}--></td></tr> <tr><th>上次登录</th><td><!--{date('Y-m-d H:i',$member[lastlogin])}--></td></tr> <tr><th>注册IP</th><td>$member[regip]</td></tr> <tr><th>好友数</th><td>$member[friendnum]</td></tr> <tr><th>查看数</th><td>$member[viewnum]</td></tr> <tr><th>批量管理</th> <td> <a href="admincp.php?ac=blog&uid=$member[uid]&searchsubmit=1" target="_blank">日志($member[blognum])</a> | <a href="admincp.php?ac=album&uid=$member[uid]&searchsubmit=1" target="_blank">相册($member[albumnum])</a> | <a href="admincp.php?ac=thread&uid=$member[uid]&searchsubmit=1" target="_blank">话题($member[threadnum])</a> | <a href="admincp.php?ac=poll&uid=$member[uid]&searchsubmit=1" target="_blank">投票($member[pollnum])</a> | <a href="admincp.php?ac=event&uid=$member[uid]&searchsubmit=1" target="_blank">活动($member[eventnum])</a> | <a href="admincp.php?ac=doing&uid=$member[uid]&searchsubmit=1" target="_blank">记录($member[doingnum])</a> | <a href="admincp.php?ac=share&uid=$member[uid]&searchsubmit=1" target="_blank">分享($member[sharenum])</a> | <a href="admincp.php?ac=feed&uid=$member[uid]&searchsubmit=1" target="_blank">事件</a> | <a href="admincp.php?ac=pic&uid=$member[uid]&searchsubmit=1" target="_blank">图片</a> | <a href="admincp.php?ac=comment&authorid=$member[uid]&searchsubmit=1" target="_blank">评论</a> | <a href="admincp.php?ac=post&uid=$member[uid]&searchsubmit=1" target="_blank">回帖</a> </td></tr> <tr><th>&nbsp;</th> <td> <!--{if $member['flag'] != 1 && checkperm('managedelspace')}--> <a href="admincp.php?ac=space&op=close&uid=$member[uid]" <!--{if $member[flag]!=-1}--> onclick="return confirm('锁定后该空间将被禁止访问,确认锁定吗?');" <!--{/if}--> class="submit"><!--{if $member[flag]!=-1}-->锁定空间(不会删除数据)<!--{else}-->解除锁定状态<!--{/if}--></a> &nbsp; <a href="admincp.php?ac=space&op=delete&uid=$member[uid]" onclick="return confirm('危险,这将删除该空间所有数据,并且本操作不可恢复,确认删除?');">删除该空间(删除数据并不可恢复)</a>&nbsp;&nbsp;&nbsp; <!--{else}--> 本用户被保护,不能删除、不能锁定 <!--{/if}--> </td> </tr> </table> </div> <!--{if $managespaceinfo}--> <br> <div class="bdrcontent"> <div class="title"> <h3>$member[username] 个人资料</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">头像</th><td><a href="space.php?uid=$member[uid]" target="_blank"><!--{avatar($member[uid],big)}--></a> <br>[<a href="admincp.php?ac=space&op=deleteavatar&uid=$uid">删除头像</a>] </td></tr> <!--{if $_SCONFIG['videophoto']}--> <tr><th>视频认证</th><td> <p> <input type="radio" name="videostatus" value="0"$videostatusarr[0]>未通过 <input type="radio" name="videostatus" value="1"$videostatusarr[1]>已通过(需要有视频照片) </p> <!--{if $videopic}--><img src="$videopic" width="400"><br><!--{/if}--> 上传一张该用户照片,更新视频认证照片:<br> <input type="file" name="newvideopic" value=""> </td></tr> <!--{/if}--> <tr> <th style="width:12em;">常用邮箱</th> <td> <input type="text" id="email" class="t_input" name="email" value="$member[email]" /> <input type="radio" name="emailcheck" value="0"<!--{if $member[emailcheck]==0}--> checked<!--{/if}-->> 未激活 <input type="radio" name="emailcheck" value="1"<!--{if $member[emailcheck]==1}--> checked<!--{/if}-->> 已经验证激活 </td> </tr> <!--{if $_SCONFIG['allowdomain'] && $_SCONFIG['domainroot']}--> <tr><th style="width:12em;">二级域名</th><td><input type="text" class="t_input" name="domain" value="$member[domain]" size="10">.{$_SCONFIG[domainroot]}</td></tr> <!--{/if}--> <tr><th style="width:12em;">额外好友数</th><td><input type="text" class="t_input" name="addfriend" value="$member[addfriend]" size="10"> 个</td></tr> <tr><th>清空自定义CSS</th><td> <input type="radio" name="clearcss" value="0" checked> 不处理 <input type="radio" name="clearcss" value="1"> 清空 <p>用户自定义的CSS如果存在恶意代码,可以选择清空。</p> </td></tr> <tr> <th>性别</th> <td> <label for="sexm"><input id="sexm" type="radio" value="1" name="sex"$sexarr[1] />男</label> <label for="sexw"><input id="sexw" type="radio" value="2" name="sex"$sexarr[2] />女</label> </td> </tr> <tr> <th>婚恋状态</th> <td> <select id="marry" name="marry"> <option value="0">无</option> <option value="1"$marryarr[1]>单身</option> <option value="2"$marryarr[2]>非单身</option> </select> </td> </tr> <tr> <th>生日</th> <td> <select id="birthyear" name="birthyear"> <option value="0">无</option> $birthyeayhtml </select> 年 <select id="birthmonth" name="birthmonth"> <option value="0">无</option> $birthmonthhtml </select> 月 <select id="birthday" name="birthday"> <option value="0">无</option> $birthdayhtml </select> 日 </td> </tr> <tr> <th>血型</th> <td> <select id="blood" name="blood"> <option value="">保密</option> $bloodhtml </select> </td> </tr> <tr> <th>家乡</th> <td id="birthcitybox"> <script type="text/javascript" src="source/script_city.js"></script> <script type="text/javascript"> <!-- showprovince('birthprovince', 'birthcity', '$member[birthprovince]', 'birthcitybox'); showcity('birthcity', '$member[birthcity]', 'birthprovince', 'birthcitybox'); //--> </script> </td> </tr> <tr> <th>居住地</th> <td id="residecitybox"> <script type="text/javascript"> <!-- showprovince('resideprovince', 'residecity', '$member[resideprovince]', 'residecitybox'); showcity('residecity', '$member[residecity]', 'resideprovince', 'residecitybox'); //--> </script> </td> </tr> <tr> <th>QQ</th> <td> <input type="text" class="t_input" name="qq" value="$member[qq]" /> </td> </tr> <tr> <th>MSN</th> <td> <input type="text" class="t_input" name="msn" value="$member[msn]" /> </td> </tr> <!--{loop $profilefields $value}--> <tr> <th>$value[title]<!--{if $value[required]}-->*<!--{/if}--></th> <td> $value[formhtml] <!--{if $value[note]}--><br>$value[note]<!--{/if}--> </td> </tr> <!--{/loop}--> </table> </div> <!--{/if}--> <!--{if $managename}--> <br> <div class="bdrcontent"> <div class="title"> <h3>$member[username] 实名认证</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">姓名</th><td><input type="text" class="t_input" name="name" value="$member[name]"> <input type="radio" name="namestatus" value="0"<!--{if $member[namestatus]==0}--> checked<!--{/if}-->> 认证失败 <input type="radio" name="namestatus" value="1"<!--{if $member[namestatus]==1}--> checked<!--{/if}-->> 认证通过 </td></tr> </table> </div> <!--{/if}--> <!--{if $managespacecredit}--> <br> <div class="bdrcontent"> <div class="title"> <h3>$member[username] 积分、经验值、空间大小管理</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">额外空间大小</th><td><input type="text" class="t_input" name="addsize" value="$member[addsize]" size="10"> M</td></tr> <tr><th>积分数</th><td><input type="text" name="credit" class="t_input" value="$member[credit]" size="10"></td></tr> <tr><th>经验值</th><td><input type="text" class="t_input" name="experience" value="$member[experience]" size="10"></td></tr> </table> </div> <!--{/if}--> <!--{if $managespacegroup}--> <br> <div class="bdrcontent"> <div class="title"> <h3>$member[username] 保护信息</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">用户组</th><td> <select name="groupid" onchange="showDateSet(this.value);"> <option value="0">普通用户组</option> <!--{eval $show=true;}--> <!--{loop $usergroups $value}--> <!--{if $groupidarr[$value['gid']]}--><!--{eval $show=false;}--><!--{/if}--> <option value="$value[gid]"{$groupidarr[$value[gid]]}>$value[grouptitle]</option> <!--{/loop}--> </select> <p>普通用户组,会自动根据用户经验数目的多少进行自动升级/降级<br>系统用户组,用户的身份不受经验值影响</p></td></tr> <tr id="expirationtr" <!--{if $show}-->style="display:none;"<!--{/if}-->><th>用户组过期时间</th><td> <input type="text" class="t_input" name="expiration" value="$member[expiration]" size="20">(格式:2009-8-8 00:00) <p>为空则永久有效</p> </td></tr> <!--{if $member[flag] != -1}--> <tr><th>删除保护</th><td> <input type="radio" name="flag" value="0"<!--{if $member[flag]==0}--> checked<!--{/if}-->> 不保护 <input type="radio" name="flag" value="1"<!--{if $member[flag]==1}--> checked<!--{/if}-->> 保护 <p>保护状态下,该用户将不能够在UCenter、以及本应用中删除。</p> </td></tr> </td></tr> <!--{/if}--> </table> <script type="text/javascript"> function showDateSet(val) { var expObj = $("expirationtr"); expObj.style.display = parseInt(val) ? '' : 'none'; } </script> </div> <!--{/if}--> <div class="footactions"> <input type="hidden" name="refer" value="$_SGLOBAL[refer]"> <input type="submit" name="usergroupsubmit" value="提交" class="submit"> </div> </form> <!--{elseif $_POST['optype'] == 4}--> <form method="post" action="$url"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>批量发送邮件</h3> <p>您可以对选定的用户进行批量发送邮件。注意,本操作将会增加服务器负载。</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:8em;">收件人(UID)</th> <td><input type="text" name="uids" value="$uids" size="60"> 多个UID间用 "," 分隔</td> </tr> <tr> <th>邮件标题</th> <td><input type="text" name="subject" value="" size="60"></td> </tr> <tr> <th>邮件内容</th> <td><textarea name="message" cols="80" rows="10"></textarea><br>邮件内容支持html代码</td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="refer" value="$_SGLOBAL[refer]"> <input type="submit" name="sendemailsubmit" value="发送邮件" class="submit"> </div> </form> <!--{elseif $_POST['optype'] == 5}--> <form method="post" action="$url"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>批量打招呼</h3> <p>您可以对选定的用户进行批量打招呼,以对其简单说明一些事情。注意,本操作将会增加服务器负载。</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:8em;">收件人(UID)</th> <td><input type="text" name="uids" value="$uids" size="60"> 多个UID间用 "," 分隔</td> </tr> <tr> <th>招呼内容</th> <td><input type="text" name="note" value="" size="60"> (不要超过50个字符)</td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="refer" value="$_SGLOBAL[refer]"> <input type="submit" name="pokesubmit" value="打招呼" class="submit"> </div> </form> <!--{elseif $_POST['optype'] == 7}--> <form method="post" action="$url" onsubmit="return checkPresent()"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>批量赠送道具</h3> <p>您可以给选定的用户批量赠送道具。注意,本操作将会增加服务器负载。</p> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:8em;">受赠者(UID)</th> <td><input type="text" name="uids" value="$uids" size="60"> 多个UID间用 "," 分隔</td> </tr> <tr> <th>赠送道具</th> <td> <select id="newmagicaward"> <!--{loop $_SGLOBAL['magic'] $key $value}--> <option value="$key">$value</option> <!--{/loop}--> </select> <input type="text" id="newmagicawardnum" value="1" /> <input class="button" type="button" onclick="addMagicAward()" value="添加" /> <ul id="magicawards"></ul> <script type="text/javascript"> function addMagicAward(){ var mid = $('newmagicaward').value; var id = "magicaward_" + mid; var num = $('newmagicawardnum').value; var name = $('newmagicaward').options[$('newmagicaward').selectedIndex].text; if($(id)) { removeMagicAward($(id).getElementsByTagName("a")[0]); } var s = '<li id="' + id + '">'; s += '<input type="hidden" name="magicaward[]" value="' + mid + ',' + num + '" />'; s += name + ' &nbsp;&nbsp;' + "\n"; s += num + ' &nbsp;&nbsp;' + "\n"; s += '<a href="#" onclick="removeMagicAward(this);return false;">删除</a>'; s += '</li>'; $('magicawards').innerHTML += s; } function removeMagicAward(o) { $('magicawards').removeChild(o.parentNode); } function checkPresent(){ if($('magicawards').getElementsByTagName("li").length) { return true; } else { alert('请至少选择一种道具并点击“添加”按钮'); return false; } } </script> </td> </tr> </table> </div> <div class="footactions"> <input type="hidden" name="refer" value="$_SGLOBAL[refer]"> <input type="submit" name="magicsubmit" value="赠送道具" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/space_manage.htm
HTML
asf20
15,213
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[1]><a href="admincp.php?ac=$ac&perpage=20&status=1&searchsubmit=1"><span>待处理举报</span></a></li> <li$actives[0]><a href="admincp.php?ac=$ac&perpage=20&status=0&searchsubmit=1"><span>已禁止举报</span></a></li> </ul> </div> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>举报类型</th><td> <select name="idtype"> <option value="">不限</option> <option value="picid"<!--{if $_GET[idtype] == 'picid'}--> selected<!--{/if}-->>图片</option> <option value="albumid"<!--{if $_GET[idtype] == 'albumid'}--> selected<!--{/if}-->>相册</option> <option value="blogid"<!--{if $_GET[idtype] == 'blogid'}--> selected<!--{/if}-->>日志</option> <option value="tagid"<!--{if $_GET[idtype] == 'tagid'}--> selected<!--{/if}-->>群组</option> <option value="tid"<!--{if $_GET[idtype] == 'tid'}--> selected<!--{/if}-->>话题</option> <option value="uid"<!--{if $_GET[idtype] == 'uid'}--> selected<!--{/if}-->>空间</option> <option value="sid"<!--{if $_GET[idtype] == 'sid'}--> selected<!--{/if}-->>分享</option> <option value="pid"<!--{if $_GET[idtype] == 'pid'}--> selected<!--{/if}-->>投票</option> <option value="eventid"<!--{if $_GET[idtype] == 'eventid'}--> selected<!--{/if}-->>活动</option> <option value="comment"<!--{if $_GET[idtype] == 'comment'}--> selected<!--{/if}-->>评论</option> <option value="post"<!--{if $_GET[idtype] == 'post'}--> selected<!--{/if}-->>话题回复</option> </select> </td> <th>举报状态</th><td> <select name="status"> <option value="2">不限</option> <option value="0"<!--{if $_GET[status] == '0'}--> selected<!--{/if}-->>已忽略</option> <option value="1"<!--{if $_GET[status] == '1'}--> selected<!--{/if}-->>待处理</option> </select></td> </tr> <tr><th>举报次数</th><td colspan="3"> <input type="text" name="num1" value="$_GET[num1]" size="10"> ~ <input type="text" name="num2" value="$_GET[num2]" size="10"> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>举报时间</option> <option value="num"$orderby[viewnum]>举报数</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="report"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=report"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[rid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable" border="0"> <tr> <td width="25">&nbsp;</td> <th>内容</th> <th width="50"><a href="admincp.php?ac=$ac&perpage=20&orderby=num&ordersc=$scstr&status=$_GET[status]&searchsubmit=1">次数</a></th> <th width="120"><a href="admincp.php?ac=$ac&perpage=20&orderby=dateline&ordersc=$scstr&status=$_GET[status]&searchsubmit=1">时间</a></th> <th width="140">操作</th> </tr> <!--{loop $list $key $report}--> <!--{loop $report $value}--> <tr <!--{if $value[new]}-->bgcolor="#F2F9FD"<!--{/if}-->> <td> <input type="checkbox" name="ids[]" value="$value[rid]"> </td> <td> <!--{if empty($value[info])}--> 信息已被删除<br> <!--{else}--> <!--{if $key=='blog'}--> <a href="space.php?uid=$value[info][uid]&do=blog&id=$value[info][blogid]" target="_blank">$value[info][subject]</a><br> <!--{elseif $key=='pic'}--> <a href="space.php?uid=$value[info][uid]&do=album&picid=$value[info][picid]" target="_blank"><img src="$value[info][pic]" width="90" alt="$value[info][filename]"></a><br> $value[info][title]<br> <!--{elseif $key=='album'}--> <a href="space.php?uid=$value[info][uid]&do=album&id=$value[info][albumid]" target="_blank"><img src="$value[info][pic]" alt="$value[info][albumname]" width="100" height="90"></a><br> $value[info][albumname]<br> <!--{elseif $key=='thread'}--> <a href="space.php?do=thread&id=$value[info][tid]" target="_blank">$value[info][subject]</a><br> <!--{elseif $key=='mtag'}--> <a href="space.php?do=mtag&tagid=$value[info][tagid]" target="_blank">$value[info][tagname]</a><br> <!--{elseif $key=='share'}--> <p><a href="admincp.php?ac=share&uid=$value[info][uid]">$value[info][username]</a> <a href="space.php?uid=$value[info][uid]&do=share&id=$value[info][sid]">$value[info][title_template]</a> &nbsp;<!--{date('Y-m-d H:i', $value[info][dateline])}--></p> $value[info][body_template]<br> <!--{elseif $key=='space'}--> <a href="space.php?uid=$value[info][uid]" target="_blank"><!--{avatar($value[info][uid],middle)}--></a><br> 用户名: <a href="space.php?uid=$value[info][uid]">$value[info][username]</a><br> <!--{elseif $key=='poll'}--> <a href="space.php?uid=$value[info][uid]&do=poll&pid=$value[info][pid]" target="_blank">$value[info][subject]</a><br> <!--{elseif $key=='event'}--> <a href="space.php?uid=$value[info][uid]&do=event&id=$value[info][eventid]" target="_blank">$value[info][title]</a><br> <!--{elseif $key=='comment'}--> <a href="$value[info][url]" target="_blank">$value[info][message](查看详情)</a><br> <!--{elseif $key=='post'}--> <a href="space.php?do=thread&id=$value[info][tid]&pid=$value[info][pid]" target="_blank">$value[info][message](查看详情)</a><br> <!--{/if}--> <!--{/if}--> <strong>举报理由:</strong><br> <ul>$value[reason]</ul> </td> <td>$value[num]</td> <td> 类型: <!--{if $key=='blog'}--> 日志 <!--{elseif $key=='pic'}--> 图片 <!--{elseif $key=='album'}--> 相册 <!--{elseif $key=='thread'}--> 话题 <!--{elseif $key=='mtag'}--> 群组 <!--{elseif $key=='share'}--> 分享 <!--{elseif $key=='space'}--> 空间 <!--{elseif $key=='poll'}--> 投票 <!--{elseif $key=='event'}--> 活动 <!--{elseif $key=='comment'}--> 评论 <!--{elseif $key=='post'}--> 话题回复 <!--{/if}--> <br> 查阅状态:<!--{if $value[new]}-->未读<!--{else}-->已读<!--{/if}--><br> <!--{date('Y-m-d',$value[dateline])}--> </td> <td> <a href="admincp.php?ac=report&rid=$value[rid]&op=ignore">禁止举报</a><br> <a href="admincp.php?ac=report&rid=$value[rid]&op=delete" onclick="return confirm('本操作不可恢复,确认继续?');">删除举报</a><br> <a href="admincp.php?ac=report&rid=$value[rid]&op=delete&subop=delinfo" onclick="return confirm('本操作不可恢复,确认继续?');">删除举报及<!--{if $key=='blog'}--> 日志信息 <!--{elseif $key=='pic'}--> 图片信息 <!--{elseif $key=='album'}--> 相册信息 <!--{elseif $key=='thread'}--> 话题信息 <!--{elseif $key=='mtag'}--> 群组 <!--{elseif $key=='share'}--> 分享信息 <!--{elseif $key=='space'}--> 空间 <!--{elseif $key=='poll'}--> 投票信息 <!--{elseif $key=='event'}--> 活动信息 <!--{elseif $key=='comment'}--> 评论信息 <!--{elseif $key=='post'}--> 话题回复信息 <!--{/if}--> </a> </td> </tr> <!--{/loop}--> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> 操作类型: <input type="radio" name="optype" value="1" checked>禁止举报 <input type="radio" name="optype" value="2">删除举报 <input type="radio" name="optype" value="3">删除举报及信息或者空间 <input type="submit" name="listsubmit" value="批量操作" class="submit" onclick="return confirm('本操作不可恢复,确认继续?');"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <div class="title" id="base"> <h3> <a href="admincp.php?ac=$ac&perpage=20&status=1&searchsubmit=1">待处理举报</a> | <a href="admincp.php?ac=$ac&perpage=20&status=0&searchsubmit=1">已忽略举报</a> </h3> </div> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/report.htm
HTML
asf20
9,866
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if $showform == 0}--> <form method="post" action="admincp.php?ac=backup&op=export" enctype="multipart/form-data"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>数据备份</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th colspan="2"><input type="radio" name="type" value="uchomes" checked onclick="$('showtables').style.display='none'">UCenter Home 全部数据</th> </tr> <tr> <th><input type="radio" name="type" value="custom" onclick="$('showtables').style.display=''">自定义备份</th> <td>根据需要自行选择需要备份的数据表</td> </tr> <tr> <td colspan="2" align="right"><input type="checkbox" onclick="$('advanceoption').style.display=$('advanceoption').style.display == 'none' ? '' : 'none'; this.value = this.value == 1 ? 0 : 1; this.checked = this.value == 1 ? false : true" value="1">更多选项</td> </tr> </table> <div id="showtables" style="display:none"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><td><input type="checkbox" name="chkall" onclick="checkAll(this.form, 'customtables')" checked>全选 <strong>UCenter Home表</strong></td> </table> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <!--{loop $uchome_tablelist $key $value}--> <!--{if $key%4 == 0}--></tr><tr><!--{/if}--> <td><input type="checkbox" name="customtables[]" value="$value[Name]" checked>$value[Name]</td> <!--{/loop}--> </tr> </table> </div> <div id="advanceoption" style="display:none"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>备份方式</th> </tr> <tr> <td><input type="radio" name="method" value="shell" $shelldisabled onclick="if($dbversion < '4.1'){if(this.form.sqlcompat[2].checked==true) this.form.sqlcompat[0].checked=true; this.form.sqlcompat[2].disabled=true; this.form.sizelimit.disabled=true;} else {this.form.sqlcharset[0].checked=true; for(var i=1; i<=5; i++) {if(this.form.sqlcharset[i]) this.form.sqlcharset[i].disabled=true;}}">系统 MySQL Dump (Shell) 备份</td> </tr> <tr> <td><input type="radio" name="method" value="multivol" checked onclick="this.form.sqlcompat[2].disabled=false; this.form.sizelimit.disabled=false; for(var i=1; i<=5; i++) {if(this.form.sqlcharset[i]) this.form.sqlcharset[i].disabled=false;}">UCenter Home 分卷备份: 文件长度限制 <input type="text" size="5" value="2048" name="sizelimit"> kb</td> </tr> </table> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th colspan="2">备份选项</th> </tr> <tr> <th>使用扩展插入</th> <td><input type="radio" value="1" name="extendins" checked>是 <input type="radio" value="0" name="extendins" checked>否</td> </tr> <tr> <th>建表语句格式</th> <td><input type="radio" value="" name="sqlcompat" checked>默认(MySQL$dbversion) <input type="radio" value="MYSQL40" name="sqlcompat">MySQL 3.23/4.0.x <input type="radio" value="MYSQL41" name="sqlcompat">MySQL 4.1.x/5.x </td> </tr> <tr> <th>强制字符集</th> <td> <input class="radio" type="radio" name="sqlcharset" value="" checked>默认($_SC['dbcharset'])&nbsp; <!--{if $_SC['dbcharset']}--> <input class="radio" type="radio" name="sqlcharset" value="$_SC[dbcharset]">$_SC['dbcharset']&nbsp; <!--{/if}--> <!--{if $dbversion > '4.1' && $_SC['dbcharset'] != 'utf8'}--> <input class="radio" type="radio" name="sqlcharset" value="utf8">utf-8</option> <!--{/if}--> </td> </tr> <tr> <th>十六进制方式</th> <td><input type="radio" value="1" name="usehex" checked>是 <input type="radio" value="0" name="usehex" checked>否</td> </tr> <tr $zipdisplay> <th>压缩备份文件</th> <td><input type="radio" value="1" name="usezip">多分卷压缩成一个文件 <input type="radio" value="2" name="usezip">每个分卷压缩成单独文件 <input type="radio" value="0" name="usezip" checked>不压缩</td> </tr> <tr> <th>备份文件名</th> <td><input type="text" size="40" value="$filename" name="filename">.sql</td> </tr> </table> </div> </div> <div class="footactions"> <input type="hidden" name="setup" value="1"> <input type="submit" value="提 交" class="submit"> </div> </form> <br /> <form method="post" action="admincp.php?ac=backup" name="thevalueform"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>数据恢复</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><td>服务器备份文件名: ./data/<input type="text" name="datafile" value="$backupdir/" size="50"></td></tr> </table> </div> <div class="footactions"> <input type="submit" name="importsubmit" value="提交" class="submit"> </div> </form> <br /> <form method="post" action="admincp.php?ac=backup" name="thevalueform"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>数据备份记录</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="4%">&nbsp;</th> <th>文件名</th> <th width="15%">版本</th> <th width="15%">类型</th> <th width="10%">操作</th> </tr> <!--{loop $exportlog $key $value}--> <tr> <td> <input type="checkbox" name="delexport[]" value="$value['filename']"> </td> <td> <a href="./data/$value['filename']"><!--{eval echo basename($value['filename'])}--></a> ($value[size])<br />$value[dateline] <!--{if $value['method'] == 'multivol' && $value['type'] != 'zip'}--> 多卷 <!--{elseif $value['method'] == 'multivol'}--> SHELL <!--{else}--> 压缩 <!--{/if}--> <!--{if !empty($value['volume'])}--> ($value['volume']) <!--{/if}--> </td> <td>$value[version]</td> <td><!--{if $value['type'] == 'custom'}-->自定义备份<!--{else}-->全部备份<!--{/if}--></td> <td> <!--{if $value['type'] == 'zip'}--> <a href="admincp.php?ac=backup&op=import&do=zip&datafile=$value[filename]">[解压] <!--{else}--> <!--{if $value['version'] != $x_ver}--> <a href="admincp.php?ac=backup&op=import&do=import&datafile=$value[filename]" onclick="return confirm('确定导入?');">[导入]</a> <!--{else}--> <a href="admincp.php?ac=backup&op=import&do=import&datafile=$value[filename]">[导入]</a> <!--{/if}--> <!--{/if}--> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="checkbox" name="chkall" onclick="checkAll(this.form, 'delexport')">全选 <input type="submit" name="delexportsubmit" value="批量删除" class="submit"> </div> </form> <!--{elseif $showform == 1}--> <form method="get" action="admincp.php" name="thevalueform"> <div class="bdrcontent"> <div class="title"> <h3>导入确认</h3> </div> <p> <!--{eval echo basename($datafile)}--><br /> 导入版本:$identify[1]<br /> 导入类型:<!--{if $identify[2] == 'custom'}-->自定义备份<!--{else}-->全部备份<!--{/if}--><br /> 方式:<!--{if $identify[3] == 'multivol'}-->多卷<!--{else}-->Shell<!--{/if}--><br /> <br />确定导入吗? </p> </div> <div class="footactions"> <input type="hidden" name="ac" value="backup"> <input type="hidden" name="op" value="import"> <input type="hidden" name="do" value="zip"> <input type="hidden" name="datafile" value="$datafile"> <input type="hidden" name="confirm" value="yes"> <input type="submit" name="confirmed" value="继续" class="submit"> <input type="button" value="返回" onClick="location.href='admincp.php?ac=backup'"> </div> </form> <!--{elseif $showform == 2}--> <form method="get" action="admincp.php" name="thevalueform"> <div class="bdrcontent"> <div class="title"> <h3>自动导入确认</h3> </div> <p>所有分卷文件解压缩完毕,您需要自动导入备份吗?导入后解压缩的文件将会被删除。</p> </div> <div class="footactions"> <input type="hidden" name="ac" value="backup"> <input type="hidden" name="op" value="import"> <input type="hidden" name="do" value="import"> <input type="hidden" name="datafile" value="$datafile_vol1"> <input type="hidden" name="delunzip" value="yes"> <input type="submit" name="confirmed" value="继续" class="submit"> <input type="button" value="返回" onClick="location.href='admincp.php?ac=backup'"> </div> </form> <!--{elseif $showform == 3}--> <form method="get" action="admincp.php" name="thevalueform"> <div class="bdrcontent"> <div class="title"> <h3>继续解压确认</h3> </div> <p>$info<br />备份文件解压缩完毕,您需要自动解压缩其他的分卷文件吗?</p> </div> <div class="footactions"> <input type="hidden" name="ac" value="backup"> <input type="hidden" name="op" value="import"> <input type="hidden" name="do" value="zip"> <input type="hidden" name="multivol" value="1"> <input type="hidden" name="datafile_vol1" value="$datafile"> <input type="hidden" name="confirm" value="yes"> <input type="submit" name="confirmed" value="继续" class="submit"> <input type="button" value="返回" onClick="location.href='admincp.php?ac=backup'" class="submit"> </div> </form> <!--{elseif $showform == 4}--> <form method="get" action="admincp.php" name="thevalueform"> <div class="bdrcontent"> <div class="title"> <h3>自动导入备份确认</h3> </div> <p> <!--{eval echo basename($datafile)}--><br /> 导入版本:$identify[1]<br /> 导入类型:<!--{if $identify[2] == 'custom'}-->自定义备份<!--{else}-->全部备份<!--{/if}--><br /> 方式:<!--{if $identify[3] == 'multivol'}-->多卷<!--{else}-->Shell<!--{/if}--><br /> <br />备份文件解压缩完毕,您需要自动导入备份吗?导入后解压缩的文件将会被删除 </p> </div> <div class="footactions"> <input type="hidden" name="ac" value="backup"> <input type="hidden" name="op" value="import"> <input type="hidden" name="do" value="import"> <input type="hidden" name="datafile" value="$backupdir/$importfile"> <input type="hidden" name="delunzip" value="yes"> <input type="submit" name="confirmed" value="继续" class="submit"> <input type="button" value="返回" onClick="location.href='admincp.php?ac=backup'" class="submit"> </div> </form> <!--{elseif $showform == 5}--> <form method="get" action="admincp.php" name="thevalueform"> <div class="bdrcontent"> <div class="title"> <h3>自动导入备份确认</h3> </div> <p>分卷数据成功导入数据库,您需要自动导入本次其他的备份吗?</p> </div> <div class="footactions"> <input type="hidden" name="ac" value="backup"> <input type="hidden" name="op" value="import"> <input type="hidden" name="do" value="import"> <input type="hidden" name="datafile" value="$datafile_next"> <input type="hidden" name="autoimport" value="yes"> <!--{if isset($_GET['unzip'])}--> <input type="hidden" name="delunzip" value="yes"> <!--{/if}--> <input type="submit" name="confirmed" value="继续" class="submit"> <input type="button" value="返回" onClick="location.href='admincp.php?ac=backup'" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/backup.htm
HTML
asf20
11,601
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="bdrcontent"> <!--{if $_SCONFIG['my_status']}--> <p></p> <table width="100%"> <tr> <td> <strong>本站MYOP应用管理</strong><br> 如果用户应用功能无法与ManYou通讯,请重新同步站点信息;如果想要关闭用户应用功能,点击“关闭用户应用功能”;注意:关闭用户应用功能后当前所有的应用都将处于禁用状态。 </td> </tr> <tr> <td> <table><tr><td> <form method="post" action="admincp.php?ac=userapp"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <input type="hidden" name="my_hidden" value="1"> <input type="submit" name="mysubmit" value="同步信息" class="submit"> </form> </td><td> <form method="post" action="admincp.php?ac=userapp"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <input type="hidden" name="my_hidden" value="1"> <input type="submit" name="closemysubmit" value="关闭用户应用功能" class="submit"> </form> </td></tr></table> </td> </tr> </table> <!--{else}--> <form method="post" action="admincp.php?ac=userapp"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <table width="100%"> <tr><td> <strong>MYOP用户多应用功能简介</strong><br> 开启用户应用功能后,用户可以自由选择各种不同的或好玩有趣、或实用的等应用(诸如停车位、好友买卖、电影、送礼物......)在站内进行使用。<br> 面对如此众多的好玩好用的应用,作为站长,您可以:<br><br> 1. 可选择全部开启模式,用户可以自由选择MYOP上面的全部应用;<br> 2. 可选择自定义开启模式,由你按照自己的站点情况,选择自己想要的特定应用来提供给站点用户;<br> <br> <strong>本多应用功能由 <a target="_blank" href="http://www.manyou.com">MYOP开放平台</a> 提供</strong>。<br> Manyou Open Platform(Manyou开放平台/MYOP)服务是由Comsenz公司为应用开发者提供的开放平台。<br> 作为UCenter Home使用网站的开放平台应用开发标准(API),Manyou将为您站点UCenter Home的用户提供各种个性化的互联网应用。<br><br> 启用服务前,<a href="http://wiki.developer.manyou.com/wiki/index.php?title=MYOP%E7%BD%91%E7%AB%99%E6%9C%8D%E5%8A%A1%E5%8D%8F%E8%AE%AE&printable=yes" target="_blank">请先阅读MYOP网站服务协议</a><br><br> </td></tr> <tr><td> <input type="hidden" name="my_hidden" value="1"> <input type="submit" name="mysubmit" value="启用服务" class="submit"> </td></tr> </table> </form> <!--{/if}--> </div> <br> <!--{if $_SCONFIG['my_status']}--> <script type="text/javascript" src="http://static.manyou.com/scripts/my_iframe.js"></script> <script language="javascript"> var prefixURL = "$my_prefix"; var suffixURL = "$my_suffix"; var queryString = ''; var url = "{$url}"; var oldHash = null; var timer = null; var server = new MyXD.Server("ifm0"); server.registHandler('iframeHasLoaded'); server.registHandler('setTitle'); server.start(); function iframeHasLoaded(ifm_id) { MyXD.Util.showIframe(ifm_id); document.getElementById('loading').style.display = 'none'; } function htmlspecialchars_decode(string) { string = string.toString(); string = string.replace(/&amp;/g, '&'); string = string.replace(/&lt;/g, '<'); string = string.replace(/&gt;/g, '>'); string = string.replace(/&quot;/g, '"'); string = string.replace(/&#039;/g, "'"); return string; } function setTitle(x) { <!--{eval $my_site_name=htmlspecialchars($_SCONFIG['sitename'], ENT_QUOTES);}--> var my_site_name = htmlspecialchars_decode('{$my_site_name}'); x = htmlspecialchars_decode(x); document.title = x + ' - <!--{if $space}--><!--{eval echo saddslashes($_SN[$space[uid]])}--> - <!--{/if}-->' + my_site_name + ' - Powered by UCenter Home'; } </script> <div class="bdrcontent"> <div id="loading" style="display:block; padding:100px 0 100px 0;text-align:center;color:#999999;font-size:12px;"> <img src="image/my/loading.gif" alt="loading..." style="position:relative;top:11px;"/> 页面加载中... </div> <center> <iframe id="ifm0" frameborder="0" width="810px" scrolling="no" height="810px" style="position:absolute; top:-5000px; left:-5000px;" src="{$url}"></iframe> </center> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/userapp.htm
HTML
asf20
4,748
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr><th>群组ID</th><td><input type="text" name="tagid" value="$_GET[tagid]"></td> <th>标题*</th><td><input type="text" name="subject" value="$_GET[subject]"></td> </tr> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr> <th>指定话题ID</th> <td colspan="3"> <input type="text" name="tid" value="$_GET[tid]" /> </td> </tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>查看数</th><td colspan="3"> <input type="text" name="viewnum1" value="$_GET[viewnum1]" size="10"> ~ <input type="text" name="viewnum2" value="$_GET[viewnum2]" size="10"> </td></tr> <tr><th>回复数</th><td colspan="3"> <input type="text" name="replynum1" value="$_GET[replynum1]" size="10"> ~ <input type="text" name="replynum2" value="$_GET[replynum2]" size="10"> </td></tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr><th>是否精华</th><td colspan="3"> <select name="digest"> <option value="">不限制</option> <option value="1"<!--{if $_GET[digest]==1}--> selected<!--{/if}-->>精华帖</option> </select> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> <option value="lastpost"$orderby[lastpost]>回复时间</option> <option value="viewnum"$orderby[viewnum]>查看数</option> <option value="replynum"$orderby[replynum]>回复数</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="thread"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=thread&tagid=$tagid"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[tid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="25">&nbsp;</th> <th>标题</td> <th width="50">查看</th> <th width="50">回复</th> <!--{if $allowmanage}--><th width="80">作者</th><!--{/if}--> <th width="80">时间</th> </tr> <!--{loop $list $value}--> <tr> <td><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[tid]"></td> <td>[<a href="$mpurl&tagid=$value[tagid]">{$tags[$value[tagid]]}</a>] <a href="space.php?do=thread&id=$value[tid]" target="_blank">$value[subject]</a> <!--{if $value[digest]}-->[<a href="$mpurl&digest=$value[digest]">精</a>]<!--{/if}--> <!--{if $value[displayorder]}-->[<a href="$mpurl&displayorder=$value[displayorder]">顶</a>]<!--{/if}--> <!--{if $value[hot]}--><span style="color:red;">热度($value[hot])</span><!--{/if}--> </td> <td>$value[viewnum]</td> <td><a href="admincp.php?ac=post&tid=$value[tid]">$value[replynum]</a></td> <!--{if $allowmanage}--><td><a href="$mpurl&uid=$value[uid]">$value[username]</a></td><!--{/if}--> <td><!--{date('Y-m-d',$value[dateline])}--></td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $perpage>100}--> <input type="hidden" name="optype" value="delete"> <input type="submit" name="opsubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <!--{else}--> <!--{if $allowbatch}--> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 <!--{/if}--> <input type="radio" name="optype" value="delete" checked> 删除 <!--{if $_GET['tagid']}--> <input type="radio" name="optype" value="digest"> 批量精华 <select name="digestv"> <option value="1">设为精华</option> <option value="0">取消精华</option> </select> <input type="radio" name="optype" value="top"> 批量置顶 <select name="topv"> <option value="1">设为置顶</option> <option value="0">取消置顶</option> </select> <!--{/if}--> <input type="submit" name="opsubmit" value="执行操作" onclick="return confirm('本操作不可恢复,确认继续?');" class="submit"> <!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/thread.htm
HTML
asf20
5,754
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr><th>内容*</th><td><input type="text" name="message" value="$_GET[message]"></td> <th>IP</th><td><input type="text" name="ip" value="$_GET[ip]"></td> </tr> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="doing"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=doing"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[doid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list $value}--> <tr><td width="25"><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[doid]"></td> <td> <!--{if $allowmanage}--><a href="$mpurl&uid=$value[uid]">$value[username]</a> :&nbsp;<!--{/if}--> $value[message] &nbsp;<!--{date('Y-m-d H:i', $value[dateline])}--></td></tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="batchsubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/doing.htm
HTML
asf20
3,104
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr><th>标签名*</th><td><input type="text" name="tagname" value="$_GET[tagname]"></td> <th>是否锁定</th><td> <select name="close"> <option value="">不限制</option> <option value="1"<!--{if $_GET[close]==1}--> selected<!--{/if}-->>锁定</option> </select> </td> </tr> <tr><th>创建时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>日志数</th><td colspan="3"> <input type="text" name="blognum1" value="$_GET[blognum1]" size="10"> ~ <input type="text" name="blognum2" value="$_GET[blognum2]" size="10"> </td> </tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>创建时间</option> <option value="blognum"$orderby[blognum]>日志数</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> </select> <input type="hidden" name="ac" value="tag"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=tag"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>标签名</th> <th width="80">日志数</th> <th width="100">时间</th> </tr> <!--{loop $list $value}--> <tr> <td><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[tagid]"> <a href="space.php?uid=$space[uid]&do=tag&id=$value[tagid]" target="_blank">$value[tagname]</a><!--{if $value[close]}-->(<a href="admincp.php?ac=tag&close=$value[close]">锁定</a>)<!--{/if}--></td> <td>$value[blognum]</td> <td><!--{date('Y-m-d', $value[dateline])}--></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="hidden" name="mpurl" value="$mpurl"> <!--{if $allowbatch}--> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 <!--{/if}--> <input type="radio" name="optype" value="delete"> 删除 <input type="radio" name="optype" value="merge"> 合并到新标签:<input type="text" name="newtagname" value="" size="5"> <input type="radio" name="optype" value="close"> 锁定 <input type="radio" name="optype" value="open"> 开放 <input type="submit" name="opsubmit" value="执行操作" onclick="return confirm('本操作不可恢复,确认继续?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/tag.htm
HTML
asf20
3,449
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr><th>群组ID</th><td><input type="text" name="tagid" value="$_GET[tagid]"></td> <th>话题ID</th><td><input type="text" name="tid" value="$_GET[tid]"></td> </tr> <!--{if $allowmanage}--> <tr><th>作者UID</th><td><input type="text" name="uid" value="$_GET[uid]"></td> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]"></td> </tr> <!--{/if}--> <tr><th>发布时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (YYYY-MM-DD) </td></tr> <tr><th>内容*</th><td><input type="text" name="message" value="$_GET[message]"></td> <th>IP</th><td><input type="text" name="ip" value="$_GET[ip]"></td> </tr> <tr><th>是否主题帖</th><td colspan="3"> <select name="isthread"> <option value="">不限制</option> <option value="1"<!--{if $_GET[isthread]==1}--> selected<!--{/if}-->>主题帖</option> </select> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>发布时间</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="post"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=post&tagid=$tagid"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[pid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <!--{loop $list $value}--> <tr> <td width="25"><input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[pid]"></td> <td> <!--{if $value[isthread]}-->[主题]<!--{else}-->[回帖]<!--{/if}--> <a href="space.php?uid=$space[uid]&do=thread&id=$value[tid]" target="_blank">$threads[$value[tid]]</a> <br>$value[message] <!--{if $wheresql == 1 }--><a href="$mpurl&pid=$value[pid]">...</a><!--{/if}--> <p> <!--{if $allowmanage}--><a href="$mpurl&uid=$value[uid]">$value[username]</a> (<a href="$mpurl&ip=$value[ip]">$value[ip]</a>)&nbsp;<!--{/if}--> <!--{date('Y-m-d H:i',$value[dateline])}--> </p> </td> </tr> <!--{/loop}--> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="deletesubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/post.htm
HTML
asf20
3,845
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li><a href="#base"><span>基本设置</span></a></li> <li><a href="#register"><span>注册显示</span></a></li> <li><a href="#uch"><span>系统功能</span></a></li> <li><a href="#name"><span>实名认证设置</span></a></li> <li><a href="#video"><span>视频认证设置</span></a></li> <li><a href="#upload"><span>上传图片设置</span></a></li> <li><a href="#remote"><span>远程上传设置</span></a></li> <li><a href="#email"><span>邮件设置</span></a></li> </ul> </div> <form method="post" action="admincp.php?ac=config"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table class="formtable"> <tr> <th style="width:15em;">站点名称</th> <td><input type="text" name="config[sitename]" value="$configs[sitename]" size="50"></td> </tr> <tr> <th>站点访问URL地址</th> <td> <input type="text" name="config[siteallurl]" value="$configs[siteallurl]" size="50"><br>开启二级域名时需要使用,例如:http://u.discuz.net/ ,末尾要加“/” </td> </tr> <tr> <th>站点模板</th> <td> <select name="config[template]"> <!--{loop $templatearr $value}--> <option value="$value"{$templateselect[$value]}>$value</option> <!--{/loop}--> </select> <br>站点模板目录存放在 ./template 下面。其中 default 目录为默认风格,不能删除。 </td> </tr> <tr> <th>站点联系邮箱</th> <td><input type="text" name="config[adminemail]" value="$configs[adminemail]" size="50"></td> </tr> <tr> <th>服务器时区设置</th> <td> <select name="config[timeoffset]"> <option value="-12" $toselect[-12]>(GMT -12:00) Eniwetok, Kwajalein</option> <option value="-11" $toselect[-11]>(GMT -11:00) Midway Island, Samoa</option> <option value="-10" $toselect[-10]>(GMT -10:00) Hawaii</option> <option value="-9" $toselect[-9]>(GMT -09:00) Alaska</option> <option value="-8" $toselect[-8]>(GMT -08:00) Pacific Time (US &amp; Canada), Tijuana</option> <option value="-7" $toselect[-7]>(GMT -07:00) Mountain Time (US &amp; Canada), Arizona</option> <option value="-6" $toselect[-6]>(GMT -06:00) Central Time (US &amp; Canada), Mexico City</option> <option value="-5" $toselect[-5]>(GMT -05:00) Eastern Time (US &amp; Canada), Bogota, Lima, Quito</option> <option value="-4" $toselect[-4]>(GMT -04:00) Atlantic Time (Canada), Caracas, La Paz</option> <option value="-3.5" $toselect[-3.5]>(GMT -03:30) Newfoundland</option> <option value="-3" $toselect[-3]>(GMT -03:00) Brassila, Buenos Aires, Georgetown, Falkland Is</option> <option value="-2" $toselect[-2]>(GMT -02:00) Mid-Atlantic, Ascension Is., St. Helena</option> <option value="-1" $toselect[-1]>(GMT -01:00) Azores, Cape Verde Islands</option> <option value="0" $toselect[0]>(GMT) Casablanca, Dublin, Edinburgh, London, Lisbon, Monrovia</option> <option value="1" $toselect[1]>(GMT +01:00) Amsterdam, Berlin, Brussels, Madrid, Paris, Rome</option> <option value="2" $toselect[2]>(GMT +02:00) Cairo, Helsinki, Kaliningrad, South Africa</option> <option value="3" $toselect[3]>(GMT +03:00) Baghdad, Riyadh, Moscow, Nairobi</option> <option value="3.5" $toselect[3.5]>(GMT +03:30) Tehran</option> <option value="4" $toselect[4]>(GMT +04:00) Abu Dhabi, Baku, Muscat, Tbilisi</option> <option value="4.5" $toselect[4.5]>(GMT +04:30) Kabul</option> <option value="5" $toselect[5]>(GMT +05:00) Ekaterinburg, Islamabad, Karachi, Tashkent</option> <option value="5.5" $toselect[5.5]>(GMT +05:30) Bombay, Calcutta, Madras, New Delhi</option> <option value="5.75" $toselect[5.75]>(GMT +05:45) Katmandu</option> <option value="6" $toselect[6]>(GMT +06:00) Almaty, Colombo, Dhaka, Novosibirsk</option> <option value="6.5" $toselect[6.5]>(GMT +06:30) Rangoon</option> <option value="7" $toselect[7]>(GMT +07:00) Bangkok, Hanoi, Jakarta</option> <option value="8" $toselect[8]>(GMT +08:00) Beijing, Hong Kong, Perth, Singapore, Taipei</option> <option value="9" $toselect[9]>(GMT +09:00) Osaka, Sapporo, Seoul, Tokyo, Yakutsk</option> <option value="9.5" $toselect[9.5]>(GMT +09:30) Adelaide, Darwin</option> <option value="10" $toselect[10]>(GMT +10:00) Canberra, Guam, Melbourne, Sydney, Vladivostok</option> <option value="11" $toselect[11]>(GMT +11:00) Magadan, New Caledonia, Solomon Islands</option> <option value="12" $toselect[12]>(GMT +12:00) Auckland, Wellington, Fiji, Marshall Island</option> </select> <br>根据服务器的时区配置进行选择,一般国内服务器为 GMT +08:00</td> </tr> <tr> <th>显示授权信息链接</th> <td> <input type="radio" name="config[licensed]" value="1"<!--{if $configs[licensed] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[licensed]" value="0"<!--{if $configs[licensed] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>显示程序执行信息</th> <td> <input type="radio" name="config[debuginfo]" value="1"<!--{if $configs[debuginfo] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[debuginfo]" value="0"<!--{if $configs[debuginfo] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>ICP/IP/域名备案</th> <td><input type="text" name="config[miibeian]" value="$configs[miibeian]" size="20"> (例如 京ICP备04000001号,显示在所有页面的最下面)</td> </tr> <tr> <th>强制使用默认字符集</th> <td><input type="radio" name="config[headercharset]" value="1"<!--{if $configs[headercharset] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[headercharset]" value="0"<!--{if $configs[headercharset] != '1'}--> checked<!--{/if}-->>否 <br>可避免部分服务器空间页面出现乱码,一般无需开启</td> </tr> <tr> <th>URL Rewrite</th> <td> <input type="radio" name="config[allowrewrite]" value="1"<!--{if $configs[allowrewrite] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[allowrewrite]" value="0"<!--{if $configs[allowrewrite] != '1'}--> checked<!--{/if}-->>否 <br>开启本功能需要对 Web 服务器增加相应的 Rewrite 规则 <br>且会轻微增加服务器负担,相应规则请参考帮助文档 </td> </tr> <tr> <th style="width:15em;">记录在线时间</th> <td><input type="text" name="config[onlinehold]" value="$configs[onlinehold]" size="5"> (单位 秒)</td> </tr> <tr> <th>开启站点概况统计</th> <td> <input type="radio" name="config[updatestat]" value="1"<!--{if $configs[updatestat] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[updatestat]" value="0"<!--{if $configs[updatestat] != '1'}--> checked<!--{/if}-->>否 <br>建议开启,记录站点每日的登录人数、发表数、互动数等重点参数,可为站点运营发展提供重要数据依据 </td> </tr> <tr> <th>用户头像体系</th> <td> <input type="radio" name="config[avatarreal]" value="0"<!--{if $configs[avatarreal] != '1'}--> checked<!--{/if}-->>使用头像体系1 <input type="radio" name="config[avatarreal]" value="1"<!--{if $configs[avatarreal] == '1'}--> checked<!--{/if}-->>使用头像体系2 <br>UCenter用户头像分为两套体系(默认为体系1),您可以选择在本系统内使用的头像体系,而在其他应用(比如Discuz!论坛)中使用相同或者不同的头像体系。<br>注意:修改本选项后,用户需要上传与体系对应的新头像。 </td> </tr> <tr> <th>UCenter的物理路径</th> <td><input type="text" name="config[uc_dir]" value="$configs[uc_dir]" size="40"> <br>默认为空。如果本系统可以读取UCenter的程序目录,推荐填写该路径值。 <br>请输入以 “./” “../”开头的相对路径,或者绝对路径,末尾加 "/",例如填写:../ucenter/。 </td> </tr> <tr> <th>MYOP的IP</th> <td><input type="text" name="config[my_ip]" value="$configs[my_ip]" size="40"> <br>默认为空。如果您的服务器因DNS解析问题无法使用MYOP服务,请填写MYOP的IP地址。 </td> </tr> <tr> <th>站点关闭访问</th> <td> <input type="radio" name="config[close]" value="1"<!--{if $configs[close] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[close]" value="0"<!--{if $configs[close] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>站点关闭说明</th> <td> <textarea name="config[closereason]" cols="80" rows="4">$configs[closereason]</textarea> </td> </tr> <tr> <th>举报可选理由</th> <td> <textarea name="dataset[reason]" cols="80" rows="4">$datasets[reason]</textarea> <br>预设举报可选理由,每行一个 </td> </tr> </table> <br /> <div class="title" id="register"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>注册和显示</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">关闭新用户注册</th> <td> <input type="radio" name="config[closeregister]" value="1"<!--{if $configs[closeregister] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[closeregister]" value="0"<!--{if $configs[closeregister] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>关闭邀请注册功能</th> <td> <input type="radio" name="config[closeinvite]" value="1"<!--{if $configs[closeinvite] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[closeinvite]" value="0"<!--{if $configs[closeinvite] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>一个邮箱只能注册一个账号</th> <td> <input type="radio" name="config[checkemail]" value="1"<!--{if $configs[checkemail] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[checkemail]" value="0"<!--{if $configs[checkemail] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>同一IP注册时间间隔</th> <td> <input type="text" name="config[regipdate]" value="$configs[regipdate]" size="5"> (单位:小时) <br>限制同一个ip,在多长时间内只能注册一个账号 </td> </tr> <tr> <th>注册服务条款</th> <td> <textarea name="dataset[registerrule]" cols="80" rows="4">$datasets[registerrule]</textarea> <br>用户注册的时候会显示并需要接受的服务条款。(支持html语言,换行使用&lt;br&gt;) </td> </tr> <tr> <th>列表最大分页数</th> <td><input type="text" name="config[maxpage]" value="$configs[maxpage]" size="5"> (默认为 100)<br>允许用户查看的最大分页数。当用户查看的分页数越大的时候,对服务器的负载压力就越大。</td> </tr> <tr> <th>动态保留天数</th> <td><input type="text" name="config[feedday]" value="$configs[feedday]" size="5"> (默认为 7)<br>个人动态的保留天数。超过该天数的个人动态会被清理掉,从而可以保证MySQL的效率。建议不要设置太长。</td> </tr> <tr> <th>首页动态显示数</th> <td><input type="text" name="config[feedmaxnum]" value="$configs[feedmaxnum]" size="5"> (默认为 100)<br>首页显示的好友动态将从这些数目的事件中进行合并显示。建议不要设置太多,从而可以保证MySQL的效率,但最少不能低于50。</td> </tr> <tr> <th>首页动态默认标签设置</th> <td> 好友数小于 <input type="text" name="config[showallfriendnum]" value="$configs[showallfriendnum]" size="5"> 个的时候显示所有人的动态,超过这个数值显示好友动态。<br>在日志、相册列表页面,该参数同样生效。 </td> </tr> <tr> <th>首页动态折叠设置</th> <td> <input type="text" name="config[feedhiddenicon]" value="$configs[feedhiddenicon]" size="60"><br> 请输入要折叠显示的动态类型(icon),多个类型之间用半角逗号 "," 隔开。<br> 将某些动态折叠后,可以适当减少首页的动态噪音。<br> 动态类型的获取方法:<br> 在查看好友动态的时候,点击每条动态前面的小图标(例如 <img src="image/icon/blog.gif" align="absmiddle">),<br> 浏览器的网址会变为类似如下的链接:<br> http://xxx.com/space.php?uid=&do=feed&view=we&appid=3&<b>icon=blog</b>,<br> 其中,icon=blog,就表示该动态类型为 blog<br> MYOP应用的icon为 7位数字。你可以用英文单词 <b>myop</b> 来表示所有MYOP应用的动态类型。 </td> </tr> <tr> <th>首页显示热点的数目</th> <td><input type="text" name="config[feedhotnum]" value="$configs[feedhotnum]" size="5"> (默认为 3)<br>为0,则首页不显示热点推荐。最大不要超过10个。<br>系统会自动获取10个热点,其中,排名第一的热点会固定显示,其余热点会随机显示。</td> </tr> <tr> <th>首页欢迎新成员选项</th> <td> 显示 <input type="text" name="config[newspacenum]" value="$configs[newspacenum]" size="5"> 个新成员(0为不显示)<br> 显示的新成员条件:<br> <input type="checkbox" name="config[newspaceavatar]" value="1"<!--{if $configs[newspaceavatar]}--> checked<!--{/if}-->> 已经上传头像<br> <!--{if $_SCONFIG['realname']}--> <input type="checkbox" name="config[newspacerealname]" value="1"<!--{if $configs[newspacerealname]}--> checked<!--{/if}-->> 已经实名认证<br> <!--{/if}--> <!--{if $_SCONFIG['videophoto']}--> <input type="checkbox" name="config[newspacevideophoto]" value="1"<!--{if $configs[newspacevideophoto]}--> checked<!--{/if}-->> 已经视频认证 <!--{/if}--> </td> </tr> <tr> <th>热点推荐的天数范围</th> <td><input type="text" name="config[feedhotday]" value="$configs[feedhotday]" size="5"> (单位天,默认为 2天)<br>设置首页热点推荐选择的天数范围。</td> </tr> <tr> <th>热点推荐的最小热度值</th> <td><input type="text" name="config[feedhotmin]" value="$configs[feedhotmin]" size="5"> <br>设置当发布的信息热度值超过多少后,才会显示在推荐里面。</td> </tr> <tr> <th>动态链接打开模式</th> <td> <input type="radio" name="config[feedtargetblank]" value="1"<!--{if $configs[feedtargetblank] == '1'}--> checked<!--{/if}-->>新窗口打开 <input type="radio" name="config[feedtargetblank]" value="0"<!--{if $configs[feedtargetblank] != '1'}--> checked<!--{/if}-->>同一窗口打开 <br>如果选择是,用户阅读动态的时候,所有的链接都会在新窗口打开。 </td> </tr> <tr> <th>记录动态阅读状态</th> <td> <input type="radio" name="config[feedread]" value="1"<!--{if $configs[feedread] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[feedread]" value="0"<!--{if $configs[feedread] != '1'}--> checked<!--{/if}-->>否 <br>如果选择是,该条动态被点击的时候,会变成灰色,以表示已经阅读。(注意,该功能对热点动态无效) </td> </tr> <tr> <th>关闭MYOP的更新提示</th> <td> <input type="radio" name="config[my_closecheckupdate]" value="1"<!--{if $configs[my_closecheckupdate] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[my_closecheckupdate]" value="0"<!--{if $configs[my_closecheckupdate] != '1'}--> checked<!--{/if}-->>否 <br>您的站点开启了MYOP多应用服务后,当平台有了新的信息的时候MYOP会自动提示给管理员。关闭本功能后,您将不再获取更新提示。 </td> </tr> <tr> <th>首页调用推荐礼物提示</th> <td> <input type="radio" name="config[my_showgift]" value="1"<!--{if $configs[my_showgift] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[my_showgift]" value="0"<!--{if $configs[my_showgift] != '1'}--> checked<!--{/if}-->>否 <br>如果您开启了MYOP平台的礼物应用后,可以在首页显示“推荐礼物”。 </td> </tr> <tr> <th>成员排行榜允许分页浏览</th> <td> <input type="radio" name="config[networkpage]" value="1"<!--{if $configs[networkpage]==1}--> checked<!--{/if}-->>是 <input type="radio" name="config[networkpage]" value="0"<!--{if $configs[networkpage] != '1'}--> checked<!--{/if}-->>否 <br>该设置只对排行榜中的竞价排行、在线成员、全部成员有效。 </td> </tr> <tr> <th>成员排行榜缓存时间</th> <td> <input type="text" name="config[topcachetime]" value="$configs[topcachetime]" size="5"> (单位分钟) <br>用户排行榜中,除竞价排行、在线成员、全部成员外,其余排行榜是缓存处理的。 <br>请根据服务器的负载情况,设置合理的更新时间间隔。最少不能低于5分钟。 </td> </tr> <tr> <th>外部链接显示导航条</th> <td> <input type="radio" name="config[linkguide]" value="1"<!--{if $configs[linkguide]==1}--> checked<!--{/if}-->>是 <input type="radio" name="config[linkguide]" value="0"<!--{if $configs[linkguide] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>星星经验阀值</th> <td><input type="text" name="config[starcredit]" value="$configs[starcredit]" size="5"> (默认为 100)<br>当用户经验数到此阀值时,增加一个星星。最小为2,否则此功能无效,不显示星星数。</td> </tr> <tr> <th>星星升级阀值</th> <td><input type="text" name="config[starlevelnum]" value="$configs[starlevelnum]" size="5"> (默认为 5)<br>星星数在达到此阀值时,会升级为高级别的图标。最小为2,否则此项功能无效,始终以星星显示</td> </tr> </table> <br /> <div class="title" id="uch"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>系统功能</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">好友用户组个数</th> <td><input type="text" name="config[groupnum]" value="$configs[groupnum]" size="5"> (默认为 8) <br>设置每个用户最多拥有的好友用户组个数。 </td> </tr> <tr> <th>日志单次导入最大数</th> <td><input type="text" name="config[importnum]" value="$configs[importnum]" size="5"> (默认 100)<br>允许用户单次导入日志的条数</td> </tr> <tr> <th>投票单次最高悬赏</th> <td><input type="text" name="config[maxreward]" value="$configs[maxreward]" size="5"> (默认 10)<br>允许用户创建悬赏投票时平均单次投票悬赏额度</td> </tr> <tr> <th>邮件通知更新天数</th> <td><input type="text" name="config[sendmailday]" value="$configs[sendmailday]" size="5">(默认 0)<br> 单位:天,当用户多少天没有登陆站点的时候才会给其发送邮件通知;<br>设置为0,则不启用邮件通知功能;<br>启用本功能将会轻微增加服务器负载</td> </tr> <tr> <th>开启XMLPRC协议接口</th> <td> <input type="radio" name="config[openxmlrpc]" value="1"<!--{if $configs[openxmlrpc] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[openxmlrpc]" value="0"<!--{if $configs[openxmlrpc] != '1'}--> checked<!--{/if}-->>否 <br>用户可以通过本协议接口,使用客户端发布日志。但是,也可能会增加恶意灌水的可能。 </td> </tr> <tr> <th>UCenter应用标签相关信息</th> <td> <table> <tr> <td width="150">是否启用</td> <td> <input type="radio" name="config[uc_tagrelated]" value="1"<!--{if $configs[uc_tagrelated] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[uc_tagrelated]" value="0"<!--{if $configs[uc_tagrelated] != '1'}--> checked<!--{/if}-->>否 <br>开启本功能,则系统会通过UCenter,获取到站内其他应用的标签相关信息 <br>否则,只显示本站内的标签相关日志 </td> </tr> <tr> <td>缓存更新间隔</td> <td> <input type="text" name="config[uc_tagrelatedtime]" value="$configs[uc_tagrelatedtime]" size="10"> (单位:秒, 默认为: 86400 即,24小时) <br>设置标签关联信息多长时间更新一次,建议设置1小时(3600秒)以上,减轻对服务器的压力。为0则不更新。 </td> </tr> </table> </td> </tr> <tr> <th>模块缓存</th> <td> <table> <tr> <td width="150">是否启用</td> <td><input type="radio" name="config[allowcache]" value="1"<!--{if $configs[allowcache] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[allowcache]" value="0"<!--{if $configs[allowcache] != '1'}--> checked<!--{/if}-->>否 <br>推荐开启,这样在使用模块调用数据的时候,可以大幅度降低MYSQL服务器负载 </td></tr> <tr> <td>缓存模式</td> <td> <input type="radio" name="config[cachemode]" value="file"<!--{if $configs[cachemode] == 'file'}--> checked<!--{/if}-->>存储到文本 <input type="radio" name="config[cachemode]" value="database"<!--{if $configs[cachemode] == 'database'}--> checked<!--{/if}-->>存储到数据库 </td></tr> <tr> <td>缓存分表等级</td> <td> <select name="config[cachegrade]"> <option value="0"<!--{if $configs[cachegrade] == '0'}--> selected<!--{/if}-->>只用一个表(或目录)</option> <option value="1"<!--{if $configs[cachegrade] == '1'}--> selected<!--{/if}-->>分散到15个子表(或目录)</option> <option value="2"<!--{if $configs[cachegrade] == '2'}--> selected<!--{/if}-->>分散到225个子表(或目录)</option> </select> <br>分表(或目录)越多效率越高,但建立的数据表(或目录)越多 </td></tr> </table> </td> </tr> <tr> <th>二级域名功能</th> <td> <table> <tr> <td width="150">是否启用</td> <td> <input type="radio" name="config[allowdomain]" value="1"<!--{if $configs[allowdomain] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[allowdomain]" value="0"<!--{if $configs[allowdomain] != '1'}--> checked<!--{/if}-->>否 <br>二级域名功能需要服务器配置支持 </td></tr> <tr> <td>保留二级域名</td><td> <input type="text" name="config[holddomain]" value="$configs[holddomain]" size="50"> <br>多个之间用 | 隔开,可以使用通配符* </td></tr> <tr> <td>二级域名根域名</td> <td> <input type="text" name="config[domainroot]" value="$configs[domainroot]" size="50"> </td></tr> </table> </td> </tr> </table> <br /> <div class="title" id="name"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>实名认证设置</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">开启实名</th> <td><input type="radio" name="config[realname]" value="1"<!--{if $configs[realname] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[realname]" value="0"<!--{if $configs[realname] != '1'}--> checked<!--{/if}-->>否 <br>以下设置只有在开启实名机制后有效; <br>注意,开启实名认证会增加服务器负担。 </td> </tr> <tr> <th>实名需手工认证</th> <td><input type="radio" name="config[namecheck]" value="1"<!--{if $configs[namecheck] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[namecheck]" value="0"<!--{if $configs[namecheck] != '1'}--> checked<!--{/if}-->>否 <br>设置为“是”,则用户填写的姓名只有在被管理者手工认证后才算有效。否则,则自动为认证有效。 </td> </tr> <tr> <th>认证实名可再修改</th> <td><input type="radio" name="config[namechange]" value="1"<!--{if $configs[namechange] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[namechange]" value="0"<!--{if $configs[namechange] != '1'}--> checked<!--{/if}-->>否 <br>填写的姓名经认证有效后,是否允许用户再次修改姓名。<br>如果允许修改且手工认证,那么用户修改的新姓名需要再次手工认证后方可有效。 </td> </tr> <tr> <th>未认证实名权限</th> <td> <table> <tr> <td width="150">允许查看实名用户主页</td> <td> <input type="radio" name="config[name_allowviewspace]" value="1"<!--{if $configs[name_allowviewspace] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowviewspace]" value="0"<!--{if $configs[name_allowviewspace] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许加好友</td> <td> <input type="radio" name="config[name_allowfriend]" value="1"<!--{if $configs[name_allowfriend] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowfriend]" value="0"<!--{if $configs[name_allowfriend] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许打招呼</td> <td> <input type="radio" name="config[name_allowpoke]" value="1"<!--{if $configs[name_allowpoke] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowpoke]" value="0"<!--{if $configs[name_allowpoke] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发记录</td> <td> <input type="radio" name="config[name_allowdoing]" value="1"<!--{if $configs[name_allowdoing] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowdoing]" value="0"<!--{if $configs[name_allowdoing] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发日志</td> <td> <input type="radio" name="config[name_allowblog]" value="1"<!--{if $configs[name_allowblog] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowblog]" value="0"<!--{if $configs[name_allowblog] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许使用相册</td> <td> <input type="radio" name="config[name_allowalbum]" value="1"<!--{if $configs[name_allowalbum] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowalbum]" value="0"<!--{if $configs[name_allowalbum] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发话题</td> <td> <input type="radio" name="config[name_allowthread]" value="1"<!--{if $configs[name_allowthread] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowthread]" value="0"<!--{if $configs[name_allowthread] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发投票</td> <td> <input type="radio" name="config[name_allowpoll]" value="1"<!--{if $configs[name_allowpoll] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowpoll]" value="0"<!--{if $configs[name_allowpoll] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发活动</td> <td> <input type="radio" name="config[name_allowevent]" value="1"<!--{if $configs[name_allowevent] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowevent]" value="0"<!--{if $configs[name_allowevent] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许分享</td> <td> <input type="radio" name="config[name_allowshare]" value="1"<!--{if $configs[name_allowshare] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowshare]" value="0"<!--{if $configs[name_allowshare] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许留言/评论</td> <td> <input type="radio" name="config[name_allowcomment]" value="1"<!--{if $configs[name_allowcomment] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowcomment]" value="0"<!--{if $configs[name_allowcomment] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许群组回帖</td> <td> <input type="radio" name="config[name_allowpost]" value="1"<!--{if $configs[name_allowpost] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowpost]" value="0"<!--{if $configs[name_allowpost] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许使用MYOP应用</td> <td> <input type="radio" name="config[name_allowuserapp]" value="1"<!--{if $configs[name_allowuserapp] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[name_allowuserapp]" value="0"<!--{if $configs[name_allowuserapp] != '1'}--> checked<!--{/if}-->>否 </td></tr> </table> </td> </tr> </table> <br /> <div class="title" id="video"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>视频认证设置</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">开启视频认证</th> <td> <!--{if $_SCONFIG[my_status]}--> <input type="radio" name="config[videophoto]" value="1"<!--{if $configs[videophoto] == '1'}--> checked<!--{/if}-->>是 <input type="radio" name="config[videophoto]" value="0"<!--{if $configs[videophoto] != '1'}--> checked<!--{/if}-->>否 <!--{else}--> 您没有开启MYOP,所以无法使用视频认证功能 <!--{/if}--> <br>以下设置只有在开启视频认证后有效 </td> </tr> <tr> <th>未视频认证用户权限</th> <td> <table> <tr> <td width="150">允许查看视频用户的照片</td> <td> <input type="radio" name="config[video_allowviewphoto]" value="1"<!--{if $configs[video_allowviewphoto] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowviewphoto]" value="0"<!--{if $configs[video_allowviewphoto] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许加视频用户为好友</td> <td> <input type="radio" name="config[video_allowfriend]" value="1"<!--{if $configs[video_allowfriend] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowfriend]" value="0"<!--{if $configs[video_allowfriend] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许向视频用户打招呼</td> <td> <input type="radio" name="config[video_allowpoke]" value="1"<!--{if $configs[video_allowpoke] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowpoke]" value="0"<!--{if $configs[video_allowpoke] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许向视频用户留言</td> <td> <input type="radio" name="config[video_allowwall]" value="1"<!--{if $configs[video_allowwall] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowwall]" value="0"<!--{if $configs[video_allowwall] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许向视频用户评论</td> <td> <input type="radio" name="config[video_allowcomment]" value="1"<!--{if $configs[video_allowcomment] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowcomment]" value="0"<!--{if $configs[video_allowcomment] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发记录</td> <td> <input type="radio" name="config[video_allowdoing]" value="1"<!--{if $configs[video_allowdoing] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowdoing]" value="0"<!--{if $configs[video_allowdoing] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发日志</td> <td> <input type="radio" name="config[video_allowblog]" value="1"<!--{if $configs[video_allowblog] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowblog]" value="0"<!--{if $configs[video_allowblog] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许使用相册</td> <td> <input type="radio" name="config[video_allowalbum]" value="1"<!--{if $configs[video_allowalbum] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowalbum]" value="0"<!--{if $configs[video_allowalbum] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发话题</td> <td> <input type="radio" name="config[video_allowthread]" value="1"<!--{if $configs[video_allowthread] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowthread]" value="0"<!--{if $configs[video_allowthread] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发投票</td> <td> <input type="radio" name="config[video_allowpoll]" value="1"<!--{if $configs[video_allowpoll] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowpoll]" value="0"<!--{if $configs[video_allowpoll] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许发活动</td> <td> <input type="radio" name="config[video_allowevent]" value="1"<!--{if $configs[video_allowevent] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowevent]" value="0"<!--{if $configs[video_allowevent] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许分享</td> <td> <input type="radio" name="config[video_allowshare]" value="1"<!--{if $configs[video_allowshare] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowshare]" value="0"<!--{if $configs[video_allowshare] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许群组回帖</td> <td> <input type="radio" name="config[video_allowpost]" value="1"<!--{if $configs[video_allowpost] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowpost]" value="0"<!--{if $configs[video_allowpost] != '1'}--> checked<!--{/if}-->>否 </td></tr> <tr> <td width="150">允许使用MYOP应用</td> <td> <input type="radio" name="config[video_allowuserapp]" value="1"<!--{if $configs[video_allowuserapp] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[video_allowuserapp]" value="0"<!--{if $configs[video_allowuserapp] != '1'}--> checked<!--{/if}-->>否 </td></tr> </table> </td> </tr> </table> <br /> <div class="title" id="upload"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>上传图片设置</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">预览缩略图大小</th> <td>宽<input type="text" name="data[thumbwidth]" value="$datas[thumbwidth]" size="5">px &nbsp; 高<input type="text" name="data[thumbheight]" value="$datas[thumbheight]" size="5">px <br>本功能需要PHP环境支持GD才生效 <br>缩略图按原图比例缩小,宽高不会超过本设定。比如设置为 宽:100px,高:100px,但都不能小于60px</td> </tr> <tr> <th style="width:15em;">图片最大尺寸</th> <td>宽<input type="text" name="data[maxthumbwidth]" value="$datas[maxthumbwidth]" size="5">px &nbsp; 高<input type="text" name="data[maxthumbheight]" value="$datas[maxthumbheight]" size="5">px <br>本功能需要PHP环境支持GD才生效 <br>如果用户上传一些尺寸很大的数码图片,则程序会按照本设置进行缩小该图片并显示,比如可以设置为 宽:1024px,高:768px,但都不能小于300px。设置为0,则不做任何处理。</td> </tr> <tr> <th>图片水印</th> <td> <table> <tr> <td width="150">是否启用</td> <td> <input type="radio" name="config[allowwatermark]" value="1"<!--{if $configs[allowwatermark] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[allowwatermark]" value="0"<!--{if $configs[allowwatermark] != '1'}--> checked<!--{/if}-->>否 <br>本功能需要PHP环境支持GD才生效 <br>注意,开启水印功能后,图片的EXIF信息将无法获取 </td></tr> <tr> <td>水印图片地址</td> <td> <input type="text" name="data[watermarkfile]" value="$datas[watermarkfile]"> <br>默认为image/watermark.png,只支持JPG/GIF/PNG格式,推荐用透明的png图片 </td></tr> <tr> <td>水印位置</td> <td> <input type="radio" name="data[watermarkpos]" value="1"<!--{if $datas[watermarkpos] == 1}--> checked<!--{/if}-->>顶端居左 <input type="radio" name="data[watermarkpos]" value="2"<!--{if $datas[watermarkpos] == 2}--> checked<!--{/if}-->>顶端居右 <input type="radio" name="data[watermarkpos]" value="3"<!--{if $datas[watermarkpos] == 3}--> checked<!--{/if}-->>底端居左 <input type="radio" name="data[watermarkpos]" value="4"<!--{if $datas[watermarkpos] == 4}--> checked<!--{/if}-->>底端居右 </td></tr> </table> </td> </tr> </table> <br /> <div class="title" id="remote"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>远程上传设置</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">启用远程附件</th> <td><input type="radio" name="config[allowftp]" value="1"<!--{if $configs[allowftp] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[allowftp]" value="0"<!--{if $configs[allowftp] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>启用 SSL 连接</th> <td> <input type="radio" name="data[ftpssl]" value="1"<!--{if $datas[ftpssl] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="data[ftpssl]" value="0"<!--{if $datas[ftpssl] != '1'}--> checked<!--{/if}-->>否 </td> </tr> <tr> <th>FTP连接信息</th> <td> <table> <tr><td width="150">FTP 服务器地址</td> <td><input type="text" name="data[ftphost]" value="$datas[ftphost]"> (FTP 服务器的 IP 地址或域名)</td> </tr> <tr><td>FTP 服务器端口</td> <td><input type="text" name="data[ftpport]" value="$datas[ftpport]" size="5"> (默认为 21)</td> </tr> <tr><td>FTP 帐号</td> <td><input type="text" name="data[ftpuser]" value="$datas[ftpuser]"></td> </tr> <tr><td>FTP 密码</td> <td><input type="password" name="data[ftppassword]" value="$datas[ftppassword]"></td> </tr> <tr><td>被动模式(pasv)连接</td> <td><input type="radio" name="data[ftppasv]" value="1"<!--{if $datas[ftppasv] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="data[ftppasv]" value="0"<!--{if $datas[ftppasv] != '1'}--> checked<!--{/if}-->>否 (一般情况下非被动模式即可)</td> </tr> <tr><td>远程附件目录</td> <td><input type="text" name="data[ftpdir]" value="$datas[ftpdir]"> <br>远程附件目录的绝对路径或相对于 FTP 主目录的相对路径<br>“.”表示 FTP 主目录,例如填写:./attachment</td> </tr> <tr><td>远程访问 URL</td> <td><input type="text" name="config[ftpurl]" value="$configs[ftpurl]"> <br>支持 HTTP 和 FTP 协议,结尾要加斜杠“/”</td> </tr> <tr><td>FTP 传输超时时间</td> <td><input type="text" name="data[ftptimeout]" value="$datas[ftptimeout]" size="5"> (单位:秒,0 为服务器默认)</td> </tr> </table> </td> </tr> </table> <br /> <div class="title" id="email"> <a class="r_option" href="javascript:;" onclick="window.scrollTo(0,0);" id="a_top" title="TOP">TOP</a> <h3>邮件设置</h3> </div> <table class="formtable"> <tr> <th style="width:15em;">邮件发送方式</th> <td><input class="radio" name="mail[mailsend]" value="1"<!--{if $mails[mailsend] == 1}--> checked<!--{/if}--> onclick="$('tb_smtp1').style.display = 'none';$('tb_smtp2').style.display = 'none';" type="radio"> 通过 PHP 函数的 sendmail 发送(推荐此方式)<br> <input class="radio" name="mail[mailsend]" value="2"<!--{if $mails[mailsend] == 2}--> checked<!--{/if}--> onclick="$('tb_smtp1').style.display = '';$('tb_smtp2').style.display = '';" type="radio"> 通过 SOCKET 连接 SMTP 服务器发送(支持 ESMTP 验证)<br> <input class="radio" name="mail[mailsend]" value="3"<!--{if $mails[mailsend] == 3}--> checked<!--{/if}--> onclick="$('tb_smtp1').style.display = '';$('tb_smtp2').style.display = 'none';" type="radio"> 通过 PHP 函数 SMTP 发送 Email(仅 Windows 主机下有效, 不支持 ESMTP 验证) </td> </tr><tr> <th>邮件头的分隔符</th> <td><input class="radio" name="mail[maildelimiter]" value="0"<!--{if $mails[maildelimiter] == 0}--> checked<!--{/if}--> type="radio"> 使用 LF 作为分隔符(通常为 Unix/Linux 主机)<br> <input class="radio" name="mail[maildelimiter]" value="1"<!--{if $mails[maildelimiter] == 1}--> checked<!--{/if}--> type="radio"> 使用 CRLF 作为分隔符(通常为 Windows 主机)<br> <input class="radio" name="mail[maildelimiter]" value="2"<!--{if $mails[maildelimiter] == 2}--> checked<!--{/if}--> type="radio"> 使用 CR 作为分隔符(通常为 Mac 主机) </td> </tr><tr> <th>收件人显示用户名</th> <td><input class="radio" name="mail[mailusername]" value="1"<!--{if $mails[mailusername] == 1}--> checked<!--{/if}--> type="radio"> 是 &nbsp; &nbsp; <input class="radio" name="mail[mailusername]" value="0"<!--{if $mails[mailusername] != '1'}--> checked<!--{/if}--> type="radio"> 否 </td> </tr> <tbody id="tb_smtp1"<!--{if $mails[mailsend] < 2}--> style="display:none;"<!--{/if}-->> <th>&nbsp;</th> <td> <table> <tr> <td width="150">SMTP 服务器</td> <td><input type="text" name="mail[server]" value="$mails[server]"></td> </tr><tr> <td>SMTP 端口</td> <td><input type="text" name="mail[port]" value="$mails[port]" size="5"> 默认为 25</td> </tr> </tbody> <tbody id="tb_smtp2"<!--{if $mails[mailsend] != 2}--> style="display:none;"<!--{/if}-->> <tr> <td>要求身份验证</td> <td><input class="radio" name="mail[auth]" value="1"<!--{if $mails[auth] == 1}--> checked<!--{/if}--> type="radio"> 是 &nbsp; &nbsp; <input class="radio" name="mail[auth]" value="0"<!--{if $mails[auth] != '1'}--> checked<!--{/if}--> type="radio"> 否</td> </tr><tr> <td>发信人邮件地址</td> <td><input type="text" name="mail[from]" value="$mails[from]"><br>格式为“username &lt;user@domain.com&gt;”,也可以只填地址</td> </tr><tr> <td>SMTP 用户名</td> <td><input type="text" name="mail[auth_username]" value="$mails[auth_username]"></td> </tr><tr> <td>SMTP 密码</td> <td><input type="password" name="mail[auth_password]" value="$mails[auth_password]"></td> </tr> </table> </td></tr> </tbody> </tr> </table> </div> <div class="footactions"> <input type="submit" name="thevaluesubmit" value="提交" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/config.htm
HTML
asf20
43,659
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if $menus[0][config]}--> <div class="bdrcontent"> <div class="title"><h3>欢迎光临管理平台</h3></div> <p>通过登录管理平台,您可以对站点的参数进行设置,并可以及时获取官方的更新动态和重要补丁通告。</p> </div> <br /> <div class="bdrcontent"> <div class="title"> <h3>官方最新动态</h3> <p>官方新版本的发布与重要补丁的升级等动态,都会在这里显示。</p> </div> <div id="customerinfor" style="line-height:1.5em;"></div> <br /> <div class="title"> <h3>技术支持服务</h3> <p>如果你在使用中遇到问题,可以访问以下链接需求帮助</p> </div> <ul class="listcol list2col"> <li><a href=http://www.discuz.net/index.php?gid=141 target="_blank">官方交流论坛</a></li> <li><a href=http://www.comsenz.com/purchase/uchome target="_blank">Comsenz商业支持服务</a></li> </ul> </div> <br /> <div class="bdrcontent"> <div class="title"> <h3>站点数据统计</h3> <p>通过站点统计,您可以整体把握站点的发展状况。</p> <p>您还可以查看<a href="do.php?ac=stat" target="_blank">趋势统计</a>,把握站点每日变化。</p> </div> <ul class="listcol list2col"> <li>开通空间数: $statistics[spacenum] (<a href="do.php?ac=stat&type=login" target="_blank">趋势</a>)</li> <li>全部动态数: $statistics[feednum]</li> <li>全部日志数: $statistics[blognum] (<a href="do.php?ac=stat&type=blog" target="_blank">趋势</a>)</li> <li>全部相册数: $statistics[albumnum] (<a href="do.php?ac=stat&type=pic" target="_blank">趋势</a>)</li> <li>全部分享数: $statistics[sharenum] (<a href="do.php?ac=stat&type=share" target="_blank">趋势</a>)</li> <li>全部话题数: $statistics[threadnum] (<a href="do.php?ac=stat&type=thread" target="_blank">趋势</a>)</li> <li>全部评论数: $statistics[commentnum]</li> <li>开启应用数: $statistics[myappnum]</li> </ul> </div> <br /> <div class="bdrcontent"> <div class="title"><h3>程序数据库/版本</h3></div> <ul> <li>操作系统: $os</li> <li>数据库版本: $statistics[mysql]</li> <li>上传许可: $fileupload</li> <li>数据库尺寸: $dbsize</li> <li>附件尺寸: $attachsize</li> <li>当前程序版本: UCenter Home $statistics[version] ( $statistics[release] )</li> <li>UCenter Client 版本: {UC_CLIENT_VERSION} Release {UC_CLIENT_RELEASE}</li> </ul> </div> <br /> <div class="bdrcontent"> <div class="title"> <h3>开发团队</h3> </div> <table> <tr><td width="80">版权所有</td><td><a href="http://www.comsenz.com/" target="_blank">康盛创想(北京)科技有限公司 (Comsenz Inc.)</a></td></tr> <tr><td>总策划</td><td><a href="http://www.discuz.net/space.php?uid=1" target="_blank">Kevin 'Crossday' Day</a>, <a href="http://www.discuz.net/space.php?uid=174393" target="_blank">Guode 'Sup' Li</a></td></tr> <tr><td>开发团队</td><td><a href="http://www.discuz.net/space.php?uid=322293" target="_blank">Qingpeng 'Andy' Zheng</a>, <a href="http://www.discuz.net/space.php?uid=248739" target="_blank">Jing 'Qiezi' Zou</a>, <a href="http://www.discuz.net/space.php?uid=672953" target="_blank">Fei 'Fengshu' Zhao</a>, <a href="http://www.discuz.net/space.php?uid=465273" target="_blank">Lijun 'Maple-x' Zhang</a>, <a href="http://www.discuz.net/space.php?uid=679269" target="_blank">Lei 'Shitou' Zhao</a>, <a href="http://www.discuz.net/space.php?uid=906359" target="_blank">Peng 'Dingusxp' Xu</a></td></tr> <tr><td>美工设计</td><td><a href="http://www.discuz.net/space.php?uid=294092" target="_blank">Fangming 'Lushnis' Li</a>, <a href="http://www.discuz.net/space.php?uid=174393" target="_blank">Yulong 'Yulong' Li</a>, <a href="http://www.discuz.net/space.php?uid=41050" target="_blank">Rujian '小古' Mo</a></td></tr> <tr><td>公司网站</td><td><a href=http://www.comsenz.com target="_blank">http://www.comsenz.com</a></td></tr> <tr><td>产品网站</td><td><a href=http://u.discuz.net target="_blank">http://u.discuz.net</a></td></tr> </table> </div> <!--{else}--> <div class="bdrcontent"> <div class="title"><h3>欢迎光临管理平台</h3></div> <p>通过管理平台操作,你可以对发布的信息进行批量管理。</p> <br /> <div class="title"><h3>快捷管理菜单</h3></div> <ul class="listcol list2col"> <!--{if $menus[1]['space']}--><li><a href="admincp.php?ac=space" style="font-weight:bold;">用户</a><p>编辑用户的积分、用户组、管理空间信息、删除用户</p></li><!--{/if}--> <li><a href="admincp.php?ac=feed" style="font-weight:bold;">事件</a><p>对"我在做什么"进行批量删除</p></li> <li><a href="admincp.php?ac=blog" style="font-weight:bold;">日志</a><p>对日志进行批量删除、编辑</p></li> <li><a href="admincp.php?ac=album" style="font-weight:bold;">相册</a><p>对发布的相册进行批量删除</p></li> <li><a href="admincp.php?ac=pic" style="font-weight:bold;">图片</a><p>对发布的图片进行批量删除</p></li> <li><a href="admincp.php?ac=comment" style="font-weight:bold;">评论</a><p>对发布的评论进行批量删除</p></li> <li><a href="admincp.php?ac=thread" style="font-weight:bold;">话题</a><p>对群组上面发布的话题进行批量删除、精华、置顶</p></li> <li><a href="admincp.php?ac=post" style="font-weight:bold;">回帖</a><p>对群组上面发布的回帖进行批量删除</p></li> <li><a href="admincp.php?ac=poll" style="font-weight:bold;">投票</a><p>对投票进行批量删除</p></li> <!--{if $menus[1]['tag']}--><li><a href="admincp.php?ac=tag" style="font-weight:bold;">标签</a><p>对站点的标签进行删除、关闭、合并</p></li><!--{/if}--> <!--{if $menus[1]['mtag']}--><li><a href="admincp.php?ac=mtag" style="font-weight:bold;">群组</a><p>对站点的群组进行删除、关闭、合并</p></li><!--{/if}--> <!--{if $menus[1]['event']}--><li><a href="admincp.php?ac=event" style="font-weight:bold;">活动</a><p>对站点的活动进行删除、审核、推荐</p></li><!--{/if}--> <!--{if $menus[1]['css']}--><li><a href="admincp.php?ac=css" style="font-weight:bold;">模版样式</a><p>对站点共享的模版样式进行批量审核、删除</p></li><!--{/if}--> </ul> </div><br /> <!--{/if}--> </div> <br> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{if $statistics['update']}--> <script language="javascript" src="http://u.discuz.net/customer/update.php?get=$statistics[update]"></script> <!--{/if}--> <!--{eval my_checkupdate();}--> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/index.htm
HTML
asf20
6,875
</div> <!--{template footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/footer.htm
HTML
asf20
36
<!--{if $menus[0]}--> <div class="block style1"> <h2>基本设置</h2> <ul class="folder"> <!--{loop $acs[0] $value}--> <!--{if $menus[0][$value]}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/if}--> <!--{/loop}--> </ul> </div> <!--{/if}--> <div class="block style1"> <h2>批量管理</h2> <ul class="folder"> <!--{loop $acs[3] $value}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/loop}--> <!--{loop $acs[1] $value}--> <!--{if $menus[1][$value]}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/if}--> <!--{/loop}--> </ul> </div> <!--{if $menus[2]}--> <div class="block style1"> <h2>高级设置</h2> <ul class="folder"> <!--{loop $acs[2] $value}--> <!--{if $menus[2][$value]}--> <!--{if $ac==$value}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=$value">{$_TPL[menunames][$value]}</a></li> <!--{/if}--> <!--{/loop}--> <!--{if $menus[0][config]}--><li><a href="{UC_API}" target="_blank">UCenter</a></li><!--{/if}--> </ul> </div> <!--{/if}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/side.htm
HTML
asf20
1,338
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=$ac"> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <td colspan="2"> <!--{if $ac == 'defaultuser'}--> <textarea name="config[defaultfusername]" style="width:98%;" rows="12">$configs[defaultfusername]</textarea> <!--{else}--> <textarea name="config[spacebarusername]" style="width:98%;" rows="12">$configs[spacebarusername]</textarea> <!--{/if}--> </td> </tr> <tr> <td colspan="2"> 添加格式:<br /> 请输入用户名,每个用户名一行。 <br>例如: <br>admin <br>webmaster <!--{if $ac == 'defaultuser'}--> <br>这些用户会自动将新注册用户添加为好友,并向其打个招呼。 注意,指定的这几位用户浏览自己的首页时,可能会因其好友数众多而增加服务器负载。 <!--{else}--> <br>这些用户将随机显示在随便看看页面的“站长推荐”栏目中。 <!--{/if}--> </td> </tr> </table> <!--{if $ac == 'defaultuser'}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:10em;">默认打招呼内容</th> <td><input type="text" class="t_input" name="config[defaultpoke]" value="$configs[defaultpoke]" size="50"> (不要超过25个汉字) <br>设置自动好友向新人打招呼的内容。 </td> </tr> </table> <!--{/if}--> </div> <div class="footactions"> <input type="submit" name="thevaluesubmit" value="提交" class="submit"> </div> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/hotuser.htm
HTML
asf20
2,009
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=censor"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><td> <textarea name="censor" style="width:98%;" rows="12">$censor</textarea> </td></tr> <tr><td> 添加格式:<br /> 每行一组过滤词语<br /> 不良词语和替换词语之间使用“=”进行分割<br /> 如需禁止发布包含某个词语的文字,而不是替换过滤,请将其对应的替换内容设置为 $banflag 即可<br /> 替换前的内容可以使用限定符 {x} 以限定相邻两字符间可忽略的文字,x 是忽略字符的个数<br /> 如 "a{1}s{2}s"(不含引号) 可以过滤 "ass" 也可过滤 "axsxs" 和 "axsxxs" 等等<br /> 例如:<br /> toobad=** (作用:将toobad文字替换为**)<br /> badword=good (作用:将badword文字替换为good)<br /> sexword=$banflag (作用:禁止发布包含sexword词语的文字)<br /> </td></tr> </table> </div> <div class="footactions"> <input type="submit" name="censorsubmit" value="提交" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/censor.htm
HTML
asf20
1,356
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>所在相册ID</th><td><input type="text" name="albumid" value="$_GET[albumid]"></td> <!--{if $allowmanage}--> <th>作者名</th><td><input type="text" name="username" value="$_GET[username]" /></td> <!--{else}--> <td>&nbsp;</td><td>&nbsp;</td> <!--{/if}--> </tr> <tr> <th>指定图片ID</th><td><input type="text" name="picid" value="$_GET[picid]"></td> <th>发布IP</th><td><input type="text" name="postip" value="$_GET[postip]"></td> </tr> <tr> <th>文件名*</th><td><input type="text" name="filename" value="$_GET[filename]"></td> <th>图片说明*</th><td><input type="text" name="title" value="$_GET[title]"></td> </tr> <tr><th>热度</th><td colspan="3"> <input type="text" name="hot1" value="$_GET[hot1]" size="10"> ~ <input type="text" name="hot2" value="$_GET[hot2]" size="10"> </td></tr> <tr> <th>上传时间</th><td colspan="3"> <input type="text" name="dateline1" value="$_GET[dateline1]" size="10"> ~ <input type="text" name="dateline2" value="$_GET[dateline2]" size="10"> (格式为: YYYY-MM-DD) </td> </tr> <tr> <th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="dateline"$orderby[dateline]>上传时间</option> <option value="size"$orderby[size]>图片大小</option> <option value="hot"$orderby[hot]>热度</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> <option value="1000"$perpages[1000]>一次处理1000个</option> </select> <input type="hidden" name="ac" value="pic"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=pic"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <!--{if $perpage>100}--> <p>总共有满足条件的数据 <strong>$count</strong> 个</p> <!--{loop $list $value}--> <input type="hidden" name="ids[]" value="$value[picid]"> <!--{/loop}--> <!--{else}--> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <!--{loop $list $key $value}--> <td width="105"> <a href="$value[bigpic]" target="_blank"><img src="$value[pic]" width="90" alt="$value[filename]"></a> <input type="<!--{if $allowbatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[picid]"> 选择 </td> <td> <!--{if $value[title]}-->$value[title]<br /><!--{/if}--> 大小: $value[size] <br />相册: <a href="admincp.php?ac=pic&uid=$value[uid]&albumid=$value[albumid]"><!--{if $value[albumid]}-->{$albums[$value[albumid]][albumname]}<!--{else}-->默认相册<!--{/if}--></a> <!--{if $allowmanage}--><br />作者: <a href="admincp.php?ac=pic&uid=$value[uid]">$users[$value[uid]]</a><!--{/if}--> <br />时间: <!--{date('Y-m-d H:i',$value[dateline])}--> <!--{if $value[hot]}--><br /><span style="color:red;">热度: $value[hot]</span><!--{/if}--> <br><a href="admincp.php?ac=comment&id=$value[picid]&idtype=picid">评论管理</a> </td> <!--{if $key%2==1}--></tr><tr><!--{/if}--> <!--{/loop}--> </tr> </table> <!--{/if}--> </div> <div class="footactions"> <!--{if $allowbatch && $perpage<=100}--><input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选<!--{/if}--> <input type="hidden" name="mpurl" value="$mpurl"> <input type="submit" name="batchsubmit" value="批量删除" onclick="return confirm('本操作不可恢复,确认删除?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/pic.htm
HTML
asf20
4,496
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[view]><a href="admincp.php?ac=click"><span>浏览全部动作</span></a></li> <li$actives[blogid]><a href="admincp.php?ac=click&idtype=blogid"><span>日志动作</span></a></li> <li$actives[picid]><a href="admincp.php?ac=click&idtype=picid"><span>图片动作</span></a></li> <li$actives[tid]><a href="admincp.php?ac=click&idtype=tid"><span>话题动作</span></a></li> <li class="null"><a href="admincp.php?ac=click&op=add">添加新动作</a></li> </ul> </div> <!--{if empty($_GET['op'])}--> <!--{eval $idtypename=array('blogid'=>'日志','picid'=>'图片','tid'=>'话题')}--> <form method="post" action="admincp.php?ac=click"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>图标</th> <th>动作名称</th> <th>系统类型</th> <th>显示顺序</th> <th>&nbsp;</th> </tr> <!--{loop $list $value}--> <tr> <td><img src="image/click/$value[icon]"></td> <td>$value[name]</td> <td>{$idtypename[$value[idtype]]}</td> <td><input type="text" name="displayorder[{$value[clickid]}]" value="$value[displayorder]" size="5"></td> <td> <a href="admincp.php?ac=click&op=edit&clickid=$value[clickid]">编辑</a> | <a href="admincp.php?ac=click&op=delete&clickid=$value[clickid]" onclick="return confirm('删除不可恢复\n并会同时清除相关统计数据\n确认删除?');">删除</a> </td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <input type="submit" name="ordersubmit" value="提交" class="submit"> </div> </form> <!--{elseif $_GET['op'] == 'add' || $_GET['op'] == 'edit'}--> <form method="post" action="admincp.php?ac=click"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr><th style="width:12em;">动作名称</th> <td><input type="text" name="name" value="$click[name]"></td></tr> <tr><th>动作图标</th> <td>./image/click/<input type="text" name="icon" value="$click[icon]" size="15"> <br>需要确保将该图片上传到程序的 ./image/click/ 目录下面。 </td></tr> <!--{if $_GET['op'] == 'add'}--> <tr><th>系统类型</th> <td> <select name="idtype"> <option value="blogid"$idtypearr[blogid]>日志</option> <option value="picid"$idtypearr[picid]>图片</option> <option value="tid"$idtypearr[tid]>话题</option> </select> </td></tr> <!--{/if}--> <tr><th>显示顺序</th> <td><input type="text" name="displayorder" value="$click[displayorder]"></td></tr> </table> </div> <div class="footactions"> <input type="hidden" name="clickid" value="$click[clickid]"> <input type="submit" name="clicksubmit" value="提交" class="submit"> </div> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/click.htm
HTML
asf20
3,244
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <!--{if $_GET[op] == 'view'}--> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable" border="0"> <tr> <th width="80">时间</th> <td>$log[dateline]</td> </tr> <th>IP</th> <td>$log[ip]</td> </tr> <th>用户</th> <td><a href="space.php?uid=$log[uid]" target="_blank">$_SN[$log[uid]]</a></td> </tr> <th>链接</th> <td>$log[link]</td> </tr> <!--{if $log[get]}--> </tr> <th>GET数据</th> <td>$log[get]</td> </tr> <!--{/if}--> <!--{if $log[post]}--> </tr> <th>POST数据</th> <td>$log[post]</td> </tr> <!--{/if}--> <!--{if $log[extra]}--> <tr> <th>参考信息</th> <td>$log[extra]</td> </tr> <!--{/if}--> </table> </div> <div class="footactions"> <button onclick="location.href='$_SGLOBAL[refer]'" class="submit">返回</button> </div> <!--{else}--> <form method="get" action="admincp.php"> <input type="hidden" name="ac" value="log"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr> <th>选择log文件</th> <td colspan="3"> <select name="file"> <option value="">选择文件</option> <!--{loop $logfiles $value}--> <option value="$value"<!--{if $_GET[file]==$value}--> selected=""<!--{/if}-->>$value</option> <!--{/loop}--> </select> </td> </tr> <tr> <tr> <td>用户UID</td> <td> <input type="text" name="uid" value="$_GET[uid]" /> </td> <th>IP地址</th> <td> <input type="text" name="ip" value="$_GET[ip]" /> </td> </tr> <th>记录时间</th> <td colspan="3"> <script type="text/javascript" src="source/script_calendar.js" charset="$_SC[charset]"></script> <input type="text" name="starttime" value="$_GET[starttime]" onclick="showcalendar(event,this,1)"/> ~ <input type="text" name="endtime" value="$_GET[endtime]" onclick="showcalendar(event,this,1)" /> </td> </tr> <tr> <th>关键词</th> <td colspan="3"> <input type="text" name="keysearch" value="$_GET[keysearch]" /> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable" border="0"> <tr> <th width="160">时间</th> <th width="120">IP</th> <th width="120">用户</th> <th>链接</th> <th width="60">操作</th> </tr> <!--{loop $list $value}--> <tr> <td>$value[dateline]</td> <td><a href="admincp.php?ac=log&file=$_GET[file]&uid=$_GET[uid]&ip=$value[ip]&starttime=$_GET[starttime]&endtime=$_GET[endtime]&keysearch=$_GET[keysearch]">$value[ip]</a></td> <td> <a href="admincp.php?ac=log&file=$_GET[file]&uid=$value[uid]&ip=$_GET[ip]&starttime=$_GET[starttime]&endtime=$_GET[endtime]&keysearch=$_GET[keysearch]">$_SN[$value[uid]]</a> <p class="gray"><a href="space.php?uid=$value[uid]" target="_blank">空间</a></p> </td> <td>$value[link]</td> <td><a href="admincp.php?ac=log&op=view&file=$_GET[file]&line=$value[line]">详细</a></td> </tr> <!--{/loop}--> </table> </div> <div class="footactions"> <div class="pages">$multi</div> </div> <!--{else}--> <div class="bdrcontent"><p>没有相关记录</p></div> <!--{/if}--> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/log.htm
HTML
asf20
3,788
<!--{template admin/tpl/header}--> <!--{eval $_TPL['rewardtype'] = array( '0' => '扣分', '1' => '加分' ); $_TPL['cycletype'] = array( '0' => '一次性', '1' => '每天', '2' => '整点', '3' => '间隔分钟', '4' => '不限周期' ); $_TPL['norepeat'] = array( '1' => '信息去重', '2' => '人去重', '3' => '应用去重' ); }--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[1]><a href="admincp.php?ac=credit&rewardtype=1"><span>奖励规则</span></a></li> <li$actives[0]><a href="admincp.php?ac=credit&rewardtype=0"><span>惩罚规则</span></a></li> </ul> </div> <!--{if $_GET[op]=='edit'}--> <div class="bdrcontent"> <form method="post" action="admincp.php?ac=credit"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="title"> <h3>规则设置</h3> </div> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:10em;">规则名称</th> <td>$rule[rulename]</td> </tr> <tr> <td>奖励方式</td> <td> $_TPL[rewardtype][$rule[rewardtype]] </td> </tr> <tbody id="otherrule" <!--{if $rule[rewardtype] == 0}--> style="display:none"<!--{/if}-->> <tr> <td style="width:10em;">奖励周期</td> <td> <!--{loop $_TPL[cycletype] $key $desc}--> <input type="radio" name="cycletype" value="$key" onclick="showoption($key);" <!--{if $key == $rule[cycletype]}-->checked<!--{/if}-->>$desc <!--{/loop}--> </td> </tr> <tr id="cycletimetr" <!--{if in_array($rule[cycletype], array(0, 1, 4))}--> style="display:none"<!--{/if}-->> <td>间隔时间</td> <td><input type="text" name="cycletime" value="$rule[cycletime]"></td> </tr> <tr id="rewardnumtr"<!--{if $rule[cycletype] == 0}--> style="display:none"<!--{/if}-->> <td>奖励次数</td> <td> <input type="text" name="rewardnum" value="$rule[rewardnum]">0为不限次数 </td> </tr> </tbody> <tr> <td><!--{if $rule[rewardtype]}-->奖励<!--{else}-->扣除<!--{/if}-->积分值</td> <td><input type="text" name="credit" value="$rule[credit]"></td> </tr> <tr> <td><!--{if $rule[rewardtype]}-->奖励<!--{else}-->扣除<!--{/if}-->经验值</td> <td><input type="text" name="experience" value="$rule[experience]"></td> </tr> <!--{if $rule[norepeat]}--> <tr> <td>去重奖励</td> <td> <!--{if $rule[norepeat]==1}--> 该条规则针对信息去重,防止所有奖励给一条信息的评论这类的 <!--{elseif $rule[norepeat]==2}--> 该条规则针对人去重,例如对同一个人在一个周期内只有一次奖励机会 <!--{else}--> 该条规则针对应用去重,例如同一个周期内第一次使用应用给奖励机会 <!--{/if}--> </td> </tr> <!--{/if}--> </table> <br/> <input type="submit" name="creditsubmit" value="提交" class="submit"> <input type="hidden" name="rid" value="$_GET[rid]" /> <script type="text/javascript"> function showoption(id) { switch(id) { case 0: $('cycletimetr').style.display = "none"; $('rewardnumtr').style.display = "none"; break; case 1: case 4: $('cycletimetr').style.display = "none"; $('rewardnumtr').style.display = ""; break; case 2: case 3: $('cycletimetr').style.display = ""; $('rewardnumtr').style.display = ""; break; } } </script> </form> </div> <!--{else}--> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>动作名称</th> <!--{if $_GET[rewardtype]!='0'}--> <th width="80">奖励周期</th> <th width="80">奖励次数</th> <th width="80">奖励方式</th> <!--{/if}--> <th width="80"><!--{if $_GET[rewardtype]=='0'}-->扣除积分<!--{else}-->获得积分<!--{/if}--></th> <th width="80"><!--{if $_GET[rewardtype]=='0'}-->扣除经验值<!--{else}-->获得经验值<!--{/if}--></th> <th width="50">操作</th> </tr> <!--{if $list}--> <!--{loop $list $value}--> <tr> <td>$value[rulename]</td> <!--{if $_GET[rewardtype]!='0'}--> <td>$_TPL[cycletype][$value[cycletype]]</td> <td><!--{if $value[rewardnum]=='0'}-->不限次数<!--{else}-->$value[rewardnum]<!--{/if}--></td> <td>$_TPL[rewardtype][$value[rewardtype]]</td> <!--{/if}--> <td>$value[credit]</td> <td>$value[experience]</td> <td><a href="admincp.php?ac=credit&op=edit&rid=$value[rid]">编辑</a></td> </tr> <!--{/loop}--> <!--{else}--> <tr> <td colspan="6">暂无相关积分规则</td> </tr> <!--{/if}--> </table> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/credit.htm
HTML
asf20
5,088
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="get" action="admincp.php"> <div class="block style4"> <table cellspacing="3" cellpadding="3"> <tr><th>群组名*</th><td><input type="text" name="tagname" value="$_GET[tagname]"></td> <th>指定群组ID</th> <td> <input type="text" name="tagid" value="$_GET[tagid]" /> </td> </tr> <tr> <th>是否锁定</th><td> <select name="close"> <option value="">不限制</option> <option value="1"<!--{if $_GET[close]==1}--> selected<!--{/if}-->>锁定</option> </select> </td> <th>是否推荐</th><td> <select name="recommend"> <option value="">不限制</option> <option value="1"<!--{if $_GET[recommend]==1}--> selected<!--{/if}-->>推荐</option> </select> </td> </tr> <tr> <th>加入权限</th> <td> <select name="joinperm"> <option value="">全部</option> <option value="0"$joinperms[0]>公开</option> <option value="1"$joinperms[1]>审核</option> <option value="2"$joinperms[2]>私密</option> </select> </td> <th>浏览权限</th> <td> <select name="viewperm"> <option value="">全部</option> <option value="0"$viewperms[0]>公开</option> <option value="1"$viewperms[1]>封闭</option> </select> </td> </tr> <tr> <th>发帖权限</th> <td> <select name="threadperm"> <option value="">全部</option> <option value="0"$threadperms[0]>仅成员可发话题</option> <option value="1"$threadperms[1]>所有人可以发话题</option> </select> </td> <th>回帖权限</th> <td> <select name="postperm"> <option value="">全部</option> <option value="0"$postperms[0]>仅成员可回帖</option> <option value="1"$postperms[1]>所有人可以回帖</option> </select> </td> </tr> <tr> <th>归属栏目</th><td colspan="3"> <select name="fieldid"> <option value="">全部</option> <!--{loop $_SGLOBAL[profield] $value}--> <option value="$value[fieldid]"<!--{if $_GET[fieldid]==$value[fieldid]}--> selected<!--{/if}-->>$value[title]</option> <!--{/loop}--> </select> </td> </tr> <tr><th>用户数</th><td colspan="3"> <input type="text" name="membernum1" value="$_GET[membernum1]" size="10"> ~ <input type="text" name="membernum2" value="$_GET[membernum2]" size="10"> </td></tr> <tr><th>话题数</th><td colspan="3"> <input type="text" name="threadnum1" value="$_GET[threadnum1]" size="10"> ~ <input type="text" name="threadnum2" value="$_GET[threadnum2]" size="10"> </td></tr> <tr><th>回帖数</th><td colspan="3"> <input type="text" name="postnum1" value="$_GET[postnum1]" size="10"> ~ <input type="text" name="postnum2" value="$_GET[postnum2]" size="10"> </td></tr> <tr><th>结果排序</th> <td colspan="3"> <select name="orderby"> <option value="">默认排序</option> <option value="membernum"$orderby[membernum]>成员数</option> <option value="threadnum"$orderby[threadnum]>话题数</option> <option value="postnum"$orderby[postnum]>回帖数</option> </select> <select name="ordersc"> <option value="desc"$ordersc[desc]>递减</option> <option value="asc"$ordersc[asc]>递增</option> </select> <select name="perpage"> <option value="20"$perpages[20]>每页显示20个</option> <option value="50"$perpages[50]>每页显示50个</option> <option value="100"$perpages[100]>每页显示100个</option> </select> <input type="hidden" name="ac" value="mtag"> <input type="submit" name="searchsubmit" value="搜索" class="submit"> </td> </tr> </table> </div> </form> <!--{if $list}--> <form method="post" action="admincp.php?ac=mtag"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th>群组名</th> <th>分类</th> <th width="80">用户数</th> <th width="80">话题数</th> <th width="80">回帖数</th> <th width="100">群主</th> </tr> <!--{loop $list $value}--> <tr> <td><input type="<!--{if $managebatch}-->checkbox<!--{else}-->radio<!--{/if}-->" name="ids[]" value="$value[tagid]"> <a href="space.php?do=mtag&tagid=$value[tagid]" target="_blank">$value[tagname]</a> <!--{if $value[close]}-->(<a href="admincp.php?ac=mtag&close=$value[close]">锁定</a>)<!--{/if}--> <!--{if $value[recommend]}-->(<a href="admincp.php?ac=mtag&recommend=$value[recommend]">推荐</a>)<!--{/if}--> </td> <td><a href="admincp.php?ac=mtag&fieldid=$value[fieldid]">{$_SGLOBAL[profield][$value[fieldid]][title]}</a></td> <td>$value[membernum]</td> <td>$value[threadnum]</td> <td>$value[postnum]</td> <td>[<a href="cp.php?ac=mtag&op=manage&tagid=$value[tagid]&subop=base" target="_blank">群组管理</a>]</td> </tr> <!--{/loop}--> </table> </div> <div class="footactions" style="text-align:left;line-height:2.5em;"> <input type="hidden" name="mpurl" value="$mpurl"> <!--{if $managebatch}--> <input type="checkbox" id="chkall" name="chkall" onclick="checkAll(this.form, 'ids')">全选 &nbsp; 请选择操作类型:<br> <!--{/if}--> <input type="radio" name="optype" value="delete"> 删除(群组里面的帖子也会删除)<br> <input type="radio" name="optype" value="close"> 锁定 <input type="radio" name="optype" value="open"> 取消锁定<br> <input type="radio" name="optype" value="recommend"> 推荐 <input type="radio" name="optype" value="unrecommend"> 取消推荐 <br> <input type="radio" name="optype" value="move"> 转移到新分类: <select name="move_newfieldid"> <!--{loop $_SGLOBAL[profield] $value}--> <option value="$value[fieldid]">$value[title]</option> <!--{/loop}--> </select> <br> <input type="radio" name="optype" value="merge"> 合并到其他群组: <select name="merge_newfieldid"> <!--{loop $_SGLOBAL[profield] $value}--> <option value="$value[fieldid]">$value[title]</option> <!--{/loop}--> </select> 群组名:<input type="text" name="newtagname" value="" size="5"> <br> <input type="submit" name="opsubmit" value="执行操作" onclick="return confirm('本操作不可恢复,确认继续?');" class="submit"> <div class="pages">$multi</div> </div> </form> <!--{else}--> <div class="bdrcontent"> <p>指定条件下还没有数据</p> </div> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/mtag.htm
HTML
asf20
6,566
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <form method="post" action="admincp.php?ac=spam"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <div class="title"> <h3>防灌水设置</h3> <p>您可以选择一些措施,来增加对灌水机的干扰,避免大量垃圾广告信息的产生,但这也会影响到新用户的使用体验。</p> </div> <table class="formtable"> <tr> <th style="width:15em;">自定义登录识别名</th> <td> <input type="text" name="config[login_action]" value="$configs[login_action]" size="10"> (必须为英文字母)<br> 给登录页面设置个性名,可加大灌水机自动登录的难度,如果有必要,可以不定期更改一下。 </td> </tr> <tr> <th>自定义注册识别名</th> <td> <input type="text" name="config[register_action]" value="$configs[register_action]" size="10"> (必须为英文字母)<br> 给注册页面设置个性名。注意,不能与登录识别名相同。 </td> </tr> <tr> <th>页面开启验证码功能</th> <td> <input type="checkbox" name="config[seccode_login]" value="1"<!--{if $configs[seccode_login]}--> checked<!--{/if}-->>登录页面 <input type="checkbox" name="config[seccode_register]" value="1"<!--{if $configs[seccode_register]}--> checked<!--{/if}-->>注册页面 <br>说明:<br>对发布日志等发布操作是否开启验证码功能,您需要在<a href="admincp.php?ac=usergroup">用户组管理</a>中,对用户组进行不同的开启设置。 </td> </tr> <tr> <th>验证码采用个性提问模式</th> <td> <input type="radio" name="config[questionmode]" value="1"<!--{if $configs[questionmode] == 1}--> checked<!--{/if}-->>是,使用我自定义的问答(推荐,效果好) <input type="radio" name="config[questionmode]" value="0"<!--{if $configs[questionmode] != '1'}--> checked<!--{/if}-->>否,使用系统验证码图片 </td> </tr> <tr> <th>设置个性问题和答案</th> <td id="q_td"> <!--{loop $datas[question] $key $value}--> <div style="margin-bottom:0.5em;"> 问题:<input type="text" name="data[question][]" value="{$datas[question][$key]}" size="20">&nbsp; 答案:<input type="text" name="data[answer][]" value="{$datas[answer][$key]}" size="20"> </div> <!--{/loop}--> <a href="javascript:;" onclick="new_q();">添加新的问答</a> (填写的答案不能为0或者空值) <div id="new_div" style="margin-bottom:0.5em;margin-top:0.5em;"> 问题:<input type="text" name="data[question][]" value="" size="20">&nbsp; 答案:<input type="text" name="data[answer][]" value="" size="20"> </div> </td> </tr> <tr> <th>强制新用户验证激活邮箱</th> <td> <input type="radio" name="config[need_email]" value="1"<!--{if $configs[need_email] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[need_email]" value="0"<!--{if $configs[need_email] != '1'}--> checked<!--{/if}-->>否 <br>选择是的话,用户必须验证激活自己的邮箱后,才可以进行发布操作。 </td> </tr> <tr> <th>验证激活邮箱唯一性</th> <td> <input type="radio" name="config[uniqueemail]" value="1"<!--{if $configs[uniqueemail] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[uniqueemail]" value="0"<!--{if $configs[uniqueemail] != '1'}--> checked<!--{/if}-->>否 <br>选择是的话,验证激活的邮箱将唯一性,不允许重复。 </td> </tr> <tr> <th>新用户见习时间</th> <td> <input type="text" name="config[newusertime]" value="$configs[newusertime]" size="10"> 小时 <br>设置新注册用户必须等待多少小时后才可以发布操作。 </td> </tr> <tr> <th>强制新用户上传头像</th> <td> <input type="radio" name="config[need_avatar]" value="1"<!--{if $configs[need_avatar] == 1}--> checked<!--{/if}-->>是 <input type="radio" name="config[need_avatar]" value="0"<!--{if $configs[need_avatar] != '1'}--> checked<!--{/if}-->>否 <br>选择是的话,用户必须设置自己的头像后才能进行发布操作。 </td> </tr> <tr> <th>强制新用户好友个数</th> <td> <input type="text" name="config[need_friendnum]" value="$configs[need_friendnum]" size="10"> <br>设置用户必须拥有多少个好友后,才可以进行发布操作。 </td> </tr> <tr> <th>其他一些防灌水措施设置</th> <td> 1. 您可以在<a href="admincp.php?ac=config">站点设置</a>中,关闭站点注册功能,仅允许好友邀请注册功能。<br> 2. 您可以在<a href="admincp.php?ac=privacy">隐私设置</a>中,关闭游客开放浏览功能。<br> </td> </tr> </table> </div> <div class="footactions"> <input type="submit" name="spamsubmit" value="提交" class="submit"> </div> </form> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <script> function new_q() { $('q_td').innerHTML += '<div style="margin-bottom:0.5em;">'+$('new_div').innerHTML+'</div>'; } </script> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/spam.htm
HTML
asf20
5,291
<!--{template admin/tpl/header}--> <div class="mainarea"> <div class="maininner"> <div class="tabs_header"> <ul class="tabs"> <li$actives[enabled]><a href="admincp.php?ac=magic&view=enabled"><span>已启用道具</span></a></li> <li$actives[disabled]><a href="admincp.php?ac=magic&view=disabled"><span>已禁用道具</span></a></li> </ul> </div> <!--{if "edit" == $_GET['op']}--> <form method="post" action="admincp.php?ac=magic&op=$_GET[op]&mid=$_GET[mid]&view=$_GET[view]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th style="width:15em;">名称</th> <td>$thevalue[name]</td> </tr> <tr> <th style="width:15em;">道具说明</th> <td> <textarea name="description" cols="80" rows="2">$thevalue[description]</textarea> </td> </tr> <tr> <th style="width:15em;">道具单价</th> <td> <input type="text" name="charge" value="$thevalue[charge]" /> 购买时单个需要花费的积分值,需小于65535 </td> </tr> <tr> <th style="width:15em;">经验成长</th> <td> <input type="text" name="experience" value="$thevalue[experience]" /> 购买单个可以增长的经验值,需小于65535 </td> </tr> <tr> <th style="width:15em;">补给周期</th> <td> <select name="provideperoid"> <option value="0"<!--{if $thevalue[provideperoid]==0}--> selected<!--{/if}-->>总是可以</option> <option value="3600"<!--{if $thevalue[provideperoid]==3600}--> selected<!--{/if}-->>间隔1小时</option> <option value="86400"<!--{if $thevalue[provideperoid]==86400}--> selected<!--{/if}-->>间隔24小时</option> <option value="604800"<!--{if $thevalue[provideperoid]==604800}--> selected<!--{/if}-->>间隔7天</option> </select> 若道具商店中此道具已售光,在补给周期内自动补给一次 </td> </tr> <tr> <th style="width:15em;">补给数目</th> <td> <input type="text" name="providecount" value="$thevalue[providecount]" maxlength="6" /> 若道具商店中此道具已售光,自动补给一次的数目,需小于65535 </td> </tr> <tr> <th style="width:15em;">使用周期</th> <td> <select name="useperoid"> <option value="0"<!--{if $thevalue[useperoid]==0}--> selected<!--{/if}-->>总是可以</option> <option value="3600"<!--{if $thevalue[useperoid]==3600}--> selected<!--{/if}-->>间隔1小时</option> <option value="86400"<!--{if $thevalue[useperoid]==86400}--> selected<!--{/if}-->>间隔24小时</option> <option value="604800"<!--{if $thevalue[useperoid]==604800}--> selected<!--{/if}-->>间隔7天</option> </select> 设定用户使用此道具的使用周期 </td> </tr> <tr> <th style="width:15em;">使用数目</th> <td> <input type="text" name="usecount" value="$thevalue[usecount]" maxlength="6" /> 设定用户在使用周期内最多能使用此道具的个数,需小于65535 </td> </tr> <tr> <th style="width:15em;">禁购用户组</th> <td> 选中的用户组不能在道具商店购买此道具(但可以接受赠与)<br /> <!--{loop $usergroups $groups}--> <!--{loop $groups $gid $value}--> <input id="ckgid_$gid" type="checkbox" name="forbiddengid[]" value="$gid"<!--{if in_array($gid, $thevalue[forbiddengid])}-->checked<!--{/if}--> /> <label for="ckgid_$gid">$value[grouptitle]</label> <!--{/loop}--> <br /> <!--{/loop}--> </td> </tr> <tr> <th style="width:15em;">库存数目</th> <td> <input type="text" name="storage" value="$thevalue[storage]" size="5" maxlength="5" /> </td> </tr> <tr> <th style="width:15em;">显示顺序</th> <td> <input type="text" name="displayorder" value="$thevalue[displayorder]" size="5" maxlength="5" /> </td> </tr> <tr> <th style="width:15em;">是否禁用</th> <td> <input type="checkbox" id="magicclose" name="close" value="1"<!--{if $thevalue[close]}--> checked<!--{/if}--> /> <label for="magicclose">禁用后页面上将不显示此道具</label> </td> </tr> <!--{if $_GET[mid] == 'invisible'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">隐身时间</th> <td> <select name="custom[effectivetime]"> <option value="">默认</option> <option value="86400"<!--{if $thevalue[custom][effectivetime]==86400}--> selected<!--{/if}-->>24小时</option> <option value="259200"<!--{if $thevalue[custom][effectivetime]==259200}--> selected<!--{/if}-->>3天</option> <option value="432000"<!--{if $thevalue[custom][effectivetime]==432000}--> selected<!--{/if}-->>5天</option> <option value="604800"<!--{if $thevalue[custom][effectivetime]==604800}--> selected<!--{/if}-->>7天</option> </select> 默认为 24 小时 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'superstar'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">持续时间</th> <td> <select name="custom[effectivetime]"> <option value="">默认</option> <option value="86400"<!--{if $thevalue[custom][effectivetime]==86400}--> selected<!--{/if}-->>24小时</option> <option value="259200"<!--{if $thevalue[custom][effectivetime]==259200}--> selected<!--{/if}-->>3天</option> <option value="432000"<!--{if $thevalue[custom][effectivetime]==432000}--> selected<!--{/if}-->>5天</option> <option value="604800"<!--{if $thevalue[custom][effectivetime]==604800}--> selected<!--{/if}-->>7天</option> </select> </td> 默认为 7天 </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'friendnum'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">增加好友数</th> <td> <select name="custom[addnum]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][addnum]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][addnum]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][addnum]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][addnum]==50}--> selected<!--{/if}-->>50</option> <option value="100"<!--{if $thevalue[custom][addnum]==100}--> selected<!--{/if}-->>100</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'attachsize'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">增加容量</th> <td> <select name="custom[addsize]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][addsize]==5}--> selected<!--{/if}-->>5M</option> <option value="10"<!--{if $thevalue[custom][addsize]==10}--> selected<!--{/if}-->>10M</option> <option value="20"<!--{if $thevalue[custom][addsize]==20}--> selected<!--{/if}-->>20M</option> <option value="50"<!--{if $thevalue[custom][addsize]==50}--> selected<!--{/if}-->>50M</option> <option value="100"<!--{if $thevalue[custom][addsize]==100}--> selected<!--{/if}-->>100M</option> </select> 默认为 10M </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'visit'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">访问好友数</th> <td> <select name="custom[maxvisit]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxvisit]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxvisit]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxvisit]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxvisit]==50}--> selected<!--{/if}-->>50</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'gift'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">每份积分最大值</th> <td> <select name="custom[maxchunk]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxchunk]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxchunk]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxchunk]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxchunk]==50}--> selected<!--{/if}-->>50</option> <option value="100"<!--{if $thevalue[custom][maxchunk]==100}--> selected<!--{/if}-->>100</option> <option value="999"<!--{if $thevalue[custom][maxchunk]=='999'}--> selected<!--{/if}-->>不限</option> </select> 默认为 20 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'viewmagic'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">最多查看数</th> <td> <select name="custom[maxview]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxview]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxview]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxview]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxview]==50}--> selected<!--{/if}-->>50</option> <option value="999"<!--{if $thevalue[custom][maxview]=='999'}--> selected<!--{/if}-->>不限</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'viewvisitor'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">最多查看数</th> <td> <select name="custom[maxview]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxview]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxview]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxview]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxview]==50}--> selected<!--{/if}-->>50</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'detector'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">最多探测数</th> <td> <select name="custom[maxdetect]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxdetect]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxdetect]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxdetect]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxdetect]==50}--> selected<!--{/if}-->>50</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{elseif $_GET[mid] == 'call'}--> <tr> <th style="width:15em;">自定义效果</th> <td> 请修改道具描述和道具效果一致<br /> <table> <tr> <th width="100">最多点名数</th> <td> <select name="custom[maxcall]"> <option value="">默认</option> <option value="5"<!--{if $thevalue[custom][maxcall]==5}--> selected<!--{/if}-->>5</option> <option value="10"<!--{if $thevalue[custom][maxcall]==10}--> selected<!--{/if}-->>10</option> <option value="20"<!--{if $thevalue[custom][maxcall]==20}--> selected<!--{/if}-->>20</option> <option value="50"<!--{if $thevalue[custom][maxcall]==50}--> selected<!--{/if}-->>50</option> </select> 默认为 10 </td> </tr> </table> </td> </tr> <!--{/if}--> </table> </div> <div class="footactions"> <input type="hidden" name="mid" value="$thevalue[mid]" /> <input type="submit" name="editsubmit" value="提交" class="submit"> </div> </form> <!--{else}--> <form method="post" action="admincp.php?ac=magic&view=$_GET[view]"> <input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" /> <div class="bdrcontent"> <table cellspacing="0" cellpadding="0" class="formtable"> <tr> <th width="100">图标</th> <th>道具</th> <!--{if $_GET[view] != 'disabled'}--> <th width="80">道具单价</th> <th width="80">显示顺序</th> <!--{/if}--> <th width="80">操作</th> </tr> <!--{loop $list $key $value}--> <tr> <th><img src="image/magic/{$value[mid]}.gif" alt="$value[name]" /></th> <td> <b>$value[name]</b> <p>$value[description]</p> </td> <!--{if $_GET[view] != 'disabled'}--> <td><input type="text" name="charge[$key]" value="$value[charge]" size="5" maxlength="5" /></td> <td><input type="text" name="displayorder[$key]" value="$value[displayorder]" size="5" maxlength="5" /></td> <!--{/if}--> <td><a href="admincp.php?ac=magic&op=edit&mid=$key&view=$_GET[view]">编辑</a></td> </tr> <!--{/loop}--> </table> </div> <!--{if $_GET[view] != 'disabled'}--> <div class="footactions"> <input type="submit" name="ordersubmit" value="更新数据" class="submit"> </div> <!--{/if}--> </form> <!--{/if}--> </div> </div> <div class="side"> <!--{template admin/tpl/side}--> </div> <!--{template admin/tpl/footer}-->
zyyhong
trunk/jiaju001/newbbs/home/admin/tpl/magic.htm
HTML
asf20
15,335
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: common.php 12271 2009-05-31 06:14:11Z xupeng $ */ define('X_VER', '2.0'); define('X_RELEASE', '20100106'); ?>
zyyhong
trunk/jiaju001/newbbs/home/ver.php
PHP
asf20
178
/* [name]菲菲小屋[/name] Powered by Ucenter Home */ body { background: url(images/body_bg.gif) fixed repeat left top; color: #666; } #wrap { padding: 10px; border: 5px solid #5D422E; border-top: none; border-bottom: none; background: #FFF; } #header { margin: 0; background: url(images/top_bg.jpg) repeat-x left top; color: #CCC; } .headerwarp { background: none; } #header a { color: #FFF; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px; height: 30px; border-bottom: 1px solid #EBD8CF; background: #F8F2EF; line-height: 30px; } .ulist, .tabs_header, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #EBD8CF; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span, .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span { background: none; } .ulist { background: #F8F2EF; } .tabs_header ul.tabs li a { border: 1px solid #EBD8CF; border-bottom: none; background: #F8F2EF; } .tabs_header { height: 31px; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t4/style.css
CSS
asf20
1,266
/* [name]淡淡清香[/name] Powered by Ucenter Home */ body { padding: 0 0 50px; background: url(images/body_bg.gif) fixed repeat left top; color: #666; } #wrap { padding: 15px; border: 1px solid #CED4CA; background: #FFF; } #header { margin: 0; color: #CCC; } .headerwarp { background: none; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px; height: 30px; border-bottom: 1px solid #DDE5D9; background: #EFF3ED; line-height: 30px; } .ulist, .tabs_header, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #DDE5D9; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span, .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span { background: none; } .ulist { background: #EFF3ED; } .tabs_header ul.tabs li a { border: 1px solid #DDE5D9; border-bottom: none; background: #EFF3ED; } .tabs_header { height: 31px; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t3/style.css
CSS
asf20
1,195
/* [name]淡淡花香[/name] Powered by Ucenter Home */ body { padding: 0 0 50px; background: #EFD5B2 url(images/body_bg.gif) repeat; color: #666; } a { color: #F05961; } #wrap { padding: 15px; background: #FFF; } #header { margin: 0; color: #CCC; } .headerwarp { background: none; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px; height: 30px; border-bottom: 1px solid #EFD5B2; background: #F9F0E3; color: #F05961; line-height: 30px; } .ulist, .tabs_header, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #EFD5B2; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span, .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span { background: none; } .ulist { background: #F9F0E3; } .tabs_header ul.tabs li a { border: 1px solid #EFD5B2; border-bottom: none; background: #F9F0E3; } .tabs_header { height: 31px; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t5/style.css
CSS
asf20
1,200
/* [name]中国年[/name] Powered by Ucenter Home */ a{ color: #900; } body { padding: 0 0 50px; background: url(images/body_bg.gif); color: #666; } #wrap { padding: 15px 10px; border: 3px solid #EDC18A; background: #FFF; } #header { margin: 0; background: url(images/top_bg.jpg) repeat-x; color: #CCC; } .headerwarp { height: 140px; background: url(images/header.gif) no-repeat 0 40px; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px; height: 30px; border-bottom: 3px solid #EDC18A; background: #F2F2F2 url(images/body_bg.gif); color: #900; line-height: 29px; } .ulist, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #ECF1F3; } .tabs_header{ position: absolute; margin:-44px 0 0 170px; width: 600px; border: none;} .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span{ background-image: url(images/tab_bg.gif); color: #FFF; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span{ background-image: url(images/active_tab_bg.gif); color: #5778A1; } .tabs_header ul.tabs li{ margin: 0 5px 0 0; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t12/style.css
CSS
asf20
1,389
/* [name]科技[/name] Powered by Ucenter Home */ body { padding: 0 0 50px; background: #5778A1; color: #666; } #wrap { padding: 15px 10px; border: 3px solid #94B5DE; background: #FFF; } #header { margin: 0; background: url(images/top_bg.jpg) repeat-x; color: #CCC; } .headerwarp { height: 140px; background: url(images/header.gif) no-repeat 0 40px; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px 0 30px; height: 30px; border-bottom: 3px solid #DEDEDE; background: #F2F2F2 url(images/h2_news.gif) no-repeat 10px 50%; line-height: 29px; } .ulist, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #ECF1F3; } .tabs_header{ position: absolute; margin:-44px 0 0 170px; width: 600px; border: none;} .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span{ background-image: url(images/tab_bg.gif); color: #FFF; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span{ background-image: url(images/active_tab_bg.gif); color: #5778A1; } .tabs_header ul.tabs li{ margin: 0 5px 0 0; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t11/style.css
CSS
asf20
1,363
/* [name]红中国[/name] Powered by Ucenter Home */ body { background: #000; color: #666; background-image: url(images/body_bg.gif); } a { color: #999; } .line_list li { border-color: #111; } .quote { background-image: url(images/q_start.gif); } .quote .q, .quote blockquote { background-image: url(images/q_end.gif); } .time { color: #333; } .avatar48 { padding: 1px; width: 48px; height: 48px; border: 1px solid #333; background: none; overflow: hidden; } #header { margin: 0; background: url(images/top_bg.jpg) repeat-x left top; color: #CCC; } .headerwarp { background: none; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } #wrap{ width: 990px; } .login_thumb { background-image: url(images/login_bg.gif); } #space_page { margin: 60px 0 0; padding: 10px; width: 970px; background: #000 url(images/ybg.gif) no-repeat left top; } #ubar h2 { background: url(images/title.gif) no-repeat 0 -100px; } .tabs_header{ position: absolute; margin: -39px 0 0 150px; width: 600px; border: none; } .tabs_header, #space_page .comments_list li, #footer { border-color: #222; } .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span { background: none; color:#FC0; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span { background-image: url(images/tab_bg.gif); color: #FFF; } a#i_rss { background-image: url(images/rss_icon.gif); color:#FC0; } .index_name { color: #FFF; } .online_icon { background-image: url(images/online_icon.gif); } .setting_status { background-image: url(images/spanner_icon.gif); } #space_page .feed_header { background: url(images/title.gif) no-repeat 0 0; color: #444; } .t_input, textarea { border-color: #222; background: #111; color: #CCC; } .submit { border-color: #333; background: #222; } .feed .entry-title { color: #444; } .feed a:visited { color: #666; } .feed .detail { color: #333; } .feed li { border-color: #111; } .feed a img.summaryimg{ border-color:#333; } .feed a:hover img.summaryimg{ border-color:#666; } .feed .float_cancel { background: none; color: #333; } .entry_list .image_right img { border-color: #333; } .pipe { color: #333; } .ulist { border: 1px solid #222; background: #111; } #space_page .album_list { background: #111; } #space_page .album_list .album { border: 1px solid #222; background: #000; } #space_page .sidebox h2.title { background: url(images/title.gif) no-repeat 0 -200px; color: #444; } #footer { padding: 20px; width: 950px; background: transparent url(images/ybg2.gif) no-repeat scroll 0 0; border:medium none; color:#FC0; } #footer a{ color:#FC0; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t14/style.css
CSS
asf20
2,745
/* [name]猫猫[/name] Powered by Ucenter Home */ a{ color: #5778A1; } body { padding: 0 0 50px; background: #6A8FA1; color: #666; } #wrap { padding: 15px 10px; border: 3px solid #9DB7C1; background: #FFF; } #header { margin: 0; background: url(images/top_bg.jpg) repeat-x; color: #CCC; } #header a { color: #6A8FA1; } .headerwarp { height: 140px; background: url(images/header.gif) no-repeat 0 40px; color: #5A7B8C; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px; height: 30px; background: #F2F2F2 url(images/title.gif); color: #5778A1; line-height: 29px; } #ubar h2{ background-position: 0 -100px; } #space_page .sidebox h2.title{ background-position: 0 -200px; } .ulist, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #ECF1F3; } .tabs_header{ position: absolute; margin:-44px 0 0 170px; width: 600px; border: none;} .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span{ background-image: url(images/tab_bg.gif); color: #FFF; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span{ background-image: url(images/active_tab_bg.gif); color: #5778A1; } .tabs_header ul.tabs li{ margin: 0 5px 0 0; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t13/style.css
CSS
asf20
1,483
/* [name]小屋[/name] Powered by Ucenter Home */ body { padding: 0 0 50px; background: url(images/body_bg.gif) fixed repeat left top; color: #666; } #wrap { padding: 60px 10px 15px; border: 3px solid #333; background: #FFF url(images/sub_bg.gif) repeat-x; } #header { margin: 0 0 20px; background: url(images/top_bg.jpg); color: #CCC; } .headerwarp { background: none; } #header a { color: #2C629E; } #header .logo a { width: 82px; height: 40px; background: url(images/logo.gif) no-repeat left center; overflow: hidden; display: block; } #header .logo a img { margin: -200px; } .login_thumb { background-image: url(images/login_bg.gif); } #ubar h2, #space_page .feed_header, #space_page .sidebox h2.title { padding: 0 10px 0 30px; height: 30px; border-bottom: 3px solid #DEDEDE; background: #F2F2F2 url(images/h2_news.gif) no-repeat 10px 50%; line-height: 29px; } .ulist, #space_page .feed li, #space_page .comments_list li, #footer { border-color: #ECF1F3; } .tabs_header{ position: absolute; margin: -57px 0 0 -210px; width: 950px; border: none;} .tabs_header ul.tabs{ margin: 7px 0 0; } .tabs_header ul.tabs li{ margin: 0 20px 0 0; } .tabs_header ul.tabs li.active a, .tabs_header ul.tabs li.active a span, .tabs_header ul.tabs li a, .tabs_header ul.tabs li a span { margin: 0; padding: 0; height: auto; background: none; font-size: 12px; color: #fff; display: inline; }
zyyhong
trunk/jiaju001/newbbs/home/theme/t10/style.css
CSS
asf20
1,401
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: xmlrpc.php 12681 2009-07-15 05:24:47Z liguode $ */ include_once('./common.php'); include_once(S_ROOT.'./source/class_xmlrpc.php'); if(empty($_SCONFIG['openxmlrpc'])) { showmessage('no_privilege'); } $siteurl = getsiteurl(); if(isset($_GET['rsd'])) { obclean(); header("Content-type: text/xml, charset=utf-8", true); echo '<?xml version="1.0" encoding="utf-8"?>'; ?> <rsd version="1.0" xmlns="http://archipelago.phrasewise.com/rsd"> <service> <engineName>UCenter Home</engineName> <engineLink>http://u.discuz.net/</engineLink> <homePageLink><?php echo $siteurl; ?></homePageLink> <apis> <api name="MetaWeblog" blogID="1" preferred="false" apiLink=" <?php echo $siteurl; ?>xmlrpc.php" /> <api name="WordPress" blogID="1" preferred="true" apiLink="<?php echo $siteurl; ?>xmlrpc.php" /> <api name="Blogger" blogID="1" preferred="false" apiLink=" <?php echo $siteurl; ?>xmlrpc.php" /> </apis> </service> </rsd> <?php } else { $xmlrpc = xmlrpc::xmlrpcSet(); $data = $xmlrpc->xmlrpcServer(); } ?>
zyyhong
trunk/jiaju001/newbbs/home/xmlrpc.php
PHP
asf20
1,119
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <script type="text/javascript" src="http://widgets.manyou.com//misc/scripts/ab.js" charset="utf-8"></script> </head> <body onload="MYABC.onCBPageLoad()"> </body> </html>
zyyhong
trunk/jiaju001/newbbs/home/api/getmaillist.htm
HTML
asf20
434
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Site.php 12766 2009-07-20 04:26:21Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Site extends MyBase { function getUpdatedUsers($num) { global $_SGLOBAL; $totalNum = getcount('userlog', ''); $users = array(); if ($totalNum) { $sql = sprintf('SELECT uid, action, type FROM %s ORDER BY dateline LIMIT %d', tname('userlog'), $num); $query = $_SGLOBAL['db']->query($sql); $deletedUsers = $userLogs = $uIds = array(); $undeletedUserIds = array( 0 => array(), 1 => array(), 2 => array(), ); while($row = $_SGLOBAL['db']->fetch_array($query)) { $uIds[] = $row['uid']; if ($row['action'] == 'delete') { $deletedUsers[] = array('uId' => $row['uid'], 'action' => $row['action'], ); } else { $undeletedUserIds[$row['type']][] = $row['uid']; } $userLogs[$row['uid']] = $row; } $updatedUsers2 = $updatedUsers3 = array(); // extra updated if ($undeletedUserIds[2]) { $updatedUsers2 = $this->getExtraByUsers($undeletedUserIds[2]); } // basic updated + all updated $uIds3 = array_merge($undeletedUserIds[0], $undeletedUserIds[1]); $updatedUsers3 = $this->getUsers($uIds3, false, true, true, false); $updatedUsers = array_merge($updatedUsers2, $updatedUsers3); foreach($updatedUsers as $k => $v) { $updatedUsers[$k]['action'] = $userLogs[$v['uId']]['action']; switch($userLogs[$v['uId']]['type']) { case 2: $updatedUsers[$k]['updateType'] = 'extra'; break; case 1: $updatedUsers[$k]['updateType'] = 'basic'; break; case 0: default: $updatedUsers[$k]['updateType'] = 'all'; } } $users = array_merge($updatedUsers, $deletedUsers); if ($uIds) { $sql = sprintf('DELETE FROM %s WHERE uid IN (%s)', tname('userlog'), simplode($uIds)); $_SGLOBAL['db']->query($sql); } } $result = array('totalNum' => $totalNum, 'users' => $users, ); return new APIResponse($result); } function getUpdatedFriends($num) { global $_SGLOBAL; $friends = array(); $totalNum = getcount('friendlog', ''); if ($totalNum) { $sql = sprintf('SELECT * FROM %s ORDER BY dateline LIMIT %d', tname('friendlog'), $num); $query = $_SGLOBAL['db']->query($sql); while ($friend = $_SGLOBAL['db']->fetch_array($query)) { $friends[] = array('uId' => $friend['uid'], 'uId2' => $friend['fuid'], 'action' => $friend['action'] ); $sql = sprintf('DELETE FROM %s WHERE uid = %d AND fuid = %d', tname('friendlog'), $friend['uid'], $friend['fuid']); $_SGLOBAL['db']->query($sql); } } $result = array('totalNum' => $totalNum, 'friends' => $friends ); return new APIResponse($result); } function getAllUsers($from, $userNum, $friendNum = MY_FRIEND_NUM_LIMIT, $isExtra = false) { global $_SGLOBAL; $totalNum = getcount('space', ''); // space $sql = 'SELECT s.* FROM %s s ORDER BY s.uid LIMIT %d, %d'; $sql = sprintf($sql, tname('space'), $from, $userNum); $query = $_SGLOBAL['db']->query($sql); $spaces = $uIds = array(); while($row = $_SGLOBAL['db']->fetch_array($query)) { $spaces[$row['uid']] = $row; $uIds[] = $row['uid']; } $users = $this->getUsers($uIds, $spaces, true, $isExtra, true, $friendNum, true); $result = array('totalNum' => $totalNum, 'users' => $users ); return new APIResponse($result); } function getStat($beginDate = null, $num = null, $orderType = 'ASC') { global $_SGLOBAL; $sql = 'SELECT * FROM ' . tname('stat'); if ($beginDate) { $sql .= sprintf(' WHERE daytime >= %d', $beginDate); } $sql .= " ORDER BY daytime $orderType"; if ($num) { $sql .= " LIMIT $num "; } $query = $_SGLOBAL['db']->query($sql); $result = array(); $fields = array('login' => 'loginUserNum', 'doing' => 'doingNum', 'blog' => 'blogNum', 'pic' => 'photoNum', 'poll' => 'pollNum', 'event' => 'eventNum', 'share' => 'shareNum', 'thread' => 'threadNum', 'docomment' => 'doingCommentNum', 'blogcomment' => 'blogCommentNum', 'piccomment' => 'photoCommentNum', 'pollcomment' => 'pollCommentNum', 'eventcomment' => 'eventCommentNum', 'sharecomment' => 'shareCommentNum', 'pollvote' => 'pollUserNum', 'eventjoin' => 'eventUserNum', 'post' => 'postNum', 'wall' => 'wallNum', 'poke' => 'pokeNum', 'click' => 'clickNum', ); while($row = $_SGLOBAL['db']->fetch_array($query)) { $stat = array('date' => $row['daytime']); foreach($row as $k => $v) { if (array_key_exists($k, $fields)) { $stat[$fields[$k]] = $v; } } $result[] = $stat; } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Site.php
PHP
asf20
5,055
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Profile.php 11928 2009-04-09 01:23:00Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Profile { function setMYML($uId, $appId, $markup, $actionMarkup) { global $_SGLOBAL; $fields = array('myml' => $markup, 'profileLink' => $actionMarkup); $where = array('uid' => $uId, 'appid' => $appId ); updatetable('userappfield', $fields, $where); $result = $_SGLOBAL['db']->affected_rows(); return new APIResponse($result); } function setActionLink($uId, $appId, $actionMarkup) { global $_SGLOBAL; $fields = array('profilelink' => $actionMarkup); $where = array('uid' => $uId, 'appid' => $appId ); updatetable('userappfield', $fields, $where); $result = $_SGLOBAL['db']->affected_rows(); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Profile.php
PHP
asf20
913
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: MiniBlog.php 7952 2008-07-04 07:14:25Z zhouguoqiang $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class MiniBlog { function post($uId, $message, $clientIdentify, $ip = '') { $fields = array('uid' => $uId, 'message' => $message, 'from' => $clientIdentify, 'dateline' => time() ); if ($ip) { $fields['ip'] = $ip; } $result = inserttable('doing', $fields, 1); return new APIResponse($result); } function get($uId, $num) { global $_SGLOBAL; $sql = 'SELECT * FROM %s WHERE uid = %d LIMIT %d'; $sql = sprintf($sql, tname('doing'), $uId, $num); $query = $_SGLOBAL['db']->query($sql); $result = array(); while($doing = $_SGLOBAL['db']->fetch_array($query)) { $result[] = array('created' => $doing['dateline'], 'message' => $doing['message'], 'ip' => $doing['ip'], 'clientIdentify' => $doing['from'] ); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/MiniBlog.php
PHP
asf20
1,057
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: NewsFeed.php 7952 2008-07-04 07:14:25Z zhouguoqiang $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class NewsFeed extends MyBase { function get($uId, $num) { global $_SGLOBAL; $result = array(); $query = $_SGLOBAL['db']->query("SELECT * FROM ".tname('feed')." WHERE uid='$uId' ORDER BY dateline DESC LIMIT 0,$num"); while($value = $_SGLOBAL['db']->fetch_array($query)) { $result[] = array( 'appId' => $value['appid'], 'created' => $value['dateline'], 'type' => $value['icon'], 'titleTemplate' => $value['title_template'], 'titleData' => $value['title_data'], 'bodyTemplate' => $value['body_template'], 'bodyData' => $value['body_data'], 'bodyGeneral' => $value['body_general'], 'image1' => $value['image_1'], 'image1Link' => $value['image_1_link'], 'image2' => $value['image_2'], 'image2Link' => $value['image_2_link'], 'image3' => $value['image_3'], 'image3Link' => $value['image_3_link'], 'image4' => $value['image_4'], 'image4Link' => $value['image_4_link'], 'targetIds' => $value['target_ids'], 'privacy' => $value['friend']==0?'public':($value['friend']==1?'friends':'someFriends') ); } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/NewsFeed.php
PHP
asf20
1,344
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: APIResponse.php 7582 2008-06-13 03:43:20Z zhouguoqiang $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class APIResponse { var $result; var $mode; function APIResponse($res, $mode = null) { $this->result = $res; $this->mode = $mode; } function getResult() { return $this->result; } function getMode() { return $this->mode; } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/APIResponse.php
PHP
asf20
454
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Users.php 12766 2009-07-20 04:26:21Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Users extends MyBase { function getInfo($uIds, $fields = array(), $isExtra = false) { $users = $this->getUsers($uIds, false, true, $isExtra, false); $result = array(); if ($users) { if ($fields) { foreach($users as $key => $user) { foreach($user as $k => $v) { if (in_array($k, $fields)) { $result[$key][$k] = $v; } } } } } if (!$result) { $result = $users; } return new APIResponse($result); } function getFriendInfo($uId, $num = MY_FRIEND_NUM_LIMIT, $isExtra = false) { $users = $this->getUsers(array($uId), false, true, $isExtra, true, $num, false, true); $where = array('uId' => $uId, 'status' => 1 ); $totalNum = getcount('friend', $where); $friends = $users[0]['friends']; unset($users[0]['friends']); $result = array('totalNum' => $totalNum, 'friends' => $friends, 'me' => $users[0], ); return new APIResponse($result); } function getExtraInfo($uIds) { $result = $this->getExtraByUsers($uIds); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Users.php
PHP
asf20
1,296
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Application.php 12591 2009-07-09 06:35:06Z zhengqingpeng $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Application extends MyBase { function update($appId, $appName, $version, $displayMethod, $displayOrder = null) { global $_SGLOBAL; $fields = array('appname' => $appName); $where = array('appid' => $appId); updatetable('myapp', $fields, $where); updatetable('userapp', $fields, $where); $result = $_SGLOBAL['db']->affected_rows(); $displayMethod = ($displayMethod == 'iframe') ? 1 : 0; $this->refreshApplication($appId, $appName, $version, $displayMethod, null, null, $displayOrder); return new APIResponse($result); } function remove($appIds) { global $_SGLOBAL; $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('userapp'), simplode($appIds)); $result = $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('userappfield'), simplode($appIds)); $result = $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('myapp'), simplode($appIds)); $_SGLOBAL['db']->query($sql); //update cache include_once(S_ROOT.'./source/function_cache.php'); userapp_cache(); return new APIResponse($result); } function setFlag($applications, $flag) { global $_SGLOBAL; $flag = ($flag == 'disabled') ? -1 : ($flag == 'default' ? 1 : 0); $appIds = array(); if ($applications && is_array($applications)) { foreach($applications as $application) { $this->refreshApplication($application['appId'], $application['appName'], null, null, null, $flag, null); $appIds[] = $application['appId']; } } if ($flag == -1) { $sql = sprintf('DELETE FROM %s WHERE icon IN (%s)', tname('feed'), simplode($appIds)); $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('userapp'), simplode($appIds)); $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('userappfield'), simplode($appIds)); $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE appid IN (%s)', tname('myinvite'), simplode($appIds)); $_SGLOBAL['db']->query($sql); $sql = sprintf('DELETE FROM %s WHERE type IN (%s)', tname('notification'), simplode($appIds)); $_SGLOBAL['db']->query($sql); } $result = true; return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Application.php
PHP
asf20
2,529
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Feed.php 12545 2009-07-07 07:43:29Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Feed extends MyBase { function publishTemplatizedAction($uId, $appId, $titleTemplate, $titleData, $bodyTemplate, $bodyData, $bodyGeneral = '', $image1 = '', $image1Link = '', $image2 = '', $image2Link = '', $image3 = '', $image3Link = '', $image4 = '', $image4Link = '', $targetIds = '', $privacy = '', $hashTemplate = '', $hashData = '', $specialAppid=0) { global $_SGLOBAL; $friend = ($privacy == 'public') ? 0 : ($privacy == 'friends' ? 1 : 2); $images = array($image1, $image2, $image3, $image4); $image_links = array($image1Link, $image2Link, $image3Link, $image4Link); include_once(S_ROOT.'./source/function_cp.php'); $result = feed_add($appId, $titleTemplate, $titleData, $bodyTemplate, $bodyData, $bodyGeneral, $images, $image_links, $targetIds, $friend, $specialAppid, 1); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Feed.php
PHP
asf20
1,043
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: ImbotMsn.php 11639 2009-03-16 02:51:28Z zhouguoqiang $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class ImbotMsn extends MyBase { function setBindStatus($uId, $op, $msn = null) { global $_SGLOBAL; if ($op == 'bind') { $status = 1; } else if ($op == 'unbind') { $status = 0; } else { $errCode = '200'; $errMessage = 'Error arguments'; } if ($errCode) { return new APIErrorResponse($errCode, $errMessage); } $sql = 'UPDATE ' . tname('spacefield') . ' set msncstatus = ' . $status ; if ($msn !== null) { $sql .= ' , msnrobot = ' . $msn; } $sql .= ' WHERE uid =' . $uId; $result = $_SGLOBAL['db']->query($sql); return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/ImbotMsn.php
PHP
asf20
774
<?php /* [UCenter Home] (C) 2007-2008 Comsenz Inc. $Id: Friends.php 12766 2009-07-20 04:26:21Z liguode $ */ if(!defined('IN_UCHOME')) { exit('Access Denied'); } class Friends extends MyBase { function areFriends($uId1, $uId2) { global $_SGLOBAL; $query = $_SGLOBAL['db']->query("SELECT uid FROM ".tname('friend')." WHERE uid='$uId1' AND fuid='$uId2' AND status='1'"); $result = false; if($friend = $_SGLOBAL['db']->fetch_array($query)) { $result = true; } return new APIResponse($result); } function get($uIds, $friendNum = MY_FRIEND_NUM_LIMIT) { global $_SGLOBAL; $result = array(); if ($uIds) { foreach($uIds as $uId) { $result[$uId] = $this->_getFriends($uId, $friendNum); } } return new APIResponse($result); } } ?>
zyyhong
trunk/jiaju001/newbbs/home/api/class/Friends.php
PHP
asf20
806