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
class smtp
{
/* Public Variables */
var $smtp_port;
var $time_out;
var $host_name;
var $log_file;
var $relay_host;
var $debug;
var $auth;
var $user;
var $pass;
/* Private Variables */
var $sock;
/* Constractor */
function smtp($relay_host = "", $smtp_port = 25,$auth = f... | zyyhong | trunk/jiaju001/news/include/mail.class.php | PHP | asf20 | 7,044 |
<?php
//class SiteMap
//--------------------------------
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_channel_unit_functions.php");
class SiteMap
{
var $dsql;
var $artDir;
var $baseDir;
//-------------
//php5构造函数
//-------------
function __construct... | zyyhong | trunk/jiaju001/news/include/inc_sitemap.php | PHP | asf20 | 3,087 |
<?php
require_once './../../site/cache/ad_index.php'; $ad= unserialize(stripslashes($ad));
?>
<div class="fr col_l">
<div class="note"><div style="text-align:right"><div style="float:left"><strong>活动与公告</strong></div><a href='http://www.homebjjj.com/huodong/'>更多>></a></div>
<?php
if($ad['event']){foreach($ad['e... | zyyhong | trunk/jiaju001/news/include/right1.php | PHP | asf20 | 1,383 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
$dsql = $db = new DedeSql(false);
global $sqlsaefCheck;
$sqlsaefCheck = true;
if(defined('DEDEADMIN')) $sqlsaefCheck = false;
class DedeSql
{
var $linkID;
var $dbHost;
var $dbUser;
var $dbPwd;
var $dbName;
var $dbPrefix;
var $... | zyyhong | trunk/jiaju001/news/include/pub_db_mysql.php | PHP | asf20 | 13,156 |
<?php
//class TypeTree
//目录树(用于选择栏目)
//--------------------------------
require_once(dirname(__FILE__)."/../data/cache/inc_catalog_base.php");
class TypeTreeMember
{
var $dsql;
var $artDir;
var $baseDir;
var $idCounter;
var $idArrary;
var $shortName;
//-------------
//php5构造函数
//-------------... | zyyhong | trunk/jiaju001/news/include/inc_type_tree_member.php | PHP | asf20 | 3,851 |
<?php
//随机字符串,请在"#,"后填上你网站的广告语或网址
#start#------本行不允许更改
#,字串1
#,字串2
#,字串3
#,字串4
#,字串5
#,字串6
#,字串7
#,字串8
#,字串9
#end#--------本行不允许更改
//------------------------------
?> | zyyhong | trunk/jiaju001/news/include/data/downmix.php | PHP | asf20 | 290 |
<?php
require_once(dirname(__FILE__)."/pub_charset.php");
/*******************************
//HTML解析器
function c____DedeHtml();
********************************/
class DedeHtml
{
var $SourceHtml = "";
var $Title = "";
var $IsJump = false;
var $IsFrame = false;
var $JumpUrl = "";
var $BodyText = "";
... | zyyhong | trunk/jiaju001/news/include/pub_dedehtml.php | PHP | asf20 | 17,252 |
<?php
require_once(dirname(__FILE__)."/../config_base.php");
require_once(dirname(__FILE__)."/../inc_type_tree_member.php");
if(!isset($dopost)) $dopost = '';
if(!isset($c)) $c = 0;
$opall = (empty($opall) ? false : true);
$issend = (empty($issend) ? 1 : $issend);
$channelid = (empty($channelid) ? 0 : $channelid... | zyyhong | trunk/jiaju001/news/include/dialoguser/catalog_tree.php | PHP | asf20 | 3,613 |
<?php
//该页仅用于检测用户登录的情况,如要手工更改系统配置,请更改config_base.php
require_once(dirname(__FILE__)."/../config_base.php");
require_once(dirname(__FILE__)."/../inc_memberlogin.php");
//获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项
$dedeNowurl = "";
$s_scriptName="";
$dedeNowurl = GetCurUrl();
$dedeNowurls = explode("?",$dedeNowur... | zyyhong | trunk/jiaju001/news/include/dialoguser/config.php | PHP | asf20 | 720 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($mediatype)) $mediatype = 1;
require_once(dirname(__FILE__)."/all_medias.php");
?> | zyyhong | trunk/jiaju001/news/include/dialoguser/select_images.php | PHP | asf20 | 148 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../pub_datalist_dm.php");
require_once(dirname(__FILE__)."/../inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
if(empty($f)) $f = '';
if(empty($v)) $v ='';
if(empty($mediatype)) $mediatype = 0;
... | zyyhong | trunk/jiaju001/news/include/dialoguser/all_medias.php | PHP | asf20 | 1,436 |
td {font-size: 9pt;line-height: 1.5;}
body {
font-size: 9pt;
line-height: 1.5;
scrollbar-base-color:#C0D586;
scrollbar-arrow-color:#FFFFFF;
scrollbar-shadow-color:DEEFC6
}
a:link { font-size: 9pt; color: #000000; text-decoration: none }
a:visited{ font-size: 9pt; color: #000000; text-decoration: none... | zyyhong | trunk/jiaju001/news/include/dialoguser/base.css | CSS | asf20 | 874 |
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>附件数据管理</title>
<link href='base.css' rel='stylesheet' type='text/css'>
<style>
.napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3}
</style>
<script>
function $DE(eid){ return document.getElementById(... | zyyhong | trunk/jiaju001/news/include/dialoguser/all_medias.htm | HTML | asf20 | 6,384 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($mediatype)) $mediatype = 2;
require_once(dirname(__FILE__)."/all_medias.php");
?> | zyyhong | trunk/jiaju001/news/include/dialoguser/select_media.php | PHP | asf20 | 148 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($mediatype)) $mediatype = 4;
require_once(dirname(__FILE__)."/all_medias.php");
?> | zyyhong | trunk/jiaju001/news/include/dialoguser/select_soft.php | PHP | asf20 | 148 |
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
function heartBeat()
{
if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; }
if(NS) { diffY = self.pageYOffset; diffX... | zyyhong | trunk/jiaju001/news/include/dialoguser/float.js | JavaScript | asf20 | 4,203 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../inc_photograph.php");
if(empty($job)) $job = "";
CheckUserSpace($cfg_ml->M_ID);
//检测或创建用户目录
$rootdir = $cfg_user_dir."/".$cfg_ml->M_ID;
if(!is_dir($cfg_basedir.$rootdir)){
CreateDir($rootdir);
CloseFtp();
}
if(em... | zyyhong | trunk/jiaju001/news/include/dialoguser/medias_upload.php | PHP | asf20 | 2,754 |
/*Copyright Mihai Bazon, 2002, 2003|http://dynarch.com/mishoo/ */
Calendar = function (mondayFirst, dateStr, onSelected, onClose) {
// member variables
this.activeDiv = null;
this.currentDateEl = null;
this.getDateStatus = null;
this.timeout = null;
this.onSelected = onSelected || null;
this.onClose = on... | zyyhong | trunk/jiaju001/news/include/calendar/calendar.js | JavaScript | asf20 | 49,864 |
.calendar {
position: relative;
display: none;
border-top: 2px solid #fff;
border-right: 2px solid #000;
border-bottom: 2px solid #000;
border-left: 2px solid #fff;
font-size: 11px;
color: #000;
cursor: default;
background: #d4d0c8;
font-family: tahoma,verdana,sans-serif;
}
.calenda... | zyyhong | trunk/jiaju001/news/include/calendar/calendar-win2k-1.css | CSS | asf20 | 5,917 |
// ** I18N
// Calendar EN language
// Author: Mihai Bazon, <mishoo@infoiasi.ro>
// Encoding: any
// Distributed under the same terms as the calendar itself.
// For translators: please use UTF-8 if possible. We strongly believe that
// Unicode is the answer to a real internationalized world. Also please
// ... | zyyhong | trunk/jiaju001/news/include/calendar/calendar-cn.js | JavaScript | asf20 | 3,135 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(DEDEINC."/inc_channel_unit_functions.php");
require_once(DEDEINC."/pub_dedetag.php");
require_once(DEDEINC."/inc_bookfunctions.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
/... | zyyhong | trunk/jiaju001/news/include/inc_arcbook_view.php | PHP | asf20 | 26,744 |
<?php
header("Location:vdimgck.php\r\n");
?> | zyyhong | trunk/jiaju001/news/include/validateimg.php | PHP | asf20 | 47 |
<?php
/*----------------------------------------------
Copyright 2004-2006 by DedeCms.com itprato
Dede Tag模板解析引挚 V4.1 版
最后修改日期:2006-7-4 PHP版本要求:大于或等于php 4.1
---------------------------------------------*/
/****************************************
class DedeTag 标记的数据结构描述
function c____DedeTag();
*************... | zyyhong | trunk/jiaju001/news/include/pub_dedetag.php | PHP | asf20 | 20,583 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
session_start();
$GLOBALS['groupRanks'] = '';
//检验用户是否有权使用某功能
function TestPurview($n)
{
global $groupRanks;
$rs = false;
$purview = $GLOBALS['cuserLogin']->getPurview();
if(eregi('admin_AllowAll',$purview)) return true;
if($n=='') return... | zyyhong | trunk/jiaju001/news/include/inc_userlogin.php | PHP | asf20 | 7,070 |
<?php
/*-------------------------------------------------------
使用方法
1、把本文件放到 include 文件夹
2、在 inc_archives_view.php 中引入本文件
require_once(dirname(__FILE__)."/inc_downclass.php");
3、然后文章模板的{dede:field name='body'/}标记中加入 function='RndString(@me)'
即是改为 {dede:field name='body' function='RndString(@me)'/}
-----------... | zyyhong | trunk/jiaju001/news/include/inc_downclass.php | PHP | asf20 | 3,092 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(DEDEINC."/pub_dedetag.php");
require_once(DEDEINC."/inc_channel_unit_functions.php");
$GLOBALS['cfg_softinfos'] = '';
/*----------------------------------
表示特定频道的附加数据结构信息
function C____ChannelUnit();
-----------------------------------... | zyyhong | trunk/jiaju001/news/include/inc_channel_unit.php | PHP | asf20 | 16,528 |
<?php
/*-----------------------------
本函数用于作为通用的标记解析器
考虑性能原因,大部份使用引用调用,使用时必须注意
------------------------*/
function MakePublicTag(&$thisObj,&$tagObj,&$partObj,&$typeLink,$envTypeid=0,$envArcid=0,$envChannelid=0)
{
//解析模板
//-------------------------
if( is_array($tagObj->CTags) )
{
foreach($tagObj->... | zyyhong | trunk/jiaju001/news/include/inc_pubtag_make.php | PHP | asf20 | 10,181 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
/*------------------------
DedeCms在线采集程序V2
作者:IT柏拉图
开发时间 2006年9月 最后更改时间 2007-1-17
-----------------------*/
require_once(DEDEINC."/pub_httpdown.php");
require_once(DEDEINC."/pub_dedetag.php");
require_once(DEDEINC."/pub_charset.php");
require_... | zyyhong | trunk/jiaju001/news/include/pub_collection.php | PHP | asf20 | 25,735 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_arcpart_view.php");
require_once(dirname(__FILE__)."/inc_downclass.php");
require_once(dirname(__FILE__)."/inc_channel_unit.php");
require_once(dirname(__FILE__)."/inc_pubtag_make.php");
/*************************... | zyyhong | trunk/jiaju001/news/include/inc_archives_view.php | PHP | asf20 | 25,215 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_arcpart_view.php");
require_once(dirname(__FILE__)."/inc_pubtag_make.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
//本类的用途是用于浏览频道列表或对内容列表生成HTML
******... | zyyhong | trunk/jiaju001/news/include/inc_arclist_view.php | PHP | asf20 | 33,074 |
<!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>系统提示</title>
<link href="<?php echo $cfg_cmspath; ?>/templets/sty... | zyyhong | trunk/jiaju001/news/include/alert.htm | HTML | asf20 | 2,218 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_typelink.php");
require_once(dirname(__FILE__)."/pub_dedetag.php");
require_once(dirname(__FILE__)."/pub_splitword_www.php");
/******************************************************
//Copyright 2004-2006 by DedeCm... | zyyhong | trunk/jiaju001/news/include/inc_arcsearch_view.php | PHP | asf20 | 18,011 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_channel_unit_functions.php");
//-------------------------------------
//class TypeLink
//获得文章的位置和文章的类目位置等
//凡以Logic开头的成员,一般在内调用,不在外调用(相当于保护级成员)
//-------------------------------------
class TypeLink
{
var $ty... | zyyhong | trunk/jiaju001/news/include/inc_typelink.php | PHP | asf20 | 13,031 |
<?php
if(!empty($_GET['gurl'])){
echo "<script>location=\"{$_GET['gurl']}\";</script>";
}
?> | zyyhong | trunk/jiaju001/news/include/jump.php | PHP | asf20 | 98 |
<?php
//本文件用于扩展采集结果
//下载居于http 1.1协议的防盗链图片
//------------------------------------
function DownImageKeep($gurl,$rfurl,$filename,$gcookie="",$JumpCount=0,$maxtime=30){
$urlinfos = GetHostInfo($gurl);
$ghost = trim($urlinfos['host']);
if($ghost=='') return false;
$gquery = $urlinfos['query'];
if(... | zyyhong | trunk/jiaju001/news/include/pub_collection_functions.php | PHP | asf20 | 5,197 |
<?php
//检测用户系统支持的图片格式
$cfg_photo_type['gif'] = false;
$cfg_photo_type['jpeg'] = false;
$cfg_photo_type['png'] = false;
$cfg_photo_type['wbmp'] = false;
$cfg_photo_typenames = Array();
$cfg_photo_support = "";
if(function_exists("imagecreatefromgif") && function_exists("imagegif")){
$cfg_photo_type["gif"] = t... | zyyhong | trunk/jiaju001/news/include/inc_photograph.php | PHP | asf20 | 9,522 |
<?php
/*************************************************
本文件的信息不建议用户自行更改,否则发生意外自行负责
**************************************************/
error_reporting(E_ALL || ~E_NOTICE);
define('DEDEINC',dirname(__FILE__));
//全局安全检测
foreach($_REQUEST AS $_k => $_v) {
if(eregi("^(globals|cfg_)",$_k)) exit('Request v... | zyyhong | trunk/jiaju001/news/include/config_base.php | PHP | asf20 | 4,705 |
<?php
//拼音的缓冲数组
$pinyins = Array();
$g_ftpLink = false;
//判断软件语言
if( !isset($cfg_ver_lang) ){
if(eregi('utf',$cfg_version)) $cfg_ver_lang = 'utf-8';
else $cfg_ver_lang = 'gb2312';
}
if($cfg_ver_lang=='utf-8') include_once(dirname(__FILE__).'/pub_charset.php');
//客户端与服务时间差校正
function mytime()
{
ret... | zyyhong | trunk/jiaju001/news/include/inc_functions.php | PHP | asf20 | 23,374 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
//------------------------------------------------
//该文件是所有涉及文档或列表读取必须引入的文件
//------------------------------------------------
global $PubFields,$cfg_mainsite,$cfg_plus_dir,$cfg_powerby,$cfg_indexname,$cfg_indexurl;
global $cfg_webname,$cfg_templets_... | zyyhong | trunk/jiaju001/news/include/inc_channel_unit_functions.php | PHP | asf20 | 11,281 |
<?php
//class TypeUnit
//这个类主要是封装频道管理时的一些复杂操作
//--------------------------------
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/../data/cache/inc_catalog_base.php");
class TypeUnit
{
var $dsql;
var $artDir;
var $baseDir;
var $idCounter;
var $idArrary;
var... | zyyhong | trunk/jiaju001/news/include/inc_typeunit_menu.php | PHP | asf20 | 7,874 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
//检测用户上传空间
function GetUserSpace($uid,$dsql){
$row = $dsql->GetOne("select sum(filesize) as fs From #@__uploads where memberID='$uid'; ");
return $row['fs'];
}
function CheckUserSpace($uid){
global $cfg_mb_max,$dsql;
if(!is_object($dsql)) $d... | zyyhong | trunk/jiaju001/news/include/inc_memberlogin.php | PHP | asf20 | 8,006 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_channel_unit.php");
require_once(dirname(__FILE__)."/inc_typelink.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
//本类的用途是用于解析和创建全局性质的模板,如频道封面,主页,单个页面等
... | zyyhong | trunk/jiaju001/news/include/inc_arcpart_view.php | PHP | asf20 | 31,222 |
<?php
require_once './../../site/cache/ad_index.php'; $ad= unserialize(stripslashes($ad));
?>
<div class="note"><div style="text-align:right"><div style="float:left"><strong>活动与公告</strong></div><a href='http://www.homebjjj.com/huodong/'>更多>></a></div>
<?php
if($ad['event']){
foreach($ad['event'] as $a){
echo '<a... | zyyhong | trunk/jiaju001/news/include/index.right.php | PHP | asf20 | 425 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/pub_dedetag.php");
$lang_pre_page = "上页";
$lang_next_page = "下页";
$lang_index_page = "首页";
$lang_end_page = "末页";
//////////////////////////////////////////////
class DataList
{
var $sourceSql;
var $nowPage;
... | zyyhong | trunk/jiaju001/news/include/pub_datalist.php | PHP | asf20 | 8,738 |
<?php
//class TypeUnit
//这个类主要是封装频道管理时的一些复杂操作
//--------------------------------
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_channel_unit_functions.php");
require_once(dirname(__FILE__)."/../data/cache/inc_catalog_base.php");
class TypeUnit
{
var $dsql;
var... | zyyhong | trunk/jiaju001/news/include/inc_typeunit_admin.php | PHP | asf20 | 29,148 |
<?php
$cfg_list_son = 'Y';
$cfg_websafe_open = 'N';
$cfg_mb_open = 'N';
$cfg_ftp_mkdir = 'N';
$cfg_dede_log = 'N';
$cfg_webname = '装修家居资讯、室内设计点评';
$cfg_dede_cache = 'Y';
$cfg_ftp_root = '/';
$cfg_basehost = 'http://news.jiaju001.com';
$cfg_al_cachetime = '1';
$cfg_member_regsta = 'N';
$cfg_cmspath = '';
$c... | zyyhong | trunk/jiaju001/news/include/config_hand.php | PHP | asf20 | 3,522 |
<?php
//给变量赋默认值
//--------------------------------
function AttDef($oldvar,$nv){
if(empty($oldvar)) return $nv;
else return $oldvar;
}
//获取一个文档列表
//--------------------------------
function SpGetArcList($dsql,$typeid=0,$row=10,$col=1,$titlelen=30,$infolen=160,
$imgwidth=120,$imgheight=90,$listtype="all... | zyyhong | trunk/jiaju001/news/include/inc_separate_functions.php | PHP | asf20 | 7,941 |
<?php
require_once(dirname(__FILE__)."/inc_arcpart_view.php");
require_once(dirname(__FILE__)."/inc_pubtag_make.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
//本类的用途是用于浏览所有专题列表或对专题列表生成HTML
******************************************************/
@set_... | zyyhong | trunk/jiaju001/news/include/inc_arcspec_view.php | PHP | asf20 | 16,843 |
<?php
$cfg_pp_isopen = '0';
$cfg_pp_name = '论坛';
$cfg_pp_indexurl = 'http://www.v5.com/bbs';
?> | zyyhong | trunk/jiaju001/news/include/config_passport.php | PHP | asf20 | 104 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/inc_arcpart_view.php");
require_once(dirname(__FILE__)."/inc_pubtag_make.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
//本类的用途是用于浏览频道列表或对内容列表生成HTML
******... | zyyhong | trunk/jiaju001/news/include/inc_digglist_view.php | PHP | asf20 | 17,675 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($job)) $job = "";
if($job=="newdir")
{
$dirname = trim(ereg_replace("[ \r\n\t\.\*\%\\/\?><\|\":]{1,}","",$dirname));
if($dirname==""){
ShowMsg("目录名非法!","-1");
exit();
}
MkdirAll($cfg_basedir.$activepath."/".$dirname,$GLOBALS['cfg_dir_purvi... | zyyhong | trunk/jiaju001/news/include/dialog/select_media_post.php | PHP | asf20 | 2,032 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../inc_photograph.php");
if(empty($job)) $job = "";
if($job=="newdir")
{
$dirname = trim(ereg_replace("[ \r\n\t\.\*\%\\/\?><\|\":]{1,}","",$dirname));
if($dirname==""){
ShowMsg("目录名非法!","-1");
exit();
}
MkdirAll($c... | zyyhong | trunk/jiaju001/news/include/dialog/select_images_post.php | PHP | asf20 | 3,373 |
<?php
//该页仅用于检测用户登录的情况,如要手工更改系统配置,请更改config_base.php
require_once(dirname(__FILE__)."/../config_base.php");
require_once(dirname(__FILE__)."/../inc_userlogin.php");
//获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项
$dedeNowurl = "";
$s_scriptName="";
$dedeNowurl = GetCurUrl();
$dedeNowurls = explode("?",$dedeNowu... | zyyhong | trunk/jiaju001/news/include/dialog/config.php | PHP | asf20 | 805 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($job)) $job = "";
if($job=="newdir")
{
$dirname = trim(ereg_replace("[ \r\n\t\.\*\%\\/\?><\|\":]{1,}","",$dirname));
if($dirname==""){
ShowMsg("目录名非法!","-1");
exit();
}
MkdirAll($cfg_basedir.$activepath."/".$dirname,$GLOBALS['cfg_dir_purvi... | zyyhong | trunk/jiaju001/news/include/dialog/select_soft_post.php | PHP | asf20 | 2,207 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($activepath)) $activepath = "";
if(empty($imgstick)) $imgstick = "";
$activepath = str_replace("..","",$activepath);
$activepath = ereg_replace("^/{1,}","/",$activepath);
if(strlen($activepath) < strlen($cfg_medias_dir)){
$activepath = $cfg_me... | zyyhong | trunk/jiaju001/news/include/dialog/select_images.php | PHP | asf20 | 7,775 |
<?php
require_once(dirname(__FILE__)."/config.php");
$cfg_txttype = "htm|html|tpl|txt|dtp";
if(empty($job)) $job = "";
if($job=="newdir")
{
$dirname = trim(ereg_replace("[ \r\n\t\.\*\%\\/\?><\|\":]{1,}","",$dirname));
if($dirname==""){
ShowMsg("目录名非法!","-1");
exit();
}
MkdirAll($cfg_basedir.$activep... | zyyhong | trunk/jiaju001/news/include/dialog/select_templets.php | PHP | asf20 | 1,748 |
td {font-size: 9pt;line-height: 1.5;}
body {
font-size: 9pt;
line-height: 1.5;
scrollbar-base-color:#C0D586;
scrollbar-arrow-color:#FFFFFF;
scrollbar-shadow-color:DEEFC6
}
a:link { font-size: 9pt; color: #000000; text-decoration: none }
a:visited{ font-size: 9pt; color: #000000; text-decoration: none... | zyyhong | trunk/jiaju001/news/include/dialog/base.css | CSS | asf20 | 874 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($activepath)) $activepath = "";
$activepath = str_replace("..","",$activepath);
$activepath = ereg_replace("^/{1,}","/",$activepath);
if(strlen($activepath)<strlen($cfg_other_medias)){
$activepath = $cfg_other_medias;
}
$inpath = $cfg_based... | zyyhong | trunk/jiaju001/news/include/dialog/select_media.php | PHP | asf20 | 7,425 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($activepath)) $activepath = "";
$activepath = str_replace("..","",$activepath);
$activepath = ereg_replace("^/{1,}","/",$activepath);
if(strlen($activepath)<strlen($cfg_soft_dir)){
$activepath = $cfg_soft_dir;
}
$inpath = $cfg_basedir.$acti... | zyyhong | trunk/jiaju001/news/include/dialog/select_soft.php | PHP | asf20 | 5,648 |
<?php
require_once(DEDEINC."/pub_oxwindow.php");
//打开所有标记,开启此项允许你使用封面模板的所有标记,但会对性能造成一定的影响
$cfg_OpenAll = false;
include_once(DEDEINC."/inc_arcpart_view.php");
include_once(DEDEINC."/inc_pubtag_make.php");
/******************************************************
//Copyright 2004-2006 by DedeCms.com itprato
//... | zyyhong | trunk/jiaju001/news/include/inc_taglist_view.php | PHP | asf20 | 16,549 |
<?php
require_once './../../site/cache/ad_index.php'; $ad= unserialize(stripslashes($ad));
?>
<div class="l4 ">
<div class="lmr_at"><div class="lmr_atxt">活动公告</div><div class="txt_r">><a href="http://www.jiaju001.com/huodong/">更多</a></div></div>
<div class="lmr_txt lp2">
<?php
if($ad['event'])
{
foreach... | zyyhong | trunk/jiaju001/news/include/right.php | PHP | asf20 | 1,574 |
<?php
//本文件是从pub_dedetag.php分离出来的属性解析器
/**********************************************
//class DedeAtt Dede模板标记属性集合
function c____DedeAtt();
**********************************************/
//属性的数据描述
class DedeAtt
{
var $Count = -1;
var $Items = ""; //属性元素的集合
//获得某个属性
function GetAtt($st... | zyyhong | trunk/jiaju001/news/include/pub_dedeattribute.php | PHP | asf20 | 3,807 |
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script language='javascript' src='/plus/count.php?aid=[aid]&mid=0'></script>
<title>转向:[title]</title>
<style>
#ndiv{
width:450px;
padding:8px;
margin-top:8px;
background-color:#FCFFF0;
border:3px solid #B4EF94;
height... | zyyhong | trunk/jiaju001/news/include/jump.html | HTML | asf20 | 666 |
<?php
//把单个文档的Tag写入索引
function InsertTags(&$dsql,$tagname,$aid,$mid=0,$typeid=0,$arcrank=0)
{
$tagname = trim(ereg_replace("[,;'%><\"\*\?\r\n\t ]{1,}",',',$tagname));
if(strlen($tagname)<2) return false;
$ntime = time();
$tags = explode(',',$tagname);
$hasTags = array();
$hasTagsM = array();
$likeque... | zyyhong | trunk/jiaju001/news/include/inc_tag_functions.php | PHP | asf20 | 2,673 |
<?php
//强制检查变量
function FilterNotSafeString(&$str)
{
global $cfg_notallowstr,$cfg_replacestr;
if(strlen($str)>10)
{
//禁止字串
if(!empty($cfg_notallowstr) && eregi($cfg_notallowstr,$str)) {
echo "Messege Error! <a href='javascript:history.go(-1)'>[Go Back]</a>";
exit();
}
//替换字... | zyyhong | trunk/jiaju001/news/include/inc_request_vars.php | PHP | asf20 | 2,085 |
<!--
var DedeXHTTP = null;
var DedeXDOM = null;
var DedeContainer = null;
var DedeShowError = false;
var DedeShowWait = false;
var DedeErrCon = "";
var DedeErrDisplay = "Download false!";
var DedeWaitDisplay = "Loading...";
function $DE(id)
{
return document.getElementById(id);
}
function DedeAjax(g... | zyyhong | trunk/jiaju001/news/include/dedeajax2.js | JavaScript | asf20 | 4,916 |
<?php
//class TypeTree
//目录树(用于选择栏目)
//--------------------------------
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/../data/cache/inc_catalog_base.php");
class TypeTree
{
var $dsql;
var $artDir;
var $baseDir;
var $idCounter;
var $idArrary;
var $shortN... | zyyhong | trunk/jiaju001/news/include/inc_type_tree.php | PHP | asf20 | 6,380 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
/*-------------------------
Dede 模块管理
--------------------------*/
require_once(dirname(__FILE__)."/pub_dedeattribute.php");
class DedeModule
{
var $modulesPath;
var $modules;
var $fileListNames;
function __construct($modulespath='')
{
... | zyyhong | trunk/jiaju001/news/include/inc_modules.php | PHP | asf20 | 9,619 |
<?php
$photo_markup = '0';
$photo_markdown = '0';
$photo_wwidth = '22';
$photo_wheight = '22';
$photo_waterpos = '9';
$photo_watertext = 'www.homebjj.com';
$photo_fontsize = '5';
$photo_fontcolor = '#0000FF';
$photo_diaphaneity = '60';
$photo_markimg = 'mark.jpg';
?>
| zyyhong | trunk/jiaju001/news/include/inc_photowatermark_config.php | PHP | asf20 | 280 |
<?php
//获得一个附加表单
//-----------------------------
function GetFormItem($ctag,$admintype='admin')
{
$fieldname = $ctag->GetName();
$formitem = GetSysTemplets("custom_fields_{$admintype}.htm");
$fieldType = $ctag->GetAtt("type");
$innertext = trim($ctag->GetInnerText());
if($innertext!=""){
if($ctag->G... | zyyhong | trunk/jiaju001/news/include/inc_custom_fields.php | PHP | asf20 | 15,595 |
<?php
require_once(dirname(__FILE__)."/fckeditor.php");
$fck = new FCKeditor("test");
$fck->BasePath = '/dedecmsv3/include/fckeditor2/' ;
$fck->Width = '100%' ;
$fck->Height = "500" ;
$fck->ToolbarSet = "Default" ;
$fck->Value = "" ;
$fck->Create();
?> | zyyhong | trunk/jiaju001/news/include/FCKeditor/index.php | PHP | asf20 | 265 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "S... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/skins/default/fck_editor.css | CSS | asf20 | 2,559 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "S... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/skins/default/fck_dialog.css | CSS | asf20 | 2,225 |
<script>
window.onload = function()
{
document.designMode = 'on' ;
// Tell Gecko to use or not the <SPAN> tag for the bold, italic and underline.
document.execCommand( 'useCSS', false, !window.parent.FCKConfig.GeckoUseSPAN ) ;
window.parent.FCK.OnAfterSetHTML() ;
}
if ( window.parent._TempHtm... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/fckdocument.html | HTML | asf20 | 425 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/fckdebug.html | HTML | asf20 | 3,201 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/lang/en.js | JavaScript | asf20 | 16,076 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/lang/fcklanguagemanager.js | JavaScript | asf20 | 1,803 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/lang/zh.js | JavaScript | asf20 | 15,831 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_link.html | HTML | asf20 | 12,671 |
<?php
require_once(dirname(__FILE__)."/../../../dialoguser/config.php");
require_once(dirname(__FILE__)."/../../../inc_photograph.php");
if(empty($dopost)) $dopost="";
if(empty($imgwidthValue)) $imgwidthValue=400;
if(empty($imgheightValue)) $imgheightValue=300;
if(empty($urlValue)) $urlValue="";
if(empty($imgsrc... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/imageuser.php | PHP | asf20 | 11,570 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_select/fck_select.js | JavaScript | asf20 | 4,165 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_source.html | HTML | asf20 | 2,072 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_tablecell.html | HTML | asf20 | 8,383 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_specialchar.html | HTML | asf20 | 4,419 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For furt... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_docprops/fck_document_preview.html | HTML | asf20 | 2,723 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_link/fck_link.js | JavaScript | asf20 | 16,972 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For furt... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_replace.html | HTML | asf20 | 4,050 |
td {font-size: 9pt;line-height: 1.5;}
a:link { font-size: 9pt; color: #000000; text-decoration: none }
a:visited{ font-size: 9pt; color: #000000; text-decoration: none }
a:hover {color: red;background-color:#C5E8A1}
.linerow{border-bottom: 1px solid #ACACAC;}
.coolbg {border-right: 2px solid #ACACAC; border-bottom... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/base.css | CSS | asf20 | 1,148 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For furt... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_about.html | HTML | asf20 | 4,667 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For fur... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_listprop.html | HTML | asf20 | 3,100 |
<HTML>
<HEAD>
<title>插入Flash</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.td{font-size:10pt;}
</style>
<script language=javascript>
var oEditor = window.parent.InnerDialogLoaded() ;
var oDOM = oEditor.FCK.EditorDocument ;
var FCK = oEditor.FCK;
function TableOK(){
... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/flash.htm | HTML | asf20 | 2,401 |
<HTML>
<HEAD>
<title>插入多媒体</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.td{font-size:10pt;}
</style>
<script language=javascript>
var oEditor = window.parent.InnerDialogLoaded() ;
var oDOM = oEditor.FCK.EditorDocument ;
var FCK = oEditor.FCK;
function TableOK(){
... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/media.htm | HTML | asf20 | 3,879 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For furt... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_paste.html | HTML | asf20 | 7,356 |
<?php
require_once(dirname(__FILE__)."/../../../config_base.php");
?>
<HTML>
<HEAD>
<title>插入附件</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style>
.td{font-size:10pt;}
</style>
<script language=javascript>
var oEditor = window.parent.InnerDialogLoaded() ;
var oDOM = oEd... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/addon.php | PHP | asf20 | 2,237 |
<?php
require_once(dirname(__FILE__)."/../../../dialog/config.php");
require_once(dirname(__FILE__)."/../../../inc_photograph.php");
if(empty($dopost)) $dopost="";
if(empty($imgwidthValue)) $imgwidthValue=400;
if(empty($imgheightValue)) $imgheightValue=300;
if(empty($urlValue)) $urlValue="";
if(empty($imgsrcValu... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/image.php | PHP | asf20 | 11,809 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_smiley.html | HTML | asf20 | 2,433 |
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* ... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_colorselector.html | HTML | asf20 | 5,129 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "S... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/common/fck_dialog_common.css | CSS | asf20 | 1,539 |
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For further information visit:
* http://www.fckeditor.net/
*
* "... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/common/fck_dialog_common.js | JavaScript | asf20 | 3,426 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2005 Frederico Caldeira Knabben
*
* Licensed under the terms of the GNU Lesser General Public License:
* http://www.opensource.org/licenses/lgpl-license.php
*
* For fur... | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/dialog/fck_anchor.html | HTML | asf20 | 2,653 |