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-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: modcp.php 10115 2007-08-24 00:58:08Z cnteacher $ */ define('NOROBOT', TRUE); define('SQL_ADD_THREAD', 't.subject, t.authorid, t.digest, '); require_once './include/common.inc.php'; if(!$discuz_u...
zyyhong
trunk/jiaju001/bbs/modcp.php
PHP
asf20
3,860
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: javascript.php 10115 2007-08-24 00:58:08Z cnteacher $ */ //error_reporting(E_ERROR | E_WARNING | E_PARSE); error_reporting(0); define('IN_DISCUZ', TRUE); define('DISCUZ_ROOT', '../'); if(PHP_...
zyyhong
trunk/jiaju001/bbs/api/javascript.php
PHP
asf20
25,201
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: passport.php 9805 2007-08-15 05:59:02Z cnteacher $ */ error_reporting(0); //error_reporting(E_ERROR | E_WARNING | E_PARSE); $table_member_columns = array('username', 'password', 'secques', 'email...
zyyhong
trunk/jiaju001/bbs/api/passport.php
PHP
asf20
9,815
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: relateshopex.php 9805 2007-08-15 05:59:02Z cnteacher $ */ error_reporting(0); chdir('../'); require_once './include/common.inc.php'; if($passport_status == 'shopex' && ($action == 'login' || $...
zyyhong
trunk/jiaju001/bbs/api/relateshopex.php
PHP
asf20
2,126
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: shopex.php 9805 2007-08-15 05:59:02Z cnteacher $ */ error_reporting(0); //error_reporting(E_ERROR | E_WARNING | E_PARSE); $table_member_columns = array('username', 'password', 'secques', 'email...
zyyhong
trunk/jiaju001/bbs/api/shopex.php
PHP
asf20
9,704
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewpro.php 10320 2007-08-26 01:19:05Z cnteacher $ */ $uid = intval($_GET['uid']); $username = urlencode(trim($_GET['username'])); if($uid) { header("Location: space.php?action=viewpro&uid=$uid")...
zyyhong
trunk/jiaju001/bbs/viewpro.php
PHP
asf20
407
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: misc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ define('NOROBOT', TRUE); require_once './include/common.inc.php'; if($action == 'maxpages') { $pages = intval($pages); if(empty($pages)) {...
zyyhong
trunk/jiaju001/bbs/misc.php
PHP
asf20
40,656
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: tag.php 10311 2007-08-25 10:07:14Z monkey $ */ require_once './include/common.inc.php'; if(!$tagstatus) { showmessage('undefined_action', NULL, 'HALTED'); } if(!empty($name)) { if(!preg_...
zyyhong
trunk/jiaju001/bbs/tag.php
PHP
asf20
2,878
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: search_trade.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $orderby = in_array($orderby, array('dateline', 'price', 'expiration')) ? $or...
zyyhong
trunk/jiaju001/bbs/include/search_trade.inc.php
PHP
asf20
7,874
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: advertisements.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $advarray = array(); if(!empty($_DCACHE['advs'])) { $advs = $_DCACHE['adv...
zyyhong
trunk/jiaju001/bbs/include/advertisements.inc.php
PHP
asf20
3,108
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: template.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function parse_template($file, $templateid, $tpldir) { global $language; $...
zyyhong
trunk/jiaju001/bbs/include/template.func.php
PHP
asf20
5,543
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: forum.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function checkautoclose() { global $timestamp, $forum, $thread; if(!$forum['i...
zyyhong
trunk/jiaju001/bbs/include/forum.func.php
PHP
asf20
9,424
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_debate.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $debate = $thread; $query = $db->query("SELECT * FROM {$tablepre}debate...
zyyhong
trunk/jiaju001/bbs/include/viewthread_debate.inc.php
PHP
asf20
5,234
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_reward.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $rewardprice = abs($thread['price']); $limit = $thread['price'] < 0 ? ...
zyyhong
trunk/jiaju001/bbs/include/viewthread_reward.inc.php
PHP
asf20
1,630
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cron.func.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function runcron($cronid = 0) { global $timestamp, $db, $tablepre, $_DCACHE; $q...
zyyhong
trunk/jiaju001/bbs/include/cron.func.php
PHP
asf20
4,845
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_activity.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($iscircle) { $allowjoinactivity = ($circle['allowshare'] && ...
zyyhong
trunk/jiaju001/bbs/include/viewthread_activity.inc.php
PHP
asf20
4,026
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: supesite.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function supe_xspace2forum($itemid, &$subject, &$message, &$special, &$iconid, &...
zyyhong
trunk/jiaju001/bbs/include/supesite.func.php
PHP
asf20
8,228
<?php /* [Discuz!] (C)2001-2007 Comsenz Technology Ltd. This is NOT a freeware, use is subject to license terms $Id: ec_credit.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function updatecreditcache($uid, $type, $return = 0) { global $d...
zyyhong
trunk/jiaju001/bbs/include/ec_credit.func.php
PHP
asf20
3,054
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: xmlparser.class.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class XMLParser { function getChildren($vals, &$i) { $children = array...
zyyhong
trunk/jiaju001/bbs/include/xmlparser.class.php
PHP
asf20
2,450
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: threadpay.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!isset($extcredits[$creditstrans])) { showmessage('credits_transaction_disab...
zyyhong
trunk/jiaju001/bbs/include/threadpay.inc.php
PHP
asf20
1,459
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: supesite_circle.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ') || !in_array(CURSCRIPT, array('forumdisplay', 'viewthread'))) { exit('Access Denied'); } supe_dbconnect...
zyyhong
trunk/jiaju001/bbs/include/supesite_circle.inc.php
PHP
asf20
3,640
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: editor.func.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function absoluteurl($url) { global $boardurl; if($url{0} == '/') { return '...
zyyhong
trunk/jiaju001/bbs/include/editor.func.php
PHP
asf20
12,730
var theform = $('insenz_regform'); function validate() { return checkusername(theform.username.value) && checkpassword(theform.password.value, theform.password2.value) && checkname(theform.name.value) && checkidcard(theform.idcard.value) && checkemail(theform.email1.value, 'email1') && (theform.em...
zyyhong
trunk/jiaju001/bbs/include/javascript/insenz_reg.js
JavaScript
asf20
4,447
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: common.js,v $ $Revision: 1.103 $ $Date: 2007/07/30 09:16:52 $ */ var lang = new Array(); var userAgent = navigator.userAgent.toLowerCase(); var is_opera = userAgent.indexOf('opera') != -1 && opera....
zyyhong
trunk/jiaju001/bbs/include/javascript/common.js
JavaScript
asf20
5,963
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: floatadv.js,v $ $Revision: 1.5 $ $Date: 2007/06/01 22:31:15 $ */ var delta=0.15; var collection; var closeB=false; function floaters() { this.items = []; this.addItem = function(id,x,y,content...
zyyhong
trunk/jiaju001/bbs/include/javascript/floatadv.js
JavaScript
asf20
2,058
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: tree.js,v $ $Revision: 1.17 $ $Date: 2007/06/25 17:56:32 $ */ var icon = new Object(); icon.root = IMGDIR + '/tree_root.gif'; icon.folder = IMGDIR + '/tree_folder.gif'; icon.folderOpen = IMGDIR...
zyyhong
trunk/jiaju001/bbs/include/javascript/tree.js
JavaScript
asf20
5,575
/* [Discuz!] (C)2001-2006 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: drag_space.js,v $ $Revision: 1.20 $ $Date: 2007/05/29 14:43:29 $ */ function Space_Memcp() { this.init = function() { Drag.rootTable = $("parentTable"); Drag.mozinit(); } this.dragStart...
zyyhong
trunk/jiaju001/bbs/include/javascript/drag_space.js
JavaScript
asf20
6,965
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: post_attach.js,v $ $Revision: 1.7 $ $Date: 2007/06/04 21:58:23 $ */ var aid = 1; var attachexts = new Array(); var attachwh = new Array(); function delAttach(id) { $('attachbody').removeChild(...
zyyhong
trunk/jiaju001/bbs/include/javascript/post_attach.js
JavaScript
asf20
6,743
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: msn.js,v $ $Revision: 1.4 $ $Date: 2007/03/21 15:57:53 $ */ function msnoperate(action, msn) { var actionArray = new Array(); actionArray = { 'reghotmail' : 'http://go.discuz.com/?app=msn&link...
zyyhong
trunk/jiaju001/bbs/include/javascript/msn.js
JavaScript
asf20
1,011
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: calendar.js,v $ $Revision: 1.17 $ $Date: 2007/06/15 13:53:53 $ */ var controlid = null; var currdate = null; var startdate = null; var enddate = null; var yy = null; var mm = null; var hh = nu...
zyyhong
trunk/jiaju001/bbs/include/javascript/calendar.js
JavaScript
asf20
9,236
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: post_editor.js,v $ $Revision: 1.17 $ $Date: 2007/07/30 00:38:39 $ */ function checklength(theform) { var message = bbinsert && wysiwyg ? html2bbcode(getEditorContents()) : (!theform.parseurloff.che...
zyyhong
trunk/jiaju001/bbs/include/javascript/post_editor.js
JavaScript
asf20
6,767
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: post.js,v $ $Revision: 1.27 $ $Date: 2007/08/06 08:27:23 $ */ var postSubmited = false; var smdiv = new Array(); var codecount = '-1'; var codehtml = new Array(); function AddText(txt) { obj ...
zyyhong
trunk/jiaju001/bbs/include/javascript/post.js
JavaScript
asf20
10,620
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: menu.js,v $ $Revision: 1.66 $ $Date: 2007/07/26 07:35:27 $ */ var jsmenu = new Array(); var ctrlobjclassName; jsmenu['active'] = new Array(); jsmenu['timer'] = new Array(); jsmenu['iframe'] = new...
zyyhong
trunk/jiaju001/bbs/include/javascript/menu.js
JavaScript
asf20
7,045
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: viewthread.js,v $ $Revision: 1.78 $ $Date: 2007/08/01 05:55:44 $ */ var msgwidth = 0; function attachimg(obj, action) { if(action == 'load') { if(is_ie && is_ie < 7) { var objinfo = fetchOf...
zyyhong
trunk/jiaju001/bbs/include/javascript/viewthread.js
JavaScript
asf20
10,528
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: drag.js,v $ $Revision: 1.9 $ $Date: 2007/05/29 14:43:29 $ */ var _Event = new Moz_event(); var Drag = new Drag_Events(); is_moz = is_moz || is_opera; function Moz_event() { this.srcElement = n...
zyyhong
trunk/jiaju001/bbs/include/javascript/drag.js
JavaScript
asf20
4,437
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: bbcode.js,v $ $Revision: 1.55 $ $Date: 2007/07/30 05:17:52 $ */ var is_mac = userAgent.indexOf('mac') != -1; var re; if(isUndefined(codecount)) var codecount = '-1'; if(isUndefined(codehtml)) var ...
zyyhong
trunk/jiaju001/bbs/include/javascript/bbcode.js
JavaScript
asf20
19,759
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: editor.js,v $ $Revision: 1.62 $ $Date: 2007/08/03 09:38:16 $ */ var editbox = editwin = editdoc = editcss = null; var cursor = -1; var stack = new Array(); var initialized = false; newEditor(wy...
zyyhong
trunk/jiaju001/bbs/include/javascript/editor.js
JavaScript
asf20
33,468
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/bbs/include/javascript/google.js
JavaScript
asf20
2,035
var Ajaxs = new Array(); function Ajax(waitId) { var aj = new Object(); aj.waitId = waitId ? $(waitId) : null; aj.targetUrl = ''; aj.sendString = ''; aj.resultHandle = null; aj.loading = '<img src="image/common/loading.gif" style="margin: 3px; vertical-align: middle" />Loading... '; aj.createXMLHttpReque...
zyyhong
trunk/jiaju001/bbs/include/javascript/ajax.js
JavaScript
asf20
7,173
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: qihoo.js,v $ $Revision: 1.8 $ $Date: 2007/07/13 13:24:53 $ */ var qihoo_num = 0; var qihoo_perpage = 0; var qihoo_threads = ""; function qihoothreads(num) { var threadslist = ""; if(num) { ...
zyyhong
trunk/jiaju001/bbs/include/javascript/qihoo.js
JavaScript
asf20
2,543
/* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $RCSfile: iframe.js,v $ $Revision: 1.9 $ $Date: 2007/05/22 16:54:11 $ */ function refreshmain(e) { e = e ? e : window.event; actualCode = e.keyCode ? e.keyCode : e.charCode; if(actualCode == 116 && paren...
zyyhong
trunk/jiaju001/bbs/include/javascript/iframe.js
JavaScript
asf20
600
<? /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: image.class.php 10590 2007-09-07 08:42:50Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class Image { var $attachinfo = ''; var $srcfile = ''; var $targetfile = ''; v...
zyyhong
trunk/jiaju001/bbs/include/image.class.php
PHP
asf20
11,513
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: post.func.php 10329 2007-08-27 00:58:57Z heyond $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function attach_upload($varname = 'attach') { global $db, $tablepre, $extension, $t...
zyyhong
trunk/jiaju001/bbs/include/post.func.php
PHP
asf20
19,406
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: space.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $modulesettings = array( 'userinfo' => array('1', 0, 1), 'calendar' => array('1...
zyyhong
trunk/jiaju001/bbs/include/space.func.php
PHP
asf20
17,359
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: counter.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $visitor = array(); $visitor['agent'] = $_SERVER['HTTP_USER_AGENT']; lis...
zyyhong
trunk/jiaju001/bbs/include/counter.inc.php
PHP
asf20
2,473
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_trade.inc.php 10132 2007-08-24 03:07:18Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(empty($do) || $do == 'tradeinfo') { if($do == 'tradeinfo') { $trad...
zyyhong
trunk/jiaju001/bbs/include/viewthread_trade.inc.php
PHP
asf20
12,879
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: chinese.class.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } define('CODETABLE_DIR', DISCUZ_ROOT.'./include/tables/'); class Chines...
zyyhong
trunk/jiaju001/bbs/include/chinese.class.php
PHP
asf20
7,047
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: insenz_cron.func.php 10586 2007-09-07 07:14:10Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function insenz_runcron() { global $timestamp, $db, $tablepre, $_DCACHE; ...
zyyhong
trunk/jiaju001/bbs/include/insenz_cron.func.php
PHP
asf20
4,692
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: moderation.inc.php 10463 2007-09-03 01:23:37Z tiger $ */ if(!defined('IN_DISCUZ') || CURSCRIPT != 'topicadmin') { exit('Access Denied'); } if($action != 'moderate') { $operation = $action; ...
zyyhong
trunk/jiaju001/bbs/include/moderation.inc.php
PHP
asf20
17,596
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: category.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $sql = $accessmasks ? "SELECT f.fid, f.fup, f.type, f.name, f.threads, f.posts, ...
zyyhong
trunk/jiaju001/bbs/include/category.inc.php
PHP
asf20
2,619
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: global.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function authcode($string, $operation, $key = '') { $key = md5($key ? $key :...
zyyhong
trunk/jiaju001/bbs/include/global.func.php
PHP
asf20
36,905
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: ftp.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function dftp_connect($ftphost, $ftpuser, $ftppass, $ftppath, $ftpport = 21, $ftpssl ...
zyyhong
trunk/jiaju001/bbs/include/ftp.func.php
PHP
asf20
3,711
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: discuzcode.func.php 10561 2007-09-05 08:24:49Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } include template('discuzcode'); $discuzcodes = array( 'pcodecount' => -1, ...
zyyhong
trunk/jiaju001/bbs/include/discuzcode.func.php
PHP
asf20
17,995
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_video.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($iscircle) { $allowvote = ($circle['allowshare'] && ($circle['...
zyyhong
trunk/jiaju001/bbs/include/viewthread_video.inc.php
PHP
asf20
1,721
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cache.func.php 19193 2009-08-17 02:59:31Z cnteacher $ */ define('DISCUZ_KERNEL_VERSION', '6.0.0'); define('DISCUZ_KERNEL_RELEASE', '20070904'); if(isset($_GET['kernel_version'])) { exit('Crossd...
zyyhong
trunk/jiaju001/bbs/include/cache.func.php
PHP
asf20
65,548
<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/bbs/include/serverbusy.htm
HTML
asf20
728
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic.func.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function checkmagicperm($perms, $id) { $id = $id ? intval($id) : ''; if(!strexis...
zyyhong
trunk/jiaju001/bbs/include/magic.func.php
PHP
asf20
7,477
<?php /* [Discuz!] (C)2001-2006 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewpro.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $allowviewpro = $discuz_uid && ($uid == $discuz_uid || $username == $discuz_user) ...
zyyhong
trunk/jiaju001/bbs/include/viewpro.inc.php
PHP
asf20
7,716
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: attachment.func.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function attachtype($type, $returnval = 'html') { static $attachicons = ar...
zyyhong
trunk/jiaju001/bbs/include/attachment.func.php
PHP
asf20
5,094
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: newreply.inc.php 10449 2007-08-31 03:05:08Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 12; if($special == 5) { $query = $db->query("SELECT * FROM {...
zyyhong
trunk/jiaju001/bbs/include/newreply.inc.php
PHP
asf20
16,127
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_special.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $query = $db->query("SELECT count(*) FROM {$tablepre}posts WHERE tid='$t...
zyyhong
trunk/jiaju001/bbs/include/viewthread_special.inc.php
PHP
asf20
1,489
<?php /* [Discuz!] (C)2001-2007 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/bbs/include/search_qihoo.inc.php
PHP
asf20
1,227
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: search_trade.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(isset($searchid)) { $page = max(1, intval($page)); $start_limit = ($p...
zyyhong
trunk/jiaju001/bbs/include/search_type.inc.php
PHP
asf20
7,776
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: db_mysql_error.inc.php 11168 2007-11-08 05:23:57Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $timestamp = time(); $errmsg = ''; $dberror = $this->error(); $dberrno = $...
zyyhong
trunk/jiaju001/bbs/include/db_mysql_error.inc.php
PHP
asf20
3,432
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: supe_daily.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($supe['status'] && $supe['maxupdateusers']) { require_once DISCUZ_ROOT.'./...
zyyhong
trunk/jiaju001/bbs/include/crons/supe_daily.inc.php
PHP
asf20
415
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: announcements_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("DELETE FROM {$tablepre}announcements WHERE endtime<'$timest...
zyyhong
trunk/jiaju001/bbs/include/crons/announcements_daily.inc.php
PHP
asf20
533
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: todayposts_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $query = $db->query("SELECT sum(todayposts) FROM {$tablepre}forums"); $ye...
zyyhong
trunk/jiaju001/bbs/include/crons/todayposts_daily.inc.php
PHP
asf20
977
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cleanup_monthly.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $myrecordtimes = $timestamp - $_DCACHE['settings']['myrecorddays'] * 86400;...
zyyhong
trunk/jiaju001/bbs/include/crons/cleanup_monthly.inc.php
PHP
asf20
681
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: birthdays_daily.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($maxbdays) { require_once DISCUZ_ROOT.'./include/cache.func.php'; u...
zyyhong
trunk/jiaju001/bbs/include/crons/birthdays_daily.inc.php
PHP
asf20
780
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotions_hourly.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($creditspolicy['promotion_visit']) { $uidarray = $userarray = arra...
zyyhong
trunk/jiaju001/bbs/include/crons/promotions_hourly.inc.php
PHP
asf20
1,208
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: onlinetime_monthly.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("UPDATE {$tablepre}onlinetime SET thismonth='0'"); $db->quer...
zyyhong
trunk/jiaju001/bbs/include/crons/onlinetime_monthly.inc.php
PHP
asf20
419
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: notify_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $subscriptions = array(); $query = $db->query("SELECT t.tid, t.subject, t.aut...
zyyhong
trunk/jiaju001/bbs/include/crons/notify_daily.inc.php
PHP
asf20
1,542
<?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/bbs/include/crons/tags_daily.inc.php
PHP
asf20
276
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magics_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($magicstatus)) { $magicarray = array(); $query = $db->query("SEL...
zyyhong
trunk/jiaju001/bbs/include/crons/magics_daily.inc.php
PHP
asf20
1,222
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: cleanup_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $db->query("UPDATE {$tablepre}advertisements SET available='0' WHERE endtime>...
zyyhong
trunk/jiaju001/bbs/include/crons/cleanup_daily.inc.php
PHP
asf20
1,530
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: secqaa_daily.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($secqaa['status'] > 0) { require_once DISCUZ_ROOT.'./include/cache.func.p...
zyyhong
trunk/jiaju001/bbs/include/crons/secqaa_daily.inc.php
PHP
asf20
358
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: threadexpiries_hourly.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $actionarray = array(); $query = $db->query("SELECT * FROM {$tablepr...
zyyhong
trunk/jiaju001/bbs/include/crons/threadexpiries_hourly.inc.php
PHP
asf20
3,084
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: sendmail.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $mail = unserialize($mail); $errorlog = $action != 'mailcheck' ? 'errorlog' : '...
zyyhong
trunk/jiaju001/bbs/include/sendmail.inc.php
PHP
asf20
5,391
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: security.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($attackevasive & 1 || $attackevasive & 4) { $_DCOOKIE['lastrequest'] = authc...
zyyhong
trunk/jiaju001/bbs/include/security.inc.php
PHP
asf20
5,275
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: promotion.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!empty($fromuid)) { $fromuid = intval($fromuid); $fromuser = ''; } if(...
zyyhong
trunk/jiaju001/bbs/include/promotion.inc.php
PHP
asf20
1,011
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: newtrade.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 11; if(empty($forum['fid']) || $forum['type'] == 'group') { ...
zyyhong
trunk/jiaju001/bbs/include/newtrade.inc.php
PHP
asf20
10,993
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: misc.func.php 10443 2007-08-30 10:14:18Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } function convertip($ip) { $return = ''; if(preg_match("/^\d{1,3}\.\d{1,3}\.\d{1...
zyyhong
trunk/jiaju001/bbs/include/misc.func.php
PHP
asf20
10,847
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: pmprompt.inc.php 10530 2007-09-04 02:01:18Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($maxpmnum == 0) { $query = $db->query("DELETE FROM {$tablepre}pms W...
zyyhong
trunk/jiaju001/bbs/include/pmprompt.inc.php
PHP
asf20
1,545
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: editpost.inc.php 10329 2007-08-27 00:58:57Z heyond $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $discuz_action = 13; $query = $db->query("SELECT m.adminid, p.first, p.authorid, ...
zyyhong
trunk/jiaju001/bbs/include/editpost.inc.php
PHP
asf20
36,925
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: insenz.func.php 10100 2007-08-23 09:37:14Z liuqiang $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } define('INSENZ_VERSION', '1.1'); function insenz_authcode($string, $operation, $...
zyyhong
trunk/jiaju001/bbs/include/insenz.func.php
PHP
asf20
2,846
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: supesite_import.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(!$supe['status']) { showmessage('supe_resource_imported_forbid'); } ...
zyyhong
trunk/jiaju001/bbs/include/supesite_import.inc.php
PHP
asf20
7,368
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: gifmerge.class.php 9837 2007-08-16 08:23:44Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class GifMerge { var $ver = '1.1'; var $dly = 50; var $mod = 'C_FILE...
zyyhong
trunk/jiaju001/bbs/include/gifmerge.class.php
PHP
asf20
9,141
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: db_mysql.class.php 11168 2007-11-08 05:23:57Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } class dbstuff { var $version = ''; var $querynum = 0; var $link; functi...
zyyhong
trunk/jiaju001/bbs/include/db_mysql.class.php
PHP
asf20
3,699
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: printable.inc.php 10115 2007-08-24 00:58:08Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } $thisbg = '#FFFFFF'; $query = $db->query("SELECT p.*, m.username, m.groupid F...
zyyhong
trunk/jiaju001/bbs/include/printable.inc.php
PHP
asf20
1,465
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: viewthread_poll.inc.php 10458 2007-08-31 07:10:55Z monkey $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if($iscircle) { $allowvote = ($circle['allowshare'] && ($circle['isp...
zyyhong
trunk/jiaju001/bbs/include/viewthread_poll.inc.php
PHP
asf20
3,876
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: common.inc.php 10344 2007-08-27 02:36:30Z monkey $ */ error_reporting(0); set_magic_quotes_runtime(0); $mtime = explode(' ', microtime()); $discuz_starttime = $mtime[1] + $mtime[0]; define('SYS_D...
zyyhong
trunk/jiaju001/bbs/include/common.inc.php
PHP
asf20
16,422
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_close.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($tid)) { showmessage('magics_inf...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_close.inc.php
PHP
asf20
1,005
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_hidden.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($pid)) { showmessage('magics_in...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_hidden.inc.php
PHP
asf20
2,135
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_del.inc.php 10463 2007-09-03 01:23:37Z tiger $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($pid)) { showmessage('magics_info_non...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_del.inc.php
PHP
asf20
2,206
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_renew.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($pid)) { showmessage('magics_inf...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_renew.inc.php
PHP
asf20
2,106
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_open.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($tid)) { showmessage('magics_info...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_open.inc.php
PHP
asf20
979
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_up.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($tid)) { showmessage('magics_info_n...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_up.inc.php
PHP
asf20
964
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_reporter.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($username)) { showmessage('ma...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_reporter.inc.php
PHP
asf20
1,104
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_see.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { if(empty($pid)) { showmessage('magics_info_...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_see.inc.php
PHP
asf20
781
<?php /* [Discuz!] (C)2001-2007 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: magic_money.inc.php 9806 2007-08-15 06:04:37Z cnteacher $ */ if(!defined('IN_DISCUZ')) { exit('Access Denied'); } if(submitcheck('usesubmit')) { $getmoney = rand(1, intval($magic['price'] *...
zyyhong
trunk/jiaju001/bbs/include/magic/magic_money.inc.php
PHP
asf20
707