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 /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: task.func.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_apply($task = array()) { global $db, $tablepre, $discuz_uid, $discuz...
zyyhong
trunk/jiaju001/newbbs/bbs/include/task.func.php
PHP
asf20
7,419
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: template.func.php 19936 2009-09-15 06:22:00Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function parse_template($tplfile, $templateid, $tpldir) { global $language, $subt...
zyyhong
trunk/jiaju001/newbbs/bbs/include/template.func.php
PHP
asf20
9,027
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forum.func.php 20900 2009-10-29 02:49:38Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function checkautoclose() { global $timestamp, $forum, $thread; if(!$forum['ismod...
zyyhong
trunk/jiaju001/newbbs/bbs/include/forum.func.php
PHP
asf20
13,816
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_debate.inc.php 21214 2009-11-20 07:17:05Z liulanbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $debate = $thread; $debate = $sdb->fetch_first("SELECT * FROM {$tablepre...
zyyhong
trunk/jiaju001/newbbs/bbs/include/viewthread_debate.inc.php
PHP
asf20
3,196
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_reward.inc.php 16854 2008-11-24 14:15:05Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $bapid = 0; $rewardprice = abs($thread['price']); $bestpost = array(); i...
zyyhong
trunk/jiaju001/newbbs/bbs/include/viewthread_reward.inc.php
PHP
asf20
475
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: slide.js 20766 2009-10-19 03:22:19Z monkey $ */ /* var slideSpeed = 2500; var slideImgsize = [140,140]; var slideBorderColor = '#C8DCEC'; var slideBgColor = '#FFF'; var slideImgs = new Array(); var slid...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/slide.js
JavaScript
asf20
5,276
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: common.js 20980 2009-11-05 02:06:19Z monkey $ */ var BROWSER = {}; var USERAGENT = navigator.userAgent.toLowerCase(); BROWSER.ie = window.ActiveXObject && USERAGENT.indexOf('msie') != -1 && USERAGENT.substr...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/common.js
JavaScript
asf20
66,495
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: tree.js 19838 2009-09-11 06:36:37Z monkey $ */ var icon = new Object(); icon.root = IMGDIR + '/tree_root.gif'; icon.folder = IMGDIR + '/tree_folder.gif'; icon.folderOpen = IMGDIR + '/tree_folderopen.gif...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/tree.js
JavaScript
asf20
5,535
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: calendar.js 19565 2009-09-06 02:28:41Z liuqiang $ */ var controlid = null; var currdate = null; var startdate = null; var enddate = null; var yy = null; var mm = null; var hh = null; var ii = null; v...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/calendar.js
JavaScript
asf20
9,130
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: post.js 21297 2009-11-25 09:40:15Z monkey $ */ var postSubmited = false; var AID = 1; var UPLOADSTATUS = -1; var UPLOADFAILED = UPLOADCOMPLETE = AUTOPOST = 0; var CURRENTATTACH = '0'; var FAILEDATTACHS ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/post.js
JavaScript
asf20
51,214
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread.js 21279 2009-11-24 09:59:28Z monkey $ */ var replyreload = ''; function attachimgshow(pid) { aimgs = aimgcount[pid]; aimgcomplete = 0; loadingcount = 0; for(i = 0;i < aimgs.length;i++) ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/viewthread.js
JavaScript
asf20
11,482
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: bbcode.js 21030 2009-11-09 00:37:07Z monkey $ */ var re; function addslashes(str) { return preg_replace(['\\\\', '\\\'', '\\\/', '\\\(', '\\\)', '\\\[', '\\\]', '\\\{', '\\\}', '\\\^', '\\\$', '\\\?', '\...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/bbcode.js
JavaScript
asf20
21,802
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: md5.js 16688 2008-11-14 06:41:07Z cnteacher $ */ var hexcase = 0; var chrsz = 8; function hex_md5(s){ return binl2hex(core_md5(str2binl(s), s.length * chrsz)); } function core_md5(x, len) { x[len >>...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/md5.js
JavaScript
asf20
5,334
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: moderate.js 20061 2009-09-18 02:07:08Z monkey $ */ function modaction(action, pid, extra) { if(!action) { return; } var extra = !extra ? '' : '&' + extra; if(!pid && in_array(action, ['delpost', 'b...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/moderate.js
JavaScript
asf20
3,293
document.writeln('<script type="text/javascript">'); document.writeln('function validate_google(theform) {'); document.writeln(' if(theform.site.value == 1) {'); document.writeln(' theform.q.value = \'site:' + google_host + ' \' + theform.q.value;'); document.writeln(' }'); document.writeln('}'); document.writel...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/google.js
JavaScript
asf20
2,095
var promptmsg = { 'post_newthread' : '点这里发表新话题', 'post_reply' : '点这里回复该话题', 'post_subject' : '在这里输入帖子标题', 'post_message' : '在这里输入帖子内容', 'post_submit' : '点这里发表帖子', 'sendpm' : '点这里给TA发送一条短消息', 'sendpm_message' : '在这里输入短消息内容', 'sendpm_submit' : '点这里发送短消息', 'addbuddy' : '点这里把TA加为好友', 'search_kw' : '点这里输...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/prompt.lang.js
JavaScript
asf20
769
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: qihoo.js 17449 2008-12-22 08:58:53Z cnteacher $ */ var qihoo_num = 0; var qihoo_perpage = 0; var qihoo_threads = ""; function qihoothreads(num) { var threadslist = ""; if(num) { for(i = 0; i < num...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/qihoo.js
JavaScript
asf20
2,508
/* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: iframe.js 20769 2009-10-19 06:23:23Z monkey $ */ function refreshmain(e) { e = e ? e : window.event; actualCode = e.keyCode ? e.keyCode : e.charCode; if(actualCode == 116 && parent.main) { parent.mai...
zyyhong
trunk/jiaju001/newbbs/bbs/include/js/iframe.js
JavaScript
asf20
550
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cron.func.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function runcron($cronid = 0) { global $timestamp, $db, $tablepre, $_DCACHE; i...
zyyhong
trunk/jiaju001/newbbs/bbs/include/cron.func.php
PHP
asf20
4,801
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_activity.inc.php 17393 2008-12-17 07:30:46Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $sdb = loadmultiserver(); $applylist = array(); $activity = $sdb->fetch...
zyyhong
trunk/jiaju001/newbbs/bbs/include/viewthread_activity.inc.php
PHP
asf20
2,518
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: seccode.class.php 16698 2008-11-14 07:58:56Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class seccode { var $code; var $type = 0; var $width = 150; var $hei...
zyyhong
trunk/jiaju001/newbbs/bbs/include/seccode.class.php
PHP
asf20
20,720
<?php /* [Discuz!] (C)2001-2009 Comsenz Technology Ltd. This is NOT a freeware, use is subject to license terms $Id: ec_credit.func.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function updatecreditcache($uid, $type, $return = 0) { global $d...
zyyhong
trunk/jiaju001/newbbs/bbs/include/ec_credit.func.php
PHP
asf20
3,023
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: threadpay.inc.php 17362 2008-12-16 03:30:55Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!isset($extcredits[$creditstransextra[1]])) { showmessage('credits_transaction...
zyyhong
trunk/jiaju001/newbbs/bbs/include/threadpay.inc.php
PHP
asf20
1,872
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forumselect.inc.php 20900 2009-10-29 02:49:38Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!isset($_DCACHE['forums'])) { require_once DISCUZ_ROOT.'./forumdata/cache/cac...
zyyhong
trunk/jiaju001/newbbs/bbs/include/forumselect.inc.php
PHP
asf20
1,947
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: editor.func.php 17417 2008-12-19 06:16:25Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function absoluteurl($url) { global $boardurl; if($url{0} == '/') { return '...
zyyhong
trunk/jiaju001/newbbs/bbs/include/editor.func.php
PHP
asf20
12,713
<? /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: image.class.php 19557 2009-09-04 08:44:50Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Image { var $attachinfo = ''; var $targetfile = ''; var $imagecreatefromfu...
zyyhong
trunk/jiaju001/newbbs/bbs/include/image.class.php
PHP
asf20
13,870
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: gift.inc.php 17385 2008-12-17 05:05:02Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() { ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/gift.inc.php
PHP
asf20
685
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_search.inc.php
PHP
asf20
573
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_uploadavatar.inc.php
PHP
asf20
739
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: post.inc.php 17326 2008-12-15 03:09:58Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_condition() { } function task_preprocess() { } function task_csc...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/post.inc.php
PHP
asf20
2,006
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: mod.inc.php 16697 2008-11-14 07:36:51Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_condition() { } function task_preprocess() { } function task_csc($t...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/mod.inc.php
PHP
asf20
395
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/avatar.inc.php
PHP
asf20
947
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_post_reply.inc.php
PHP
asf20
905
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: gift.cfg.php 16697 2008-11-14 07:36:51Z monkey $ */ $task_name = $tasklang['gift_name']; $task_description = $tasklang['gift_desc']; $task_icon = 'gift.gif'; $task_period = ''; $task...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/gift.cfg.php
PHP
asf20
550
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_post_newthread.inc.php
PHP
asf20
888
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.cfg.php 16697 2008-11-14 07:36:51Z monkey $ */ $task_name = $tasklang['avatar_name']; $task_description = $tasklang['avatar_desc']; $task_icon = ''; $task_period = ''; $task_c...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/avatar.cfg.php
PHP
asf20
879
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_sendpm.inc.php
PHP
asf20
777
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: member.inc.php 17090 2008-12-05 05:15:08Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_condition() { } function task_preprocess() { global $db, $tablep...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/member.inc.php
PHP
asf20
3,055
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotion.inc.php 17523 2009-01-12 03:41:50Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall(...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/promotion.inc.php
PHP
asf20
1,619
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_addbuddy.inc.php
PHP
asf20
786
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: avatar.inc.php 17065 2008-12-05 01:30:57Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function task_install() { global $db, $tablepre; } function task_uninstall() {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/newbie_modifyprofile.inc.php
PHP
asf20
573
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotion.cfg.php 16697 2008-11-14 07:36:51Z monkey $ */ $task_name = $tasklang['promotion_name']; $task_description = $tasklang['promotion_desc']; $task_icon = ''; $task_period = ''; ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/tasks/promotion.cfg.php
PHP
asf20
674
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: newthread.inc.php 21084 2009-11-11 07:30:21Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 11; if(empty($forum['fid']) || $forum['type'] == 'group') { sh...
zyyhong
trunk/jiaju001/newbbs/bbs/include/newthread.inc.php
PHP
asf20
21,051
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: post.func.php 21337 2010-01-06 08:09:58Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function attach_upload($varname = 'attach', $multi = 0) { global $db, $tablepre, $ex...
zyyhong
trunk/jiaju001/newbbs/bbs/include/post.func.php
PHP
asf20
32,030
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forumselect.inc.php 20900 2009-10-29 02:49:38Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function quicksearch() { global $_DTYPE; $quicksearch = array(); foreach($...
zyyhong
trunk/jiaju001/newbbs/bbs/include/forumsort.func.php
PHP
asf20
5,988
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: counter.inc.php 17570 2009-02-11 07:41:54Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $visitor = array(); $visitor['agent'] = $_SERVER['HTTP_USER_AGENT']; list(...
zyyhong
trunk/jiaju001/newbbs/bbs/include/counter.inc.php
PHP
asf20
2,685
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_trade.inc.php 19254 2009-08-20 05:33:53Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(empty($do) || $do == 'tradeinfo') { if($do == 'tradeinfo') { $t...
zyyhong
trunk/jiaju001/newbbs/bbs/include/viewthread_trade.inc.php
PHP
asf20
6,024
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: chinese.class.php 20401 2009-09-25 09:26:17Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } define('CODETABLE_DIR', DISCUZ_ROOT.'./include/tables/'); class Chinese {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/chinese.class.php
PHP
asf20
7,727
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: moderation.inc.php 21052 2009-11-09 10:12:34Z monkey $ */ if(!empty($tid)) { $moderate = array($tid); } if(!defined('IN_DISCUZ') || CURSCRIPT != 'topicadmin') { exit('Access Denied'); } i...
zyyhong
trunk/jiaju001/newbbs/bbs/include/moderation.inc.php
PHP
asf20
24,649
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: search_sort.inc.php 21043 2009-11-09 03:08:08Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($searchid)) { $page = max(1, intval($page)); $start_limit = ($page -...
zyyhong
trunk/jiaju001/newbbs/bbs/include/search_sort.inc.php
PHP
asf20
8,376
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: category.inc.php 21018 2009-11-06 06:57:53Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $gquery = $db->query("SELECT f.fid, f.fup, f.type, f.name, ff.moderators, ff.extr...
zyyhong
trunk/jiaju001/newbbs/bbs/include/category.inc.php
PHP
asf20
2,978
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: global.func.php 21342 2010-01-06 08:52:53Z zhaoxiongfei $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function authcode($string, $operation = 'DECODE', $key = '', $expiry = 0) { ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/global.func.php
PHP
asf20
70,361
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: ftp.func.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function dftp_connect($ftphost, $ftpuser, $ftppass, $ftppath, $ftpport = 21, $ftpssl ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/ftp.func.php
PHP
asf20
3,711
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: discuzcode.func.php 21257 2009-11-23 08:21:38Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } include template('discuzcode'); $discuzcodes = array( 'pcodecount' => -1, ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/discuzcode.func.php
PHP
asf20
20,737
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cache.func.php 21311 2009-11-26 01:35:43Z liulanbo $ */ define('DISCUZ_KERNEL_VERSION', '7.2'); define('DISCUZ_KERNEL_RELEASE', '20091126'); function updatecache($cachename = '') { global $db...
zyyhong
trunk/jiaju001/newbbs/bbs/include/cache.func.php
PHP
asf20
86,779
<html> <head> <title>Service Unavailable</title> </head> <body bgcolor="#FFFFFF"> <table cellpadding="0" cellspacing="0" border="0" width="700" align="center" height="85%"> <tr align="center" valign="middle"> <td> <table cellpadding="10" cellspacing="0" border="0" width="80%" align="center" style="fon...
zyyhong
trunk/jiaju001/newbbs/bbs/include/serverbusy.htm
HTML
asf20
728
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic.func.php 19412 2009-08-29 01:48:51Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function checkmagicperm($perms, $id) { $id = $id ? intval($id) : ''; if(!strexists...
zyyhong
trunk/jiaju001/newbbs/bbs/include/magic.func.php
PHP
asf20
8,140
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: trade.func.php 18283 2009-04-11 11:41:49Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $apitype = empty($apitype) || !preg_match('/^[a-z0-9]+$/i', $apitype) ? 'alipay' : $apit...
zyyhong
trunk/jiaju001/newbbs/bbs/include/trade.func.php
PHP
asf20
3,211
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: attachment.func.php 21262 2009-11-24 02:05:34Z liulanbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function attachtype($type, $returnval = 'html') { static $attachicons = arr...
zyyhong
trunk/jiaju001/newbbs/bbs/include/attachment.func.php
PHP
asf20
5,749
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: newreply.inc.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 12; if($special == 5) { $debate = array_merge($thread, $db->f...
zyyhong
trunk/jiaju001/newbbs/bbs/include/newreply.inc.php
PHP
asf20
20,438
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: search_qihoo.inc.php,v $ $Revision: 1.8 $ $Date: 2007/08/06 09:54:48 $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(empty($srchtxt) && empty($srchuname)) { showmessage('sear...
zyyhong
trunk/jiaju001/newbbs/bbs/include/search_qihoo.inc.php
PHP
asf20
1,226
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: db_mysql_error.inc.php 17439 2008-12-22 04:27:17Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $timestamp = time(); $errmsg = ''; $dberror = $this->error(); $dberrno = ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/db_mysql_error.inc.php
PHP
asf20
3,760
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: announcements_daily.inc.php 17476 2008-12-25 02:58:18Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("UPDATE {$tablepre}tasks SET available='2' WHERE available='...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/announcements_daily.inc.php
PHP
asf20
696
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: todayposts_daily.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $yesterdayposts = intval($db->result_first("SELECT sum(todayposts) FROM {...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/todayposts_daily.inc.php
PHP
asf20
924
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cleanup_monthly.inc.php 19081 2009-08-12 09:26:57Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $myrecordtimes = $timestamp - $_DCACHE['settings']['myrecorddays'] * 86400; ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/cleanup_monthly.inc.php
PHP
asf20
602
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: birthdays_daily.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($maxbdays) { require_once DISCUZ_ROOT.'./include/cache.func.php'; u...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/birthdays_daily.inc.php
PHP
asf20
780
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotions_hourly.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($creditspolicy['promotion_visit']) { $uidarray = $userarray = arr...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/promotions_hourly.inc.php
PHP
asf20
1,209
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: onlinetime_monthly.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("UPDATE {$tablepre}onlinetime SET thismonth='0'"); $db->que...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/onlinetime_monthly.inc.php
PHP
asf20
420
<?php if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($tagstatus) { require_once DISCUZ_ROOT.'./include/cache.func.php'; updatecache(array('tags_index', 'tags_viewthread')); $db->query("DELETE FROM {$tablepre}tags WHERE total=0", 'UNBUFFERED'); } ?>
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/tags_daily.inc.php
PHP
asf20
276
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magics_daily.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($magicstatus)) { $magicarray = array(); $query = $db->query("SE...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/magics_daily.inc.php
PHP
asf20
1,205
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cleanup_daily.inc.php 20902 2009-10-29 02:54:19Z liulanbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("UPDATE {$tablepre}advertisements SET available='0' WHERE endtime>...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/cleanup_daily.inc.php
PHP
asf20
4,296
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: medals_daily.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $medalnewarray = array(); $query = $db->query("SELECT me.id, me.uid, me.me...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/medals_daily.inc.php
PHP
asf20
1,237
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: secqaa_daily.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($secqaa['status'] > 0) { require_once DISCUZ_ROOT.'./include/cache.func....
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/secqaa_daily.inc.php
PHP
asf20
359
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: threadexpiries_hourly.inc.php 21052 2009-11-09 10:12:34Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $actionarray = array(); $query = $db->query("SELECT * FROM {$tablepre}...
zyyhong
trunk/jiaju001/newbbs/bbs/include/crons/threadexpiries_hourly.inc.php
PHP
asf20
3,419
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: diff.class.php 16698 2008-11-14 07:58:56Z cnteacher $ */ class Diff { var $table = array(); var $left = array(); var $right = array(); var $left_len = 0; var $right_len = 0; function Di...
zyyhong
trunk/jiaju001/newbbs/bbs/include/diff.class.php
PHP
asf20
4,771
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: sendmail.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $mail = unserialize($mail); $errorlog = $action != 'mailcheck' ? 'errorlog' : ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/sendmail.inc.php
PHP
asf20
5,549
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: security.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($attackevasive & 1 || $attackevasive & 4) { $_DCOOKIE['lastrequest'] = authc...
zyyhong
trunk/jiaju001/newbbs/bbs/include/security.inc.php
PHP
asf20
5,303
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotion.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($fromuid)) { $fromuid = intval($fromuid); $fromuser = ''; } if...
zyyhong
trunk/jiaju001/newbbs/bbs/include/promotion.inc.php
PHP
asf20
981
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: newtrade.inc.php 21053 2009-11-09 10:29:02Z wangjinbo $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 11; if(empty($forum['fid']) || $forum['type'] == 'group') { ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/newtrade.inc.php
PHP
asf20
9,869
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: misc.func.php 19790 2009-09-10 06:32:12Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function convertip($ip) { $return = ''; if(preg_match("/^\d{1,3}\.\d{1,3}\.\d{1,3}...
zyyhong
trunk/jiaju001/newbbs/bbs/include/misc.func.php
PHP
asf20
12,138
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: index_feeds.inc.php 20822 2009-10-26 10:20:57Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } require_once DISCUZ_ROOT.'./include/forum.func.php'; $discuz_action = 1; $l...
zyyhong
trunk/jiaju001/newbbs/bbs/include/index_feeds.inc.php
PHP
asf20
5,768
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: editpost.inc.php 21308 2009-11-26 01:08:59Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 13; $orig = $db->fetch_first("SELECT m.adminid, p.first, p.autho...
zyyhong
trunk/jiaju001/newbbs/bbs/include/editpost.inc.php
PHP
asf20
38,657
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: request.func.php 21221 2009-11-22 00:23:57Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function parse_request($requestdata, $cachefile, $mode, $specialfid = 0, $key...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request.func.php
PHP
asf20
31,948
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: gifmerge.class.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class GifMerge { var $ver = '1.1'; var $dly = 50; var $mod = 'C_FIL...
zyyhong
trunk/jiaju001/newbbs/bbs/include/gifmerge.class.php
PHP
asf20
9,142
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: index_classics.inc.php 21260 2009-11-23 08:33:35Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } require_once DISCUZ_ROOT.'./include/forum.func.php'; $discuz_action = 1; ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/index_classics.inc.php
PHP
asf20
10,707
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: db_mysql.class.php 20294 2009-09-23 06:00:37Z zhaoxiongfei $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class dbstuff { var $version = ''; var $querynum = 0; var $link = nu...
zyyhong
trunk/jiaju001/newbbs/bbs/include/db_mysql.class.php
PHP
asf20
3,835
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: xml.class.php 20753 2009-10-18 16:02:26Z monkey $ */ function xml2array(&$xml, $isnormal = FALSE) { $xml_parser = new XMLparse($isnormal); $data = $xml_parser->parse($xml); $xml_parser->destruc...
zyyhong
trunk/jiaju001/newbbs/bbs/include/xml.class.php
PHP
asf20
2,794
<?php function getuidfields() { return array( 'members', 'memberfields', 'access', 'activities', 'activityapplies', 'attachments', 'attachpaymentlog', 'creditslog', 'debateposts', 'debates', 'favorites', 'forumrecommend|authorid,moderatorid', 'invites', 'magiclog', 'mag...
zyyhong
trunk/jiaju001/newbbs/bbs/include/membermerge.func.php
PHP
asf20
1,149
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: printable.inc.php 16688 2008-11-14 06:41:07Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $thisbg = '#FFFFFF'; $query = $db->query("SELECT p.*, m.username, m.groupid F...
zyyhong
trunk/jiaju001/newbbs/bbs/include/printable.inc.php
PHP
asf20
1,466
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: modlist.inc.php 16697 2008-11-14 07:36:51Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $modlist = array(); if($GLOBALS['forum']['moderators']...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/modlist.inc.php
PHP
asf20
1,365
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: thread.inc.php 20942 2009-11-02 04:12:16Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { if(!defined('TPLDIR')) { @include_once DISCUZ_ROOT.'./...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/thread.inc.php
PHP
asf20
3,454
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: feed.inc.php 16697 2008-12-05 07:36:51Z andy $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $parameter = array(); $parameter[] = 'ac=feed'; if(!empty($...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/feed.inc.php
PHP
asf20
2,379
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: doing.inc.php 16697 2008-12-12 07:36:51Z andy $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $parameter = array(); $parameter[] = 'ac=doing'; if(!emp...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/doing.inc.php
PHP
asf20
2,352
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: space.inc.php 16697 2008-12-06 07:36:51Z andy $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $parameter = array(); $parameter[] = 'ac=space'; if(!emp...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/space.inc.php
PHP
asf20
4,976
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: birthday.inc.php 16697 2008-11-14 07:36:51Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $limit = !empty($settings['limit']) ? intval($settings[...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/birthday.inc.php
PHP
asf20
1,530
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: tag.inc.php 16697 2008-11-14 07:36:51Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $max = $db->result_first("SELECT total FROM {$tablepre}tags ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/tag.inc.php
PHP
asf20
1,768
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: assistant.inc.php 19591 2009-09-07 04:49:41Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $nocache = 1; $avatar = discuz_uc_avatar($GLOBALS['d...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/assistant.inc.php
PHP
asf20
1,086
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forumtree.inc.php 20763 2009-10-19 02:35:45Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { require_once DISCUZ_ROOT.'./include/forum.func.php'; ...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/forumtree.inc.php
PHP
asf20
1,107
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: rowcombine.inc.php 20152 2009-09-21 02:22:58Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $combinetitles = $combinedata = $datalist = ''; $co...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/rowcombine.inc.php
PHP
asf20
1,733
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: doing.inc.php 16697 2008-12-12 07:36:51Z andy $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($requestrun) { $parameter = array(); $parameter[] = 'ac=app'; if(!empty...
zyyhong
trunk/jiaju001/newbbs/bbs/include/request/app.inc.php
PHP
asf20
2,444