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 require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_js'); $aid = ereg_replace("[^0-9]","",$aid); $db = new DedeSql(false); $row = $db->GetOne("Select * From #@__plus where aid='$aid'"); require_once(dirname(__FILE__)."/templets/plus_js.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/plus_js.php
PHP
asf20
291
<?php require(dirname(__FILE__)."/config.php"); require(DEDEADMIN."/../include/pub_oxwindow.php"); require(DEDEADMIN."/file_class.php"); CheckPurview('plus_文件管理器'); $activepath = str_replace("..","",$activepath); $activepath = ereg_replace("^/{1,}","/",$activepath); if($activepath == "/") $activepath = ""; ...
zyyhong
trunk/jiaju001/news/lic/file_manage_control.php
PHP
asf20
3,825
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('spec_List'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php"); require_once(dirname(__FILE__)."/inc/inc_list_functions.php"); setcookie("ENV_GOBACK_URL",$dedeNowur...
zyyhong
trunk/jiaju001/news/lic/content_s_list.php
PHP
asf20
2,470
<?php $__ONLYDB = true; $__ONLYCONFIG = true; require_once(dirname(__FILE__)."/../include/config_base.php"); require_once(dirname(__FILE__)."/../include/pub_charset.php"); AjaxHead(); $myhtml = UnicodeUrl2Gbk(stripslashes($myhtml)); echo "<div class='coolbg4' style='width:380px'>[<a href='#' onclick='javas...
zyyhong
trunk/jiaju001/news/lic/album_testhtml.php
PHP
asf20
623
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_ArcBatch'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/inc/inc_batchup.php"); //typeid,startid,endid,seltime,starttime,endtime,action,newtypeid //批量操作 //check del move makehtml //获取ID条件 ...
zyyhong
trunk/jiaju001/news/lic/content_batchup_do.php
PHP
asf20
4,200
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/templets/article_desction_main.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/article_description_main.php
PHP
asf20
149
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_AddNote'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); if(empty($action)) $action = ""; if(empty($exrule)) $exrule = ""; if($action=="select"){ require_once(dirname(__FILE__)."/templets/co_sel_exrule.htm"); ClearAllLi...
zyyhong
trunk/jiaju001/news/lic/co_add.php
PHP
asf20
4,763
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Group'); if(empty($dopost)) $dopost = ""; $dsql = new DedeSql(false); require_once(dirname(__FILE__)."/templets/sys_group.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/sys_group.php
PHP
asf20
232
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/pub_oxwindow.php"); if(empty($dopost)) $dopost = ""; if(empty($fmdo)) $fmdo = ""; if(!isset($ENV_GOBACK_URL)) $ENV_GOBACK_URL = ''; /*---------------- function __DelMember() 删除会员 ----------------*/ if($dopos...
zyyhong
trunk/jiaju001/news/lic/company_do.php
PHP
asf20
8,041
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('temp_Other'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); if(empty($dopost)) $dopost = ""; ////////////////////////////////////////// if($dopost=="save") { $tagname = trim($tagname); $dsql = new DedeSql(false); $row = $dsql-...
zyyhong
trunk/jiaju001/news/lic/mytag_add.php
PHP
asf20
1,173
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Passport'); if(!function_exists('file_get_contents')){ ShowMsg("你的系统不支持函数:file_get_contents<br><br> 不能使用 Dede 通行证接口!","javascript:;"); exit(); } if(empty($action)) $action = ''; if($action=='save'){ if(!$pp_type) $pp_type = 0; else $p...
zyyhong
trunk/jiaju001/news/lic/sys_passport.php
PHP
asf20
1,981
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_EditNote'); if($linkareas!=""&&$linkareae!="") $linkarea = $linkareas.'[var:区域]'.$linkareae; else $linkarea = ''; if($sppages!="" && $sppagee!="") $sppage = $sppages.'[var:分页区域]'.$sppagee; else $sppage = ''; $itemconfig = " {!-- 节点基本信息...
zyyhong
trunk/jiaju001/news/lic/co_edit_action.php
PHP
asf20
3,075
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_sitemap.php"); require_once(dirname(__FILE__)."/../include/pub_dedetag.php"); if(empty($dopost)) { ShowMsg("参数错误!","-1"); exit(); } $sm = new SiteMap(); $maplist = $sm->GetSiteMap($dopost); $sm->Close(); ...
zyyhong
trunk/jiaju001/news/lic/makehtml_map.php
PHP
asf20
942
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscomm...
zyyhong
trunk/jiaju001/news/lic/action/album_add_action.php
PHP
asf20
12,295
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!iss...
zyyhong
trunk/jiaju001/news/lic/action/album_edit_action.php
PHP
asf20
11,686
<?php require_once(dirname(__FILE__)."/../config.php"); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!TestPurview('spec_New')) { ShowMsg("对不起,你没有操...
zyyhong
trunk/jiaju001/news/lic/action/spec_add_action.php
PHP
asf20
6,077
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_Edit'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if( empty($chapterid) ...
zyyhong
trunk/jiaju001/news/lic/action/story_edit_photo_action.php
PHP
asf20
3,160
<?php require_once(dirname(__FILE__)."/../config.php"); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscommend)) $iscommend = 0; if(!isset(...
zyyhong
trunk/jiaju001/news/lic/action/spec_edit_action.php
PHP
asf20
6,128
<?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/action/info_edit_action.php
PHP
asf20
6,314
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); if(!isset($iscommend)) $iscommend = 0; if(!isset($isbold)) $isbold = 0; if(!isset($autokey)) $autokey = 0; if(!isset($remote)) $remote = 0; if(!isset($dellink)) $d...
zyyhong
trunk/jiaju001/news/lic/action/info_add_action.php
PHP
asf20
7,704
/*Powered by http://www.dedecms.com Design & CSS By Pig.Z (QQ:7859301)*/ *{ padding:0px; margin:0px; font-family:宋体, Verdana, Arial, Helvetica, sans-serif; font-size:12px; } html{ padding-top:5px; padding-bottom:5px; padding-right:5px; } body{ font-family:宋体, Verdana, Arial, Helvetica, sans-serif;...
zyyhong
trunk/jiaju001/news/lic/action/css_body.css
CSS
asf20
2,322
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); 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($remote)) $re...
zyyhong
trunk/jiaju001/news/lic/action/article_add_action.php
PHP
asf20
7,583
<?php @ob_start(); @set_time_limit(3600); require_once(dirname(__FILE__)."/../config.php"); CheckPurview('sys_description'); if(empty($startdd)) $startdd = 0; if(empty($pagesize)) $pagesize = 100; if(empty($totalnum)) $totalnum = 0; if(empty($sid)) $sid = 0; if(empty($eid)) $eid = 0; if(empty($dojob)) $dojo...
zyyhong
trunk/jiaju001/news/lic/action/article_description_action.php
PHP
asf20
5,394
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_New'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscommend)) ...
zyyhong
trunk/jiaju001/news/lic/action/story_edit_action.php
PHP
asf20
2,645
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_New'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if( empty($chapterid) ...
zyyhong
trunk/jiaju001/news/lic/action/story_add_photo_action.php
PHP
asf20
4,288
<?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($...
zyyhong
trunk/jiaju001/news/lic/action/article_eidt_action.php
PHP
asf20
5,836
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_New'); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../../include/inc_bookfunctions.php"); if( empty($chapterid) || (!empty($addchapter) && !empty($chapternew)) ) { if(empty($cha...
zyyhong
trunk/jiaju001/news/lic/action/story_add_content_action.php
PHP
asf20
3,941
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscomm...
zyyhong
trunk/jiaju001/news/lic/action/soft_add_action.php
PHP
asf20
6,504
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_New'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscommend))...
zyyhong
trunk/jiaju001/news/lic/action/story_add_action.php
PHP
asf20
2,774
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_Del'); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); if(empty($action)){ ShowMsg("你没指定任何参数!","-1"); exit(); } /*-------------------- function DelBook() 删除整本图书 -------------------*/ if($action=='delbook') {...
zyyhong
trunk/jiaju001/news/lic/action/story_do.php
PHP
asf20
4,693
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('story_Edit'); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../../include/inc_bookfunctions.php"); if( empty($chapterid) || (!empty($addchapter) && !empty($chapternew)) ) { if(empty($ch...
zyyhong
trunk/jiaju001/news/lic/action/story_edit_content_action.php
PHP
asf20
3,275
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!is...
zyyhong
trunk/jiaju001/news/lic/action/flash_edit_action.php
PHP
asf20
5,905
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(dirname(__FILE__)."/../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; ...
zyyhong
trunk/jiaju001/news/lic/action/archives_edit_action.php
PHP
asf20
5,085
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!isset($iscomme...
zyyhong
trunk/jiaju001/news/lic/action/flash_add_action.php
PHP
asf20
7,163
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_New,a_AccNew'); require_once(dirname(__FILE__)."/../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($...
zyyhong
trunk/jiaju001/news/lic/action/archives_add_action.php
PHP
asf20
5,718
<?php require_once(dirname(__FILE__)."/../config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(dirname(__FILE__)."/../../include/inc_photograph.php"); require_once(dirname(__FILE__)."/../../include/pub_oxwindow.php"); require_once(dirname(__FILE__)."/../inc/inc_archives_functions.php"); if(!is...
zyyhong
trunk/jiaju001/news/lic/action/soft_edit_action.php
PHP
asf20
6,119
<!-- function checkSubmitAlb() { if(document.form1.title.value==""){ alert("档案标题不能为空!"); return false; } if(document.form1.likeid.value!="" && HasNotVd(document.form1.likeid.value)){ alert("相关文档必须填写正确的ID,如ID1,ID2..."); return false; } if(document.form1.typeid.value==0){ aler...
zyyhong
trunk/jiaju001/news/lic/album.js
JavaScript
asf20
4,130
<?php $cfg_IsCanView=true; require_once(dirname(__FILE__)."/../include/config_base.php"); require_once(dirname(__FILE__)."/../include/inc_userlogin.php"); if(empty($dopost)) $dopost=""; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <h...
zyyhong
trunk/jiaju001/news/lic/login.php
PHP
asf20
6,817
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('member_Pm'); if(!isset($action)) $action = ''; if($action=="post"){ $msgfrom = '管理员'; $msgfromid = 0; $msgtoid = 0; $dateline = time(); $subject = cn_substr(trim(ClearHtml($subject)),70); $message = cn_substr(trim(ClearHtml($message)),1...
zyyhong
trunk/jiaju001/news/lic/member_pmall.php
PHP
asf20
1,003
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('co_NewRule'); if(empty($action)) $action = ""; $aid = ereg_replace("[^0-9]","",$aid); if(empty($aid)){ ShowMsg("参数无效!","-1"); exit(); } //---------------------------- //事件触发处理 //---------------------------- if($action=="save") { $notes ...
zyyhong
trunk/jiaju001/news/lic/co_export_rule_edit.php
PHP
asf20
3,537
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/pub_collection.php"); if($nid=="") { ShowMsg("参数无效!","-1"); exit(); } $co = new DedeCollection(); $co->Init(); $co->LoadFromDB($nid); require_once(dirname(__FILE__)."/templets/co_test_rule.htm"); $co->Close...
zyyhong
trunk/jiaju001/news/lic/co_test_rule.php
PHP
asf20
354
<?php //------------------------------------ //计划任务操作部份 //返回值标准 // 正常操作:返回下一个网址 // 执行某操作结束:返回 end // 页面数据库类错误: 返回 error // 用户验证不通过: 返回 task_config.php 里的相关值 // 其它错误:如服务器停止错误导致404或程序出错导致500错误等客户端会自动识别,并隔一段时间后重新尝试。 //------------------------------------ require_once(dirname(__FILE__)."/task_config.php"); if(em...
zyyhong
trunk/jiaju001/news/lic/task_action.php
PHP
asf20
1,433
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/templets/sys_data_replace.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/sys_data_replace.php
PHP
asf20
146
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php"); require_once(dirname(__FILE__)."/../include/inc_functions.php"); setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); function MediaType($tid,$nurl) { if($tid==1) return "图片"; else if...
zyyhong
trunk/jiaju001/news/lic/media_main.php
PHP
asf20
1,784
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('member_Edit'); if(!isset($_COOKIE['ENV_GOBACK_URL'])) $ENV_GOBACK_URL = ""; else $ENV_GOBACK_URL="member_main.php"; $ID = ereg_replace("[^0-9]","",$ID); $dsql = new DedeSql(false); $row=$dsql->GetOne("select * from #@__member where ID='$ID'"); $row...
zyyhong
trunk/jiaju001/news/lic/member_view.php
PHP
asf20
475
<?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,"/"); if(!isset($ischeck)) $ischeck = -1; if(!isset($keyword)) $keyword = ""...
zyyhong
trunk/jiaju001/news/lic/friendlink_main.php
PHP
asf20
1,763
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/../include/pub_dedetag.php"); $dsql = new DedeSql(false); $aid = ereg_replace("[^0-9]","",$aid); $row = $dsql->GetOne("Select * From #@__freelist where aid='$aid' ...
zyyhong
trunk/jiaju001/news/lic/freelist_edit.php
PHP
asf20
554
<?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($keyword)){ $keyword...
zyyhong
trunk/jiaju001/news/lic/search_tags_main.php
PHP
asf20
4,305
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('member_Data'); if(empty($action)) $action = ''; /*------------------------------- //列出数据库里的表 function __gettables() --------------------------------*/ if($action=='gettables'){ AjaxHead(); $qbutton = "<input type='button' name='seldbtable...
zyyhong
trunk/jiaju001/news/lic/member_data_action.php
PHP
asf20
7,371
<?php require_once(dirname(__FILE__)."/config.php"); $db = new DedeSql(false); if(empty($action)){ $smalltypes = array(); $sql = "select typename, ID, smalltypes from #@__arctype where smalltypes<>''"; $db->SetQuery($sql); $db->Execute(); $typesinfo = $types =array(); while($row = $db->GetArray()) { ...
zyyhong
trunk/jiaju001/news/lic/smalltype.php
PHP
asf20
3,676
/*Powered by http://www.dedecms.com Design & Css By Pig.Z (QQ:7859301)*/ *{ padding:0px; margin:0px; } body{ color:#333333; font-family:Verdana, Arial, Helvetica, sans-serif; font-size:12px; height:76px; overflow:hidden; background:url(images/top_bg_hr.jpg) left top repeat-x; } /*---- link -----...
zyyhong
trunk/jiaju001/news/lic/css_top.css
CSS
asf20
2,144
<?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 " checked"; } if(empty($keyword)){ $keyword = ""; $addquery = ""; } ...
zyyhong
trunk/jiaju001/news/lic/article_keywords_main.php
PHP
asf20
688
<?php require_once(dirname(__FILE__)."/config.php"); if(empty($dopost)) $dopost = ""; if($dopost=="upload") //上传 { require_once(dirname(__FILE__)."/../include/inc_photograph.php"); $sparr_image = Array("image/pjpeg","image/jpeg","image/gif","image/png","image/x-png","image/wbmp"); $sparr_flash = Array("applic...
zyyhong
trunk/jiaju001/news/lic/media_add.php
PHP
asf20
2,586
<?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=='') { $dm = new Dede...
zyyhong
trunk/jiaju001/news/lic/module_main.php
PHP
asf20
12,839
<?php require_once(dirname(__FILE__)."/config.php"); if(empty($do)){ include './templets/baidunews.htm'; }else{ $baidunews = "<?xml version=\"1.0\" encoding=\"gb18030\" ?>\n"; $baidunews .= "<document>\n"; $baidunews .= "<webSite>$cfg_webname </webSite>\n"; $baidunews .= "<webMaster>$cfg_adminemail </w...
zyyhong
trunk/jiaju001/news/lic/baidunews.php
PHP
asf20
2,411
<?php require_once(dirname(__FILE__)."/../../include/inc_channel_unit_functions.php"); $GLOBALS['adminCats'] = array(); $GLOBALS['suserCatalog'] = ''; function GetOptionList($selid=0,$userCatalog=0,$channeltype=0) { global $OptionArrayList,$channels,$adminCats,$adminCatstrs,$suserCatalog; $suserCatalog ...
zyyhong
trunk/jiaju001/news/lic/inc/inc_catalog_options.php
PHP
asf20
4,680
<?php if(!isset($cfg_registerGlobals)){ require_once(dirname(__FILE__)."/../../include/config_base.php"); } //获得是否推荐的表述 //--------------------------------- function IsCommendArchives($iscommend) { if($iscommend==5) return "<font color='blue'>(粗)</font>"; else if($iscommend==11) return "<font color='blue'>(荐)...
zyyhong
trunk/jiaju001/news/lic/inc/inc_list_functions.php
PHP
asf20
2,843
<?php function DelArc($aid,$onlyfile=false,$channelid=0) { global $dsql,$cuserLogin,$cfg_send_score; if(!is_object($dsql)) $dsql = new DedeSql(false); $tables = GetChannelTable($dsql,$aid,'arc'); //读取文档信息 $arctitle = ""; $arcurl = ""; $arcQuery = " Select a.ID,a.ti...
zyyhong
trunk/jiaju001/news/lic/inc/inc_batchup.php
PHP
asf20
3,358
<?php $autolitpic = (empty($autolitpic) ? '' : $autolitpic); ${$vs[0]} = stripslashes(${$vs[0]}); //获得文章body里的外部资源 if($cfg_isUrlOpen && $remote==1){ ${$vs[0]} = GetCurContent(${$vs[0]}); } //去除内容中的站外链接 if($dellink==1) { ${$vs[0]} = str_replace($cfg_basehost,'#basehost#',${$vs[0]}); ${$vs[0]} = preg_replace(...
zyyhong
trunk/jiaju001/news/lic/inc/inc_arc_makeauto.php
PHP
asf20
1,023
<?php require_once(DEDEADMIN."/../include/pub_httpdown.php"); require_once(DEDEADMIN."/../include/inc_photograph.php"); require_once(DEDEADMIN."/../include/pub_oxwindow.php"); require_once(DEDEADMIN."/../include/inc_tag_functions.php"); require_once(DEDEADMIN."/../include/inc_custom_fields.php"); //-------------...
zyyhong
trunk/jiaju001/news/lic/inc/inc_archives_functions.php
PHP
asf20
21,107
<?php //获得字段创建信息 function GetFieldMake($dtype,$fieldname,$dfvalue,$mxlen) { $fields = array(); if($dtype=="int"||$dtype=="datetime"){ if($dfvalue=="" || ereg("[^0-9-]",$dfvalue)){ $dfvalue = 0; } $fields[0] = " `$fieldname` int(11) NOT NULL default '$dfvalue';"; $fields[1] = "int(11)"; }el...
zyyhong
trunk/jiaju001/news/lic/inc/inc_admin_channel.php
PHP
asf20
2,045
<?php //栏目选择 function GetTypeidSel($fname,$f1,$f2,$cc,$selv='0',$selname='请选择...',$pos='') { global $opall; if(empty($opall)) $opall = 0; $rstr = "<input type=\"hidden\" name=\"$f1\" value=\"$selv\">\r\n"; $rstr .= "<input type=\"button\" name=\"$f2\" value=\"$selname\" style=\"height:21px;width:150px;b...
zyyhong
trunk/jiaju001/news/lic/inc/inc_admin_pub.php
PHP
asf20
596
<?php require_once(dirname(__FILE__)."/../../include/config_base.php"); require_once(dirname(__FILE__)."/../../include/pub_dedetag.php"); if(!isset($cfg_ct_mode)) $cfg_ct_mode = 0; $dsql = new DedeSql(false); //载入可发布/管理频道 $listset = ""; $addset = ""; $plusset = ""; if($c==2||$c==9||$c==0) { $listsetn = '...
zyyhong
trunk/jiaju001/news/lic/inc/inc_menu.php
PHP
asf20
14,427
<?php require_once(dirname(__FILE__)."/config.php"); require_once(DEDEADMIN."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); $typeid = $cid = (!isset($cid) ? 0 : intval($cid)); $channelid = (!isset($channelid) ? 0 : intval($channelid)); $dsql = new DedeSql(false); //读...
zyyhong
trunk/jiaju001/news/lic/info_add.php
PHP
asf20
3,378
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__).'/../include/inc_arcbook_view.php'); CheckPurview('sys_MakeHtml'); if(!isset($action)) $action = ''; $dsql = new DedeSql(false); //更新HTML操作 if($action=='make') { if(empty($start)) $start = 0; $addquery = " id>='$starid'...
zyyhong
trunk/jiaju001/news/lic/makehtml_story.php
PHP
asf20
2,073
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Edit'); require_once(dirname(__FILE__)."/../include/inc_photograph.php"); header("Content-Type: text/html; charset={$cfg_ver_lang}"); if($cfg_photo_support==""){ echo "你的系统没安装GD库,不允许使用本功能!"; } $ImageWaterConfigFile = dirname(__FILE__)."/../in...
zyyhong
trunk/jiaju001/news/lic/sys_info_mark.php
PHP
asf20
1,890
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('member_Edit'); if(!isset($_COOKIE['ENV_GOBACK_URL'])) $ENV_GOBACK_URL = ""; else $ENV_GOBACK_URL="member_main.php"; $ID = ereg_replace("[^0-9]","",$ID); $dsql = new DedeSql(false); $row=$dsql->GetOne("select m.*, mc.* from #@__member m left join #@__...
zyyhong
trunk/jiaju001/news/lic/company_view.php
PHP
asf20
1,552
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typeunit_admin.php"); $ID = trim(ereg_replace("[^0-9]","",$ID)); //检查权限许可 CheckPurview('t_Del,t_AccDel'); //检查栏目操作许可 CheckCatalog($ID,"你无权删除本栏目!"); if(empty($dopost)) $dopost=""; if($dopost=="ok"){ $ut ...
zyyhong
trunk/jiaju001/news/lic/catalog_del.php
PHP
asf20
1,154
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('member_List'); require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php"); $query = "select * from #@__score2money_logs order by dateline desc"; $dlist = new DataList(); $dlist->Init(); $dlist->pageSize = 20; $dlist->SetSource($quer...
zyyhong
trunk/jiaju001/news/lic/money2scores.php
PHP
asf20
699
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/pub_oxwindow.php"); if(empty($dopost)) $dopost = ""; if(empty($fmdo)) $fmdo = ""; if(!isset($ENV_GOBACK_URL)) $ENV_GOBACK_URL = ''; /*---------------- function __DelMember() 删除会员 ----------------*/ if($dopos...
zyyhong
trunk/jiaju001/news/lic/member_do.php
PHP
asf20
7,210
<?php $USEListStyle='pic'; $defaultPageSize = 10; require_once(dirname(__FILE__)."/content_list.php"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/content_i_list.php
PHP
asf20
127
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('plus_投票模块'); if(empty($dopost)) $dopost = ""; ////////////////////////////////////////// if($dopost=="save") { //$ismore,$votename $starttime = GetMkTime($starttime); $endtime = GetMkTime($endtime); $voteitems = ""; $j=0; for($i=1;$i<=15;$...
zyyhong
trunk/jiaju001/news/lic/vote_add.php
PHP
asf20
1,153
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Log'); if(empty($dopost)){ ShowMsg("你没指定任何参数!","javascript:;"); exit(); } //清空所有日志 if($dopost=="clear"){ $dsql = new DedeSql(false); $dsql->ExecuteNoneQuery("Delete From #@__log"); $dsql->Close(); ShowMsg("成功清空所有日志!","log_list...
zyyhong
trunk/jiaju001/news/lic/log_edit.php
PHP
asf20
988
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('member_Operations'); require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php"); setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); function GetMemberID($dsql,$mid){ if($mid==0) return '0'; $row = $dsql->GetOne("Select userid Fr...
zyyhong
trunk/jiaju001/news/lic/member_operations.php
PHP
asf20
1,375
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Data'); //获取系统存在的表信息 $otherTables = Array(); $dedeSysTables = Array(); $channelTables = Array(); $dsql = new DedeSql(false); $dsql->SetQuery("Select addtable From #@__channeltype"); $dsql->Execute(); while($row = $dsql->GetObject()){ $ch...
zyyhong
trunk/jiaju001/news/lic/sys_data.php
PHP
asf20
984
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(DEDEADMIN."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/../include/pub_dedetag.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); $aid = intval($aid); $dsql = new DedeSql(fals...
zyyhong
trunk/jiaju001/news/lic/info_edit.php
PHP
asf20
4,623
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_PlayNote'); require_once(dirname(__FILE__)."/../include/pub_collection.php"); if($totalnum==0) { ShowMsg("种子网址为零!","",1); exit(); } $dsql = new DedeSql(false); //多线程模式初次设置 if(!isset($threadnum)) $threadnum = 0; if(!isset($oldstart)) $o...
zyyhong
trunk/jiaju001/news/lic/co_gather_start_action.php
PHP
asf20
3,012
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('temp_One'); if(empty($dopost)) $dopost = ""; if(empty($aid)) $aid = ""; $dsql = new DedeSql(false); ////////////////////////////////////////// /*---------------------- function __saveedit(); -------------------*/ if($dopost=="saveedit") { requi...
zyyhong
trunk/jiaju001/news/lic/templets_one_edit.php
PHP
asf20
3,944
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_NewRule'); require_once(dirname(__FILE__)."/../include/pub_datalist.php"); require_once(dirname(__FILE__)."/../include/inc_functions.php"); setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); $sql = " Select aid,rulename,etype,dtime ...
zyyhong
trunk/jiaju001/news/lic/co_export_rule.php
PHP
asf20
565
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('member_Type'); if(empty($dopost)) $dopost = ""; $dsql = new DedeSql(false); //保存更改 //-------------------- if($dopost=="save") { $startID = 1; $endID = $idend; for(;$startID<=$endID;$startID++){ $query = ''; $tid = ${'I...
zyyhong
trunk/jiaju001/news/lic/member_card_type.php
PHP
asf20
1,573
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('temp_Test'); require_once(dirname(__FILE__)."/../include/inc_arcpart_view.php"); $partcode = stripslashes($partcode); if(empty($typeid)) $typeid = 0; if(empty($showsource)) $showsource = ""; if($typeid>0) $pv = new PartView($typeid); else $pv =...
zyyhong
trunk/jiaju001/news/lic/tag_test_action.php
PHP
asf20
695
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_MakeHtml'); require_once(dirname(__FILE__)."/../include/inc_arclist_view.php"); /* makehtml_list_action.php? typeid=118 uptype=all starttime=2007-01-16+15%3A24%3A05 maxpagesize=100 upnext=1 */ if(!isset($upnext)) $upnext = 1; if(em...
zyyhong
trunk/jiaju001/news/lic/makehtml_list_action.php
PHP
asf20
3,250
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/templets/makehtml_archives.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/makehtml_archives.php
PHP
asf20
214
<?php @ob_start(); @set_time_limit(3600); require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Keyword'); header("Content-Type: text/html; charset={$cfg_ver_lang}"); echo "正在读取关键字数据库...<br/>\r\n"; flush(); $ws = ""; $wserr = ""; $wsnew = ""; $dsql = new DedeSql(false); $dsql->SetQuery("Sel...
zyyhong
trunk/jiaju001/news/lic/article_keywords_analyse.php
PHP
asf20
2,183
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(DEDEADMIN."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/../include/pub_dedetag.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); $aid = intval($aid); $dsql = new DedeSql(fal...
zyyhong
trunk/jiaju001/news/lic/album_edit.php
PHP
asf20
1,785
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_plus'); if(empty($dopost)) $dopost = ""; if($dopost=="save"){ $plusname = str_replace("\\'","",$plusname); $link = str_replace("\\'","",$link); $target = str_replace("\\'","",$target); $menustring = "<m:item name=\\'$plusname\\' link=\\...
zyyhong
trunk/jiaju001/news/lic/plus_add.php
PHP
asf20
777
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('plus_友情链接模块'); if(!empty($_COOKIE['ENV_GOBACK_URL'])) $ENV_GOBACK_URL = $_COOKIE['ENV_GOBACK_URL']; else $ENV_GOBACK_URL = friendlink_main.php; if(empty($dopost)) $dopost = ""; if(isset($allid)){ $aids = explode(',',$allid); if(count($aid...
zyyhong
trunk/jiaju001/news/lic/friendlink_edit.php
PHP
asf20
1,808
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('a_Edit,a_AccEdit,a_MyEdit'); require_once(DEDEADMIN."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/../include/pub_dedetag.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); $aid = intval($aid); $dsql = new DedeSql(fal...
zyyhong
trunk/jiaju001/news/lic/soft_edit.php
PHP
asf20
2,176
<?php error_reporting(0); require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typeunit_admin.php"); $userChannel = $cuserLogin->getUserChannel(); if(!isset($action)) $action = false; if(!$action || $action=='info' || $action=='prompt'){ if(!isset($_POST['step'])){ i...
zyyhong
trunk/jiaju001/news/lic/code_main.php
PHP
asf20
2,944
<?php require_once(dirname(__FILE__)."/config.php"); @set_time_limit(1800); if(empty($dopost)) $dopost = ""; if(empty($reset)) $reset = ""; header("Content-Type: text/html; charset={$cfg_ver_lang}"); //用户Action if($dopost=="yes"){ if($reset=='yes'){ $dsql = new DedeSql(false); $dsql->ExecuteNon...
zyyhong
trunk/jiaju001/news/lic/rnd_templets_main.php
PHP
asf20
1,597
<?php require_once(dirname(__FILE__)."/config.php"); if(!isset($nid)) $nid=0; if(empty($_COOKIE["ENV_GOBACK_URL"])) $ENV_GOBACK_URL = "co_url.php"; else $ENV_GOBACK_URL = $_COOKIE["ENV_GOBACK_URL"]; //删除节点 /* function co_delete() */ if($dopost=="delete") { CheckPurview('co_Del'); $dsql = new DedeSql(...
zyyhong
trunk/jiaju001/news/lic/co_do.php
PHP
asf20
2,811
<?php $cfg_IsCanView=true; require_once(dirname(__FILE__)."/../include/config_base.php"); require_once(dirname(__FILE__)."/../include/inc_userlogin.php"); $cuserLogin = new userLogin(); $cuserLogin->exitUser(); header("location:index.php"); ?>
zyyhong
trunk/jiaju001/news/lic/exit.php
PHP
asf20
250
<?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(!isset($sta...
zyyhong
trunk/jiaju001/news/lic/member_main.php
PHP
asf20
2,764
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('co_EditNote'); $nid = ereg_replace("[^0-9]","",$nid); if(empty($nid)){ ShowMsg("参数无效!","-1"); exit(); } $dsql = new DedeSql(false); $row = $dsql->GetOne("Select * From #@__conote where nid='$nid'"); $dsql->Close(); require_once(dirname(__FI...
zyyhong
trunk/jiaju001/news/lic/co_export_corule.php
PHP
asf20
801
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('sys_MakeHtml'); $dsql = new DedeSql(false); $cids = ''; $dsql->SetQuery("Select ID From `#@__channeltype` "); $dsql->Execute(); while($row = $dsql->GetArray()) { $cids .= ($cids=='' ? $row[0] : ','.$row[0]); } if($cids!='') { $rs = $dsql->E...
zyyhong
trunk/jiaju001/news/lic/archives_clear.php
PHP
asf20
1,128
<?php require(dirname(__FILE__)."/config.php"); CheckPurview('plus_文件管理器'); if(!isset($activepath)) $activepath=$cfg_cmspath; $inpath = ""; $activepath = str_replace("..","",$activepath); $activepath = ereg_replace("^/{1,}","/",$activepath); if($activepath == "/") $activepath = ""; if($activepath == "") ...
zyyhong
trunk/jiaju001/news/lic/file_manage_main.php
PHP
asf20
609
<?php /* [Discuz!] (C)2001-2009 Comsenz Inc. This is NOT a freeware, use is subject to license terms $Id: search.php 20900 2009-10-29 02:49:38Z tiger $ */ define('NOROBOT', TRUE); define('CURSCRIPT', 'search'); require_once './include/common.inc.php'; require_once DISCUZ_ROOT.'./include/forum.func.php'...
zyyhong
trunk/jiaju001/newbbs/bbs/search.php
PHP
asf20
10,779
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); hookscriptoutput('login'); 0 || checktplrefresh('D:\Website\newbbs\bbs\././templates/default/login.htm', 'D:\Website\newbbs\bbs\././templates/default/seccheck.htm', 1268614959, '1', './templates/default') ;?><? include template('header', '0', ''); if(!empty($message))...
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_login.tpl.php
PHP
asf20
12,427
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); ?> <!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=<?=$charset?>" /> <title><?=...
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_header_notice.tpl.php
PHP
asf20
7,689
<? if(!defined('IN_DISCUZ')) exit('Access Denied'); funcstat(); stat_code(); $s = ob_get_contents(); ob_end_clean(); $s = preg_replace("/([\x01-\x08\x0b-\x0c\x0e-\x1f])+/", ' ', $s); $s = str_replace(array(chr(0), ']]>'), array(' ', ']]&gt;'), $s); ?><?=$s?> <? if($prompts['newbietask'] && $newbietasks) { include temp...
zyyhong
trunk/jiaju001/newbbs/bbs/forumdata/templates/1_1_footer_ajax.tpl.php
PHP
asf20
380