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 |
|---|---|---|---|---|---|
<!--
* 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_table.html | HTML | asf20 | 10,624 |
<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/flashuser.htm | HTML | asf20 | 2,266 |
<!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_find.html | HTML | asf20 | 4,358 |
<!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.html | HTML | asf20 | 21,664 |
/*
* 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/plugins/placeholder/fckplugin.js | JavaScript | asf20 | 5,213 |
/*
* 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/plugins/placeholder/lang/en.js | JavaScript | asf20 | 842 |
<!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/plugins/placeholder/fck_placeholder.html | HTML | asf20 | 2,381 |
/*
* 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/plugins/tablecommands/fckplugin.js | JavaScript | asf20 | 1,576 |
/*
* 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/plugins/simplecommands/fckplugin.js | JavaScript | asf20 | 1,208 |
<!--
* 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/fckeditor.original.html | HTML | asf20 | 3,495 |
<html>
<head><title></title></head>
<body></body>
</html> | zyyhong | trunk/jiaju001/news/include/FCKeditor/editor/fckblank.html | HTML | asf20 | 60 |
/*
* 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/css/fck_internal.css | CSS | asf20 | 1,748 |
/*
* 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/css/fck_editorarea.css | CSS | asf20 | 1,475 |
/*
* 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/css/fck_showtableborders_gecko.css | CSS | asf20 | 1,259 |
<!--
* 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/fckdialog.html | HTML | asf20 | 7,974 |
<!--
* 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/fckeditor.html | HTML | asf20 | 2,352 |
/*
* 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/fckeditor.js | JavaScript | asf20 | 6,242 |
/*
* 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/fckconfig.js | JavaScript | asf20 | 9,927 |
<?php
/*
* 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/fckeditor.php | PHP | asf20 | 4,239 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/pub_dedetag.php");
require_once(dirname(__FILE__)."/inc_typelink.php");
require_once(dirname(__FILE__)."/inc_channel_unit_functions.php");
/******************************************************
//Copyright 2005-2007... | zyyhong | trunk/jiaju001/news/include/inc_rss_view.php | PHP | asf20 | 6,317 |
<?php
@set_time_limit(0);
/*=======================================
//织梦Http下载类V1.2版,本版增加了POST发送数据的方式
//把要POST的数据像GET一样跟在网址后,程序会自动处理,并用POST方式发送
//POST仅支持application/x-www-form-urlencoded方式
//最后修改日期:2006-6-22
=======================================*/
class DedeHttpDown
{
var $m_url = "";
var $m_urlpath = ""... | zyyhong | trunk/jiaju001/news/include/pub_httpdown.php | PHP | asf20 | 10,353 |
<div class="wrap">
<div class="logo"><a href="http://www.jiaju001.com" title="北京家居网">北京家居网</a></div>
<div class="addfav">
<ul><li style="float:left;padding-left:0px;">城市分站:<a href="http://www.jiaju001.com">北京站</a>|<a href="http://shy.jiaju001.com" target='_blank'>沈阳站</a></li><li id="cart"><a href=... | zyyhong | trunk/jiaju001/news/include/header.html | HTML | asf20 | 3,149 |
<?php
if(!defined('DEDEINC'))
{
exit("Request Error!");
}
require_once(dirname(__FILE__)."/pub_dedetag.php");
//////////////////////////////////
//这个类用于管理投票
///////////////////////////////////
class DedeVote
{
var $VoteInfos;
var $VoteNotes;
var $VoteCount;
var $VoteID;
var $dsql;
//-----------... | zyyhong | trunk/jiaju001/news/include/inc_vote.php | PHP | asf20 | 6,167 |
<?php
//Session保存路径
$sessSavePath = dirname(__FILE__)."/../data/sessions/";
if(is_writeable($sessSavePath) && is_readable($sessSavePath)){ session_save_path($sessSavePath); }
//获取随机字符
$rndstring = "";
for($i=0;$i<4;$i++){
$rndstring .= chr(mt_rand(65,90));
}
//如果支持GD,则绘图
if(function_exists("imagecreate... | zyyhong | trunk/jiaju001/news/include/vdimgckBig.php | PHP | asf20 | 3,014 |
<?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.homebjjj.com';
$cfg_al_cachetime = '1';
$cfg_member_regsta = 'N';
$cfg_cmspath = '';
$c... | zyyhong | trunk/jiaju001/news/include/config_hand_bak.php | PHP | asf20 | 3,522 |
<?php
/*
// PHP ZIP压缩类,不需任何组件支持,本文件来自开国外开源代码
// Created by bouchon http://dev.maxg.info
// It prato 2007-12-21 修改
// 主要用法
1、获得压缩包里的文件列表
$z = new zip();
$files = $z->get_List($zipfile);
for($i=0;$i<count($files);$i++) print_r($files[$i])."<hr />";
2、解压缩整个ZIP文件
$z->ExtractAll ( $zipfile, $todir);
3、解压压缩包里... | zyyhong | trunk/jiaju001/news/include/zip.lib.php | PHP | asf20 | 12,407 |
<?php
function GetBookText($cid)
{
global $cfg_cmspath,$cfg_basedir;
$ipath = $cfg_cmspath."/data/textdata";
$tpath = ceil($cid/5000);
$bookfile = $cfg_basedir."$ipath/$tpath/bk{$cid}.php";
if(!file_exists($bookfile)) return '';
else{
$alldata = '';
$fp = fopen($bookfile,'r');
$line = fgets($fp... | zyyhong | trunk/jiaju001/news/include/inc_bookfunctions.php | PHP | asf20 | 1,046 |
<div class="fr col_l">
<div class="tit2"><div class="tl"><div>相关品牌</div></div><div class="tr"></div></div>
<div class="tbox">
<a href="http://www.homebjjj.com/store/kenuosenghua.html" title="克诺森华"><img class="b4" src="http://www.homebjjj.com/images/store/b80ae1163d81ce1a9984c4af16a6f4b1.jpg" /></a>
<a href="... | zyyhong | trunk/jiaju001/news/include/right.html | HTML | asf20 | 2,967 |
<?php
function SpUpdateStat()
{
global $cfg_cookie_encode;
$countCacheFile = dirname(__FILE__).'/../../data/'.md5($cfg_cookie_encode.'cc').'.txt';
if(!file_exists($countCacheFile)) {
$fp = fopen($countCacheFile,'w');
fwrite($fp,1);
fclose();
}
$fp = fopen($countCacheFile,'r');
$cnums = fread($fp,... | zyyhong | trunk/jiaju001/news/include/inc/inc_stat.php | PHP | asf20 | 474 |
<?php
$GLOBALS['__SpGetArcList'] = 1;
//获取一个文档列表
//--------------------------------
function SpGetArcList(&$dsql,$templets,$typeid=0,$row=10,$col=1,$titlelen=30,$infolen=160,
$imgwidth=120,$imgheight=90,$listtype="all",$orderby="default",$keyword="",$innertext="",
$tablewidth="100",$arcid=0,$idlist="",$chan... | zyyhong | trunk/jiaju001/news/include/inc/inc_fun_SpGetArcList.php | PHP | asf20 | 11,712 |
<?php
$GLOBALS['__SpGetFullList'] = 1;
//------------------------------
//获取整站的文档列表
//本函数对应 arcfulllist 和 likeart 标记
//与 arclist 不同的地方是,本标记更自由(相当于旧版的arclist),
//但不生成缓存,不能按各类不同形式排序,不能调用浏览数,性能稍低,灵活性也不如arclist
//--------------------------------
function SpGetFullList(&$dsql,$typeid=0,$channelid=0,$row=10,$titlelen... | zyyhong | trunk/jiaju001/news/include/inc/inc_fun_SpFullList.php | PHP | asf20 | 7,710 |
<?php
$GLOBALS['__funAdmin'] = 1;
function SpGetPinyin($str,$ishead=0,$isclose=1)
{
global $pinyins;
$restr = "";
$str = trim($str);
$slen = strlen($str);
if($slen<2) return $str;
if(count($pinyins)==0){
$fp = fopen(dirname(__FILE__)."/../data/pinyin.db","r");
while(!feof($fp)){
$line = trim... | zyyhong | trunk/jiaju001/news/include/inc/inc_fun_funAdmin.php | PHP | asf20 | 3,768 |
<?php
$GLOBALS['__funString'] = 1;
function SpHtml2Text($str){
$str = preg_replace("/<sty(.*)\\/style>|<scr(.*)\\/script>|<!--(.*)-->/isU","",$str);
$alltext = '';
$start = 1;
for($i=0;$i<strlen($str);$i++){
if($start==0 && $str[$i]==">") $start = 1;
else if($start==1){
if($str[$... | zyyhong | trunk/jiaju001/news/include/inc/inc_fun_funString.php | PHP | asf20 | 1,143 |
<?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_freelist_view.php | PHP | asf20 | 25,672 |
<?php
/*******************************
//织梦HTML解析类V1.1 PHP版
//www.dedecms.com
function c____DedeHtml2();
这个类针对于采集程序,与DedeHtml类功能不尽相同
********************************/
class DedeHtml2
{
var $CAtt;
var $SourceHtml;
var $Title;
var $Medias;
var $MediaInfos;
var $Links;
var $CharSet;
var $BaseUrl;
... | zyyhong | trunk/jiaju001/news/include/pub_dedehtml2.php | PHP | asf20 | 11,465 |
<!--
//xmlhttp和xmldom对象
DedeXHTTP = null;
DedeXDOM = null;
DedeContainer = null;
//获取指定ID的元素
//function $(eid){
// return document.getElementById(eid);
//}
function $DE(id) {
return document.getElementById(id);
}
//参数 gcontainer 是保存下载完成的内容的容器
function DedeAjax(gcontainer){
DedeContainer = gcont... | zyyhong | trunk/jiaju001/news/include/dedeajax.js | JavaScript | asf20 | 3,560 |
<?php
require_once(dirname(__FILE__)."/pub_dedetag.php");
class OxWindow
{
var $myWin = '';
var $myWinItem = '';
var $checkCode = '';
var $formName = '';
var $tmpCode = '//checkcode';
var $hasStart = false;
var $mainTitle = '';
//---------------------------------
//初始化为含表单的页面
//------------------... | zyyhong | trunk/jiaju001/news/include/pub_oxwindow.php | PHP | asf20 | 5,911 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('c_New');
if(empty($isdel1)) $isdel1 = 0;
if(empty($isdel2)) $isdel2 = 0;
//检查输入
//----------------------------
if(ereg("[^0-9-]",$ID)||$ID==""){
ShowMsg("<font color=red>'频道ID'</font>必须为数字!","-1");
exit();
}
if(eregi("[^a-z0-9_-]",$nid)||$... | zyyhong | trunk/jiaju001/news/lic/mychannel_add_action.php | PHP | asf20 | 3,151 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(dirname(__FILE__)."/../include/inc_typelink.php");
$dsql = new DedeSql(false);
$action = (empty($action) ? '' : $action);
if($action=='')
{
$row = $dsql->GetOne("Select * From `#@__task`");
if(!is_array($row))
... | zyyhong | trunk/jiaju001/news/lic/makehtml_task.php | PHP | asf20 | 1,641 |
<!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="css_body.css" rel="stylesheet" type="text... | zyyhong | trunk/jiaju001/news/lic/doohickey.html | HTML | asf20 | 1,836 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('sys_Data');
if(empty($dopost)) $dopost = "";
AjaxHead();
$dsql = new DedeSql(false);
echo "<a href='#' onclick='javascript:HideObj(\"_mydatainfo\")'>[<u>关闭</u>]</a>\r\n<xmp>";
if($dopost=="viewinfo") //查看表结构
{
if(empty($tablename)) echo "没有指定表名!";... | zyyhong | trunk/jiaju001/news/lic/sys_sql_query_lit.php | PHP | asf20 | 1,108 |
<?php
require_once(dirname(__FILE__)."/config.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
$dsql = new DedeSql(false);
if(empty($pagesize)) $pagesize = 18;
if(empty($pageno)) $pageno = 1;
if(empty($dopost)) $dopost = '';
if(empty($orderby)) $orderby = 'aid';
if(empty($aid)) $aid = '0';
... | zyyhong | trunk/jiaju001/news/lic/dedecms_user_main.php | PHP | asf20 | 3,577 |
<?php
require_once(dirname(__FILE__)."/config.php");
$db = new DedeSql(false);
if(empty($action)){
$sectors = $topsectors = $subsectors = array();
$sectorscache = '';
$sql = "select * from #@__sectors order by disorder asc, id asc";
$db->SetQuery($sql);
$db->Execute();
while($row = $db->GetArray())
{
... | zyyhong | trunk/jiaju001/news/lic/sectors.php | PHP | asf20 | 3,979 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Group');
if(!empty($dopost)){
$dsql = new DedeSql(false);
$row = $dsql->GetOne("Select * From #@__admintype where rank='".$rankid."'");
if(is_array($row)){
ShowMsg("你所创建的组别的级别值已存在,不允许重复!","-1");
$dsql->Close();
exi... | zyyhong | trunk/jiaju001/news/lic/sys_group_add.php | PHP | asf20 | 876 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($dopost)) $dopost = "";
CheckPurview('sys_Att');
$dsql = new DedeSql(false);
if($dopost=="save")
{
$startID = 1;
$endID = $idend;
for(;$startID<=$endID;$startID++)
{
$query = "";
$att = ${"att_".$startID};
$attna... | zyyhong | trunk/jiaju001/news/lic/content_att.php | PHP | asf20 | 1,228 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('co_AddNote');
?> | zyyhong | trunk/jiaju001/news/lic/co_ruletest.php | PHP | asf20 | 93 |
<?php
@ob_start();
@set_time_limit(3600);
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_description');
$tjnum = 0;
if($action=='getfields')
{
AjaxHead();
$dsql = new DedeSql(false);
if(!$dsql->linkID){
echo "<font color='red'>连接数据源的数据库失败!</font><br>";
echo $qbutton;
exit();
}
... | zyyhong | trunk/jiaju001/news/lic/description_fetch_action.php | PHP | asf20 | 4,171 |
<?php
require_once(dirname(__FILE__)."/config.php");
$dsql = new DedeSql(false);
$row = $dsql->GetOne("Select * From #@__homepageset");
require_once(dirname(__FILE__)."/templets/makehtml_homepage.htm");
ClearAllLink();
?> | zyyhong | trunk/jiaju001/news/lic/makehtml_homepage.php | PHP | asf20 | 233 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
CheckPurview('plus_文件管理器');
$activepath = str_replace("..","",$activepath);
$activepath = ereg_replace("^/{1,}","/",$activepath);
if($activepath == "/") $activepath = "";
if($activepath == "") ... | zyyhong | trunk/jiaju001/news/lic/file_manage_view.php | PHP | asf20 | 5,531 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(!isset($cid)) $cid = 0;
if(!isset($keyword)) $keyword = "";
if(!isset($channelid)) $channelid = 0;
if(!isset($arcrank)) $arcrank = "";
if(!isset($adminid)) $adminid = 0;
if(!isset($ismember)) $ismember = 0;
if(!isset($USEListStyle)) $USEListStyle = '';
... | zyyhong | trunk/jiaju001/news/lic/full_list.php | PHP | asf20 | 4,030 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('temp_One');
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
function GetIsMake($im)
{
if($im==1) return... | zyyhong | trunk/jiaju001/news/lic/templets_one.php | PHP | asf20 | 652 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_StringMix');
if(empty($dopost)) $dopost = "";
if(empty($allsource)) $allsource = "";
else $allsource = stripslashes($allsource);
$m_file = dirname(__FILE__)."/../include/data/downmix.php";
//保存
if($dopost=="save")
{
$fp = fopen($m_file... | zyyhong | trunk/jiaju001/news/lic/article_string_mix.php | PHP | asf20 | 850 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('co_NewRule');
if(empty($action)) $action = "";
if($action=="save")
{
$notes = "
{dede:note
rulename=\\'$rulename\\'
etype=\\'$etype\\'
tablename=\\'$tablename\\'
autofield=\\'$autofield\\'
synfield=\\'$synfield\\'
channelid=\\'$ch... | zyyhong | trunk/jiaju001/news/lic/co_export_rule_add.php | PHP | asf20 | 2,680 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
function GetSta($sta)
{
if($sta==1) return "正常";
else return "<font color='red'>禁用</font>";
}
function GetMan($sta)
{
if($st... | zyyhong | trunk/jiaju001/news/lic/article_keywords_select.php | PHP | asf20 | 727 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/inc_type_tree.php");
if(empty($c)) $c = 0;
if(empty($opall)) $opall=false;
else $opall = true;
$userChannel = $cuserLogin->getUserChannel();
?>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; ch... | zyyhong | trunk/jiaju001/news/lic/catalog_tree.php | PHP | asf20 | 2,979 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/inc_typeunit_admin.php");
$userChannel = $cuserLogin->getUserChannel();
require_once(dirname(__FILE__)."/templets/catalog_main.htm");
ClearAllLink();
?> | zyyhong | trunk/jiaju001/news/lic/catalog_main.php | PHP | asf20 | 255 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_广告管理');
require_once(dirname(__FILE__)."/../include/inc_typelink.php");
if(empty($dopost)) $dopost = "";
$aid = ereg_replace("[^0-9]","",$aid);
if( empty($_COOKIE['ENV_GOBACK_URL']) ) $ENV_GOBACK_URL = "ad_main.php";
else $ENV_GOBACK_URL = $_COO... | zyyhong | trunk/jiaju001/news/lic/ad_edit.php | PHP | asf20 | 2,272 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEADMIN."/inc/inc_catalog_options.php");
require_once(DEDEADMIN."/inc/inc_archives_functions.php");
if(empty($channelid)) $channelid=1;
if(empty($cid)) $cid = 0;
$dsql = new DedeSql(false);
if($cid>0)
{
$query = "Select t.typename as ... | zyyhong | trunk/jiaju001/news/lic/article_add.php | PHP | asf20 | 816 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/templets/member_password.htm");
ClearAllLink();
?> | zyyhong | trunk/jiaju001/news/lic/member_password.php | PHP | asf20 | 143 |
.nbt{
font:12px 宋体; padding: 1px 3px 0 3px ;
vertical-align:middle ; margin-bottom:1px;
border:3px double #5F93CD; background:#B5E8FB; height:21px ;
}
.htable{ border-bottom:1px solid #95D2F0 }
.np{ border:none }
.linerow{border-bottom: 1px solid #ACACAC;}
.coolbg {
padding:1px;
border-right: 2px so... | zyyhong | trunk/jiaju001/news/lic/form_new.css | CSS | asf20 | 1,615 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('plus_投票模块');
require_once(dirname(__FILE__)."/../include/pub_dedetag.php");
if(empty($dopost)) $dopost="";
if(empty($aid)) $aid="";
$aid = trim(ereg_replace("[^0-9]","",$aid));
if($aid==""){
ShowMsg('你没有指定投票ID!','-1');
exit();
}
if(!empty($_COO... | zyyhong | trunk/jiaju001/news/lic/vote_edit.php | PHP | asf20 | 1,377 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/inc_typeunit_menu.php");
$userChannel = $cuserLogin->getUserChannel();
?>
<html>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'>
<title>类别管理</title>
<link href="css_menu.css" rel="styles... | zyyhong | trunk/jiaju001/news/lic/catalog_menu.php | PHP | asf20 | 8,343 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/templets/article_keywords_make.htm");
ClearAllLink();
?> | zyyhong | trunk/jiaju001/news/lic/article_keywords_make.php | PHP | asf20 | 149 |
<?php
//---------------------
//文件管理逻辑类
//---------------------
/*
function __FileManagement()
*/
class FileManagement
{
var $baseDir="";
var $activeDir="";
//是否允许文件管理器删除目录;
//默认为不允许 0 ,如果希望可能管理整个目录,请把值设为 1 ;
var $allowDeleteDir=0;
//初始化系统
function Init()
{
global $cfg_basedir;
global $ac... | zyyhong | trunk/jiaju001/news/lic/file_class.php | PHP | asf20 | 4,584 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
require_once(dirname(__FILE__)."/../include/inc_arcpart_view.php");
header("Content-Type: text/html; charset={$cfg_ver_lang}");
if(empty($typeid)) $typeid = 0;
if(empty($templet)) $templet = "plus/js.htm";
if(empty($uptype)) $upty... | zyyhong | trunk/jiaju001/news/lic/makehtml_js_action.php | PHP | asf20 | 1,336 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_User');
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
if(empty($rank)) $rank="";
else $rank = " where #@__admin.usertype='$rank' ";
$dsql = new DedeSql(false);
$dsql... | zyyhong | trunk/jiaju001/news/lic/sys_admin_user.php | PHP | asf20 | 940 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/inc_typelink.php");
require_once(dirname(__FILE__)."/inc/inc_batchup.php");
$squery = "select aid from #@__addonarticle where body like '%/plus/img/etag.gif%' ";
$dsql = new DedeSql(false);
$dsql->SetQuery($squer... | zyyhong | trunk/jiaju001/news/lic/del-error-file.php | PHP | asf20 | 641 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Feedback');
$ID = ereg_replace("[^0-9]","",$ID);
if(empty($dopost)) $dopost = "";
if(empty($_COOKIE['ENV_GOBACK_URL'])) $ENV_GOBACK_URL="feedback_main.php";
else $ENV_GOBACK_URL = $_COOKIE['ENV_GOBACK_URL'];
$dsql = new DedeSql(false);
... | zyyhong | trunk/jiaju001/news/lic/feedback_edit.php | PHP | asf20 | 1,256 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('pic_view');
if(empty($activepath)) $activepath=$cfg_medias_dir;
$activepath = ereg_replace("/{1,}","/",$activepath);
$truePath = $cfg_basedir.$activepath;
$listSize=5;
function GetPrePath($nowPath)
{
if($nowPath==""||$nowPath=="/")
echo("当... | zyyhong | trunk/jiaju001/news/lic/file_pic_view.php | PHP | asf20 | 3,619 |
<?php
require_once(dirname(__FILE__)."/config.php");
if(empty($dopost)) $dopost = "";
if(empty($ID)) $ID="0";
$ID = ereg_replace("[^0-9]","",$ID);
//检查权限许可
CheckPurview('t_Edit,t_AccEdit');
//检查栏目操作许可
CheckCatalog($ID,"你无权更改本栏目!");
$dsql = new DedeSql(false);
//----------------------------------
//保存改... | zyyhong | trunk/jiaju001/news/lic/catalog_edit.php | PHP | asf20 | 5,404 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
$sql = "";
$sql = "Select aid,votename,starttime,endtime,totalcount Fr... | zyyhong | trunk/jiaju001/news/lic/vote_main.php | PHP | asf20 | 528 |
<!--
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/lic/js/float.js | JavaScript | asf20 | 4,203 |
var ie = document.all != null;
var moz = !ie && document.getElementById != null && document.layers == null;
/*
* Extends the event object with srcElement, cancelBubble, returnValue,
* fromElement and toElement
*/
function extendEventObject() {
Event.prototype.__defineSetter__("returnValue", function (b) {
... | zyyhong | trunk/jiaju001/news/lic/js/ieemu.js | JavaScript | asf20 | 7,763 |
<!--
function CheckSubmit()
{
return true;
}
--> | zyyhong | trunk/jiaju001/news/lic/js/blank.js | JavaScript | asf20 | 55 |
var MenuWidth = 120;
var ItemHeight = 16;
var ItemNumber = 0;
//WebFX右键菜单程序被织梦修改的项为:
//增加了默认宽度和菜单高度的定义
//这样可以修正原来第一次载入时显示不正确的情况
ContextMenu.intializeContextMenu=function()
{
document.body.insertAdjacentHTML("BeforeEnd", '<iframe src="#" scrolling="no" class="WebFX-ContextMenu" marginwidth="0" marginheight="0" ... | zyyhong | trunk/jiaju001/news/lic/js/context_menu.js | JavaScript | asf20 | 4,804 |
.WebFX-ContextMenu {
border: 0;/*2px outset;*/
width: 10px;
}
.WebFX-ContextMenu-Body {
background-color: #EEFFEC;
background-image:url('../img/mmenubg.gif?3');
margins: 0px;
padding: 1px;
border: 1px solid #E0E7C9;
}
.WebFX-ContextMenu-Separator
{
font-size: 0pt;
borde... | zyyhong | trunk/jiaju001/news/lic/js/contextmenu.css | CSS | asf20 | 2,113 |
<!--
function DedeAjax(WiteOKFunc){ //WiteOKFunc 为异步状态处理函数
//xmlhttp和xmldom对象
this.xhttp = null;
this.xdom = null;
//post或get发送数据的键值对
this.keys = Array();
this.values = Array();
this.keyCount = -1;
//http请求头
this.rkeys = Array();
this.rvalues = Array();
this.rkeyCount = -1;
//初始化xmlhttp
if(window... | zyyhong | trunk/jiaju001/news/lic/js/dedeajax.js | JavaScript | asf20 | 2,627 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_User');
require_once(dirname(__FILE__)."/../include/inc_typelink.php");
if(empty($dopost)) $dopost="";
if($dopost=="add")
{
if(ereg("[^0-9a-zA-Z_@!\.-]",$pwd)){
ShowMsg("用户密码不合法!","-1",0,300);
exit();
}
if(ereg("[^0-9a-zA-Z_@!... | zyyhong | trunk/jiaju001/news/lic/sys_admin_user_add.php | PHP | asf20 | 1,437 |
<?php
require(dirname(__FILE__)."/config.php");
AjaxHead();
$t = $_GET['t'];
if($t=='source') //来源列表
{
$m_file = dirname(__FILE__)."/inc/source.txt";
$allsources = file($m_file);
echo "<div class='coolbg4'>[<a href=\"javascript:OpenMyWin('article_source_edit.php')\">设置</a>] [<a href='#' onclick='ja... | zyyhong | trunk/jiaju001/news/lic/article_select_sw.php | PHP | asf20 | 1,214 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('c_FreeList');
if(!isset($types)) $types = '';
if(!isset($nodefault)) $nodefault = '0';
/*-------------
function __AddNew()
--------------*/
if($dopost=='addnew'){
$atts = " pagesize='$pagesize' col='$col' titlelen='$titlelen' orderby='$or... | zyyhong | trunk/jiaju001/news/lic/freelist_action.php | PHP | asf20 | 2,897 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('co_Export');
require_once(dirname(__FILE__)."/../include/pub_collection.php");
require_once(dirname(__FILE__)."/../include/pub_dedetag.php");
require_once(dirname(__FILE__)."/inc/inc_catalog_options.php");
$dsql = new DedeSql(false);
$mrow = $ds... | zyyhong | trunk/jiaju001/news/lic/co_export.php | PHP | asf20 | 717 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/inc_channel_unit_functions.php");
$action = (empty($action) ? '' : $action);
//优化数据
function OptimizeData($dsql)
{
global $cfg_dbprefix;
$tptables = array("{$cfg_dbprefix}full_search","{$cfg_dbprefix}cache_tagi... | zyyhong | trunk/jiaju001/news/lic/makehtml_all.php | PHP | asf20 | 4,856 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('temp_Other');
require_once(dirname(__FILE__)."/../include/inc_typelink.php");
if(empty($dopost)) $dopost = "";
$aid = ereg_replace("[^0-9]","",$aid);
if( empty($_COOKIE['ENV_GOBACK_URL']) ) $ENV_GOBACK_URL = "mytag_main.php";
else $ENV_GOBACK_URL = $... | zyyhong | trunk/jiaju001/news/lic/mytag_edit.php | PHP | asf20 | 2,281 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('temp_Other');
//根据条件生成标记
$attlist = "";
$attlist .= ' row='.$row;
$attlist .= ' titlelen='.$titlelen;
if($orderby!='senddate') $attlist .= ' orderby='.$orderby;
if($order!='desc') $attlist .= ' order='.$order;
if($typeid>0) $attlist .= ' type... | zyyhong | trunk/jiaju001/news/lic/mytag_tag_guide_ok.php | PHP | asf20 | 1,415 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
function TestType($tname)
{
if($tname=="") return "所有栏目";
else retur... | zyyhong | trunk/jiaju001/news/lic/ad_main.php | PHP | asf20 | 844 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
function GetDatePage($mktime)
{
if($mktime=="0") return "从未采集过";
retur... | zyyhong | trunk/jiaju001/news/lic/co_main.php | PHP | asf20 | 1,376 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Log');
require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
$where = "";
$sql = "";
$where = "";
if(e... | zyyhong | trunk/jiaju001/news/lic/log_list.php | PHP | asf20 | 1,412 |
<?php
require(dirname(__FILE__)."/config.php");
CheckPurview('co_AddNote');
if(empty($job)) $job="";
if($job=="")
{
require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
$wintitle = "导入采集规则";
$wecome_info = "<a href='co_main.php'><u>采集点管理</u></a>::导入采集规则";
$win = new OxWindow();
... | zyyhong | trunk/jiaju001/news/lic/co_get_corule.php | PHP | asf20 | 1,600 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('member_List');
require_once(dirname(__FILE__)."/../include/pub_datalist.php");
require_once(dirname(__FILE__)."/../include/inc_functions.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
if(!isset($sex)) $sex = "0";
if($sex=="0") ... | zyyhong | trunk/jiaju001/news/lic/company_main.php | PHP | asf20 | 2,638 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(DEDEADMIN."/inc/inc_catalog_options.php");
require_once(DEDEADMIN."/inc/inc_archives_functions.php");
if(empty($channelid)) $channelid=3;
if(empty($cid)) $cid = 0;
$dsql = new DedeSql(false);
if($cid>0)
{
$query = "Select t.typename as ... | zyyhong | trunk/jiaju001/news/lic/soft_add.php | PHP | asf20 | 815 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Group');
$dsql = new DedeSql(false);
if(empty($dopost)) $dopost = "";
if($dopost=='save')
{
if($rank==10){
ShowMsg("超级管理员的权限不允许更改!","sys_group.php");
$dsql->Close();
exit();
}
$purview = "";
if(is_array($purviews)){
for... | zyyhong | trunk/jiaju001/news/lic/sys_group_edit.php | PHP | asf20 | 1,252 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_ArcTj');
$dsql = new DedeSql(false);
$row1 = $dsql->GetOne("Select count(*) as dd From `#@__full_search`");
$row2 = $dsql->GetOne("Select count(*) as dd From `#@__feedback`");
$row3 = $dsql->GetOne("Select count(*) as dd From `#@__member`");
... | zyyhong | trunk/jiaju001/news/lic/content_tj.php | PHP | asf20 | 407 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_module');
require_once(dirname(__FILE__)."/../include/inc_modules.php");
require_once(dirname(__FILE__)."/../include/pub_oxwindow.php");
if(empty($action)) $action = '';
$mdir = dirname(__FILE__).'/module';
if($action=='upload')
{
if( !is_... | zyyhong | trunk/jiaju001/news/lic/module_upload.php | PHP | asf20 | 3,817 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/templets/bbs_addons.htm");
ClearAllLink();
?> | zyyhong | trunk/jiaju001/news/lic/bbs_addons.php | PHP | asf20 | 136 |
<?php
require_once(dirname(__FILE__)."/config.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
$dsql = new DedeSql(false);
if(empty($pagesize)) $pagesize = 18;
if(empty($pageno)) $pageno = 1;
if(empty($dopost)) $dopost = '';
if(empty($orderby)) $orderby = 'tid';
if(empty($keyword)){
$keyword... | zyyhong | trunk/jiaju001/news/lic/tag_main.php | PHP | asf20 | 3,532 |
<?php
require_once(dirname(__FILE__)."/../config.php");
CheckPurview('a_Edit,a_AccEdit,a_MyEdit');
require_once(DEDEADMIN."/inc/inc_archives_functions.php");
if(!isset($iscommend)) $iscommend = 0;
if(!isset($isjump)) $isjump = 0;
if(!isset($isbold)) $isbold = 0;
if(!isset($autokey)) $autokey = 0;
if(!isset($r... | zyyhong | trunk/jiaju001/news/lic/info_edit_action.php | PHP | asf20 | 6,305 |
<?php
require_once(dirname(__FILE__)."/config.php");
require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php");
setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/");
$bgcolor = "";
if(!isset($keyword)) $keyword="";
if(!isset($typeid)) $typeid="0";
function IsCheck($st)
{
if($st==1) return "[已审核]... | zyyhong | trunk/jiaju001/news/lic/feedback_main.php | PHP | asf20 | 813 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_Source');
if(empty($dopost)) $dopost = "";
if(empty($allsource)) $allsource = "";
else $allsource = stripslashes($allsource);
$m_file = dirname(__FILE__)."/inc/source.txt";
//保存
if($dopost=="save")
{
$fp = fopen($m_file,'w');
flock... | zyyhong | trunk/jiaju001/news/lic/article_source_edit.php | PHP | asf20 | 835 |
<!--
Ap=new Array();
Ap[1]="1~北京市";
B1=new Array();
B1[0]="101~东城区";
B1[1]="102~西城区";
B1[2]="103~崇文区";
B1[3]="104~宣武区";
B1[4]="105~朝阳区";
B1[5]="106~海淀区";
B1[6]="107~丰台区";
B1[7]="108~石景山区";
B1[8]="109~门头沟区";
B1[9]="110~房山区";
B1[10]="111~通州区";
B1[11]="112~顺义区";
B1[12]="113~昌平区"... | zyyhong | trunk/jiaju001/news/lic/area.js | JavaScript | asf20 | 15,104 |
<?php
require_once(dirname(__FILE__)."/config.php");
CheckPurview('sys_MakeHtml');
$t1 = ExecTime();
require_once(dirname(__FILE__)."/../include/inc_archives_view.php");
if(empty($startid)) $startid = 0;//起始ID号
if(empty($endid)) $endid = 0;//结束ID号
if(empty($startdd)) $startdd = 0;//结果集起始记录值
if(empty($pagesize)... | zyyhong | trunk/jiaju001/news/lic/makehtml_archives_action.php | PHP | asf20 | 3,226 |