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
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class applications_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'applications';
paren... | 108wo | phpsso_server/phpcms/model/applications_model.class.php | PHP | asf20 | 348 |
<?php
?> | 108wo | phpsso_server/phpcms/languages/zh-cn/system_menu.lang.php | PHP | asf20 | 11 |
<?php
$LANG['nameerror'] = '用户名不能为空。';
$LANG['checkcode'] = '验证码';
$LANG['click_change_validate'] = '单击更换验证码';
$LANG['code_error'] = '验证码错误';
$LANG['input_code'] = '请输入验证码';
$LANG['jump_message'] = '如果您的浏览器没有自动跳转,请点击这里';
$LANG['alert_message'] = '提示信息';
$LANG['go_history'] = '[点这里返回上一页]';
$LANG['register_set... | 108wo | phpsso_server/phpcms/languages/zh-cn/admin.lang.php | PHP | asf20 | 6,648 |
<?php
$LANG['illegal_operation'] = '非法操作!';
$LANG['illegal_action'] = '非法动作参数!请返回';
$LANG['illegal_parameters'] = '非法参数!';
$LANG['operation_success'] = '操作成功!';
$LANG['operation_failure'] = '操作失败!';
$LANG['total'] = '总数:';
$LANG['first'] = '首页';
$LANG['success'] = '成功';
$LANG['previous'] = '上一页';
$LANG['next'... | 108wo | phpsso_server/phpcms/languages/zh-cn/system.lang.php | PHP | asf20 | 2,885 |
<?php
param::set_cookie('username', '');
param::set_cookie('userid', ''); | 108wo | phpsso_server/api/logout.php | PHP | asf20 | 75 |
<?php
$username = isset($_GET['username']) && trim($_GET['username']) ? trim($_GET['username']) : exit('-1');
$password = isset($_GET['password']) && trim($_GET['password']) ? trim($_GET['password']) : exit('-1');
$url = isset($_GET['url']) && trim($_GET['url']) ? trim(urldecode($_GET['url'])) : exit('-1');
$name... | 108wo | phpsso_server/api/install.php | PHP | asf20 | 1,702 |
<?php
error_reporting(0);
define('PHPCMS_PATH', dirname(__FILE__).'/../');
include PHPCMS_PATH.'/phpcms/base.php';
define('UC_KEY', pc_base::load_config('system', 'uc_key'));
define('API_RETURN_SUCCEED', '1');
define('API_RETURN_FAILED', '-1');
define('API_RETURN_FORBIDDEN', '-2');
$get = $post = array();... | 108wo | phpsso_server/api/uc.php | PHP | asf20 | 6,908 |
<?php
$session_storage = 'session_'.pc_base::load_config('system','session_storage');
pc_base::load_sys_class($session_storage);
session_start();
$checkcode = pc_base::load_sys_class('checkcode');
if (isset($_GET['code_len']) && intval($_GET['code_len'])) $checkcode->code_len = intval($_GET['code_len']);
if (isse... | 108wo | phpsso_server/api/checkcode.php | PHP | asf20 | 1,079 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: mail.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class mailcontrol extends base {
function __construct() {
$this->mailcontrol();
}
function... | 108wo | phpsso_server/api/uc_client/control/mail.php | PHP | asf20 | 993 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: pm.php 836 2008-12-05 02:25:48Z monkey $
*/
!defined('IN_UC') && exit('Access Denied');
define('PMLIMIT1DAY_ERROR', -1);
define('PMFLOODCTRL_ERROR', -2);
define('PMMSGTONOTFRIEND', -3);
define(... | 108wo | phpsso_server/api/uc_client/control/pm.php | PHP | asf20 | 8,108 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: domain.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class domaincontrol extends base {
function __construct() {
$this->domaincontrol();
}
fu... | 108wo | phpsso_server/api/uc_client/control/domain.php | PHP | asf20 | 511 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: user.php 968 2009-10-29 02:06:45Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
define('UC_USER_CHECK_USERNAME_FAILED', -1);
define('UC_USER_USERNAME_BADWORD', -2);
define('UC_US... | 108wo | phpsso_server/api/uc_client/control/user.php | PHP | asf20 | 8,330 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: friend.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class friendcontrol extends base {
function __construct() {
$this->friendcontrol();
}
fu... | 108wo | phpsso_server/api/uc_client/control/friend.php | PHP | asf20 | 1,532 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: app.php 884 2008-12-16 01:13:31Z monkey $
*/
!defined('IN_UC') && exit('Access Denied');
class appcontrol extends base {
function __construct() {
$this->appcontrol();
}
function appco... | 108wo | phpsso_server/api/uc_client/control/app.php | PHP | asf20 | 925 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: feed.php 883 2008-12-16 00:51:21Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
class feedcontrol extends base {
function __construct() {
$this->feedcontrol();
}
funct... | 108wo | phpsso_server/api/uc_client/control/feed.php | PHP | asf20 | 4,028 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: tag.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class tagcontrol extends base {
function __construct() {
$this->tagcontrol();
}
function ta... | 108wo | phpsso_server/api/uc_client/control/tag.php | PHP | asf20 | 2,012 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: cache.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class cachecontrol extends base {
function __construct() {
$this->cachecontrol();
}
funct... | 108wo | phpsso_server/api/uc_client/control/cache.php | PHP | asf20 | 473 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: client.php 963 2009-09-21 02:40:04Z zhaoxiongfei $
*/
if(!defined('UC_API')) {
exit('Access denied');
}
error_reporting(0);
define('IN_UC', TRUE);
define('UC_CLIENT_VERSION', '1.5.1');
def... | 108wo | phpsso_server/api/uc_client/client.php | PHP | asf20 | 19,506 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: uccode.class.php 753 2008-11-14 06:48:25Z cnteacher $
*/
class uccode {
var $uccodes;
function uccode() {
$this->uccode = array(
'pcodecount' => -1,
'codecount' => 0,
'codehtml' ... | 108wo | phpsso_server/api/uc_client/lib/uccode.class.php | PHP | asf20 | 5,020 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: db.class.php 922 2009-02-19 01:30:22Z zhaoxiongfei $
*/
class ucclient_db {
var $querynum = 0;
var $link;
var $histories;
var $dbhost;
var $dbuser;
var $dbpw;
var $dbcharset;
var ... | 108wo | phpsso_server/api/uc_client/lib/db.class.php | PHP | asf20 | 4,177 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: sendmail.inc.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
if($mail_setting['mailsilent']) {
error_reporting(0);
}
$maildelimiter = $mail_setting['m... | 108wo | phpsso_server/api/uc_client/lib/sendmail.inc.php | PHP | asf20 | 5,010 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: xml.class.php 972 2009-11-16 02:20:39Z zhaoxiongfei $
*/
function xml_unserialize(&$xml, $isnormal = FALSE) {
$xml_parser = new XML($isnormal);
$data = $xml_parser->parse($xml);
$xml_parser->de... | 108wo | phpsso_server/api/uc_client/lib/xml.class.php | PHP | asf20 | 2,792 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: mail.php 848 2008-12-08 05:43:39Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
define('UC_MAIL_REPEAT', 5);
class mailmodel {
var $db;
var $base;
var $apps;
functio... | 108wo | phpsso_server/api/uc_client/model/mail.php | PHP | asf20 | 5,074 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: base.php 837 2008-12-05 03:14:47Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
if(!function_exists('getgpc')) {
function getgpc($k, $var='G') {
switch($var) {
case 'G': $... | 108wo | phpsso_server/api/uc_client/model/base.php | PHP | asf20 | 6,456 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: pm.php 908 2008-12-26 07:27:51Z monkey $
*/
!defined('IN_UC') && exit('Access Denied');
class pmmodel {
var $db;
var $base;
function __construct(&$base) {
$this->pmmodel($base);
}
... | 108wo | phpsso_server/api/uc_client/model/pm.php | PHP | asf20 | 16,049 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: domain.php 848 2008-12-08 05:43:39Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
class domainmodel {
var $db;
var $base;
function __construct(&$base) {
$this->domainm... | 108wo | phpsso_server/api/uc_client/model/domain.php | PHP | asf20 | 1,391 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: note.php 916 2009-01-19 05:56:07Z monkey $
*/
!defined('IN_UC') && exit('Access Denied');
define('UC_NOTE_REPEAT', 5);
define('UC_NOTE_TIMEOUT', 15);
define('UC_NOTE_GC', 10000);
define('API_... | 108wo | phpsso_server/api/uc_client/model/note.php | PHP | asf20 | 6,591 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: user.php 968 2009-10-29 02:06:45Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
class usermodel {
var $db;
var $base;
function __construct(&$base) {
$this->usermodel($... | 108wo | phpsso_server/api/uc_client/model/user.php | PHP | asf20 | 7,206 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: friend.php 773 2008-11-26 08:45:08Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
class friendmodel {
var $db;
var $base;
function __construct(&$base) {
$this->friendm... | 108wo | phpsso_server/api/uc_client/model/friend.php | PHP | asf20 | 3,574 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: app.php 846 2008-12-08 05:37:05Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
class appmodel {
var $db;
var $base;
function __construct(&$base) {
$this->appmodel($bas... | 108wo | phpsso_server/api/uc_client/model/app.php | PHP | asf20 | 783 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: misc.php 846 2008-12-08 05:37:05Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
define('UC_ARRAY_SEP_1', 'UC_ARRAY_SEP_1');
define('UC_ARRAY_SEP_2', 'UC_ARRAY_SEP_2');
class mi... | 108wo | phpsso_server/api/uc_client/model/misc.php | PHP | asf20 | 4,191 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: tag.php 753 2008-11-14 06:48:25Z cnteacher $
*/
!defined('IN_UC') && exit('Access Denied');
class tagmodel {
var $db;
var $base;
function __construct(&$base) {
$this->tagmodel($base);... | 108wo | phpsso_server/api/uc_client/model/tag.php | PHP | asf20 | 2,212 |
<?php
/*
[UCenter] (C)2001-2009 Comsenz Inc.
This is NOT a freeware, use is subject to license terms
$Id: cache.php 846 2008-12-08 05:37:05Z zhaoxiongfei $
*/
!defined('IN_UC') && exit('Access Denied');
if(!function_exists('file_put_contents')) {
function file_put_contents($filename, $s) {
$fp = ... | 108wo | phpsso_server/api/uc_client/model/cache.php | PHP | asf20 | 2,206 |
<?php
return array (
'default' => array (
'hostname' => 'localhost',
'database' => '108wo_new',
'username' => 'root',
'password' => '123',
'tablepre' => '108wo_sso_',
'charset' => 'utf8',
'type' => 'mysql',
'debug' => true,
'pconnect' => 0,
'autoconnect' => 0
)
);
?> | 108wo | phpsso_server/caches/configs/database.php | PHP | asf20 | 309 |
<?php
/**
* 路由配置文件
* 默认配置为default如下:
* 'default'=>array(
* 'm'=>'phpcms',
* 'c'=>'index',
* 'a'=>'init',
* 'data'=>array(
* 'POST'=>array(
* 'catid'=>1
* ),
* 'GET'=>array(
* 'contentid'=>1
* )
* )
* )
* 基中“m”为模型,“c”为控制器,“a”为事件,“data”为其他附加参数。
* data为一个二维数组,可设置POS... | 108wo | phpsso_server/caches/configs/route.php | PHP | asf20 | 986 |
<?php
define('UC_CONNECT', 'mysql');
define('UC_API', 'http://localhost/comsenz/uc');
define('UC_IP', '');
define('UC_DBHOST', 'localhost');
define('UC_DBUSER', 'root');
define('UC_DBPW', 'root');
define('UC_DBNAME', 'ucenter');
define('UC_DBTABLEPRE', 'uc_');
define('UC_DBCHARSET', 'gbk');
define('UC_APPID', '8');
de... | 108wo | phpsso_server/caches/configs/uc_config.php | PHP | asf20 | 384 |
<?php
return array(
//网站路径
'web_path' => '/108wo/phpsso_server/',
//Session配置
'session_storage' => 'mysql',
'session_ttl' => 1800,
'session_savepath' => CACHE_PATH.'sessions/',
'session_n' => 0,
//Cookie配置
'cookie_domain' => '', //Cookie 作用域
'cookie_path' => '/', //Cookie 作用路径
'cookie_pre' => 'vAyKg_', //... | 108wo | phpsso_server/caches/configs/system.php | PHP | asf20 | 1,954 |
<?php
return array (
'file1' => array (
'type' => 'file',
'debug' => true,
'pconnect' => 0,
'autoconnect' => 0
),
'template' => array (
'hostname' => '210.78.140.2',
'port' => 11211,
'timeout' => 0,
'type' => 'memcache',
'debug' => true,
'pconnect' => 0,
'autoconnect' => 0
)... | 108wo | phpsso_server/caches/configs/cache.php | PHP | asf20 | 330 |
<?php
return array (
1 =>
array (
'appid' => '1',
'type' => 'phpcms_v9',
'name' => 'phpcms v9',
'url' => 'http://localhost/108wo_new/',
'authkey' => 'qZdQRVXybU0wdhOnvbUq90PXZt0eF1gg',
'ip' => '',
'apifilename' => 'api.php?op=phpsso',
'charset' => 'utf-8',
'synlogin' => '1',
)... | 108wo | phpsso_server/caches/caches_admin/caches_data/applist.cache.php | PHP | asf20 | 327 |
<?php
/**
* index.php API 入口
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-7-26
*/
define('PHPCMS_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
include './phpcms/base.php';
$param = pc_base::load_sys_class('param');
$op = isset($_GET['op']) ... | 108wo | phpsso_server/api.php | PHP | asf20 | 599 |
<?php
/**
* index.php PHPCMS 入口
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
//PHPCMS根目录
define('PHPCMS_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
include PHPCMS_PATH.'/phpcms/base.php';
pc_base::creat_app();
?> | 108wo | index.php | PHP | asf20 | 318 |
<?php
header('location:index.php?m=admin');
?> | 108wo | admin.php | PHP | asf20 | 48 |
/*
* 在jquery.suggest 1.1基础上针对中文输入的特点做了部分修改,下载原版请到jquery插件库
* 修改者:wangshuai
*
* 修改部分已在文中标注
*
*
* jquery.suggest 1.1 - 2007-08-06
*
* Uses code and techniques from following libraries:
* 1. http://www.dyve.net/jquery/?autocomplete
* 2. http://dev.jquery.com/browser/trunk/plugins/int... | 108wo | statics/js/jquery.suggest.js | JavaScript | asf20 | 6,417 |
function setmodel(value, id, siteid, q) {
$("#typeid").val(value);
$("#search a").removeClass();
id.addClass('on');
if(q!=null && q!='') {
window.location='?m=search&c=index&a=init&siteid='+siteid+'&typeid='+value+'&q='+q;
}
} | 108wo | statics/js/search_common.js | JavaScript | asf20 | 248 |
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject = function() {
var UNDEF = "undefined",
OBJECT = "object",
SHOCKWAVE_FLASH = "Shockwave Flash",
SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas... | 108wo | statics/js/crop/swfobject.js | JavaScript | asf20 | 25,574 |
var userAgent = navigator.userAgent.toLowerCase();
jQuery.browser = {
version: (userAgent.match( /.+(?:rv|it|ra|ie)[\/: ]([\d.]+)/ ) || [0,'0'])[1],
safari: /webkit/.test( userAgent ),
opera: /opera/.test( userAgent ),
msie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),
mozilla: /mozilla/.test( use... | 108wo | statics/js/content_addtop.js | JavaScript | asf20 | 7,246 |
$(document).ready(function() {
var q = $("#q").val();
var typeid = $("#typeid").val();
search_history = getcookie('search_history');
if(search_history!=null && search_history!='') {
search_s = search_history.split(",");
var exists = in_array(q+'|'+typeid, search_s);
//不存在
if(exists==-1) {
if(... | 108wo | statics/js/search_history.js | JavaScript | asf20 | 1,124 |
/*
* Async Treeview 0.1 - Lazy-loading extension for Treeview
*
* http://bassistance.de/jquery-plugins/jquery-plugin-treeview/
*
* Copyright (c) 2007 Jörn Zaefferer
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses... | 108wo | statics/js/jquery.treeview.async.js | JavaScript | asf20 | 3,004 |
function confirmurl(url,message) {
url = url+'&pc_hash='+pc_hash;
if(confirm(message)) redirect(url);
}
function redirect(url) {
location.href = url;
}
//滚动条
$(function(){
$(":text").addClass('input-text');
})
/**
* 全选checkbox,注意:标识checkbox id固定为为check_box
* @param string name 列表check名称,如 uid[]
*... | 108wo | statics/js/admin_common.js | JavaScript | asf20 | 1,362 |
function open_menu(id,name,container,file,path,title,key, func) {
returnid= id;
returnfile = file;
returnname = name;
returnfunc = func;
var content = '<div class="linkage-menu"><h6><a href="javascript:;" onclick="get_menu_parent(this,0,\''+path+'\', \''+title+'\', \''+key+'\')" class="rt"><<返回主菜单</a><span>'... | 108wo | statics/js/linkage/js/menu.js | JavaScript | asf20 | 3,843 |
(function($){
$.fn.mlnColsel=function(data,setting){
var dataObj={"Items":[
{"name":"mlnColsel","topid":"-1","colid":"-1","value":"-1","fun":function(){alert("undefined!");}}
]};
var settingObj={
title:"请选择",
value:"-1",
width:100
};
settingObj=$.extend(settingObj,setting);
data... | 108wo | statics/js/linkage/js/mln.colselect.js | JavaScript | asf20 | 3,383 |
function open_linkage(id,name,container,linkageid) {
returnid= id;
returnkeyid = linkageid;
var content = '<div class="linkage-menu"><h6><a href="javascript:;" onclick="get_parent(this,0)" class="rt"><<返回主菜单</a><span>'+name+'</span> <a href="javascript:;" onclick="get_parent(this)" id="parent_'+id+'" parentid="0... | 108wo | statics/js/linkage/js/pop.js | JavaScript | asf20 | 3,235 |
.colselect,.colselect:link,.colselect:visited{
display:block;
border:1px solid #BCBCBC;
width:145px;
height:20px;
overflow:hidden;
line-height:20px;
background:url(../images/up1.png) right no-repeat;
text-align:left;
}
.colselect:active{
border:1px solid #BCBCBC;
width:144px;
height:19px;
pa... | 108wo | statics/js/linkage/style/admin.css | CSS | asf20 | 1,250 |
.colselect,.colselect:link,.colselect:visited{
display:block;
border:1px solid #BCBCBC;
width:145px;
height:20px;
overflow:hidden;
line-height:20px;
background:url(../images/up1.png) right no-repeat;
text-align:left;
}
.colselect:active{
border:1px solid #BCBCBC;
width:144px;
height:19px;
pa... | 108wo | statics/js/linkage/style/css.css | CSS | asf20 | 1,248 |
/* The main calendar widget. DIV containing a table. */
div.calendar { position: relative; }
.calendar, .calendar table {
border: 1px solid #b3cbe4;
font-size: 11px;
color: #000;
cursor: default;
background: #F1F8FC;
font-family: tahoma,verdana,sans-serif;
}
.calendar table{border: 1px soli... | 108wo | statics/js/calendar/calendar-blue.css | CSS | asf20 | 5,645 |
/* CSS */
.DynarchCalendar {
border: 1px solid #aaa;
-moz-user-select: none;
-webkit-user-select: none;
user-select: none;
background: #e8e8e8;
font: 11px "lucida grande",tahoma,verdana,sans-serif;
line-height: 14px;
position: relative;
cursor: default;
}
.DynarchCalendar table {
bo... | 108wo | statics/js/calendar/jscal2.css | CSS | asf20 | 7,707 |
Calendar.LANG("cn", "中文", {
fdow: 1, // first day of week for this locale; 0 = Sunday, 1 = Monday, etc.
goToday: "今天",
today: "今天", // appears in bottom bar
wk: "周",
weekend: "0,6", // 0 = Sunday, 1 = Monday, etc.
AM: "AM",
PM... | 108wo | statics/js/calendar/lang/en.js | JavaScript | asf20 | 1,316 |
.DynarchCalendar-topCont{background: none repeat scroll 0 0 #F1F8FC;
border: 1px solid #B3CBE4;}
.DynarchCalendar-topCont .DynarchCalendar{ border: 1px solid #FFFFFF;}
.DynarchCalendar, .DynarchCalendar-focused {
background-color: #F1F8FC;
}
.DynarchCalendar-topBar,
.DynarchCalendar-bottomBar,
.DynarchC... | 108wo | statics/js/calendar/win2k.css | CSS | asf20 | 2,006 |
.DynarchCalendar, .DynarchCalendar table {
font-size: 10px;
}
.DynarchCalendar-dayNames { padding: 0; }
.DynarchCalendar-body { padding: 0; }
.DynarchCalendar-animBody-back { top: 0; }
.DynarchCalendar-animBody-fwd { top: 0; }
.DynarchCalendar-animBody-now { top: 0; }
.DynarchCalendar-first-col { padding-left: 0; }
.... | 108wo | statics/js/calendar/reduce-spacing.css | CSS | asf20 | 858 |
/* This is for Gecko-based browsers */
/*
.DynarchCalendar {
-moz-border-radius: 5px;
-webkit-border-radius: 5px;
border-radius: 5px;
}
.DynarchCalendar-title, .DynarchCalendar-title div {
-moz-border-radius: 0 0 4px 4px;
-webkit-border-radius: 0 0 4px 4px;
border-radius: 0 0 4px 4px;
}
.Dyn... | 108wo | statics/js/calendar/border-radius.css | CSS | asf20 | 1,785 |
/**
* Copyright (c) 2010 Anders Ekdahl (http://coffeescripter.com/)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* Version: 1.2.4
*
* Demo and documentation: http://coffeescripter.com/code/ad-g... | 108wo | statics/js/jquery.ad-gallery.js | JavaScript | asf20 | 30,259 |
/**
* Styleswitch stylesheet switcher built on jQuery
* Under an Attribution, Share Alike License
* Download by http://www.codefans.net
* By Kelvin Luck ( http://www.kelvinluck.com/ )
**/
(function($)
{
$(document).ready(function() {
$('.styleswitch').click(function()
{
switchStylestyle(this.getAtt... | 108wo | statics/js/styleswitch.js | JavaScript | asf20 | 1,636 |
Array.prototype.in_array = function(e){
for(i=0;i<this.length && this[i]!=e;i++);
return !(i==this.length);
}
function remove_all(){
$("#checkbox :checkbox").attr("checked",false);
$("#relation_text").html("");
$.get(ajax_url, {m:'yp', c:'index', a:'pk', action:'remove', catid:catid, random:Math.random()});... | 108wo | statics/js/comparison.js | JavaScript | asf20 | 4,696 |
//Chrome Drop Down Menu- Author: Dynamic Drive (http://www.dynamicdrive.com)
//Last updated: June 14th, 06'
var cssdropdown={
disappeardelay: 250, //set delay in miliseconds before menu disappears onmouseout
disablemenuclick: false, //when user clicks on a menu item with a drop down menu, disable menu item's link... | 108wo | statics/js/108wo/dropmenu.js | JavaScript | asf20 | 5,095 |
$(function() {
//IE6 PNG透明
$(document).pngFix();
if($('.listView').length > 0 || $('.price').length > 0 ){
cssdropdown.startchrome("main");
};
//Footer
$('#footer').height($('body').height()-$('#wrapper').height()-31);
//返回页面顶部按纽跟随
$('#goTop').click(function(){
$('html,body').ani... | 108wo | statics/js/108wo/int.js | JavaScript | asf20 | 4,903 |
/*
* Easy Slider 1.5 - jQuery plugin
* written by Alen Grakalic
* http://cssglobe.com/post/4004/easy-slider-15-the-easiest-jquery-plugin-for-sliding
*
* Copyright (c) 2009 Alen Grakalic (http://cssglobe.com)
* Dual licensed under the MIT (MIT-LICENSE.txt)
* and GPL (GPL-LICENSE.txt) licenses.
*
* Bu... | 108wo | statics/js/108wo/easySlider.js | JavaScript | asf20 | 4,738 |
/**
* --------------------------------------------------------------------
* jQuery-Plugin "pngFix"
* Version: 1.2, 09.03.2009
* by Andreas Eberhard, andreas.eberhard@gmail.com
* http://jquery.andreaseberhard.de/
*
* Copyright (c) 2007 Andreas Eberhard
* Licensed under GPL (http://w... | 108wo | statics/js/108wo/jquery.pngFix.js | JavaScript | asf20 | 4,780 |
// Simple Set Clipboard System
// Author: Joseph Huckaby
var ZeroClipboard = {
version: "1.0.7",
clients: {}, // registered upload clients on page, indexed by id
moviePath: 'ZeroClipboard.swf', // URL to movie
nextId: 1, // ID of next movie
$: function(thingy) {
// simple DOM lookup utility function
if (t... | 108wo | statics/js/108wo/zeroclipboard/ZeroClipboard.js | JavaScript | asf20 | 9,784 |
package {
// Simple Set Clipboard System
// Author: Joseph Huckaby
import flash.display.Stage;
import flash.display.Sprite;
import flash.display.LoaderInfo;
import flash.display.StageScaleMode;
import flash.events.*;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.externa... | 108wo | statics/js/108wo/zeroclipboard/ZeroClipboard.as | ActionScript | asf20 | 2,795 |
<html>
<head>
<title>Zero Clipboard Test</title>
<style type="text/css">
body { font-family:arial,sans-serif; font-size:9pt; }
.my_clip_button { width:150px; text-align:center; border:1px solid black; background-color:#ccc; margin:10px; padding:10px; cursor:default; font-size:9pt; }
.my_clip_button.hover { b... | 108wo | statics/js/108wo/zeroclipboard/test.html | HTML | asf20 | 2,318 |
/*
* jQuery Color Animations
* Copyright 2007 John Resig
* Released under the MIT and GPL licenses.
*/
(function(jQuery){
// We override the animation for all of these color styles
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColo... | 108wo | statics/js/108wo/jquery.color.js | JavaScript | asf20 | 5,091 |
function flash(url,w,h,bg,win,vars){
var s=
"<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://www.yongtu.net/swflash.cab#version=8,0,0,0' width='"+w+"' height='"+h+"' align='middle'>"+
"<param name='movie' value='"+url+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name... | 108wo | statics/js/108wo/flash.js | JavaScript | asf20 | 713 |
/**
* jquery.scrollFollow.js
* Copyright (c) 2008 Net Perspective (http://kitchen.net-perspective.com/)
* Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)
*
* @author R.A. Ray
*
* @projectDescription jQuery plugin for allowing an element to animate down as the user scro... | 108wo | statics/js/108wo/jquery.scrollfollow.js | JavaScript | asf20 | 7,932 |
var phpcms_path = '/';
var cookie_pre = 'sYQDUGqqzH';
var cookie_domain = '';
var cookie_path = '/';
function getcookie(name) {
name = cookie_pre+name;
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while(i < clen) {
var j = i + alen;
if(document.cook... | 108wo | statics/js/108wo/cookie.js | JavaScript | asf20 | 1,409 |
/* Copyright (c) 2009 Kelvin Luck (kelvin AT kelvinluck DOT com || http://www.kelvinluck.com)
* Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php)
* and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
*
* See http://kelvinluck.com/assets/jquery/jScrollPane/
*... | 108wo | statics/js/108wo/jScrollPane.js | JavaScript | asf20 | 23,352 |
/**
* 会员中心公用js
*
*/
/**
* 隐藏html element
*/
function hide_element(name) {
$('#'+name+'').fadeOut("slow");
}
/**
* 显示html element
*/
function show_element(name) {
$('#'+name+'').fadeIn("slow");
}
$(document).ready(function(){
$("input.input-text").blur(function () { this.className='inpu... | 108wo | statics/js/member_common.js | JavaScript | asf20 | 4,322 |
function FileProgress(file, targetID) {
this.fileProgressID = file.id;
this.opacity = 100;
this.height = 0;
this.fileProgressWrapper = document.getElementById(this.fileProgressID);
if (!this.fileProgressWrapper) {
this.fileProgressWrapper = document.createElement("div");
this.fileProgressWrapper.cl... | 108wo | statics/js/swfupload/fileprogress.js | JavaScript | asf20 | 6,050 |
function att_show(serverData,file)
{
var serverData = serverData.replace(/<div.*?<\/div>/g,'');
var data = serverData.split(',');
var id = data[0];
var src = data[1];
var ext = data[2];
var filename = data[3];
if(id == 0) {
alert(src)
return false;
}
if(ext == 1) {
var img = '<a href="javasc... | 108wo | statics/js/swfupload/handlers.js | JavaScript | asf20 | 5,548 |
var SWFUpload;
if (SWFUpload == undefined) {
SWFUpload = function (settings) {
this.initSWFUpload(settings);
};
}
SWFUpload.prototype.initSWFUpload = function (settings) {
try {
this.customSettings = {}; // A container where developers can place their own settings associated with this instance.
... | 108wo | statics/js/swfupload/unpack_swfupload.js | JavaScript | asf20 | 38,075 |
.attachment_show {float:left;color:#000;text-align:center;width:99px;}
.attachment_show li {line-height:180%;word-wrap:break-word;word-break:break-all;}
.attachment_show img {padding:3px;margin-bottom:3px;width:60px;height:60px;background:#fff;border:1px solid #dfdfdf;}
.progressWrapper {
overflow: hidden;
}
... | 108wo | statics/js/swfupload/swfupload.css | CSS | asf20 | 3,506 |
function flashupload(uploadid, name, textareaid, funcName, args, module, catid, authkey) {
var args = args ? '&args='+args : '';
var setting = '&module='+module+'&catid='+catid+'&authkey='+authkey;
window.top.art.dialog({title:name,id:uploadid,iframe:'index.php?m=attachment&c=attachments&a=swfupload'+args+setting... | 108wo | statics/js/swfupload/swf2ckeditor.js | JavaScript | asf20 | 3,245 |
/*
* sGallery 1.0 - simple gallery with jQuery
* made by bujichong 2009-11-25
* 作者:不羁虫 2009-11-25
* http://hi.baidu.com/bujichong/
* 欢迎交流转载,但请尊重作者劳动成果,标明插件来源及作者
*/
(function ($) {
$.fn.sGallery = function (o) {
return new $sG(this, o);
//alert('do');
};
var settings = {
thumbObj:n... | 108wo | statics/js/jquery.sGallery.js | JavaScript | asf20 | 5,606 |
.ContentPage{
background-color:#FDF8E3;
border-bottom:1px dashed #CCC;
padding:3px 10px
}
*{white-space: pre-wrap; /* css-3 */white-space: -moz-pre-wrap; /* Mozilla, since 1999 */white-space: -pre-wrap; /* Opera 4-6 */white-space: -o-pre-wrap; /* Opera 7 */ word-wrap: break-word; /* Internet Explorer 5.5+ */} | 108wo | statics/js/ckeditor/contents.css | CSS | asf20 | 318 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
config.uiColor = '#f7f5f4';... | 108wo | statics/js/ckeditor/config.js | JavaScript | asf20 | 1,999 |
/*
Copyright (c) 2005-2011, PHPCMS V9- Rocing Chan. All rights reserved.
For licensing, see http://www.phpcms.cn.com/license
*/
(function()
{
var loadcapture =
{
exec : function( editor )
{
var pluginNameExt = 'capture';
ext_editor = editor.name;
if(CKEDITOR.env.ie) {
try{
//va... | 108wo | statics/js/ckeditor/plugins/capture/plugin.js | JavaScript | asf20 | 1,949 |
/*
Copyright (c) 2003-2010, PHPCMS - PHPCMS TEAM. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('capture','zh-cn',
{
capture:
{
title:'PHPCMS在线截图',
notice:'PHPCMS在线截图控件安装',
notice_tips:'<p id="Capture">你还没有安装截图插件!<br />请使用 <a href="h... | 108wo | statics/js/ckeditor/plugins/capture/lang/zh-cn.js | JavaScript | asf20 | 692 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.add('uicolor',{requires:['dialog'],lang:['en'],init:function(a){if(CKEDITOR.env.ie6Compat)return;a.addCommand('uicolor',new CKEDITOR.dialogCommand('uic... | 108wo | statics/js/ckeditor/plugins/uicolor/plugin.js | JavaScript | asf20 | 670 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
CKEDITOR.plugins.setLang('uicolor','en',{uicolor:{title:'UI Color Picker',preview:'Live preview',config:'Paste this string into your config.js file',predefined:'Predefi... | 108wo | statics/js/ckeditor/plugins/uicolor/lang/en.js | JavaScript | asf20 | 343 |
/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/
| 108wo | statics/js/ckeditor/plugins/dialog/dialogDefinition.js | JavaScript | asf20 | 152 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">
<!--
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type... | 108wo | statics/js/ckeditor/plugins/wsc/dialogs/tmpFrameset.html | HTML | asf20 | 1,935 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<!--
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="... | 108wo | statics/js/ckeditor/plugins/wsc/dialogs/ciframe.html | HTML | asf20 | 1,120 |
$(document).ready(function() {
$("#q").suggest("?m=search&c=index&a=public_get_suggest_keyword&url="+encodeURIComponent('http://www.google.cn/complete/search?hl=zh-CN&q='+$("#q").val()), {
onSelect: function() {
alert(this.value);
}
});
});
var google={
ac:{
h:... | 108wo | statics/js/search_suggest.js | JavaScript | asf20 | 898 |
$(document).ready(function(){
//获取锚点即当前图片id
var picid = location.hash;
picid = picid.substring(1);
if(isNaN(picid) || picid=='' || picid==null) {
picid = 1;
}
picid = parseInt(picid);
//图集图片总数
var totalnum = $("#pictureurls li").length;
//如果当前图片id大于图片数,显示第一张图片
if(picid > totalnum || picid < 1) ... | 108wo | statics/js/show_picture.js | JavaScript | asf20 | 4,529 |
var regexEnum =
{
intege:"^-?[1-9]\\d*$", //整数
intege1:"^[1-9]\\d*$", //正整数
intege2:"^-[1-9]\\d*$", //负整数
num:"^([+-]?)\\d*\\.?\\d+$", //数字
num1:"^[1-9]\\d*|0$", //正数(正整数 + 0)
num2:"^-[1-9]\\d*|0$", //负数(负整数 + 0)
decmal:"^([+-]?)\\d*\\.\\d+$", //浮点数
decmal1:"^[1-9]\\d*.\\d*|0.\... | 108wo | statics/js/formvalidatorregex.js | JavaScript | asf20 | 3,836 |
var phpcms_path = '/';
var cookie_pre = 'sYQDUGqqzH';
var cookie_domain = '';
var cookie_path = '/';
function getcookie(name) {
name = cookie_pre+name;
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while(i < clen) {
var j = i + alen;
if(document.cook... | 108wo | statics/js/cookie.js | JavaScript | asf20 | 1,409 |
var ColorHex=new Array('00','33','66','99','CC','FF')
var SpColorHex=new Array('FF0000','00FF00','0000FF','FFFF00','00FFFF','FF00FF')
var current=null
var colorTable=''
function colorpicker(showid,fun) {
for (i=0;i<2;i++) {
for (j=0;j<6;j++) {
colorTable=colorTable+'<tr height=12>'
colorTable=colorTab... | 108wo | statics/js/colorpicker.js | JavaScript | asf20 | 3,100 |
/*! SWFObject v2.2 <http://code.google.com/p/swfobject/>
is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
*/
var swfobject = function() {
var UNDEF = "undefined",
OBJECT = "object",
SHOCKWAVE_FLASH = "Shockwave Flash",
SHOCKWAVE_FLASH_AX = "ShockwaveFlash.ShockwaveFlas... | 108wo | statics/js/swfobject.js | JavaScript | asf20 | 25,560 |
function checkradio(radio)
{
var result = false;
for(var i=0; i<radio.length; i++)
{
if(radio[i].checked)
{
result = true;
break;
}
}
return result;
}
function checkselect(select)
{
var result = false;
for(var i=0;i<select.length;i++)
{
if(select[i].selected && select[i].val... | 108wo | statics/js/form_ajax.js | JavaScript | asf20 | 1,402 |
jQuery.cookie = function(name, value, options) {
if (typeof value != 'undefined') { // name and value given, set cookie
options = options || {};
if (value === null) {
value = '';
options.expires = -1;
}
var expires = '';
if (options.expires && (typeof ... | 108wo | statics/js/jquery.cookie.js | JavaScript | asf20 | 1,717 |
<?php
$filetype['dir'] = "文件夹";
$filetype['gif'] = "GIF 图像";
$filetype['htm'] = "HTML Document";
$filetype['html'] = "HTML Document";
$filetype['shtml'] = "shtmlfile";
$filetype['php'] = "php 脚本";
$filetype['asp'] = "Active Server Page";
$filetype['do'] = "DO 文件";
$filetype['swf'] = "Shockwave Flash Object";
... | 108wo | statics/images/ext/ext.php | PHP | asf20 | 1,571 |