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 // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Template/TemplateLite.class.php
PHP
art
1,969
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Template/TemplateEase.class.php
PHP
art
2,035
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Template/TemplateSmarty.class.php
PHP
art
1,999
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Template/TemplateSmart.class.php
PHP
art
2,009
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbOracle.class.php
PHP
art
16,102
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbPdo.class.php
PHP
art
19,877
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbPgsql.class.php
PHP
art
14,503
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbSqlsrv.class.php
PHP
art
13,652
<?php // +---------------------------------------------------------------------- // | TOPThink [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbMongo.class.php
PHP
art
34,784
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbSqlite.class.php
PHP
art
13,091
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbIbase.class.php
PHP
art
14,977
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Db/DbMssql.class.php
PHP
art
14,114
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/Session/SessionDb.class.php
PHP
art
6,274
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Driver/TagLib/TagLibHtml.class.php
PHP
art
29,521
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Function/extend.php
PHP
art
27,518
(function ($) { var ie = $.browser.msie, iOS = /iphone|ipad|ipod/i.test(navigator.userAgent); $.TE = { version:'1.0', // 版本号 debug: 1, //调试开关 timeOut: 3000, //加载单个文件超时时间,单位为毫秒。 defaults: { //默认参数controls,noRigths,plugins,定义加载插件 controls: "source,|...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/ThinkEditor.js
JavaScript
art
32,537
function te_upload_interface() { //初始化参数 var _args = arguments, _fn = _args.callee, _data = ''; if( _args[0] == 'reg' ) { //注册回调 _data = _args[1]; _fn.curr = _data['callid']; _fn.data = _data; jQuery('#temaxsize').val(_data['maxsize']); } el...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/plugins/upload_interface.js
JavaScript
art
2,075
// 系统自带插件 ( function ( $ ) { //全屏 $.TE.plugin( "fullscreen", { fullscreen:function(e){ var $btn = this.$btn, opt = this.editor.opt; if($btn.is("."+opt.cssname.fulled)){ //取消全屏 this.editor.$main.removeAttr("style"); this.editor.$bottom.find("div").show(); this.editor.resize(opt.width,...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/plugins/system.js
JavaScript
art
46,285
$.TE.plugin("bold",{ title:"标题", cmd:"bold", click:function(){ this.editor.pasteHTML("sdfdf"); }, bold:function(){ alert('sdfsdf'); }, noRight:function(e){ if(e.type=="click"){ alert('noright'); } }, init:function(){ }, ...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/plugins/myplugins.js
JavaScript
art
521
.te_main { background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #B1BAB7; } .te_toolbar_box { background: none repeat scroll 0 0 #F5F5F5; border-bottom: 1px solid #B1BAB7; padding-bottom: 12px; } .te_toolbar { margin-left: 10px; margin-right: 8px; overflow: hidden; }...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/skins/default/styles.css
CSS
art
4,446
.te_main{ border:#b1bab7 1px solid; background:#FFF; } .te_toolbar_box { padding-bottom:5px; border-bottom:#b1bab7 1px solid; background:#f5f5f5; } .te_toolbar{ margin-left:10px; margin-right:8px; overflow:hidden; _zoom: 1; } .te_toolbar:after { content: "\0020"; display: block; height: ...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/skins/default/style.css
CSS
art
4,065
<!DOCTYPE HTML> <html lang="zh-cn"> <head> <meta charset="UTF-8"> <title></title> <link media="all" rel="stylesheet" href="css/base.css" type="text/css" /> <link media="all" rel="stylesheet" href="css/te_dialog.css" type="text/css" /> <style> .filebox { cursor: pointer; ...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/skins/default/dialog/dialog.html
HTML
art
23,159
/* 选项卡/标题 */ .te_dialog .seltab { position:relative; } .te_dialog .seltab .bdb { height:30px; border-bottom:2px solid #CCC; } .te_dialog .seltab .links { font-size:12px; line-height:24px; position:absolute; top:5px; padding-left:10px; } .te_dialog .seltab .links a { display:inline-block; padding:0 8px; color:#999; ...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/skins/default/dialog/css/te_dialog.css
CSS
art
6,060
/* -------------------------------------------------- * FileName: base.css * Desc: CSS基础样式库 * Author: leftcold * Email: leftcold@topthink.com * Version: 0.1.07262011 * LastChange: 09/06/2011 10:46 * History: 参见history.txt * -------------------------------------------------- */ /*...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/thinkeditor/skins/default/dialog/css/base.css
CSS
art
4,392
#! php -d safe_mode=Off <?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/.svn/text-base/phpunit.php.svn-base
PHP
art
819
#! php -d safe_mode=Off <?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Tool/phpunit.php
PHP
art
819
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Action/RestAction.class.php
PHP
art
14,751
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/CodeSwitch.class.php
PHP
art
8,093
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Stack.class.php
PHP
art
2,604
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/String.class.php
PHP
art
14,518
<?php /* 海龙挖掘机 2.0正式版 * 正文提取,分析,可自动判断编码,自动转码 * 原理:根据代码块加权的原理,首先将HTML分成若干个小块,然后对每个小块进行评分。 * 取分数在3分以上的代码块中的内容返回 * 加分项 1 含有标点符号 * 2 含有<p>标签 * 3 含有<br>标签 * 减分项 1 含有li标签 * 2 不包含任何标点符号 * 3 含有关键词javascript * 4 不包含任何中文的,直接删除 * 5 有<li><a这样标签 * 实例: * $he = new ...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/HtmlExtractor.class.php
PHP
art
7,388
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Date.class.php
PHP
art
24,196
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/ArrayList.class.php
PHP
art
11,739
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +--------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Image.class.php
PHP
art
22,698
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Cookie.class.php
PHP
art
2,356
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Page.class.php
PHP
art
5,937
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/RBAC.class.php
PHP
art
13,347
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Socket.class.php
PHP
art
2,617
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2011 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Authority.class.php
PHP
art
7,603
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Debug.class.php
PHP
art
4,894
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +---------------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Input.class.php
PHP
art
20,332
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Util/Session.class.php
PHP
art
22,820
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Des.class.php
PHP
art
20,655
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Xxtea.class.php
PHP
art
5,799
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Hmac.class.php
PHP
art
3,391
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Base64.class.php
PHP
art
3,457
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Rsa.class.php
PHP
art
6,326
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Crypt/Crypt.class.php
PHP
art
3,509
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Net/Http.class.php
PHP
art
20,258
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Net/UploadFile.class.php
PHP
art
24,200
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2009 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Extend/Library/ORG/Net/IpLocation.class.php
PHP
art
9,442
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Template/ThinkTemplate.class.php
PHP
art
31,125
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Template/TagLib.class.php
PHP
art
10,566
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/LocationTemplateBehavior.class.php
PHP
art
2,855
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/CheckRouteBehavior.class.php
PHP
art
9,322
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/ShowRuntimeBehavior.class.php
PHP
art
4,054
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/ContentReplaceBehavior.class.php
PHP
art
2,753
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/ParseTemplateBehavior.class.php
PHP
art
5,796
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/ShowPageTraceBehavior.class.php
PHP
art
4,583
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/WriteHtmlCacheBehavior.class.php
PHP
art
1,566
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/ReadHtmlCacheBehavior.class.php
PHP
art
5,869
<?php // +---------------------------------------------------------------------- // | TOPThink [ WE CAN DO IT JUST THINK ] // +---------------------------------------------------------------------- // | Copyright (c) 2010 http://topthink.com All rights reserved. // +------------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Behavior/TokenBuildBehavior.class.php
PHP
art
2,779
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Action.class.php
PHP
art
16,905
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Db.class.php
PHP
art
42,906
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Model.class.php
PHP
art
62,017
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Widget.class.php
PHP
art
5,649
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Behavior.class.php
PHP
art
2,660
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Dispatcher.class.php
PHP
art
10,147
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/App.class.php
PHP
art
6,664
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/ThinkException.class.php
PHP
art
4,437
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Think.class.php
PHP
art
12,159
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Log.class.php
PHP
art
6,108
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/Cache.class.php
PHP
art
5,064
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Core/View.class.php
PHP
art
6,362
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Driver/Cache/CacheFile.class.php
PHP
art
9,395
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2007 http://thinkphp.cn All rights reserved. // +----------------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Driver/Db/DbMysqli.class.php
PHP
art
16,187
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Driver/Db/DbMysql.class.php
PHP
art
16,652
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lib/Driver/TagLib/TagLibCx.class.php
PHP
art
29,622
<div id="think_page_trace" style="background:white;margin:6px;font-size:14px;border:1px dashed silver;padding:8px"> <fieldset id="querybox" style="margin:5px;"> <legend style="color:gray;font-weight:bold">页面Trace信息</legend> <div style="overflow:auto;height:300px;text-align:left;"> <?php $_trace = trace();foreach ($...
zzgcms
ZGCMS/ThinkPHP/Tpl/page_trace.tpl
Smarty
art
417
<?php // 本类由系统自动生成,仅供测试用途 class IndexAction extends Action { public function index(){ header("Content-Type:text/html; charset=utf-8"); echo '<div style="font-weight:normal;color:blue;float:left;width:345px;text-align:center;border:1px solid silver;background:#E8EFFF;padding:8px;font-size:14px;f...
zzgcms
ZGCMS/ThinkPHP/Tpl/default_index.tpl
Smarty
art
467
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html> <head> <title>页面提示</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <meta http-equiv='Refresh' content='{$waitSecond};URL={$jumpUrl}'> <style> html, body{mar...
zzgcms
ZGCMS/ThinkPHP/Tpl/dispatch_jump.tpl
Smarty
art
1,434
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>系统发生错误</title> <meta http-equiv="content-type" content="text/html;charset=utf-8"/> <meta name="Generator" content="EditPlus"/> <style> body{ f...
zzgcms
ZGCMS/ThinkPHP/Tpl/think_exception.tpl
Smarty
art
2,085
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Conf/alias.php
PHP
art
1,238
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Conf/debug.php
PHP
art
2,000
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Conf/convention.php
PHP
art
8,374
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Conf/tags.php
PHP
art
1,580
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Conf/mode.php
PHP
art
2,727
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/ThinkPHP.php
PHP
art
1,626
<?php // +---------------------------------------------------------------------- // | ThinkPHP [ WE CAN DO IT JUST THINK IT ] // +---------------------------------------------------------------------- // | Copyright (c) 2006-2012 http://thinkphp.cn All rights reserved. // +-----------------------------------------...
zzgcms
ZGCMS/ThinkPHP/Lang/zh-cn.php
PHP
art
2,666
<?php if(!defined('THINK_PATH')) exit(); $configInc = require './sys_config.php'; $config = array( 'DB_TYPE' => 'mysql', 'DB_HOST' => 'localhost', 'DB_NAME' => 'zgcms', 'DB_USER' => 'root', 'DB_PWD' => 'qq123456', 'DB_PREFIX' => 'zgcms_', 'DB_CHARSET' => 'utf8', 'ROUTER_ON' => true, 'APP_...
zzgcms
ZGCMS/config.inc.php
PHP
art
613
<?php //开启调试模式 define('APP_DEBUG',true); //定义ThinkPHP核心文件夹路径 define('THINK_PATH','./ThinkPHP/'); //定义项目名称与项目路径 define('APP_NAME','Home'); define('APP_PATH','./Home/'); //加载ThinkPHP框架入口文件 require(THINK_PATH."/ThinkPHP.php"); ?>
zzgcms
ZGCMS/index.php
PHP
art
306
<?php //截取规定长度的字符串,支持中文截取 function getSubStr(&$object,$field,$length,$encoding,$start = 0){ //exit(); if($object){ if(is_array($object)){ //只设用于数字下标 for($i = $start; $i < count($object);$i++){ if(mb_strlen($object[$i][$field],$encoding) > $length){ $object[$i][$field] = mb_substr($object[$i]...
zzgcms
ZGCMS/Admin/Common/common.php
PHP
art
601
<?php class LevelModel extends Model{ public $_validate = array( array('level_name','2,20','等级名称必须在2-20位之间',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH), array('level_info','0,200','等级描述不得大于200位',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH), ); public $_map = array( "name" => "le...
zzgcms
ZGCMS/Admin/Lib/Model/LevelModel.class.php
PHP
art
413
<?php class SystemModel extends Model{ public $_validate = array( array('webname','0,20','网站名称必须在0-20位之间',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH), array('page_size','/^[0-9]+$/','分页数必须为非负整数',Model::MUST_VALIDATE,'regex',Model:: MODEL_BOTH), array('nav_num','1,10','首页导航数必须在1到10之间',Model::MU...
zzgcms
ZGCMS/Admin/Lib/Model/SystemModel.class.php
PHP
art
1,121
<?php class VoteItemModel extends Model{ public $_validate = array( array('title','require','投票主题名称必须填写!'), array('title','2,20','投票主题必须在2到20位之间!',Model::MUST_VALIDATE,'length'), array('info','0,200','投票主题描述不得大于200位!',Model::VALUE_VAILIDATE,'length'), ); } ?>
zzgcms
ZGCMS/Admin/Lib/Model/VoteItemModel.class.php
PHP
art
359
<?php class AdverModel extends Model{ public $_validate = array( array('type',array(1,2,3),'请确保广告类型合法!',Model::MUST_VALIDATE,'in'), array('title','require','广告标题必须填写!'), array('title','0,20','广告标题不得大于20位',Model::MUST_VALIDATE,'length'), array('link','require','广告链接必须填写!'), array('info','0,...
zzgcms
ZGCMS/Admin/Lib/Model/AdverModel.class.php
PHP
art
824
<?php class LinkModel extends Model{ public $_validate = array( array('type',array(1,2),'请确保友情链接类型合法!',Model::MUST_VALIDATE,'in'), array('webname','require','网站名称必须填写!'), array('webname','0,20','网站名称不得大于20位',Model::VALUE_VAILIDATE,'length'), array('weburl','require','网站地址必须填写!'), array('we...
zzgcms
ZGCMS/Admin/Lib/Model/LinkModel.class.php
PHP
art
716
<?php class UserModel extends Model{ public $_validate = array( array('user','/^[a-z]\w{2,20}$/i','帐号格式错误'), array('password','6,12','密码长度必须在6-12位之间',Model::VALUE_VAILIDATE,'length'), array('repwd','require','确认密码必须'), array('repwd','password','确认密码不一致',self::EXISTS_VAILIDATE,'confirm'), a...
zzgcms
ZGCMS/Admin/Lib/Model/UserModel.class.php
PHP
art
1,168
<?php class VoteSubjectModel extends Model{ public $_validate = array( array('title','require','投票主题名称必须填写!'), array('title','2,20','投票主题必须在2到20位之间!',Model::MUST_VALIDATE,'length'), array('info','0,200','投票主题描述不得大于200位!',Model::VALUE_VAILIDATE,'length'), ); public $_auto = array( arra...
zzgcms
ZGCMS/Admin/Lib/Model/VoteSubjectModel.class.php
PHP
art
620
<?php class CategoryModel extends Model{ public $_validate = array( array('category_name','2,20','等级名称必须在2-20位之间',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH), array('category_info','0,200','等级描述不得大于200位',Model::MUST_VALIDATE,'length',Model:: MODEL_BOTH), ); public $_auto = array( arr...
zzgcms
ZGCMS/Admin/Lib/Model/CategoryModel.class.php
PHP
art
1,000