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 |
|---|---|---|---|---|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTOQLDV
{
public class DTOTuKhoaDiaDiem
{
private int _maTuKhoatenDiaDiem;
public int MaTuKhoatenDiaDiem
{
get { return _maTuKhoatenDiaDiem; }
set { _m... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/DTOQLDV/DTOTuKhoaDiaDiem.cs | C# | asf20 | 919 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTOQLDV
{
public class DTOPhuong
{
private int _maPhuong;
public int MaPhuong
{
get { return _maPhuong; }
set { _maPhuong = value; }
}
... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/DTOQLDV/DTOPhuong.cs | C# | asf20 | 608 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTOQLDV
{
public class DTODiaDiem
{
private int _maDiaDiem;
public int MaDiaDiem
{
get { return _maDiaDiem; }
set { _maDiaDiem = value; }
}
... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/DTOQLDV/DTODiaDiem.cs | C# | asf20 | 627 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTOQLDV
{
public class DTOTuKhoaQuanHuyen
{
private int _maTuKhoaQuanHuyen;
public int MaTuKhoaQuanHuyen
{
get { return _maTuKhoaQuanHuyen; }
set { _ma... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/DTOQLDV/DTOTuKhoaQuanHuyen.cs | C# | asf20 | 908 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace DTOQLDV
{
public class DTODuLieuEX
{
private String _tenDichVu;
public String TenDichVu
{
get { return _tenDichVu; }
set { _tenDichVu = value; }
... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/DTOQLDV/DTODuLieuEX.cs | C# | asf20 | 2,161 |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTi... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/Properties/AssemblyInfo.cs | C# | asf20 | 1,426 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using CTLQLDV;
using BUSQLDV;
namespace QLDV_DA
{
public partial class frmThemMoi : DevExpress.XtraEdito... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmThemMoi.cs | C# | asf20 | 3,751 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
namespace QLDV_DA
{
public partial class frmThongTin : DevExpress.XtraEditors.XtraForm
{
publi... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmThongTin.cs | C# | asf20 | 520 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Threading;
namespace QLDV_DA
{
public partial class frmTienDo : DevExpress.XtraEditors.XtraFor... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmTienDo.cs | C# | asf20 | 1,256 |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace QLDV_DA
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/Program.cs | C# | asf20 | 501 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DTOQLDV;
using BUSQLDV;
namespace QLDV_DA
{
public partial class frmXuLiTuDongDuLuLieuSai : DevExpress... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmXuLiTuDongDuLuLieuSai.cs | C# | asf20 | 2,885 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using DTOQLDV;
using CTLQLDV;
using BUSQLDV;
namespace QLDV_DA
{
public partial class frmCapNhat : DevExp... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmCapNhat.cs | C# | asf20 | 2,273 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using BUSQLDV;
using DTOQLDV;
using System.Configuration;
using System.Threading;
namespace QLDV_DA
{
public partia... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmMain.cs | C# | asf20 | 11,641 |
using System;
using System.Drawing;
using System.Collections;
using System.Windows.Forms;
using DevExpress.XtraGrid;
using DevExpress.XtraGrid.Columns;
using DevExpress.XtraEditors.Controls;
using DevExpress.XtraEditors.Repository;
using DevExpress.XtraGrid.Views.Base;
using DevExpress.XtraGrid.Views.Grid;
u... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/GridCheckMarksSelection.cs | C# | asf20 | 10,607 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using System.Threading;
using DTOQLDV;
using BUSQLDV;
using System.Configuration;
namespace QLDV_DA
{
p... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmsplash.cs | C# | asf20 | 1,917 |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using BUSQLDV;
using DTOQLDV;
using System.Runtime.InteropServices;
using System.Globalization;
namespace QLDV... | 10hca1-team4-qldv | trunk/ 10hca1-team4-qldv/QLDV_DA/frmNhapDuLieu.cs | C# | asf20 | 8,045 |
<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<head><title>V9 JS站群跨域</title></head>
<body onload="a()">
<script type="text/javascript">
function a(){
var q = location.search.replace('?','').split('|');
if (top.document.getElementById('comment_iframe')) top.document.getElementById... | 108wo | js.html | HTML | asf20 | 523 |
<?php
/**
* index.php PHPCMS 入口
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
define('PHPCMS_PATH', dirname(__FILE__).'/');
include PHPCMS_PATH.'/phpcms/base.php';
pc_base::creat_app();
?> | 108wo | phpsso_server/index.php | PHP | asf20 | 278 |
function confirmurl(url,message)
{
if(confirm(message)) redirect(url);
}
function redirect(url) {
if(url.indexOf('://') == -1 && url.substr(0, 1) != '/' && url.substr(0, 1) != '?') url = $('base').attr('href')+url;
location.href = url;
}
//滚动条
$(function(){
//inputStyle
$(":text").addClass('input-text')... | 108wo | phpsso_server/statics/js/admin_common.js | JavaScript | asf20 | 714 |
/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo
* The DHTML Calendar, version 1.0 "It is happening again"
* Details and latest version at:
* www.dynarch.com/projects/calendar
* This script is developed by Dynarch.com. Visit us at www.dynarch.com.
* This script is distributed under the GNU Lesse... | 108wo | phpsso_server/statics/js/calendar/calendar.js | JavaScript | asf20 | 47,290 |
/* 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 | phpsso_server/statics/js/calendar/calendar-blue.css | CSS | asf20 | 5,645 |
/*
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 = '#AADC6... | 108wo | phpsso_server/statics/js/ckeditor/config.js | JavaScript | asf20 | 331 |
/*
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 | phpsso_server/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 | phpsso_server/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 | phpsso_server/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 | phpsso_server/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 | phpsso_server/statics/js/ckeditor/plugins/wsc/dialogs/ciframe.html | HTML | asf20 | 1,120 |
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 | phpsso_server/statics/js/formvalidatorregex.js | JavaScript | asf20 | 3,840 |
/*! 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 | phpsso_server/statics/js/swfobject.js | JavaScript | asf20 | 25,560 |
/* 2010-06-01 */
.ui_title_wrap, .ui_bottom button { font-size:12px 'Microsoft Yahei', Arial; }
.ui_content_wrap { min-width:9em; }/*设置对话框最小尺寸*/
.ui_overlay div { background:#000; filter:alpha(opacity=70); opacity:0.7; }/*设置遮罩颜色与透明度*/
.ui_loading_tip { width:16px; height:16px; margin:-8px 0 0 -8px; text-indent:-9... | 108wo | phpsso_server/statics/css/dialog.css | CSS | asf20 | 4,917 |
/*数据列表*/
.table-list td,.table-list th{padding-left:12px}
.table-list thead th{ height:30px; background:#eef3f7; border-bottom:1px solid #d5dfe8; font-weight:normal}
.table-list tbody td,.table-list .btn{border-bottom: #eee 1px solid; height:28px;}
.table-list .btn{background:#f6f6f6; padding:6px 0 0 12px; height:3... | 108wo | phpsso_server/statics/css/table_form.css | CSS | asf20 | 4,007 |
body{color:#666}
a{text-decoration:none; color:#666}
a:hover{text-decoration:underline;}
.pad_10{padding:10px}.pad-lr-6{padding:0 6px}
.pad-6{padding:6px; overflow:hidden}.pad-10{padding:10px; overflow:hidden}.pad-lr-10{padding:0 10px}
.white,.white a{color:#fff}
.blue,.blue a{color:#377abe}
.cut_line span{ co... | 108wo | phpsso_server/statics/css/system.css | CSS | asf20 | 7,011 |
body,h1,h2,h3,h4,h5,h6,hr,p,blockquote,dl,dt,dd,ul,ol,li,pre,form,fieldset,legend,button,input,textarea,th,td{margin:0;padding:0;word-wrap:break-word}
body,button,input,select,textarea{font:12px/1.5 tahoma,arial,\5b8b\4f53,sans-serif;}
table{border-collapse:collapse;border-spacing:0;}td,th{padding-left:12px}img{borde... | 108wo | phpsso_server/statics/css/reset.css | CSS | asf20 | 1,816 |
/* 全局样式 */
*{margin:0;padding:0;border:0;}
body{background:#3a6ea5;}
.login_box{width:580px;height:320px;position:absolute;top:50%;left:50%;margin-left:-290px;margin-top:-160px;}
.login_box_top{background:url(../images/login_box_top.gif) no-repeat;width:580px;height:13px;}
.login_box_mid{background:url(../images/l... | 108wo | phpsso_server/statics/css/login.css | CSS | asf20 | 1,322 |
<?php
/**
* base.php PHPCMS框架入口文件
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-7
*/
define('IN_PHPCMS', true);
//PHPCMS框架路径
define('PC_PATH', dirname(__FILE__).DIRECTORY_SEPARATOR);
if(!defined('PHPCMS_PATH')) define('PHPCMS_PATH', PC_PAT... | 108wo | phpsso_server/phpcms/base.php | PHP | asf20 | 6,393 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
pc_base::load_sys_class('http', '', 0);
class messagequeue extends admin {
private $db;
/**
* 析构函数
*/
public function __construct() {
parent::__construct();
$this->db = pc_base::load_... | 108wo | phpsso_server/phpcms/modules/admin/messagequeue.php | PHP | asf20 | 3,531 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
pc_base::load_app_class('messagequeue', 'admin' , 0);
pc_base::load_sys_class('format', '', 0);
pc_base::load_sys_class('form', '', 0);
class member extends admin {
private $db, $config;
/**
*... | 108wo | phpsso_server/phpcms/modules/admin/member.php | PHP | asf20 | 9,207 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('credit_manage');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('credit_add')?></h2>
<div class="content-menu ib-a blue line-x">
<a href="?m=admin&c=... | 108wo | phpsso_server/phpcms/modules/admin/templates/credit_add.tpl.php | PHP | asf20 | 2,023 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('system_setting');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('system_setting')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?m=admin&c=... | 108wo | phpsso_server/phpcms/modules/admin/templates/system_uc.tpl.php | PHP | asf20 | 4,452 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title=L('application_manage');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('application_manage')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?m=adm... | 108wo | phpsso_server/phpcms/modules/admin/templates/applications_list.tpl.php | PHP | asf20 | 2,524 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('modification_succeed');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript">
<!--
$... | 108wo | phpsso_server/phpcms/modules/admin/templates/administrator_edit.tpl.php | PHP | asf20 | 1,813 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>... | 108wo | phpsso_server/phpcms/modules/admin/templates/login.tpl.php | PHP | asf20 | 3,109 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('index');$show_scroll = 1;
include $this->admin_tpl('header');
?>
<div class="pad-lr-10">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('phpsso')?></h2>
<table width="100%" class="table_form">
<tr>
<th width... | 108wo | phpsso_server/phpcms/modules/admin/templates/right.tpl.php | PHP | asf20 | 2,156 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('clean_cache');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('clean_cache')?></h2>
<div class="content-menu ib-a blue line-x">
<em>
<?php echo L... | 108wo | phpsso_server/phpcms/modules/admin/templates/cache.tpl.php | PHP | asf20 | 1,150 |
<?php defined('IN_ADMIN') or exit('No permission resources.'); ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSE... | 108wo | phpsso_server/phpcms/modules/admin/templates/showmessage.tpl.php | PHP | asf20 | 2,604 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo CHARSET... | 108wo | phpsso_server/phpcms/modules/admin/templates/index.tpl.php | PHP | asf20 | 5,801 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('member_manage');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('member_manage')?></h2>
<div class="content-menu ib-a blue line-x">
<div class="rt">... | 108wo | phpsso_server/phpcms/modules/admin/templates/member_list.tpl.php | PHP | asf20 | 3,866 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('application_add');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/java... | 108wo | phpsso_server/phpcms/modules/admin/templates/applications_add.tpl.php | PHP | asf20 | 4,769 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('system_setting');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('system_setting')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?m=admin&c=... | 108wo | phpsso_server/phpcms/modules/admin/templates/system.tpl.php | PHP | asf20 | 1,521 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('credit_change');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('credit_manage')?></h2>
<div class="content-menu ib-a blue line-x">
<a href="?m=admin&... | 108wo | phpsso_server/phpcms/modules/admin/templates/credit_list.tpl.php | PHP | asf20 | 1,906 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title=L('admin_manage');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('admin_manage')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?m=admin&c=adminis... | 108wo | phpsso_server/phpcms/modules/admin/templates/administrator_list.tpl.php | PHP | asf20 | 1,793 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('member_edit');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascrip... | 108wo | phpsso_server/phpcms/modules/admin/templates/member_edit.tpl.php | PHP | asf20 | 3,073 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="IE=7" http-equiv="X-UA-Compatible">
<meta http-equiv="Content-... | 108wo | phpsso_server/phpcms/modules/admin/templates/header.tpl.php | PHP | asf20 | 2,255 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('communicate_info');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('communicate_info')?></h2>
</div>
<form action="?m=admin&c=messagequeue&a=delete" met... | 108wo | phpsso_server/phpcms/modules/admin/templates/messagequeue_list.tpl.php | PHP | asf20 | 3,071 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('application_edit');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/jav... | 108wo | phpsso_server/phpcms/modules/admin/templates/applications_edit.tpl.php | PHP | asf20 | 5,430 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('member_add');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javascript... | 108wo | phpsso_server/phpcms/modules/admin/templates/member_add.tpl.php | PHP | asf20 | 3,330 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title=L('change_password');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script language="javascript" type="text/javasc... | 108wo | phpsso_server/phpcms/modules/admin/templates/password.tpl.php | PHP | asf20 | 2,272 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('add_admin');
include $this->admin_tpl('header');
?>
<script language="javascript" type="text/javascript" src="<?php echo JS_PATH?>formvalidator.js" charset="UTF-8"></script>
<script type="text/javascript">
<!--
$(function()... | 108wo | phpsso_server/phpcms/modules/admin/templates/administrator_add.tpl.php | PHP | asf20 | 2,458 |
<?php defined('IN_ADMIN') or exit('No permission resources.');?>
<?php
$page_title = L('system_setting');
include $this->admin_tpl('header');
?>
<div class="subnav">
<h2 class="title-1 line-x f14 fb blue lh28"><?php echo L('system_setting')?></h2>
<div class="content-menu ib-a blue line-x"><a href="?m=admin&c=... | 108wo | phpsso_server/phpcms/modules/admin/templates/system_sp4.tpl.php | PHP | asf20 | 1,697 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class password extends admin {
private $db;
public function __construct() {
$this->db = pc_base::load_model('admin_model');
parent::__construct();
}
public function init() {
if (isset($_POS... | 108wo | phpsso_server/phpcms/modules/admin/password.php | PHP | asf20 | 1,581 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class applications extends admin {
private $db;
public function __construct() {
$this->db = pc_base::load_model('applications_model');
parent::__construct();
}
public function init() {
$... | 108wo | phpsso_server/phpcms/modules/admin/applications.php | PHP | asf20 | 7,386 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class index extends admin {
private $db, $messagequeue_db;
/**
* 析构函数
*/
public function __construct() {
parent::__construct();
}
public function init() {
$userinfo = $this->ge... | 108wo | phpsso_server/phpcms/modules/admin/index.php | PHP | asf20 | 1,450 |
<?php
define('IN_ADMIN', true);
class admin {
//数据库连接
private $db;
//错误代码
private $err_code;
/**
* 构造函数
* @param integer $issuper 是否为超级管理员
*/
public function __construct($issuper = 0) {
$this->db = pc_base::load_model('admin_model');
$this->check_admin($issuper);
pc_base::load_app_fu... | 108wo | phpsso_server/phpcms/modules/admin/classes/admin.class.php | PHP | asf20 | 3,409 |
<?php
class messagequeue {
private $db;
private static function get_db() {
return pc_base::load_model('messagequeue_model');
}
/**
* 添加队列信息
*/
public static function add($operation, $noticedata_send) {
$db = self::get_db();
$noticedata_send['action'] = $operation;
$noticedata_sen... | 108wo | phpsso_server/phpcms/modules/admin/classes/messagequeue.class.php | PHP | asf20 | 2,344 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
class administrator extends admin{
private $db;
public function __construct() {
$this->db = pc_base::load_model('admin_model');
parent::__construct(1);
}
public function init() {
$tot... | 108wo | phpsso_server/phpcms/modules/admin/administrator.php | PHP | asf20 | 4,165 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class system extends admin {
private $db;
/**
* 析构函数
*/
public function __construct() {
parent::__construct(1);
$this->db = pc_base::load_model('settings_model');
}
/**
* 首页
... | 108wo | phpsso_server/phpcms/modules/admin/system.php | PHP | asf20 | 3,643 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
pc_base::load_app_class('messagequeue', 'admin' , 0);
class credit extends admin {
private $db;
/**
* 析构函数
*/
public function __construct() {
parent::__construct();
$this->db = pc_bas... | 108wo | phpsso_server/phpcms/modules/admin/credit.php | PHP | asf20 | 3,496 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin', 'admin', 0);
class cache extends admin {
private $db, $applications_db;
/**
* 析构函数
*/
public function __construct() {
parent::__construct(1);
$this->db = pc_base::load_model('setting_model');
$t... | 108wo | phpsso_server/phpcms/modules/admin/cache.php | PHP | asf20 | 938 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('admin','admin',0);
pc_base::load_sys_class('form', '', 0);
$session_storage = 'session_'.pc_base::load_config('system','session_storage');
pc_base::load_sys_class($session_storage);
class login extends admin {
/**
* 初... | 108wo | phpsso_server/phpcms/modules/admin/login.php | PHP | asf20 | 1,690 |
<?php
/**
* 生成加密后的密码
* @param string $password 密码
* @return array 加密后的密码
*/
function creat_password($password) {
$encrypt = substr(md5(rand()), 0, 6);
return array(md5(md5($password).$encrypt),$encrypt);
}
/**
* 发送数据
* @param $action 操作
* @param $data 数据
*/
function ps_send(... | 108wo | phpsso_server/phpcms/modules/admin/functions/global.func.php | PHP | asf20 | 4,710 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_app_class('phpsso', 'phpsso', 0);
pc_base::load_app_class('messagequeue', 'admin' , 0);
pc_base::load_app_func('global', 'admin');
class index extends phpsso {
private $username, $config;
public function __construct() {
pa... | 108wo | phpsso_server/phpcms/modules/phpsso/index.php | PHP | asf20 | 20,850 |
<?php
// --------------------------------------------------------------------------------
// PhpConcept Library - Zip Module 2.6
// --------------------------------------------------------------------------------
// License GNU/LGPL - Vincent Blavet - March 2006
// http://www.phpconcept.net
// -------------------... | 108wo | phpsso_server/phpcms/modules/phpsso/classes/pclzip.class.php | PHP | asf20 | 254,403 |
<?php
define('IN_PHPSSO', true);
class phpsso {
public $db, $settings, $applist, $appid, $data;
/**
* 构造函数
*/
public function __construct() {
$this->db = pc_base::load_model('member_model');
pc_base::load_app_func('global');
/*获取系统配置*/
$this->settings = getcache('settings', 'admin');
... | 108wo | phpsso_server/phpcms/modules/phpsso/classes/phpsso.class.php | PHP | asf20 | 1,232 |
<?php
/**
* 生成随机字符串
* @param string $lenth 长度
* @return string 字符串
*/
function create_randomstr($lenth = 6) {
return random($lenth, '123456789abcdefghijklmnpqrstuvwxyzABCDEFGHIJKLMNPQRSTUVWXYZ');
}
/**
*
* @param $password 密码
* @param $random 随机数
*/
function create_password($password='', $r... | 108wo | phpsso_server/phpcms/modules/phpsso/functions/global.func.php | PHP | asf20 | 561 |
<?php
/**
* cache_factory.class.php 缓存工厂类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
final class cache_factory {
/**
* 当前缓存工厂类静态实例
*/
private static $cache_factory;
/**
* 缓存配置列表
*/
protected $cache_config = arr... | 108wo | phpsso_server/phpcms/libs/classes/cache_factory.class.php | PHP | asf20 | 2,318 |
<?php
/**
* mysql.class.php 数据库实现类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
final class mysql {
/**
* 数据库配置信息
*/
private $config = null;
/**
* 数据库连接资源句柄
*/
public $link = null;
/**
* 最近一次查询资源句柄
*/
... | 108wo | phpsso_server/phpcms/libs/classes/mysql.class.php | PHP | asf20 | 12,363 |
<?php
class cache_file {
/*缓存默认配置*/
protected $_setting = array(
'suf' => '.cache.php', /*缓存文件后缀*/
'type' => 'array', /*缓存格式:array数组,serialize序列化,null字符串*/
);
/*缓存路径*/
protected $filepath = '';
/**
* 构造函数
* @param array $setting 缓存配置
* @return void
*/
public function __const... | 108wo | phpsso_server/phpcms/libs/classes/cache_file.class.php | PHP | asf20 | 3,832 |
<?php
class form {
/**
* 编辑器
* @param int $textareaid
* @param int $toolbar
* @param string $module 模块名称
* @param int $catid 栏目id
* @param int $color 编辑器颜色
* @param boole $allowupload 是否允许上传
* @param boole $allowbrowser 是否允许浏览文件
* @param string $alowuploadexts 允许上传类型
*/
public stati... | 108wo | phpsso_server/phpcms/libs/classes/form.class.php | PHP | asf20 | 11,489 |
<?php
class cache_memcache {
private $memcache = null;
public function __construct() {
$this->memcache = new Memcache;
$this->memcache->connect(MEMCACHE_HOST, MEMCACHE_PORT, MEMCACHE_TIMEOUT);
}
public function memcache() {
$this->__construct();
}
public function get($name) {
$value = ... | 108wo | phpsso_server/phpcms/libs/classes/cache_memcache.class.php | PHP | asf20 | 664 |
<?php
/**
* 通用的树型类,可以生成任何树型结构
*/
class tree {
/**
* 生成树型结构所需要的2维数组
* @var array
*/
public $arr = array();
/**
* 生成树型结构所需修饰符号,可以换成图片
* @var array
*/
public $icon = array('│','├','└');
/**
* @access private
*/
public $ret = '';
/**
* 构造函数,初始化类
* @param array 2维数组,例如:
* array(... | 108wo | phpsso_server/phpcms/libs/classes/tree.class.php | PHP | asf20 | 4,139 |
<?php
/**
* db_factory.class.php 数据库工厂类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
final class db_factory {
/**
* 当前数据库工厂类静态实例
*/
private static $db_factory;
/**
* 数据库配置列表
*/
protected $db_config = array();
... | 108wo | phpsso_server/phpcms/libs/classes/db_factory.class.php | PHP | asf20 | 2,208 |
<?php
/**
* 模板解析缓存
*/
final class template_cache {
/**
* 编译模板
*
* @param $module 模块名称
* @param $template 模板文件名
* @param $istag 是否为标签模板
* @return unknown
*/
public function template_compile($module, $template, $style = 'default') {
$tplfile = $_tpl = PC_PATH.'templates/'.$style.... | 108wo | phpsso_server/phpcms/libs/classes/template_cache.class.php | PHP | asf20 | 5,281 |
<?php
/**
* param.class.php 参数处理类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-7
*/
class param {
//路由配置
private $route_config = '';
public function __construct() {
if(!get_magic_quotes_gpc()) {
$_POST = new_addslashes($_POST);... | 108wo | phpsso_server/phpcms/libs/classes/param.class.php | PHP | asf20 | 3,103 |
<?php
/**
* application.class.php PHPCMS应用程序创建类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-7
*/
class application {
/**
* 构造函数
*/
public function __construct() {
$param = pc_base::load_sys_class('param');
define('ROUTE_M', $... | 108wo | phpsso_server/phpcms/libs/classes/application.class.php | PHP | asf20 | 1,482 |
<?php
class format {
/**
* 日期格式化
*
* @param $timestamp
* @param $showtime
*/
public static function date($timestamp, $showtime = 0) {
if (empty($timestamp)) return false;
$times = intval($timestamp);
if(!$times) return true;
$lang = pc_base::load_config('system','lang');
if($lang == ... | 108wo | phpsso_server/phpcms/libs/classes/format.class.php | PHP | asf20 | 874 |
<?php
/**
* session mysql 数据库存储类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-8
*/
class session_mysql {
var $lifetime = 1800;
var $db;
var $table;
/**
* 构造函数
*
*/
public function __construct() {
$this->db = pc_base::load_m... | 108wo | phpsso_server/phpcms/libs/classes/session_mysql.class.php | PHP | asf20 | 2,527 |
<?php
class http {
var $method;
var $cookie;
var $post;
var $header;
var $ContentType;
var $errno;
var $errstr;
function __construct() {
$this->method = 'GET';
$this->cookie = '';
$this->post = '';
$this->header = '';
$this->errno = 0;
$this->errstr = '';
}
function pos... | 108wo | phpsso_server/phpcms/libs/classes/http.class.php | PHP | asf20 | 12,888 |
<?php
/**
* model.class.php 数据模型基类
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-7
*/
pc_base::load_sys_class('db_factory', '', 0);
class model {
//数据库配置
protected $db_config = '';
//数据库连接
protected $db = '';
//调用数据库的配置项
protec... | 108wo | phpsso_server/phpcms/libs/classes/model.class.php | PHP | asf20 | 6,406 |
<?php
/**
* @author wangtiecheng(jim_@live.cn)
* @link http://www.phpcms.cn http://www.ku6.cn
* @copyright 2005-2009 PHPCMS/KU6 Software LLCS
* @license http://www.phpcms.cn/license/
* @datetime Wed Aug 05 18:37:10 CST 2009
* @lastmodify Wed Aug 05 18:37:10 CST 2009
* ---------------------... | 108wo | phpsso_server/phpcms/libs/classes/xml.class.php | PHP | asf20 | 4,354 |
<?php
/**
* 生成验证码
* @author chenzhouyu
* 类用法
* $checkcode = new checkcode();
* $checkcode->doimage();
* //取得验证
* $_SESSION['code']=$checkcode->get_code();
*/
class checkcode {
//验证码的宽度
public $width=130;
//验证码的高
public $height=50;
//设置字体的地址
public $font;
//设置字体色
public $font_c... | 108wo | phpsso_server/phpcms/libs/classes/checkcode.class.php | PHP | asf20 | 3,765 |
<?php
define('CODETABLEDIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'encoding'.DIRECTORY_SEPARATOR);
function utf8_to_gbk($utfstr)
{
global $UC2GBTABLE;
$okstr = '';
if(empty($UC2GBTABLE))
{
$filename = CODETABLEDIR.'gb-unicode.table';
$fp = fopen($filename, 'rb');
while($l = fgets($fp,15))
{ ... | 108wo | phpsso_server/phpcms/libs/functions/iconv.func.php | PHP | asf20 | 4,781 |
<?php
/**
* global.func.php 公共函数库
*
* @copyright (C) 2005-2010 PHPCMS
* @license http://www.phpcms.cn/license/
* @lastmodify 2010-6-1
*/
/**
* 返回经addslashes处理过的字符串或数组
* @param $string 需要处理的字符串或数组
* @return mixed
*/
function new_addslashes($string) {
if(!is_array($string)) return addsl... | 108wo | phpsso_server/phpcms/libs/functions/global.func.php | PHP | asf20 | 25,869 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class messagequeue_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'messagequeue';
paren... | 108wo | phpsso_server/phpcms/model/messagequeue_model.class.php | PHP | asf20 | 348 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class credit_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'members';
parent::__const... | 108wo | phpsso_server/phpcms/model/credit_model.class.php | PHP | asf20 | 338 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class admin_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'admin';
parent::__construct... | 108wo | phpsso_server/phpcms/model/admin_model.class.php | PHP | asf20 | 334 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class session_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'session';
parent::__const... | 108wo | phpsso_server/phpcms/model/session_model.class.php | PHP | asf20 | 338 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class uc_model extends model {
public function __construct($db_config) {
$this->db_config = array('ucenter'=>$db_config);
$this->db_setting = 'ucenter';
$this->table_name = 'members';
parent::__cons... | 108wo | phpsso_server/phpcms/model/uc_model.class.php | PHP | asf20 | 339 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class member_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'members';
parent::__constr... | 108wo | phpsso_server/phpcms/model/member_model.class.php | PHP | asf20 | 680 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class member_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'members';
parent::__constr... | 108wo | phpsso_server/phpcms/model/cache_model.class.php | PHP | asf20 | 337 |
<?php
defined('IN_PHPCMS') or exit('No permission resources.');
pc_base::load_sys_class('model', '', 0);
class settings_model extends model {
public function __construct() {
$this->db_config = pc_base::load_config('database');
$this->db_setting = 'default';
$this->table_name = 'settings';
parent::__con... | 108wo | phpsso_server/phpcms/model/settings_model.class.php | PHP | asf20 | 340 |