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 //系统设置为维护状态后仍可访问后台 $cfg_IsCanView = true; //允许在后台上传PHP文件 $cfg_NoUploadSafeCheck = true; define('DEDEADMIN',dirname(__FILE__)); require_once(DEDEADMIN."/../include/config_base.php"); require_once(DEDEADMIN."/../include/inc_userlogin.php"); require_once(DEDEADMIN."/inc/inc_admin_pub.php"); header("Cache-Control:private"); //获得当前脚本名称,如果你的系统被禁用了$_SERVER变量,请自行更改这个选项 $dedeNowurl = ""; $s_scriptName=""; $dedeNowurl = GetCurUrl(); $dedeNowurls = explode("?",$dedeNowurl); $s_scriptName = $dedeNowurls[0]; //检验用户登录状态 $cuserLogin = new userLogin(); if($cuserLogin->getUserID()==-1) { header("location:login.php?gotopage=".urlencode($dedeNowurl)); exit(); } if($cfg_dede_log=='Y') { $s_nologfile = "_main|_list|index"; $s_needlogfile = "sys_|file_"; isset($_SERVER['REQUEST_METHOD']) ? $s_method=$_SERVER['REQUEST_METHOD'] : $s_method=""; isset($dedeNowurls[1]) ? $s_query = $dedeNowurls[1] : $s_query = ""; $s_scriptNames = explode('/',$s_scriptName); $s_scriptNames = $s_scriptNames[count($s_scriptNames)-1]; $s_userip = GetIP(); if( $s_method=='POST' || (!eregi($s_nologfile,$s_scriptNames) && $s_query!='') || eregi($s_needlogfile,$s_scriptNames) ) { $dsql = new DedeSql(false); $inquery = "INSERT INTO `#@__log`(adminid,filename,method,query,cip,dtime) VALUES ('".$cuserLogin->getUserID()."','{$s_scriptNames}','{$s_method}','".addslashes($s_query)."','{$s_userip}','".time()."');"; $dsql->ExecuteNoneQuery($inquery); } } ?>
zyyhong
trunk/jiaju001/news/lic/config.php
PHP
asf20
1,668
/*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; font-size:12px; overflow-y:auto; height:100%; } input{ border-width:1px; border:1px solid #CCC; padding:3px 0 3px 5px; } input[type=image]{ border:none } input[type=checkbox]{ border:none } input[type=radio]{ border:none } .ncbox{} .np{ border:0px; } img{ border:0px; } a{ color:#000; } a:hover{ color:#F00; text-decoration:none; } .bodytitle{ width:96%; height:33px; background:url(images/body_title_bg.gif) top left repeat-x; margin-left:auto; margin-right:auto; margin-top:8px; clear:both; } .bodytitleleft{ width:30px; height:33px; float:left; background:url(images/body_title_left.gif) right bottom no-repeat; } .bodytitletxt{ height:27px; float:left; margin-top:6px; line-height:27px; font-size:14px; font-weight:bold; letter-spacing:2px; padding-left:8px; padding-right:8px; background:#FFF url(images/body_title_right.gif) right bottom no-repeat; } .tbtitle{ height:27px; margin:8px auto 0px auto; line-height:27px; letter-spacing:1px; } .tbtitle .tbtitletxt{ text-indent:20px; } .tblist{ background:#E2F5BC; margin-left:auto; margin-right:auto; } .tblist2{ margin-left:auto; margin-right:auto; border-left:1px solid #E2F5BC; border-right:1px solid #E2F5BC; border-bottom:1px solid #E2F5BC; } .tblist td{ background:#FFFFFF; padding:6px; } .tblist td.tbsname{ background:#F9FFE6; padding:6px; } .inputbut{ padding-left:3px; padding-right:2px; border:1px solid #999; background:#FFF url(images/inputbut_bg.gif) left center repeat-x; font-size:12px; height:24px; padding-top:2px; letter-spacing:2px; vertical-align:middle; margin-bottom:6px; } .inputbutx{ padding-left:3px; padding-right:2px; border:1px solid #999; background:#FFF url(images/inputbut_bg.gif) left center repeat-x; font-size:12px; height:20px; letter-spacing:2px; vertical-align:middle; text-decoration: none; line-height: 20px; padding-top: 2px; } .trlbg td{ background:#FFFFCC; } .hg { line-height: 20px; } .dlg { border: 2px solid #749F4D; background-color: #F0FAEB; padding: 2px; width: 200px; line-height:160%; } .dlgTesttitle { border: 2px solid #749F4D; background-color: #F0FAEB; padding: 2px; width: 200px; line-height:150%; } .dlg2 { border: 2px solid #749F4D; background-color: #F0FAEB; padding: 2px; width: 380px; line-height:160%; } .data { border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-right-color: #E2F5BC; border-bottom-color: #E2F5BC; border-left-color: #E2F5BC; } .dedePagelist a { border:1px; border:1px solid #CCC; margin-right:3px; text-decoration:none; color:#4E5344; padding:1px 2px 1px 2px; letter-spacing:0px } .bline { border-bottom: 1px dotted #BCD0B5; background-color: #FFFFFF; } .main_dnews{ padding:10px 0px 5px 100px; background:url(images/mico_1.gif) 10px 20px no-repeat; line-height:31px; } .main_dnews a{ color:#FF3300; } .main_qbut div{ width:100px; background:url(images/mico_l.gif) no-repeat; margin:0px auto; } .main_qbut div a{ display:block; width:100px; height:24px; padding-top:84px; } .main_qbut div a:hover{ background:url(images/mb_bg.gif) no-repeat; } .main_bleft{ line-height:29px; padding-right:10px; font-weight:bold; letter-spacing:2px; color:#006633; } .main_bright{ line-height:29px; padding-left:12px; } .coolbg4 { height:20px; width:200px; border-bottom: 1px solid #C9CFC1; background-color: #EDEBE5; text-align:right; margin-bottom:3px; } #_mysource{ line-height:150%; padding-left:5px; padding-right:2px; } .option1{ background-color: #DCECA6; } .option2{ background-color: #F7FBD2; } .option3{ background-color: #FFFFFF; } #head1{ border-bottom:1px solid #c2df9d; } #head2{ border-bottom:1px solid #c2df9d; } .ct_td{ padding:3px; padding-left:6px; }
zyyhong
trunk/jiaju001/news/lic/css_body.css
CSS
asf20
4,447
<?php require_once(dirname(__FILE__)."/../config.php"); require_once(dirname(__FILE__)."/creatminiature.php"); CheckPurview('sys_ArcBatch'); $t1 = ExecTime(); require_once(dirname(__FILE__)."/../../include/inc_archives_view.php"); if(empty($startid)) $startid = 1;//起始ID号 if(empty($endid)) $endid = 0;//结束ID号 if(empty($startdd)) $startdd = 0;//结果集起始记录值 if(empty($pagesize)) $pagesize = 20; if(empty($totalnum)) $totalnum = 0; if(empty($typeid)) $typeid = 0; if(empty($seltime)) $seltime = 0; if(empty($stime)) $stime = ""; if(empty($etime)) $etime = ""; $body = ""; $litpic = ""; $fieldear = array(); header("Content-Type: text/html; charset={$cfg_ver_lang}"); $dsql = new DedeSql(false); $mkimg=new CreatMiniature(); //获取条件 //------------------------ $gwhere = " where ID>=$startid And arcrank=0 "; if($endid > $startid) $gwhere .= " And ID<= $endid "; $idsql = ""; if($typeid!=0){ $tpids = ''; $idArrary = TypeGetSunTypes($typeid,$dsql,0); if(is_array($idArrary)) { foreach($idArrary as $tid){ $tpids = ($tpids=='' ? $tid : ','.$tid); } $idsql = " And typeid in ($tpids)"; } $idsql = $gwhere.$idsql; } if($idsql=="") $idsql = $gwhere; if($seltime==1){ $t1 = GetMkTime($stime); $t2 = GetMkTime($etime); $idsql .= " And (senddate >= $t1 And senddate <= $t2) "; } //统计记录总数 //------------------------ if($totalnum==0) { $row = $dsql->GetOne("Select count(*) as dd From #@__archives $idsql"); $totalnum = $row['dd']; } //获取记录,并生成缩略图--- if($totalnum > $startdd+$pagesize) { $limitSql = " limit $startdd,$pagesize"; }else { $limitrow = $totalnum - $startdd; $limitSql = " limit $startdd,$limitrow"; if($limitrow<0) { $dsql->Close(); echo "完成所有任务!"; exit(); } } $tjnum = $startdd; $dsql->SetQuery("Select ID,litpic,channel From #@__archives $idsql $limitSql"); $dsql->Execute(); while($row=$dsql->GetObject()) { $tjnum++; $ID = $row->ID; $imgfile=$row->litpic; $channel=$row->channel; $filear=split("/",$imgfile); if($isall==1) { switch($channel) { case 1: $dsql->SetQuery("Select body From #@__addonarticle where aid=$ID"); $dsql->Execute('c1'); $row1=$dsql->GetObject('c1'); $body=$row1->body; break; case 2: $dsql->SetQuery("Select imgurls From #@__addonimages where aid=$ID"); $dsql->Execute('c2'); $row1=$dsql->GetObject('c2'); $body=$row1->imgurls; break; } $old_cfg_medias_dir = str_replace('/','\/',$cfg_medias_dir); $picname=preg_replace("/.+?".$old_cfg_medias_dir."(.+?)( |\"|').*$/is",$cfg_medias_dir."$1",$body); //$picname = preg_replace("/.+?".$old_cfg_medias_dir."(.*)( |\"|').*$/isU",$cfg_medias_dir."$1",$body); $picname=rtrim($picname); if(eregi("\.(jpg|gif|png)$",$picname)) { $mkimg->SetVar($cfg_basedir.$picname,"file"); $litpic=str_replace('.','_lit.',$picname); $litpic=stripslashes($litpic); switch($maketype) { case 1: $mkimg->Distortion($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 2: $mkimg->Prorate($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 3: $mkimg->Cut($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 4: $mkimg->BackFill($cfg_basedir.$litpic,$imgwidth,$imgheight,$backcolor1,$backcolor2,$backcolor3); break; } $dsql->ExecuteNoneQuery("update #@__archives set litpic='$litpic' where ID='$ID'"); $dsql->ExecuteNoneQuery("update #@__full_search set litpic='$litpic' where aid='$ID'"); } //echo "update #@__archives set litpic=$litpic where ID=$ID"; echo $litpic."---ID:".$ID."<BR>"; } else { if(is_array($filear) && count($fieldear)>3 &&($filear[3]!="litimg"||$filear[0]=="")) { switch($channel) { case 1: $dsql->SetQuery("Select body From #@__addonarticle where aid=$ID"); $dsql->Execute('c1'); $row1=$dsql->GetObject('c1'); $body=$row1->body; break; case 2: $dsql->SetQuery("Select imgurls From #@__addonimages where aid=$ID"); $dsql->Execute('c2'); $row1=$dsql->GetObject('c2'); $body=$row1->imgurls; break; } $old_cfg_medias_dir = str_replace('/','\/',$cfg_medias_dir); $picname=preg_replace("/.+?".$old_cfg_medias_dir."(.+?)( |\"|').*$/is",$cfg_medias_dir."$1",$body); //echo preg_replace("/.+?".$old_cfg_medias_dir."(.*?)( |\"|').*$/is",$cfg_medias_dir."\\1",$body); $picname=rtrim($picname); //echo $picname; if(eregi("\.(jpg|gif|png)$",$picname)) { $mkimg->SetVar($cfg_basedir.$picname,"file"); $litpic=str_replace('.','_lit.',$picname); switch($maketype) { case 1: $mkimg->Distortion($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 2: $mkimg->Prorate($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 3: $mkimg->Cut($cfg_basedir.$litpic,$imgwidth,$imgheight); break; case 4: $mkimg->BackFill($cfg_basedir.$litpic,$imgwidth,$imgheight,$backcolor1,$backcolor2,$backcolor3); break; } $dsql->ExecuteNoneQuery("update #@__archives set litpic='$litpic' where ID='$ID'"); $dsql->ExecuteNoneQuery("update #@__full_search set litpic='$litpic' where aid='$ID'"); } } //echo "update #@__archives set litpic=$litpic where ID=$ID"; echo $litpic."---ID:".$ID."<BR>"; } } $t2 = ExecTime(); $t2 = ($t2 - $t1); //返回提示信息 if($totalnum>0) $tjlen = ceil( ($tjnum/$totalnum) * 100 ); else $tjlen=100; $dvlen = $tjlen * 2; $tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; $tjsta .= "<br/>本次用时:".number_format($t2,2)." 到达位置:".($startdd+$pagesize)."<br/>完成创建文件总数的:$tjlen %,继续执行任务..."; if($tjnum < $totalnum) { $nurl = "makeminiature_action.php?endid=$endid&startid=$startid&typeid=$typeid"; $nurl .= "&totalnum=$totalnum&startdd=".($startdd+$pagesize)."&pagesize=$pagesize"; $nurl .= "&seltime=$seltime&stime=".urlencode($stime)."&etime=".urlencode($etime); $nurl .="&isall=$isall&maketype=$maketype&imgwidth=$imgwidth&imgheight=$imgheight&backcolor1=$backcolor1&backcolor2=$backcolor2&backcolor3=$backcolor3"; $dsql->Close(); ShowMsg($tjsta,$nurl,0,100); exit(); } else { $dsql->Close(); echo "完成所有任务!"; exit(); } ?>
zyyhong
trunk/jiaju001/news/lic/makeminiature/makeminiature_action.php
PHP
asf20
6,577
<?php /*************************************** *作者:落梦天蝎(beluckly) *邮箱&MSN:smpluckly@gmail.com *完成时间:2006-12-18 *类名:CreatMiniature *功能:生成多种类型的缩略图 *基本参数:$srcFile,$echoType *方法用到的参数: $toFile,生成的文件 $toW,生成的宽 $toH,生成的高 $bk1,背景颜色参数 以255为最高 $bk2,背景颜色参数 $bk3,背景颜色参数 *例: include("creatminiature.php"); $cm=new CreatMiniature(); $cm->SetVar("bei1.jpg","file"); $cm->Distortion("dis_bei.jpg",200,300); $cm->Prorate("pro_bei.jpg",200,300); $cm->Cut("cut_bei.jpg",200,300); $cm->BackFill("fill_bei.jpg",200,300); ***************************************/ class CreatMiniature { //公共变量 var $srcFile=""; //原图 var $echoType; //输出图片类型,link--不保存为文件;file--保存为文件 var $im=""; //临时变量 var $srcW=""; //原图宽 var $srcH=""; //原图高 //设置变量及初始化 function SetVar($srcFile,$echoType) { $this->srcFile=$srcFile; $this->echoType=$echoType; $info = ""; $data = GetImageSize($this->srcFile,$info); switch ($data[2]) { case 1: if(!function_exists("imagecreatefromgif")){ echo "你的GD库不能使用GIF格式的图片,请使用Jpeg或PNG格式!<a href='javascript:go(-1);'>返回</a>"; exit(); } $this->im = ImageCreateFromGIF($this->srcFile); break; case 2: if(!function_exists("imagecreatefromjpeg")){ echo "你的GD库不能使用jpeg格式的图片,请使用其它格式的图片!<a href='javascript:go(-1);'>返回</a>"; exit(); } $this->im = ImageCreateFromJpeg($this->srcFile); break; case 3: $this->im = ImageCreateFromPNG($this->srcFile); break; } $this->srcW=ImageSX($this->im); $this->srcH=ImageSY($this->im); } //生成扭曲型缩图 function Distortion($toFile,$toW,$toH) { $cImg=$this->CreatImage($this->im,$toW,$toH,0,0,0,0,$this->srcW,$this->srcH); return $this->EchoImage($cImg,$toFile); ImageDestroy($cImg); } //生成按比例缩放的缩图 function Prorate($toFile,$toW,$toH) { $toWH=$toW/$toH; $srcWH=$this->srcW/$this->srcH; if($toWH<=$srcWH) { $ftoW=$toW; $ftoH=$ftoW*($this->srcH/$this->srcW); } else { $ftoH=$toH; $ftoW=$ftoH*($this->srcW/$this->srcH); } if($this->srcW>$toW||$this->srcH>$toH) { $cImg=$this->CreatImage($this->im,$ftoW,$ftoH,0,0,0,0,$this->srcW,$this->srcH); return $this->EchoImage($cImg,$toFile); ImageDestroy($cImg); } else { $cImg=$this->CreatImage($this->im,$this->srcW,$this->srcH,0,0,0,0,$this->srcW,$this->srcH); return $this->EchoImage($cImg,$toFile); ImageDestroy($cImg); } } //生成最小裁剪后的缩图 function Cut($toFile,$toW,$toH) { $toWH=$toW/$toH; $srcWH=$this->srcW/$this->srcH; if($toWH<=$srcWH) { $ctoH=$toH; $ctoW=$ctoH*($this->srcW/$this->srcH); } else { $ctoW=$toW; $ctoH=$ctoW*($this->srcH/$this->srcW); } $allImg=$this->CreatImage($this->im,$ctoW,$ctoH,0,0,0,0,$this->srcW,$this->srcH); $cImg=$this->CreatImage($allImg,$toW,$toH,0,0,($ctoW-$toW)/2,($ctoH-$toH)/2,$toW,$toH); return $this->EchoImage($cImg,$toFile); ImageDestroy($cImg); ImageDestroy($allImg); } //生成背景填充的缩图 function BackFill($toFile,$toW,$toH,$bk1=255,$bk2=255,$bk3=255) { $toWH=$toW/$toH; $srcWH=$this->srcW/$this->srcH; if($toWH<=$srcWH) { $ftoW=$toW; $ftoH=$ftoW*($this->srcH/$this->srcW); } else { $ftoH=$toH; $ftoW=$ftoH*($this->srcW/$this->srcH); } if(function_exists("imagecreatetruecolor")) { @$cImg=ImageCreateTrueColor($toW,$toH); if(!$cImg) { $cImg=ImageCreate($toW,$toH); } } else { $cImg=ImageCreate($toW,$toH); } $backcolor = imagecolorallocate($cImg, $bk1, $bk2, $bk3); //填充的背景颜色 ImageFilledRectangle($cImg,0,0,$toW,$toH,$backcolor); if($this->srcW>$toW||$this->srcH>$toH) { $proImg=$this->CreatImage($this->im,$ftoW,$ftoH,0,0,0,0,$this->srcW,$this->srcH); if($ftoW<$toW) { ImageCopy($cImg,$proImg,($toW-$ftoW)/2,0,0,0,$ftoW,$ftoH); } else if($ftoH<$toH) { ImageCopy($cImg,$proImg,0,($toH-$ftoH)/2,0,0,$ftoW,$ftoH); } else { ImageCopy($cImg,$proImg,0,0,0,0,$ftoW,$ftoH); } } else { ImageCopy($cImg,$this->im,($toW-$ftoW)/2,($toH-$ftoH)/2,0,0,$ftoW,$ftoH); } return $this->EchoImage($cImg,$toFile); ImageDestroy($cImg); } function CreatImage($img,$creatW,$creatH,$dstX,$dstY,$srcX,$srcY,$srcImgW,$srcImgH) { if(function_exists("imagecreatetruecolor")) { @$creatImg = ImageCreateTrueColor($creatW,$creatH); if($creatImg) ImageCopyResampled($creatImg,$img,$dstX,$dstY,$srcX,$srcY,$creatW,$creatH,$srcImgW,$srcImgH); else { $creatImg=ImageCreate($creatW,$creatH); ImageCopyResized($creatImg,$img,$dstX,$dstY,$srcX,$srcY,$creatW,$creatH,$srcImgW,$srcImgH); } } else { $creatImg=ImageCreate($creatW,$creatH); ImageCopyResized($creatImg,$img,$dstX,$dstY,$srcX,$srcY,$creatW,$creatH,$srcImgW,$srcImgH); } return $creatImg; } //输出图片,link---只输出,不保存文件。file--保存为文件 function EchoImage($img,$to_File) { switch($this->echoType) { case "link": if(function_exists('imagejpeg')) return ImageJpeg($img); else return ImagePNG($img); break; case "file": if(function_exists('imagejpeg')) return ImageJpeg($img,$to_File); else return ImagePNG($img,$to_File); break; } } } ?>
zyyhong
trunk/jiaju001/news/lic/makeminiature/creatminiature.php
PHP
asf20
5,912
<?php require_once(dirname(__FILE__)."/../config.php"); require_once(dirname(__FILE__)."/../../include/inc_typelink.php"); ?> <!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/css" /> <script src="../main.js" language="javascript"></script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">批量管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name='form2' action='../content_list.php' method="get" target='stafrm'> <input type='hidden' name='nullfield' value='ok'> </form> <form name="form1" action="makeminiature_action.php" method="get" target='stafrm'> <tr> <td height="20" colspan="2"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td height="18"><strong>更新缩略图:</strong>(本插件由网友“<a href='mailto:smpluckly@gmail.com'><u>落梦天蝎[beluckly]</u></a>”编写)</td> </tr> </table></td> </tr> <tr> <td width="108" valign="top" bgcolor="#FFFFFF">选择栏目:</td> <td width="377" valign="top" bgcolor="#FFFFFF"> <?php $opall = 1; echo GetTypeidSel('form1','typeid','selbt1',0,0,'请选择...','../'); ?> </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">起始ID:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" size="10"> (空或0表示从头开始)</td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">结束ID:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input name="endid" type="text" id="endid" size="10"> (空或0表示直到结束ID) </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">生成类型:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input type=radio class=np name=isall id=isall value=1>全部提取第一个图片生成 <input type=radio class=np name=isall id=isall value=2 checked=1>已有上传缩图不生成</td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">生成缩图类型:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><input type=radio class=np name=maketype id=maketype value=1>扭曲变形型&nbsp;&nbsp;<input type=radio class=np name=maketype id=maketype value=2>比例缩放型&nbsp;&nbsp;<input type=radio class=np name=maketype id=maketype value=3>部分裁剪型&nbsp;&nbsp;<input type=radio class=np name=maketype id=maketype value=4 checked="1">背景填充型&nbsp;&nbsp;背景色:<input type="text" name="backcolor1" id="backcolor1" size=5 value="255">&nbsp;&nbsp;<input type="text" name="backcolor2" id="backcolor2" size=5 value="255">&nbsp;&nbsp;<input type="text" name="backcolor3" id="backcolor3" size=5 value="255"></td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">缩略图宽和高:</td> <td height="20" valign="top" bgcolor="#FFFFFF">宽:<input name="imgwidth" type="text" id="imgwidth" size="10" value="240"> 高:<input name="imgheight" type="text" id="imgheight" size="10" value="180"> </td> </tr> <tr> <td height="20" bgcolor="#FFFFFF">每页生成:</td> <td height="20" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="10" size="8"> 个文件</td> </tr> <tr> <td height="35" colspan="2" bgcolor="#FAFAF1" align="center"> <input name="b112" type="button" value="开始生成缩略图" onClick="document.form1.submit();" class="inputbut" /> &nbsp; <input type="button" name="b113" value="查看所有文档" onClick="document.form2.submit();" class="inputbut" /> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2"> <table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/makeminiature/makeminiature.php
PHP
asf20
5,241
<?php require_once(dirname(__FILE__)."/config.php"); 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",$dedeNowurl,time()+3600,"/"); if(!isset($cid)) $cid = 0; if(!isset($keyword)) $keyword = ""; if(!isset($channelid)) $channelid = 0; if(!isset($arcrank)) $arcrank = ""; $typeid = $cid; $tl = new TypeLink($cid); $seltypeids = 0; if(!empty($cid)){ $seltypeids = $tl->dsql->GetOne("Select ID,typename,channeltype From #@__arctype where ID='$cid' "); } $opall=1; if(is_array($seltypeids)){ $optionarr = GetTypeidSel('form3','cid','selbt1',$channelid,$seltypeids['ID'],$seltypeids['typename']); }else{ $optionarr = GetTypeidSel('form3','cid','selbt1',$channelid,0,'请选择...'); } if(empty($channelid)) $whereSql = " where arc.channelid != -1 "; else $whereSql = " where arc.channelid = '$channelid' "; if($keyword!=""){ $whereSql .= " And (arc.title like '%$keyword%' Or arc.keywords like '%$keyword%' Or arc.addinfos like '%$keyword%') "; } if($typeid!=0){ $tids = $tl->GetSunID($typeid,'',$channelid,true); $whereSql .= " And arc.typeid in($tids) "; } $query = " select arc.aid as ID,arc.typeid,arc.uptime,arc.channelid,arc.arcrank,arc.title, arc.litpic,arc.adminID,arc.mid,t.typename,c.typename as channelname from `#@__full_search` arc left join #@__arctype t on t.ID=arc.typeid left join #@__channeltype c on c.ID=arc.channelid $whereSql order by aid desc "; $dlist = new DataList(); $dlist->pageSize = 20; $dlist->SetParameter("dopost","listArchives"); $dlist->SetParameter("keyword",$keyword); $dlist->SetParameter("cid",$cid); $dlist->SetParameter("f",$f); $dlist->SetParameter("arcrank",$arcrank); $dlist->SetParameter("channelid",$channelid); $dlist->SetSource($query); include(dirname(__FILE__)."/templets/content_select_list.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/content_select_list.php
PHP
asf20
2,013
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/templets/content_batch_up2.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/content_batch_up2.php
PHP
asf20
212
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/inc/inc_batchup.php"); CheckPurview('sys_ArcBatch'); @set_time_limit(0); $dsql = new DedeSql(false); if($action=='modddpic') { $query = "select ID,maintable from #@__channeltype"; $dsql->setquery($query); $dsql->execute(); $channels = array(); while($row = $dsql->getarray()) { $channels[$row['ID']] = $row['maintable']; } $query = "select aid, litpic,channelid from #@__full_search where litpic<>''"; $dsql->setquery($query); $dsql->execute('litpic'); while($row = $dsql->getarray('litpic')) { if(!preg_match("/^http:\/\//i",$row['litpic'])){ if(!file_exists($row['litpic'])){ $query = "update #@__full_search set litpic='' where aid=".$row['aid']." limit 1"; $dsql->executenonequery($query); $maintable = $channels[$row['channelid']]; $query = "update ".$maintable." set litpic='' where aid=".$row['aid']." limit 1"; $dsql->executenonequery($query); } } } $dsql->Close(); ShowMsg("成功修正缩略图错误!","javascript:;"); exit(); }elseif($action == 'delerrdata') { $query = "select ID from #@__channeltype"; $dsql->setquery($query); $dsql->execute(); $channelids = 0; while($row = $dsql->getarray()) { $channelids .= ','.$row['ID']; } $query = "select ID from #@__arctype"; $dsql->setquery($query); $dsql->execute(); $tids = ''; $tidarr = array(); while($row = $dsql->getarray()) { $tidarr[]= $row['ID']; } //print_r($tidarr);exit; $tids = implode(',', $tidarr); $dsql->executenonequery("delete from #@__full_search where NOT(typeid in($tids))"); $dsql->executenonequery("delete from #@__full_search where NOT(channelid in($channelids))"); $dsql->executenonequery("OPTIMIZE TABLE `#@__full_search`"); $dsql->Close(); ShowMsg("成功清除错误数据!","javascript:;"); exit(); }
zyyhong
trunk/jiaju001/news/lic/content_batchup_action2.php
PHP
asf20
1,978
<?php require_once(dirname(__FILE__)."/config.php"); @set_time_limit(0); CheckPurview('sys_ArcBatch'); if(empty($dopost)) $dopost = ''; $dsql = new DedeSql(false); if($dopost=='analyse'){ $channelid = intval($channelid); $maintable = $dsql->getone("select maintable from #@__channeltype where ID=$channelid"); if(is_array($maintable)){ $maintable = $maintable['maintable']; }else{ $dsql->close(); showmsg('频道id不正确,请重新选择频道','javascript:;'); exit(); } $dsql->SetQuery("Select count(title) as dd,title From $maintable where channel=$channelid group by title order by dd desc limit 0,$pagesize"); $dsql->Execute(); $allarc = 0; require_once(dirname(__FILE__)."/templets/article_result_same.htm"); $dsql->Close(); exit(); }else if($dopost=='delsel'){ require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/inc/inc_batchup.php"); if(empty($titles)){ $dsql->close(); header("Content-Type: text/html; charset={$cfg_ver_lang}"); echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$cfg_ver_lang}\">\r\n"; echo "没有指定删除的文档!"; exit(); } $titless = split('`',$titles); if($deltype=='delnew') $orderby = " order by ID desc "; else $orderby = " order by ID asc "; $totalarc = 0; foreach($titless as $title){ $title = trim($title); if($title=='') $q1 = "Select ID,title From $maintable where channel='$channelid' and title='' $orderby "; else{ $title = addslashes(urldecode($title)); $q1 = "Select ID,title From $maintable where channel='$channelid' and title='$title' $orderby "; } $dsql->SetQuery($q1); $dsql->Execute(); $rownum = $dsql->GetTotalRow(); if($rownum<2) continue; $i = 1; while($row = $dsql->GetObject()){ $i++; $naid = $row->ID; $ntitle = $row->title; if($i > $rownum){ continue; } $totalarc++; DelArc($naid); } } $dsql->executenonequery("OPTIMIZE TABLE `$maintable`"); $dsql->Close(); ShowMsg("一共删除了[{$totalarc}]篇重复的文档!","javascript:;"); exit(); } $channelinfos = array(); $dsql->setquery("select ID,typename,maintable,addtable from #@__channeltype"); $dsql->execute(); while($row = $dsql->getarray()) { $channelinfos[] = $row; } require_once(dirname(__FILE__)."/templets/article_test_same.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/article_test_same.php
PHP
asf20
2,448
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); if(empty($channelid)) $channelid=4; if(empty($cid)) $cid = 0; $dsql = new DedeSql(false); if($cid>0) { $query = "Select t.typename as arctypename,c.* From #@__arctype t left join #@__channeltype c on c.ID=t.channeltype where t.ID='$cid' "; $cInfos = $dsql->GetOne($query); $channelid = $cInfos['ID']; $addtable = $cInfos['addtable']; } else if($channelid>0) { $query = " Select * From #@__channeltype where ID='$channelid'"; $cInfos = $dsql->GetOne($query); $channelid = $cInfos['ID']; $addtable = $cInfos['addtable']; } require_once(dirname(__FILE__)."/templets/flash_add.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/flash_add.php
PHP
asf20
824
<?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 arctypename,c.* From #@__arctype t left join #@__channeltype c on c.ID=t.channeltype where t.ID='$cid' "; $cInfos = $dsql->GetOne($query); $channelid = $cInfos['ID']; $addtable = $cInfos['addtable']; } else if($channelid>0) { $query = " Select * From #@__channeltype where ID='$channelid'"; $cInfos = $dsql->GetOne($query); $channelid = $cInfos['ID']; $addtable = $cInfos['addtable']; } require_once(dirname(__FILE__)."/templets/album_add.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/album_add.php
PHP
asf20
818
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Data'); $bkdir = dirname(__FILE__)."/".$cfg_backup_dir; $filelists = Array(); $structfile = "没找到数据结构文件"; if(is_dir($bkdir)){ $dh = dir($bkdir); while($filename=$dh->read()){ if(!ereg('sql|txt$',$filename)) continue; if(ereg('tables_struct',$filename)) $structfile = $filename; else if( filesize("$bkdir/$filename") >0 ) $filelists[] = $filename; } $dh->Close(); } require_once(dirname(__FILE__)."/templets/sys_data_revert.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/sys_data_revert.php
PHP
asf20
575
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_PlayNote'); require_once(dirname(__FILE__)."/../include/pub_collection.php"); if(empty($islisten)) $islisten = 0; if($nid=="") { ShowMsg("参数无效!","-1"); exit(); } if(empty($glstart)) $glstart = 0; if(empty($totalnum)) $totalnum = 0; $gurl = "co_gather_start_action.php?islisten=$islisten&nid=$nid&startdd=$startdd&pagesize=$pagesize&threadnum=$threadnum&sptime=$sptime"; $gurlList = "co_getsource_url_action.php?islisten=$islisten&nid=$nid&startdd=$startdd&pagesize=$pagesize&threadnum=$threadnum&sptime=$sptime"; if($totalnum>0) { ShowMsg("当前节点已下载网页网址,程序直接转向网页采集...",$gurl."&totalnum=$totalnum"); exit(); } $co = new DedeCollection(); $co->Init(); $co->LoadFromDB($nid); $limitList = $co->GetSourceUrl($islisten,$glstart,$pagesize); if($limitList==0) { $co->dsql->SetSql("Select count(aid) as dd From #@__courl where nid='$nid'"); $co->dsql->Execute(); $row = $co->dsql->GetObject(); $totalnum = $row->dd; $co->Close(); ShowMsg("已获得所有待下载网址,转向网页采集...",$gurl."&totalnum=$totalnum"); exit(); }else if($limitList>0) { $co->Close(); ShowMsg("采集列表剩余:{$limitList} 个页面,继续采集...",$gurlList."&glstart=".($glstart+$pagesize),0,100); exit(); }else{ header("Content-Type: text/html; charset={$cfg_ver_lang}"); echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset={$cfg_ver_lang}\">\r\n"; echo "获取列表网址失败,无法完成采集!"; } ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/co_getsource_url_action.php
PHP
asf20
1,636
<?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(false); //读取归档信息 //------------------------------ $tables = GetChannelTable($dsql,$aid,'arc'); $arcQuery = "Select c.typename as channelname,r.membername as rankname,a.* ,full.keywords as words From `{$tables['maintable']}` a left join #@__channeltype c on c.ID=a.channel left join #@__arcrank r on r.rank=a.arcrank left join #@__full_search full on full.aid=a.ID where a.ID='$aid'"; $arcRow = $dsql->GetOne($arcQuery); $arcRow['keywords'] = $arcRow['words']; if(!is_array($arcRow)){ $dsql->Close(); ShowMsg("读取档案基本信息出错!","javascript:;"); exit(); } $query = "Select * From #@__channeltype where ID='".$arcRow['channel']."'"; $cInfos = $dsql->GetOne($query); if(!is_array($cInfos)){ $dsql->Close(); ShowMsg("读取频道配置信息出错!","javascript:;"); exit(); } $channelid = $arcRow['channel']; $addtable = $cInfos['addtable']; $addQuery = "Select * From ".$cInfos['addtable']." where aid='$aid'"; $addRow = $dsql->GetOne($addQuery); $tags = GetTagFormLists($dsql,$aid); require_once(dirname(__FILE__)."/templets/archives_edit.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/archives_edit.php
PHP
asf20
1,467
<?php require_once(dirname(__FILE__)."/config.php"); @set_time_limit(3600); if(empty($dopost)) $dopost = ''; header("Content-Type: text/html; charset={$cfg_ver_lang}"); //逻辑函数 //------------------------------------- function GoSearchVir($fdir){ global $tcc,$scc,$ddfiles,$shortname,$minsize,$maxsize,$crday,$cfg_basedir; $dh = dir($fdir); while($filename = $dh->read()){ if($filename=='.'||$filename=='..') continue; $truefile = $fdir."/".$filename; if(is_dir($truefile)) GoSearchVir($truefile); if(!is_file($truefile)) continue; $scc++; $ftime = filemtime($truefile); $fsize = filesize($truefile); $ntime = time() - ($crday * 24 * 3600); if(eregi("\.".$shortname,$filename) && $ftime > $ntime && ($fsize<$minsize || $fsize>$maxsize)) { $nfsize = number_format($fsize/1024,2).'K'; if(in_array($filename,$ddfiles)) continue; if($fsize<$minsize){ $fp = fopen($truefile,'r'); $tstr = fread($fp,$fsize); fclose($fp); if(!eregi("eval|fopen|unlink|rename",$tstr)) continue; } $furl = str_replace($cfg_basedir,"",$truefile); echo "<li><input type='checkbox' name='vfiles[]' value='$furl' class='np'> <a href='$furl' target='_blank'><u>$furl</u></a> 创建日期:".GetDateTimeMk($ftime)." 大小:{$nfsize} </li>\r\n"; $tcc++; } } $dh->close(); } function GoReplaceFile($fdir){ global $tcc,$scc,$shortname,$cfg_basedir,$sstr,$rpstr; $dh = dir($fdir); while($filename = $dh->read()){ if($filename=='.'||$filename=='..') continue; $truefile = $fdir."/".$filename; if(is_dir($truefile)) GoReplaceFile($truefile); if(!is_file($truefile)) continue; $scc++; $fsize = filesize($truefile); if($fsize>0 && eregi("\.(".$shortname.")",$filename)) { $fp = fopen($truefile,'r'); $tstr = fread($fp,$fsize); $tstr = eregi_replace($sstr,$rpstr,$tstr); fclose($fp); if(is_writeable($truefile)){ $fp = fopen($truefile,'w'); fwrite($fp,$tstr); fclose($fp); $tcc++; }else{ $furl = str_replace($cfg_basedir,"",$truefile); echo "<li>文件: {$rurl} 不能写入!</li>"; } } } $dh->close(); } //---------------------------------- if($dopost=='search'){ $tcc = 0; $scc = 0; $ddfile = "album_edit.php,catalog_add.php,file_manage_main.php,soft_edit.php,spec_edit.php,inc_archives_view.php,inc_arclist_view.php,inc_arcmember_view.php,inc_freelist_view.php,pub_collection.php,config_passport.php,downmix.php,inc_photowatermark_config.php,inc_arcpart_view.php,inc_typeunit_admin.php"; $ddfiles = explode(',',$ddfile); if(empty($crday)) $crday = 365; $minsize = $minsize * 1024; $maxsize = $maxsize * 1024; $phead = "<html> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <title>木马扫描检测结果</title> <link href='css_body.css' rel='stylesheet' type='text/css'> <style> li{width:100%;height:26px;border:1px solid #C9E3FA; margin:3px; list-style-type:none } .lii{ padding:3px; } </style> <body> <form action='virus_search.php' method='post' name='form1'> <input type='hidden' name='dopost' value='delete'> "; echo $phead; GoSearchVir($searchpath); echo "<li class='lii'> "; if($tcc>0) echo "<input type='submit' name='sb1' value='删除选中的文件!' class='inputbut'><br><br>\r\n"; echo "&nbsp;&nbsp;共搜索 {$scc} 个文件,找到 {$tcc} 个可疑文件,删除文件后会在后台管理目录生成一个virlog.txt文件,如误删织梦系统文件,从此文件中找回这些文件路径,用dede相同版本没修改过的文件替换即可! </li>\r\n"; echo "</form><body></html>"; exit(); }else if($dopost=='replace'){ $tcc = 0; $scc = 0; $phead = "<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> li{width:100%;height:26px;border:1px solid #C9E3FA; margin:3px; list-style-type:none } .lii{ padding:3px; } </style> <body> "; echo $phead; $sstr = stripslashes($sstr); $rpstr = stripslashes($rpstr); if(strlen($sstr)>8){ GoReplaceFile($searchpath); }else{ echo "替换内容不能小于8个字节!"; exit(); } echo "<li class='lii'> "; echo "&nbsp;&nbsp;共搜索 {$scc} 个文件,成功替换 {$tcc} 个文件! </li>\r\n"; echo "<body></html>"; exit(); }else if($dopost=='delete') { if(is_array($vfiles)){ $fp = fopen(dirname(__FILE__)."/virlog.txt","w"); foreach($vfiles as $f){ unlink($cfg_basedir.$f); fwrite($fp,$f."\r\n"); echo "删除文件: ".$cfg_basedir.$f." <br>\r\n"; } fclose($fp); } echo "成功删除所有指定文件!"; exit(); } require_once(dirname(__FILE__)."/templets/virus_search.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/virus_search.php
PHP
asf20
4,970
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Feedback'); if($fid=="") { ShowMsg("你没选中任何选项!",$_COOKIE['ENV_GOBACK_URL'],0,500); exit; } $dsql = new DedeSql(false); $fids=ereg_replace("[^0-9`]","",$fid); $ids = split("`",$fids); $msg = ""; if($job=="del") { $wherestr = "("; $j=count($ids); for($i=0;$i<$j;$i++) { if($i==0) $wherestr.="ID=".$ids[$i]; else $wherestr.=" Or ID=".$ids[$i]; } $wherestr .= ")"; $query = "Delete From #@__feedback where $wherestr"; $dsql->SetQuery($query); $dsql->ExecuteNoneQuery(); $msg = "成功删除指定的评论!"; } else { $wherestr = "("; $j=count($ids); for($i=0;$i<$j;$i++) { if($i==0) $wherestr.="ID=".$ids[$i]; else $wherestr.=" Or ID=".$ids[$i]; } $wherestr .= ")"; $query = "update #@__feedback set ischeck=1 where $wherestr"; $dsql->SetQuery($query); $dsql->ExecuteNoneQuery(); $msg = "成功审核指定评论!"; } ShowMsg($msg,$_COOKIE['ENV_GOBACK_URL'],0,500); ClearAllLink(); exit; ?>
zyyhong
trunk/jiaju001/news/lic/feedback_d.php
PHP
asf20
1,051
<?php require_once(dirname(__FILE__)."/config.php"); if(empty($dopost)) $dopost = ""; isset($_COOKIE['ENV_GOBACK_URL']) ? $backurl=$_COOKIE['ENV_GOBACK_URL'] : $backurl="javascript:history.go(-1);"; /*--------------------------- function __del_file() //删除附件 -----------------------------*/ if($dopost=='del'){ CheckPurview('sys_DelUpload'); if(empty($ids)) $ids=""; $dsql = new DedeSql(false); if($ids==""){ $myrow = $dsql->GetOne("Select url From #@__uploads where aid='".$aid."'"); $truefile = $cfg_basedir.$myrow['url']; $rs = 0; if(!file_exists($truefile)||$myrow['url']=="") $rs = 1; else $rs = @unlink($truefile); if($rs==1){ $msg = "成功删除一个附件!"; $dsql->ExecuteNoneQuery("Delete From #@__uploads where aid='".$aid."'"); } $dsql->Close(); ShowMsg($msg,$backurl); exit(); }else{ $ids = explode(',',$ids); $idquery = ""; foreach($ids as $aid){ if($idquery=="") $idquery .= " where aid='$aid' "; else $idquery .= " Or aid='$aid' "; } $dsql->SetQuery("Select aid,url From #@__uploads $idquery "); $dsql->Execute(); while($myrow=$dsql->GetArray()){ $truefile = $cfg_basedir.$myrow['url']; $rs = 0; if(!file_exists($truefile)||$myrow['url']=="") $rs = 1; else $rs = @unlink($truefile); if($rs==1){ $dsql->ExecuteNoneQuery("Delete From #@__uploads where aid='".$myrow['aid']."'"); } } $dsql->Close(); ShowMsg('成功删除选定的文件!',$backurl); exit(); } } /*-------------------------------- function __save_edit() //保存更改 -----------------------------------*/ else if($dopost=='save'){ if($aid=="") exit(); //检查是否有修改权限 $dsql = new DedeSql(false); $myrow = $dsql->GetOne("Select * From #@__uploads where aid='".$aid."'"); $dsql->Close(); if($myrow['adminid']!=$cuserLogin->getUserID()){ CheckPurview('sys_Upload'); } //检测文件类型 $addquery = ""; if(is_uploaded_file($upfile)){ if($mediatype==1){ $sparr = Array("image/pjpeg","image/jpeg","image/gif","image/png","image/x-png","image/wbmp"); if(!in_array($upfile_type,$sparr)){ ShowMsg("你上传的不是图片类型的文件!","javascript:history.go(-1);"); exit(); } } else if($mediatype==2){ $sparr = Array("application/x-shockwave-flash"); if(!in_array($upfile_type,$sparr)){ ShowMsg("你上传的不是Flash类型的文件!","javascript:history.go(-1);"); exit(); } }else if($mediatype==3){ if(!eregi('audio|media|video',$upfile_type)){ ShowMsg("你上传的为不正确类型的影音文件!","javascript:history.go(-1);"); exit(); } if(!eregi("\.".$cfg_mediatype,$upfile_name)){ ShowMsg("你上传的影音文件扩展名无法被识别,请更改系统配置的参数!","javascript:history.go(-1);"); exit(); } }else{ if(!eregi("\.".$cfg_softtype,$upfile_name)){ ShowMsg("你上传的附件扩展名无法被识别,请更改系统配置的参数!","javascript:history.go(-1);"); exit(); } } //保存文件 $nowtime = time(); $oldfile = $myrow['url']; $oldfiles = explode('/',$oldfile); $fullfilename = $cfg_basedir.$oldfile; $oldfile_path = ereg_replace($oldfiles[count($oldfiles)-1]."$","",$oldfile); if(!is_dir($cfg_basedir.$oldfile_path)){ MkdirAll($cfg_basedir.$oldfile_path,$GLOBALS['cfg_dir_purview']); CloseFtp(); } @move_uploaded_file($upfile,$fullfilename); if($mediatype==1){ require_once(dirname(__FILE__)."/../include/inc_photograph.php"); if(in_array($upfile_type,$cfg_photo_typenames)) WaterImg($fullfilename,'up'); } $filesize = $upfile_size; $imgw = 0; $imgh = 0; if($mediatype==1){ $info = ""; $sizes[0] = 0; $sizes[1] = 0; @$sizes = getimagesize($fullfilename,$info); $imgw = $sizes[0]; $imgh = $sizes[1]; } if($imgw>0) $addquery = ",width='$imgw',height='$imgh',filesize='$filesize' "; else $addquery = ",filesize='$filesize' "; } else{ $fileurl = $filename; } //写入数据库 $query = " update #@__uploads set title='$title',mediatype='$mediatype',playtime='$playtime'"; $query .= "$addquery where aid='$aid' "; $dsql = new DedeSql(false); $dsql->ExecuteNoneQuery($query); $dsql->Close(); ShowMsg('成功更改一则附件数据!','media_edit.php?aid='.$aid); exit(); } else { //读取档案信息 //-------------------------------- CheckPurview('sys_Upload,sys_MyUpload'); $dsql = new DedeSql(false); $myrow = $dsql->GetOne("Select * From #@__uploads where aid='".$aid."'"); $dsql->Close(); if(!is_array($myrow)){ ShowMsg('错误,找不到此编号的档案!','javascript:;'); exit(); } } require_once(dirname(__FILE__)."/templets/media_edit.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/media_edit.php
PHP
asf20
5,048
<?php //------------------------------------ //计划任务配置及一些函数封装 //------------------------------------ //系统设置为维护状态后仍可访问后台 $cfg_IsCanView = true; define('DEDEADMIN',dirname(__FILE__)); require_once(DEDEADMIN."/../include/config_base.php"); header("Cache-Control:private"); //获得当前脚本 $dedeNowurl = ""; $s_scriptName=""; $dedeNowurl = GetCurUrl(); $dedeNowurls = explode("?",$dedeNowurl); $s_scriptName = $dedeNowurls[0]; //------------------------------------------- //在验证页本身(在引用此文件前用 $_checkPage 标识)不执行下面验证操作,其它页面执行 if(!isset($_checkPage)) { //证书文件不存在,通知客户端重新验证 if(!file_exists($cfg_basedir.'/data/rmcert.php')) { return '0'; exit(); } require_once($cfg_basedir.'/data/rmcert.php'); $rmcertip = GetIP(); //IP发生变化,通知客户端重新验证用户 if($rmcertip!=$cfg_rmcert_ip) { return '0'; exit(); } //证书不正确,客户端拒绝执行任务 if($sgcode!=$cfg_rmcert_value) { return '-1'; exit(); } } ?>
zyyhong
trunk/jiaju001/news/lic/task_config.php
PHP
asf20
1,162
<?php @ob_start(); @set_time_limit(3600); require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_description'); if(empty($action)) $action = ''; $tjnum = 0; if($action=='getfields') { AjaxHead(); $dsql = new DedeSql(false); if(!$dsql->linkID){ echo "<font color='red'>连接数据源的数据库失败!</font><br>"; echo $qbutton; exit(); } $channel = $dsql->getone("select addtable from #@__channeltype where ID=$channel"); $channel = str_replace('#@__',$cfg_dbprefix,$channel['addtable']); $dsql->GetTableFields($channel); echo "<div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:3px;line-height:160%'>"; echo "表(".$channel.")含有的字段:<br>"; while($row = $dsql->GetFieldObject()){ echo "<a href=\"javascript:pf('{$row->name}')\"><u>".$row->name."</u></a>\r\n"; } echo "<input type='hidden' name='addtable' value='$channel' />"; echo "</div>"; $dsql->Close(); }elseif($action == 'fetch') { $dsql = new DedeSql(false); 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; $addtable = urldecode($addtable); $addtable = ereg_replace("[^a-zA-Z_#@]","",$addtable); $rpfield = ereg_replace("[^a-zA-Z_\[\]]","",$rpfield); //$channel = ereg_replace("[^0-9]","",$channel); $channel = intval($channel); $channelinfo = $dsql->getone("select * from #@__channeltype where ID=$channel"); $maintable = $channelinfo['maintable']; require_once(dirname(__FILE__)."/inc/inc_archives_functions.php"); //统计记录总数 if($totalnum==0){ $addquery = " where channel='$channel' "; if($sid!=0) $addquery .= " and ID>='$sid' "; if($eid!=0) $addquery .= " and ID<='$eid' "; $row = $dsql->GetOne("Select count(*) as dd From $maintable $addquery;"); $totalnum = $row['dd']; } //获取记录,并分析 if($totalnum > $startdd+$pagesize){ $limitSql = " limit $startdd,$pagesize"; }elseif(($totalnum-$startdd)>0){ $limitSql = " limit $startdd,".($totalnum - $startdd); }else $limitSql = ""; $tjnum = $startdd; if($limitSql!=""){ $where = array(); if($sid!=0) $where[] = "aid>='$sid'"; if($eid!=0) $where[] = "aid<='$eid'"; if(!empty($where)){ $addquery = ' where '.implode(' and ', $where); }else{ $addquery = ''; } $fquery = "Select aid,$rpfield From $addtable $addquery $limitSql ;"; $dsql->SetQuery($fquery); $dsql->Execute(); while($row=$dsql->GetArray()) { $tjnum++; $body = $row[$rpfield]; $aid = $row['aid']; if(strlen($body) < $cfg_arcautosp_size*1024) continue; if(!preg_match("/#p#/iU",$body)){ $body = SpLongBody($body,$cfg_arcautosp_size*1024,"#p#分页标题#e#"); $body = addslashes($body); $dsql->ExecuteNoneQuery("Update $addtable set $rpfield='$body' where aid='$aid' ; "); } } }//end if limit //返回进度提示 if($totalnum>0) $tjlen = ceil( ($tjnum/$totalnum) * 100 ); else $tjlen=100; $dvlen = $tjlen * 2; $tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; $tjsta .= "<br/>完成处理文档总数的:$tjlen %,继续执行任务..."; if($tjnum < $totalnum) { $addtable = urlencode($addtable); $nurl = "pagination_fetch_action.php?action=fetch&totalnum=$totalnum&startdd=".($startdd+$pagesize)."&pagesize=$pagesize&addtable={$addtable}&rpfield={$rpfield}&channel={$channel}&sid={$sid}&eid={$eid}"; $dsql->Close(); ShowMsg($tjsta,$nurl,0,500); }else{ $dsql->executenonequery("OPTIMIZE TABLE `$addtable`"); $dsql->Close(); ShowMsg('完成所有任务','javascript:;'); } } ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/pagination_fetch_action.php
PHP
asf20
3,828
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_plus'); require_once(dirname(__FILE__)."/../include/pub_datalist.php"); require_once(dirname(__FILE__)."/../include/inc_functions.php"); setcookie("ENV_GOBACK_URL",$dedeNowurl,time()+3600,"/"); function GetSta($sta,$ID,$title) { if($sta==1) { return " &nbsp; <a href='plus_edit.php?dopost=edit&aid=$ID'><u>修改</u></a> &nbsp; 启用 &gt; <a href='plus_edit.php?dopost=hide&aid=$ID'><u>禁用</u></a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$ID&title=".urlencode($title)."'><u>删除</u></a>"; } else return " &nbsp; <a href='plus_edit.php?aid=$ID'><u>修改</u></a> &nbsp; 禁用 &gt; <a href='plus_edit.php?dopost=show&aid=$ID'><u>启用</u></a> &nbsp; <a href='plus_edit.php?dopost=delete&aid=$ID&title=".urlencode($title)."'><u>册除</u></a>"; } $sql = "Select aid,plusname,writer,isshow From #@__plus order by aid asc"; $dlist = new DataList(); $dlist->Init(); $dlist->SetSource($sql); $dlist->SetTemplet(dirname(__FILE__)."/templets/plus_main.htm"); $dlist->display(); $dlist->Close(); ?>
zyyhong
trunk/jiaju001/news/lic/plus_main.php
PHP
asf20
1,110
<?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"); @set_time_limit(0); $t1 = $t2 = 0; $dsql = new DedeSql(false); if(empty($startid)) $startid = 0; if(empty($endid)) $endid = 0; if(empty($seltime)){ $seltime = 0; }else{ $seltime = 1; $t1 = GetMkTime($starttime); $t2 = GetMkTime($endtime); } if(empty($typeid)) $typeid = 0; if(empty($newtypeid)) $newtypeid = 0; if(empty($keyword)) $keyword = ''; $keyword = trim($keyword); $start = $startid; $startid = abs(intval($startid)); $endid = abs(intval($endid)); $typeid = intval($typeid); $newtypeid = intval($newtypeid); $gwhere = array(); if($startid > 0 ) $gwhere[] = "ID>=$startid"; if($endid > 0) $gwhere[] = "ID<=$endid"; if($typeid != 0){ $idArray = TypeGetSunID($typeid,$dsql,'',0,true); $gwhere[] = "typeid in ($idArray)"; } if($action == 'check' || $action == 'del'){ $where = implode(' and ',$gwhere); if($where != ''){ $where = 'where '.$where; } $channelids = 0; $full_search_where = str_replace('ID','aid',$where); $query = "select DISTINCT channelid from `#@__full_search` $full_search_where"; $dsql->setquery($query); $dsql->execute(); while($row = $dsql->getarray()) { $channelids .= ','.$row['channelid']; } if($seltime == 1){ if($t1 > 0) $gwhere[] = "senddate>$t1"; if($t2 > $t1) $gwhere[] = "senddate<$t2"; } if($action == 'check'){ $gwhere[] = "arcrank='-1'"; } $where = implode(' and ',$gwhere); if($where != ''){ $where = ' where '.$where; } $query = "select ID,maintable,addtable from #@__channeltype where ID in ($channelids);"; $dsql->setquery($query); $dsql->execute('channel'); $minid = array(); $minid = 0; $nums = 0; while( $row = $dsql->getarray('channel')) { /* function check() */ if($action == 'check') { $rs = $dsql->getone("select ID from ".$row['maintable'].$where." order by ID asc limit 1"); if(is_array($rs)){ if($minid != 0){ $minid = min($rs['ID'], $minid); }else{ $minid = $rs['ID']; } }else{ showmsg('未找到符合条件的内容','javascript:;'); exit(); } $query = "update ".$row['maintable']." set arcrank=0 $where"; $dsql->setquery($query); $nums += $dsql->executenonequery2(); $query = "OPTIMIZE TABLE ".$row['maintable']; $dsql->executenonequery($query); $dsql->close(); /* function delete() */ }elseif($action == 'del') { if($where == ''){ ShowMsg('该操作必须指定条件!','javascript:;'); exit(); } $query ="Select ID From ".$row['maintable'].$where; $dsql->SetQuery($query); $dsql->Execute('x'); $tdd = 0; while($row = $dsql->GetObject('x')){ if(DelArc($row->ID)) $tdd++; } $dsql->executenonequery($query); $dsql->executenonequery($query); $dsql->Close(); ShowMsg("成功删除 $tdd 条记录!","javascript:;"); exit(); } }// while end if($nums < 1){ showmsg('未找到符合条件的记录', 'javascript:;'); exit(); } $msg = "共审核 $nums 条记录<br>"; if($minid > 0){ $jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$minid"; $jumpurl .= "&typeid=$typeid&pagesize=20&seltime=$seltime"; $jumpurl .= "&stime=".urlencode($starttime)."&etime=".urlencode($endtime); $msg .= '<a href='.$jumpurl.'>点击此处开始更新html</a>'; } showmsg($msg,'javascript:;'); exit(); /* function move() */ }elseif($action == 'move') { if($keyword != ''){ $gwhere[] = "title like %".$keyword."%"; } $where = implode(' and ',$gwhere); if($where != ''){ $where = 'where '.$where; } if(empty($typeid) || empty($newtypeid)){ ShowMsg('该操作必须指定栏目!','javascript:;'); exit(); } $typeold = $dsql->GetOne("Select * From #@__arctype where ID='$typeid'; "); $typenew = $dsql->GetOne("Select * From #@__arctype where ID='$newtypeid'; "); if(!is_array($typenew) || !is_array($typeold)){ $dsql->Close(); ShowMsg("无法检测栏目信息,不能完成操作!","javascript:;"); exit(); } if($typenew['ispart']!=0){ $dsql->Close(); ShowMsg("你不能把数据移动到非最终列表的栏目!","javascript:;"); exit(); } if($typenew['channeltype'] != $typeold['channeltype']){ $dsql->Close(); ShowMsg("不能把数据移动到内容类型不同的栏目!","javascript:;"); exit(); } $nrow = $dsql->GetOne("Select addtable,maintable From #@__channeltype where ID='{$typenew['channeltype']}' "); $addtable = $nrow['addtable']; $maintable = $nrow['maintable']; if(empty($maintable)) $maintable = '#@__archives'; $dsql->SetQuery("Select ID From `$maintable` $where"); $dsql->Execute('m'); $tdd = 0; while($row = $dsql->GetObject('m')){ $rs = $dsql->ExecuteNoneQuery("Update `$maintable` set typeid='$newtypeid' where ID='{$row->ID}' "); if($rs){ $rs = $dsql->ExecuteNoneQuery("Update `#@__full_search` set typeid='$newtypeid' where aid='{$row->ID}' "); $rs = $dsql->ExecuteNoneQuery("Update `$addtable` set typeid='$newtypeid' where aid='{$row->ID}' "); } if($rs) $tdd++; } //$dsql->executenonequery($query); //$dsql->executenonequery($query); $dsql->Close(); if($tdd>0) { $jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$startid"; $jumpurl .= "&typeid=$newtypeid&pagesize=20&seltime=$seltime"; $jumpurl .= "&stime=".urlencode($starttime)."&etime=".urlencode($endtime); ShowMsg("成功移动 $tdd 条记录,准备重新生成HTML...",$jumpurl); exit(); }else{ ShowMsg("完成操作,没移动任何数据...","javascript:;"); exit(); } /* function makehtml() */ }elseif($action == 'makehtml') { $jumpurl = "makehtml_archives_action.php?endid=$endid&startid=$startid"; $jumpurl .= "&typeid=$typeid&pagesize=20&seltime=$seltime"; $jumpurl .= "&stime=".urlencode($starttime)."&etime=".urlencode($endtime); header("Location: $jumpurl"); exit(); } ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/content_batchup_action.php
PHP
asf20
6,163
<?php @ob_start(); @set_time_limit(3600); require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Keyword'); if(empty($action)) { require_once(dirname(__FILE__)."/templets/pagination_fetch.htm"); exit; } ?>
zyyhong
trunk/jiaju001/news/lic/pagination_main.php
PHP
asf20
233
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_User'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); if(empty($dopost)) $dopost = ""; $ID = ereg_replace("[^0-9]","",$ID); //---------------------------- $ntime = time(); function TjMonth($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $m = strftime("%m",$ntime); $stime = GetMkTime("{$y}-{$m}-01"); $row = $dsql->GetOne("Select count(ID) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function TjQuar($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $m = strftime("%m",$ntime); $j = floor($m%3)+1; $m = ($j * 3) - 2; $stime = GetMkTime("{$y}-{$m}-01"); $row = $dsql->GetOne("Select count(ID) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function TjYear($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $stime = GetMkTime("{$y}-01-01"); $row = $dsql->GetOne("Select count(ID) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function TjAll($uid){ global $dsql,$ntime; $row = $dsql->GetOne("Select count(ID) as dd From #@__archives where adminid='$uid'; "); return $row['dd']; } function SumMonth($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $m = strftime("%m",$ntime); $stime = GetMkTime("{$y}-{$m}-01"); $row = $dsql->GetOne("Select sum(click) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function SumQuar($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $m = strftime("%m",$ntime); $j = floor($m%3)+1; $m = ($j * 3) - 2; $stime = GetMkTime("{$y}-{$m}-01"); $row = $dsql->GetOne("Select sum(click) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function SumYear($uid){ global $dsql,$ntime; $y = strftime("%Y",$ntime); $stime = GetMkTime("{$y}-01-01"); $row = $dsql->GetOne("Select sum(click) as dd From #@__archives where adminid='$uid' And senddate>=$stime; "); return $row['dd']; } function SumAll($uid){ global $dsql,$ntime; $row = $dsql->GetOne("Select sum(click) as dd From #@__archives where adminid='$uid'; "); return $row['dd']; } $dsql = new DedeSql(false); $row = $dsql->GetOne("Select * From #@__admin where ID='$ID'"); require_once(dirname(__FILE__)."/templets/sys_admin_user_tj.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/sys_admin_user_tj.php
PHP
asf20
2,509
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_ArcBatch'); header("Content-Type: text/html; charset={$cfg_ver_lang}"); if($_POST){ $isMagic = @ini_get("magic_quotes_gpc"); if($isMagic) foreach($_POST AS $key => $value) $$key = stripslashes($value); else foreach($_POST AS $key => $value) $$key = $value; if($reggo==0){ $rs = preg_replace("/$testrule/$testmode",$rpvalue,$testtext); echo "<xmp>[".$rs."]</xmp>"; }else{ $backarr = array(); preg_match_all("/$testrule/$testmode",$testtext,$backarr); echo "<xmp>"; foreach($backarr as $k=>$v){ echo "$k"; if(!is_array($v)) echo " - $v \r\n"; else{ echo " Array \r\n"; foreach($v as $kk=>$vv){ echo "----$kk - $vv \r\n"; } } } echo "</xmp>"; } exit(); } require_once(dirname(__FILE__)."/templets/ruletest.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/ruletest.php
PHP
asf20
924
<?php @ob_start(); @set_time_limit(3600); require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_Keyword'); require_once(dirname(__FILE__)."/../include/pub_splitword_www.php"); if(empty($action)) $action = ''; /*------------------------------- //列出数据库表里的字段 function __getfields() --------------------------------*/ if($action=='getfields') { AjaxHead(); $dsql = new DedeSql(false); if(!$dsql->linkID){ echo "<font color='red'>连接数据源的数据库失败!</font><br>"; echo $qbutton; exit(); } $exptable = $dsql->getone("select addtable from #@__channeltype where ID=$exptable"); $exptable = str_replace('#@__',$cfg_dbprefix,$exptable['addtable']); $dsql->GetTableFields($exptable); echo "<div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:3px;line-height:160%'>"; echo "表(".$exptable.")含有的字段:<br>"; while($row = $dsql->GetFieldObject()){ echo "<a href=\"javascript:pf('{$row->name}')\"><u>".$row->name."</u></a>\r\n"; } echo "<input type='hidden' name='addtable' value='$exptable' />"; echo "</div>"; $dsql->Close(); exit(); }elseif($action == 'fetch') { header("Content-Type: text/html; charset={$cfg_ver_lang}"); $dsql = new DedeSql(false); if(empty($startdd)) $startdd = 0;//结果集起始记录值 if(empty($pagesize)) $pagesize = 50; if(empty($totalnum)) $totalnum = 0; $exptable = intval($exptable); $addtable = urldecode($addtable); $addtable = ereg_replace("[^0-9a-zA-Z_#@]","",$addtable); $rpfield = ereg_replace("[^0-9a-zA-Z_\[\]]","",$rpfield); //统计记录总数 //------------------------ if($totalnum==0) { $row = $dsql->GetOne("Select count(*) as dd From #@__full_search where trim(keywords)='' And channelid='$exptable';"); $totalnum = $row['dd']; } //获取记录,并分析关键字 if($totalnum > $startdd+$pagesize) $limitSql = " limit $startdd,$pagesize"; else if(($totalnum-$startdd)>0) $limitSql = " limit $startdd,".($totalnum - $startdd); else $limitSql = ""; $tjnum = $startdd; if($limitSql!=""){ $fquery = " Select maintable.aid,maintable.title,addtable.$rpfield as body From #@__full_search maintable left join $addtable addtable on addtable.aid=maintable.aid where trim(maintable.keywords)='' And maintable.channelid='$exptable' $limitSql "; $dsql->SetQuery($fquery); $dsql->Execute(); $sp = new SplitWord(); while($row=$dsql->GetObject()) { $tjnum++; $ID = $row->aid; $keywords = ""; $titleindexs = explode(" ",trim($sp->GetIndexText($sp->SplitRMM($row->title)))); $allindexs = explode(" ",trim($sp->GetIndexText($sp->SplitRMM(Html2Text($row->body)),200))); if(is_array($allindexs) && is_array($titleindexs)){ foreach($titleindexs as $k){ if(strlen($keywords)>=50) break; else $keywords .= $k." "; } foreach($allindexs as $k){ if(strlen($keywords)>=50) break; else if(!in_array($k,$titleindexs)) $keywords .= $k." "; } } $keywords = addslashes($keywords); $dsql->SetQuery("update #@__full_search set keywords=' $keywords ' where aid='$ID'"); $dsql->ExecuteNoneQuery(); } $sp->Clear(); unset($sp); }//end if limit //返回提示信息 if($totalnum>0) $tjlen = ceil( ($tjnum/$totalnum) * 100 ); else $tjlen=100; $dvlen = $tjlen * 2; $tjsta = "<div style='width:200;height:15;border:1px solid #898989;text-align:left'><div style='width:$dvlen;height:15;background-color:#829D83'></div></div>"; $tjsta .= "<br/>完成处理文档总数的:$tjlen %,继续执行任务..."; if($tjnum < $totalnum) { $nurl = "keywords_fetch_action.php?action=fetch&totalnum=$totalnum&startdd=".($startdd+$pagesize) ."&pagesize=$pagesize&rpfield=$rpfield&addtable=".urlencode($addtable)."&exptable=".$exptable; $dsql->Close(); ShowMsg($tjsta,$nurl,0,500); exit(); } else { $dsql->executenonequery("OPTIMIZE TABLE `#@__full_search`"); $dsql->Close(); showmsg("完成所有任务!",'javascript:;'); } ClearAllLink(); } ?>
zyyhong
trunk/jiaju001/news/lic/keywords_fetch_action.php
PHP
asf20
4,101
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); require_once(dirname(__FILE__)."/templets/content_batch_up.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/content_batch_up.php
PHP
asf20
211
<?php @set_time_limit(0); require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_modules.php"); CheckPurview('sys_module'); if(empty($action)) $action = ''; if($action=='') { $modules = array(); require_once(dirname(__FILE__)."/templets/module_make.htm"); exit(); } /*--------- //获得Hash码 function GetHash() ----------*/ else if($action=='gethash') { echo md5($modulname.$email); exit(); } /*------------- //生成项目 function Makemodule() --------------*/ else if($action=='make') { $filelist = str_replace("\r","\n",trim($filelist)); $filelist = trim(ereg_replace("[\n]{1,}","\n",$filelist)); if($filelist==""){ ShowMsg("对不起,你没有指定模块的文件列表,因此不能创建项目!","-1"); exit(); } foreach($_POST as $k=>$v) $$k = stripslashes($v); $mdir = dirname(__FILE__).'/module'; $hashcode = md5($modulname.$email); $moduleFilename = $mdir.'/'.$hashcode.'.dev'; $dm = new DedeModule($mdir); if($dm->HasModule($hashcode)) { $dm->Clear(); ShowMsg("对不起,你指定同名模块已经存在,因此不能创建项目!<br>如果你要更新这个模块,请先删除:module/{$hashcode}.dev","-1"); exit(); } move_uploaded_file($readme,$mdir."/{$hashcode}-r.html") or die("你没上传,或系统无法把readme文件移动到 module 目录!"); move_uploaded_file($setup,$mdir."/{$hashcode}-s.php") or die("你没上传,或系统无法把setup文件移动到 module 目录!"); move_uploaded_file($uninstall,$mdir."/{$hashcode}-u.php") or die("你没上传,或系统无法把uninstall文件移动到 module 目录!"); $readmef = $dm->GetEncodeFile($mdir."/{$hashcode}-r.html",true); $setupf = $dm->GetEncodeFile($mdir."/{$hashcode}-s.php",true); $uninstallf = $dm->GetEncodeFile($mdir."/{$hashcode}-u.php",true); $modulinfo = "<?xml version='1.0' encoding='utf-8' ?> <module> <baseinfo> name={$modulname} team={$team} time={$mtime} email={$email} url={$url} hash={$hashcode} </baseinfo> <systemfile> <readme> {$readmef} </readme> <setup> {$setupf} </setup> <uninstall> {$uninstallf} </uninstall> <oldfilelist> $filelist </oldfilelist> </systemfile> "; $fp = fopen($moduleFilename,'w'); fwrite($fp,$modulinfo); fwrite($fp,"<modulefiles>\r\n"); $filelists = explode("\n",$filelist); foreach($filelists as $v) { $v = trim($v); if(!empty($v)) $dm->MakeEncodeFile(dirname(__FILE__),$v,$fp); } fwrite($fp,"</modulefiles>\r\n"); fwrite($fp,"</module>\r\n"); fclose($fp); ShowMsg("成功对一个新模块进行编译!","module_main.php"); exit(); }/*------------- //修改项目 function editModule() --------------*/ else if($action=='edit') { $filelist = str_replace("\r","\n",trim($filelist)); $filelist = trim(ereg_replace("[\n]{1,}","\n",$filelist)); if($filelist==""){ ShowMsg("对不起,你没有指定模块的文件列表,因此不能创建项目!","-1"); exit(); } foreach($_POST as $k=>$v) $$k = stripslashes($v); $mdir = dirname(__FILE__).'/module'; $hashcode = $hash; $moduleFilename = $mdir.'/'.$hashcode.'.dev'; $modulname = str_replace('=','',$modulname); $email = str_replace('=','',$email); $team = str_replace('=','',$team); $dm = new DedeModule($mdir); if(is_uploaded_file($readme)){ move_uploaded_file($readme,$mdir."/{$hashcode}-r.html") or die("你没上传,或系统无法把readme文件移动到 module 目录!"); $readmef = $dm->GetEncodeFile($mdir."/{$hashcode}-r.html",true); }else{ $readmef = base64_encode($dm->GetSystemFile($hashcode,'readme')); } if(is_uploaded_file($setup)){ move_uploaded_file($setup,$mdir."/{$hashcode}-s.php") or die("你没上传,或系统无法把setup文件移动到 module 目录!"); $setupf = $dm->GetEncodeFile($mdir."/{$hashcode}-s.php",true); }else{ $setupf = base64_encode($dm->GetSystemFile($hashcode,'setup')); } if(is_uploaded_file($uninstall)){ move_uploaded_file($uninstall,$mdir."/{$hashcode}-u.php") or die("你没上传,或系统无法把uninstall文件移动到 module 目录!"); $uninstallf = $dm->GetEncodeFile($mdir."/{$hashcode}-u.php",true); }else{ $uninstallf = base64_encode($dm->GetSystemFile($hashcode,'uninstall')); } $modulinfo = "<?xml version='1.0' encoding='utf-8' ?> <module> <baseinfo> name={$modulname} team={$team} time={$mtime} email={$email} url={$url} hash={$hashcode} </baseinfo> <systemfile> <readme> {$readmef} </readme> <setup> {$setupf} </setup> <uninstall> {$uninstallf} </uninstall> <oldfilelist> $filelist </oldfilelist> </systemfile> "; $fp = fopen($moduleFilename,'w'); fwrite($fp,$modulinfo); fwrite($fp,"<modulefiles>\r\n"); $filelists = explode("\n",$filelist); foreach($filelists as $v) { $v = trim($v); if(!empty($v)) $dm->MakeEncodeFile(dirname(__FILE__),$v,$fp); } fwrite($fp,"</modulefiles>\r\n"); fwrite($fp,"</module>\r\n"); fclose($fp); ShowMsg("成功对模块重新编译!","module_main.php"); exit(); } ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/module_make.php
PHP
asf20
5,139
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('temp_Other'); 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 return $tname; } function TimeSetValue($ts) { if($ts==0) return "不限时间"; else return "限时标记"; } $sql = "Select #@__mytag.aid,#@__mytag.tagname,#@__arctype.typename,#@__mytag.timeset,#@__mytag.endtime From #@__mytag left join #@__arctype on #@__arctype.ID=#@__mytag.typeid order by #@__mytag.aid desc "; $dlist = new DataList(); $dlist->Init(); $dlist->SetSource($sql); $dlist->SetTemplet(dirname(__FILE__)."/templets/mytag_main.htm"); $dlist->display(); $dlist->Close(); ?>
zyyhong
trunk/jiaju001/news/lic/mytag_main.php
PHP
asf20
869
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('co_AddNote'); if($linkareas!=""&&$linkareae!="") $linkarea = $linkareas.'[var:区域]'.$linkareae; else $linkarea = ''; if($sppages!="" && $sppagee!="") $sppage = $sppages.'[var:分页区域]'.$sppagee; else $sppage = ''; $itemconfig = " {!-- 节点基本信息 --} {dede:item name=\\'$notename\\' imgurl=\\'$imgurl\\' imgdir=\\'$imgdir\\' language=\\'$language\\' isref=\\'$isref\\' refurl=\\'$refurl\\' exptime=\\'$exptime\\' typeid=\\'$exrule\\' matchtype=\\'$matchtype\\'} {/dede:item} {!-- 采集列表获取规则 --} {dede:list source=\\'$source\\' sourcetype=\\'list\\' varstart=\\'$varstart\\' varend=\\'$varend\\'} {dede:url value=\\'$sourceurl\\'}$sourceurls{/dede:url} {dede:need}$need{/dede:need} {dede:cannot}$cannot{/dede:cannot} {dede:linkarea}$linkarea{/dede:linkarea} {/dede:list} {!-- 网页内容获取规则 --} {dede:art} {dede:sppage sptype=\\'$sptype\\'}$sppage{/dede:sppage}"; for($i=1;$i<=50;$i++) { if(!empty(${"field".$i})) { if(!isset($GLOBALS["value".$i])) $GLOBALS["value".$i] = ""; else $GLOBALS["value".$i] = trim($GLOBALS["value".$i]); if(!isset($GLOBALS["match".$i])) $GLOBALS["match".$i] = ""; if(!isset($GLOBALS["comment".$i])) $GLOBALS["comment".$i] = ""; if(!isset($GLOBALS["isunit".$i])) $GLOBALS["isunit".$i] = ""; if(!isset($GLOBALS["isdown".$i])) $GLOBALS["isdown".$i] = ""; if(!isset($GLOBALS["trim".$i])) $GLOBALS["trim".$i] = ""; $trimstr = $GLOBALS["trim".$i]; $GLOBALS["comment".$i] = str_replace("'","",$GLOBALS["comment".$i]); if($trimstr!=""&&!eregi("{dede:trim",$trimstr)){ $trimstr = " {dede:trim}$trimstr{/dede:trim}\r\n"; } else{ $trimstr = str_replace("{dede:trim"," {dede:trim",$trimstr); } $matchstr = ''; if( !empty($GLOBALS["matchs".$i]) && !empty($GLOBALS["matche".$i]) ){ $matchstr = $GLOBALS["matchs".$i]."[var:内容]".$GLOBALS["matche".$i]; } $itemconfig .= " {dede:note field=\\'".${"field".$i}."\\' value=\\'".$GLOBALS["value".$i]."\\' comment=\\'".$GLOBALS["comment".$i]."\\' isunit=\\'".$GLOBALS["isunit".$i]."\\' isdown=\\'".$GLOBALS["isdown".$i]."\\'} {dede:match}".$matchstr."{/dede:match} $trimstr {dede:function}".$GLOBALS["function".$i]."{/dede:function} {/dede:note}"; } } $itemconfig .= " {/dede:art} "; $inQuery = " INSERT INTO #@__conote(typeid,gathername,language,arcsource,lasttime,savetime,noteinfo) VALUES('$exrule', '$notename', '$language','$arcsource', '0','".time()."', '$itemconfig'); "; $dsql = new DedeSql(false); if($dsql->ExecuteNoneQuery($inQuery)) { $dsql->Close(); ShowMsg("成功增加一个节点!","co_main.php"); exit(); } else { $gerr = $dsql->GetError(); $dsql->Close(); header("Content-Type: text/html; charset={$cfg_ver_lang}"); echo "SQL语句:<xmp>$inQuery</xmp>"; echo "<hr>错误提示:".$gerr."<hr>"; ShowMsg("增加节点失败,请检查原因!","javascript:;"); exit(); } ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/co_add_action.php
PHP
asf20
3,105
<?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(false); $tables = GetChannelTable($dsql,$aid,'arc'); //读取归档信息 //------------------------------ $arcQuery = "Select c.typename as channelname,full.keywords as words,ar.membername as rankname,a.* From `{$tables['maintable']}` a left join #@__channeltype c on c.ID=a.channel left join #@__arcrank ar on ar.rank=a.arcrank left join #@__full_search full on full.aid=a.ID where a.ID='$aid'"; $addQuery = "Select * From `{$tables['addtable']}` where aid='$aid'"; $arcRow = $dsql->GetOne($arcQuery); $arcRow['keywords'] = $arcRow['words']; if(!is_array($arcRow)){ $dsql->Close(); ShowMsg("读取档案基本信息出错!","javascript:;"); exit(); } $query = "Select * From #@__channeltype where ID='".$arcRow['channel']."'"; $cInfos = $dsql->GetOne($query); if(!is_array($cInfos)){ $dsql->Close(); ShowMsg("读取频道配置信息出错!","javascript:;"); exit(); } $channelid = $arcRow['channel']; $addtable = $cInfos['addtable']; $addQuery = "Select * From ".$cInfos['addtable']." where aid='$aid'"; $addRow = $dsql->GetOne($addQuery); if(!is_array($addRow)) $body = ""; else $body = $addRow["body"]; $tags = GetTagFormLists($dsql,$aid); require_once(dirname(__FILE__)."/templets/article_edit.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/article_edit.php
PHP
asf20
1,611
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); $dsql = new DedeSql(false); require_once(dirname(__FILE__)."/templets/freelist_add.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/freelist_add.php
PHP
asf20
236
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('spec_New'); require_once(DEDEADMIN."/inc/inc_catalog_options.php"); require_once(DEDEADMIN."/inc/inc_archives_functions.php"); $channelid = -1; if(empty($cid)) $cid = 0; $dsql = new DedeSql(false); $query = " Select * From #@__channeltype where ID='$channelid'"; $cInfos = $dsql->GetOne($query); $channelid = $cInfos['ID']; $addtable = $cInfos['addtable']; require_once(DEDEADMIN."/templets/spec_add.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/spec_add.php
PHP
asf20
518
<?php require_once(dirname(__FILE__)."/config.php"); CheckPurview('sys_User'); require_once(dirname(__FILE__)."/../include/inc_typelink.php"); if(empty($dopost)) $dopost = ""; $ID = ereg_replace("[^0-9]","",$ID); //---------------------------- if($dopost=="saveedit") { $pwd = trim($pwd); if($pwd!=''){ if(ereg("[^0-9a-zA-Z_@\!\.-]",$pwd)){ ShowMsg("密码不合法!","-1",0,300); exit(); } $pwd = ",pwd='".substr(md5($pwd),0,24)."'"; } $dsql = new DedeSql(false); $ks = Array(); if(is_array($typeid)){ foreach($typeid as $v){ $vs = explode('-',$v); if(isset($vs[1])) $t = $vs[1]; else $t = $vs[0]; if(!isset($ks[$vs[0]])) $ks[$t] = 1; } } $typeid = ''; foreach($ks as $k=>$v){ if($k>0) $typeid .= ($typeid=='' ? $k : ','.$k); } $q = "Update `#@__admin` set uname='$uname',usertype='$usertype',tname='$tname',email='$email',typeid='$typeid' $pwd where ID='$ID'"; $dsql->ExecuteNoneQuery($q); $dsql->Close(); ShowMsg("成功更改一个帐户!","sys_admin_user.php"); exit(); } else if($dopost=="delete") { if(empty($userok)) $userok=""; if($userok!="yes") { require_once(dirname(__FILE__)."/../include/pub_oxwindow.php"); $wintitle = "删除用户"; $wecome_info = "<a href='sys_admin_user.php'>系统帐号管理</a>::删除用户"; $win = new OxWindow(); $win->Init("sys_admin_user_edit.php","js/blank.js","POST"); $win->AddHidden("dopost",$dopost); $win->AddHidden("userok","yes"); $win->AddHidden("ID",$ID); $win->AddTitle("系统警告!"); $win->AddMsgItem("你确信要删除用户:$userid 吗?","50"); $winform = $win->GetWindow("ok"); $win->Display(); exit(); } $dsql = new DedeSql(false); $dsql->SetQuery("Delete From `#@__admin` where ID='$ID' And usertype<>'10' "); $dsql->Execute(); $dsql->Close(); ShowMsg("成功删除一个帐户!","sys_admin_user.php"); exit(); } //-------------------------- $dsql = new DedeSql(false); $row = $dsql->GetOne("Select * From #@__admin where ID='$ID'"); require_once(dirname(__FILE__)."/templets/sys_admin_user_edit.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/sys_admin_user_edit.php
PHP
asf20
2,186
<?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 = ""; $ID = ${"ID_".$startID}; $name = ${"name_".$startID}; $rank = ${"rank_".$startID}; $money = ${"money_".$startID}; if(isset(${"check_".$startID})){ if($rank>0) $query = "update #@__arcrank set membername='$name',money='$money',rank='$rank' where ID='$ID'"; } else{ $query = "Delete From #@__arcrank where ID='$ID' And rank<>10"; } if($query!=""){ $dsql->SetQuery($query); $dsql->ExecuteNoneQuery(); } } if(isset($check_new)) { if($rank_new>0 && $name_new!="" && $money_new!=""){ $dsql->SetQuery("Insert Into #@__arcrank(rank,membername,adminrank,money) Values('$rank_new','$name_new','5','$money_new')"); $dsql->ExecuteNoneQuery(); } } header("Content-Type: text/html; charset={$cfg_ver_lang}"); echo "<script> alert('成功更新会员等级表!'); </script>"; } require_once(dirname(__FILE__)."/templets/member_rank.htm"); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/member_rank.php
PHP
asf20
1,330
<?php require_once(dirname(__FILE__)."/config.php"); require_once(dirname(__FILE__)."/../include/pub_datalist_dm.php"); require_once(dirname(__FILE__)."/../include/inc_functions.php"); CheckPurview('member_Scores'); $db = new DedeSql(false); if(!isset($action)) $action = ''; if($action=='save'){ if(!empty($add_integral)&&!empty($add_icon)&&!empty($add_titles)){ $integral = ereg_replace("[^0-9]","",$add_integral); $add_icon = ereg_replace("[^0-9]","",$add_icon); $add_titles = cn_substr($add_titles,15); $db->ExecuteNoneQuery("INSERT INTO #@__scores(integral,icon,titles,isdefault) VALUES('$integral','$add_icon','$add_titles','$add_isdefault')"); } foreach($_POST as $rk=>$rv){ if(ereg('-',$rk)) { $ID = ereg_replace("[^1-9]","",$rk); $fildes = ereg_replace("[^a-z]","",$rk); $k = $$rk; if(empty($k)) $k = 0; $sql = $fildes."='".$k."'"; $db->ExecuteNoneQuery("UPDATE #@__scores SET ".$sql." WHERE id='{$ID}'"); if(ereg('Ids-',$rk)) { if($k) $db->ExecuteNoneQuery("DELETE FROM #@__scores WHERE id='$ID'"); } } } } $Scores = array(); $db->SetQuery("SELECT * FROM #@__scores ORDER BY id ASC"); $db->Execute(); while($rs = $db->GetArray()) array_push ($Scores,$rs); require_once(dirname(__FILE__)."/templets/member_scores.htm"); $db->Close(); ClearAllLink(); ?>
zyyhong
trunk/jiaju001/news/lic/member_scores.php
PHP
asf20
1,352
if(moz) { extendEventObject(); extendElementModel(); emulateAttachEvent(); } function viewArc(aid){ if(aid==0) aid = getOneItem(); window.open("archives_do.php?aid="+aid+"&dopost=viewArchives"); } function editArc(aid){ if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=editArchives"; } function updateArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=makeArchives&qstr="+qstr; } function checkArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=checkArchives&qstr="+qstr; } function moveArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=moveArchives&qstr="+qstr; } function adArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=commendArchives&qstr="+qstr; } function delArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?qstr="+qstr+"&aid="+aid+"&dopost=delArchives"; } //上下文菜单 function ShowMenu(obj,aid,atitle) { var eobj,popupoptions popupoptions = [ new ContextItem("浏览文档",function(){ viewArc(aid); }), new ContextItem("编辑文档",function(){ editArc(aid); }), new ContextSeperator(), new ContextItem("更新HTML",function(){ updateArc(aid); }), new ContextItem("审核文档",function(){ checkArc(aid); }), new ContextItem("推荐文档",function(){ adArc(aid); }), new ContextSeperator(), new ContextItem("删除文档",function(){ delArc(aid); }), new ContextSeperator(), new ContextItem("全部选择",function(){ selAll(); }), new ContextItem("取消选择",function(){ noSelAll(); }), new ContextSeperator(), new ContextItem("频道管理",function(){ location="catalog_main.php"; }) ] ContextMenu.display(popupoptions) } //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.form2.arcID.value) return document.form2.arcID.value; for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { if(allSel=="") allSel=document.form2.arcID[i].value; else allSel=allSel+"`"+document.form2.arcID[i].value; } } return allSel; } //获得选中其中一个的id function getOneItem() { var allSel=""; if(document.form2.arcID.value) return document.form2.arcID.value; for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { allSel = document.form2.arcID[i].value; break; } } return allSel; } function selAll() { for(i=0;i<document.form2.arcID.length;i++) { if(!document.form2.arcID[i].checked) { document.form2.arcID[i].checked=true; } } } function noSelAll() { for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { document.form2.arcID[i].checked=false; } } }
zyyhong
trunk/jiaju001/news/lic/arclist.js
JavaScript
asf20
3,087
<!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/css" /> <script language="javascript" src="../include/dedeajax2.js"></script> <script language='javascript' src='main.js'></script> <script language="javascript"> <!-- function checkSubmit() { if(document.form1.title.value==""){ alert("产品名称不能为空!"); return false; } if(document.form1.typeid.value==0){ alert("请选择产品的分类!"); return false; } } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/product_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30">&nbsp;<a href="catalog_do.php?cid=55&channelid=16&dopost=listArchives"><u>产品列表</u></a>&gt;&gt;发布新产品</td> <td width="31%" align="right">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> <td width="1%">&nbsp;</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" class="htable"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="28" align="center" bgcolor="#FFFFFF">&nbsp;常规内容&nbsp;</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem2()"><u>附加参数</u></a></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="border-bottom:1px solid #CCCCCC;display:none"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table height="28" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem1()"><u>常规内容</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">附加参数&nbsp;</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="2"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"> <tr> <td width="400%" height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;产品名称:</td> <td width="250"><input name="title" type="text" id="title" style="width:230px" /> </td> <td width="90">附加参数:</td> <td><input name="iscommend" type="checkbox" id="iscommend" value="11" /> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5" /> 加粗 <input name="ispic" type="hidden" id="ispic" value="1" /> </td> </tr> </table></td> </tr> <tr id="pictable" style="display:block"> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="135" height="81"> 产品大图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote2' value='1' id='ddisremote2' onclick="CkRemote('ddisremote2','bigpic')" /> 远程图片<br /> </td> <td width="464"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="30"> 本地直接上传请点击“浏览”按钮 <input name="bigpic" type="file" id="bigpic" style="width:200px" onchange="SeePic(document.picview,document.form1.bigpic);" /> </td> </tr> <tr> <td height="30"><input name="bigpicname" type="text" id="bigpicname" style="width:250px" /> <input type="button" name="Submit22" value="在网站内选择" style="width:120px" onclick="SelectImage('form1.picname','small');" class="inputbut" /> </td> </tr> </table></td> <td width="201" align="center"><img src="img/pview.gif" width="150" id="picview" name="picview" /></td> </tr> </table></td> </tr> <tr id="pictable" style="display:block"> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="135" height="81"> 产品小图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' onclick="CkRemote('ddisremote','litpic')" /> 远程图片<br /> </td> <td width="464"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="30"> 本地直接上传请点击“浏览”按钮 <input name="litpic" type="file" id="litpic" style="width:200px" onchange="SeePic(document.picview,document.form1.litpic);" /> </td> </tr> <tr> <td height="30"><input name="picname" type="text" id="picname" style="width:250px" /> <input type="button" name="Submit2" value="在网站内选择" style="width:120px" onclick="SelectImage('form1.picname','small');" class="inputbut" /> </td> </tr> </table></td> <td width="201">  如果你希望产品小图更清晰,建议用手工上传,如果不手工上传,系统会直接用大图生成产品小图。</td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="80">&nbsp;产品分类</td> <td width="400"> <?php if(empty($cid) && empty($cfg_cat_seltype)) echo GetTypeidSel('form1','typeid','selbt1',$channelid); else{ $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); echo "<select name='typeid' style='width:300px'>\r\n"; echo "<option value='0'>请选择主分类...</option>\r\n"; echo $typeOptions; echo "</select>"; } ?> </td> <td>(只允许在白色选项的栏目中发布当前类型内容)</td> </tr> </table></td> </tr> <!-- 自定义字段 --> <tr> <td style="padding:0px;"><?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?></td> </tr> <tr> <td style="padding:0px"> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;参考价格</td> <td class="bline" height="24"><input type='text' name='assprice' id='assprice' style='width:200px' value='0' /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;产品型号</td> <td class="bline" height="24"><input type='text' name='model' id='model' style='width:200px' value='' /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;供应方式</td> <td class="bline" height="24"><input type='radio' name='sptype' class='np' value='厂家直销' /> 厂家直销 <input type='radio' name='sptype' class='np' value='厂家批发' checked="checked" /> 厂家批发 <input type='radio' name='sptype' class='np' value='商家批发' /> 商家批发 <input type='radio' name='sptype' class='np' value='商家零售' /> 商家零售 <input type='radio' name='sptype' class='np' value='其它渠道' /> 其它渠道 </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;上市时间</td> <td class="bline" height="24"><?php $nowtime = GetDateMk(mytime()); echo "<input name=\"cometime\" value=\"$nowtime\" type=\"text\" id=\"cometime\" style=\"width:200\">"; ?> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;产品品牌</td> <td class="bline" height="24"><input type='text' name='brand' id='brand' style='width:200px' value='' /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;产品规格</td> <td class="bline" height="24"><input type='text' name='size' id='size' style='width:200px' value='' /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td width="80" class="bline" height="24">&nbsp;产品材质</td> <td class="bline" height="24"><input type='text' name='stuff' id='stuff' style='width:200px' value='' /></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:3px"> <tr> <td height='24' class="bline">&nbsp;产品详细描述:</td> </tr> <tr> <td height='360' class="bline"> <?php GetEditor("msg","",360); ?> </td> </tr> </table> </td> </tr> <tr> <td height="28" class="bline"><table width="600" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;附加选项:</td> <td><input name="remote" type="checkbox" id="remote" value="1" checked="checked" /> 下载远程图片和资源 <input name="dellink" type="checkbox" id="dellink" value="1" /> 删除非站内链接</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none"> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;副 栏 目:</td> <td><input type="hidden" name="typeid2" value="0" /> <input type="button" name="selbt2" value="请选择..." style="height:21px;width:150px;border:0px;background-image:url(img/ctbg.gif);padding-top:2px; background-color: transparent" onclick="SelectCatalog('form1','typeid2','selbt2',16,'','0');" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;简略标题:</td> <td width="250"><input name="shorttitle" type="text" id="shorttitle" style="width:150" /> </td> <td width="90">自定义属性:</td> <td><select name='arcatt' style='width:150'> <option value='0'>普通文档</option> <option value='1'>滚动显示(att=1)</option> <option value='2'>头条推荐(att=2)</option> <option value='3'>幻灯片显(att=3)</option> </select> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;发布时间:</td> <td width="241"><input name="pubdate" value="2007-11-07 16:39:30" type="text" id="pubdate" style="width:200" /> </td> <td width="88">消费点数:</td> <td width="381"><input name="money" type="text" id="money" value="0" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">&nbsp;文档排序:</td> <td width="240" height="33"><select name="sortup" id="sortup" style="width:150"> <option value="0" selected="selected">默认排序</option> <option value="7">置顶一周</option> <option value="30">置顶一个月</option> <option value="90">置顶三个月</option> <option value="180">置顶半年</option> <option value="360">置顶一年</option> </select> </td> <td width="90" height="33">标题颜色:</td> <td height="33"><input name="color" type="text" id="color" style="width:120" /> <input name="modcolor" type="button" id="modcolor" value="选取" onclick="ShowColor()" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;阅读权限:</td> <td width="240"><select name="arcrank" id="arcrank" style="width:150"> <option value='0'>开放浏览</option> <option value='-1'>待审核稿件</option> <option value='10'>注册会员</option> <option value='50'>中级会员</option> <option value='100'>高级会员</option> </select> </td> <td width="90">发布选项:</td> <td><input name="ishtml" type="radio" value="1" checked="checked" /> 生成HTML <input type="radio" name="ishtml" value="0" /> 仅动态浏览</td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;文档摘要:</td> <td width="446"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="446"><textarea name="likeid" rows="3" id="likeid" style="width:80%;"></textarea> </td> <td>把文档ID,用逗号“,”分开<br/> <input name="lsel" type="button" id="lsel" class="inputbut" style="width:150" onchange="" value="从已发布文档中选取..." onclick="SelectArcListA('form1.likeid');" /> </td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;关键字:</td> <td width="446"><textarea name="keywords" rows="3" id="keywords" style="width:80%"></textarea></td> <td>用空格分开<br/> <input type="button" name="Submit" value="浏览..." style="width:56;height:20" onclick="SelectKeywords('form1.keywords');" class="inputbut" /></td> </tr> </table></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="56" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="17%">&nbsp;</td> <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="115" height="36"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> <td width="99"><input name="button" type="reset" class="inputbut" id="button" value="重置"/></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </form> <script language='javascript'> if($Nav()!="IE") ShowObj('adset'); </script> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/product_add.htm
HTML
asf20
19,834
<!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>TAG管理</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <link href="div.css" rel="stylesheet" type="text/css"> <style> .nnpp{ border-bottom:1px solid #98CAEF; border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; filter:alpha(opacity=50); } </style> <script language="javascript" src="../include/dedeajax2.js"></script> <script language='javascript' src='main.js'></script> <script language="JavaScript"> var pageno = 1; var totalrow = <?php echo $totalRow?>; var pagesize = <?php echo $pagesize?>; var orderby = '<?php echo $orderby?>'; var addget = "<?php echo $addget?>"; //加载列表 function ReloadPage(ordertype){ orderby = ordertype; var listArea = $Obj('rslist'); var errMsg = "网络通信出错!<br>[<a href=\"javascript:ReloadPage('"+ordertype+"')\"><u>点击此重新加载列表</u></a>]"; var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在加载..."); myajax.SendGet("tag_main.php?dopost=getlist&pageno="+pageno+"&orderby="+ordertype+addget); } //载入指定页的列表 function LoadPage(npage){ pageno = npage; ReloadPage(orderby); ReloadPageNum(pageno); } //更新一个关键词 function UpdateNote(nid){ var listArea = $Obj('rslist'); var kw = $Obj('keyword'+nid).value; var kws = $Obj('spwords'+nid).value; var ct = $Obj('count'+nid).value; var istag; if($Obj('istag'+nid+'1').checked) istag = 1; else istag = 0; var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]"; var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理..."); myajax.SendGet("tag_main.php?dopost=update&aid="+nid+"&istag="+istag+"&keyword="+kw+"&spwords="+kws+"&count="+ct+"&pageno="+pageno); } //删除关键词 function DelNote(nid){ var listArea = $Obj('rslist'); totalrow = totalrow - 1; var pagenum = Math.ceil(totalrow/pagesize); if(pagenum<=pageno) pageno = pagenum; var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]"; var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理..."); myajax.SendGet("tag_main.php?dopost=del&aid="+nid+"&pageno="+pageno); ReloadPageNum(pageno); } //重新加载分页列表 function ReloadPageNum(startnum){ var ListArea = $Obj('pagelist'); var pagenum = Math.ceil(totalrow/pagesize); var listsize = 3; var ahtml = ""; var startloop = 1; var endnum = 0; ahtml += "共:"+totalrow+" 条记录/"+pagenum+"页"; if(pageno>1 && pageno!=1) ahtml += " <a href='#' onclick='LoadPage(1)'>首页</a> "; if(pageno>1) ahtml += "<a href='#' onclick='LoadPage("+(pageno-1)+")'>↑上页</a> "; if(startnum >= pagenum-listsize){ startloop = pagenum-(listsize*2); if(startloop<1) startloop = 1; for(i=startloop;i<=pagenum;i++){ if(i==pageno) ahtml += i+" "; else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> "; } } else if(pagenum < listsize){ for(i=1;i<=pagenum;i++){ if(i==pageno) ahtml += i+" "; else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> "; } } else{ startloop = startnum-listsize; if(startloop<1){ startloop=1; endnum = startloop + (listsize*2); } else{ endnum = startnum+listsize; } if(endnum >= pagenum) endnum = pagenum; for(i=startloop;i<=endnum;i++){ if(i==pageno) ahtml += i+" "; else ahtml += "<a href='#' onclick='LoadPage("+i+")'>["+i+"]</a> "; } } if(pageno<pagenum) ahtml += "<a href='#' onclick='LoadPage("+(pageno+1)+")'>下页↓</a> "; if(pageno!=pagenum && pagenum>1) ahtml += " <a href='#' onclick='LoadPage("+pagenum+")'>末页</a>"; ListArea.innerHTML = ahtml; } </script> </head> <body> <div class="main"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="25" colspan="8" valign="bottom" bgcolor="#EDF9D5"> <table width="96%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="29%"><strong>&nbsp;TAG标签管理</strong></td> <td width="42%"><table width="250" border="0" cellspacing="0" cellpadding="0"> <form action="tag_main.php" name="form1"> <tr> <td width="179" align="center"> <input name="keyword" type="text" id="keyword" style="width:170px" value="<?php echo $keyword?>"> </td> <td width="121"> <input type="submit" name="Submit" value="搜索" class="nbt"> </td> </tr> </form> </table></td> <td width="29%">&nbsp;</td> </tr> </table> </td> </tr> </table> <span id='rslist'> <?php GetTagList($dsql,$pageno,$pagesize,$orderby); ?> </span> <table width="96%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#333333" style="margin-bottom:3px"> <tr align="center"> <td height="35" colspan="8" bgcolor="#F9FCF1"> <span id='pagelist'></span> <script language='javascript'>ReloadPageNum(1);</script> </td> </tr> </table> </div> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/tag_main.htm
HTML
asf20
5,636
<!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/css" /> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name='form1' action='co_view.php?action=save&aid=<?php echo $aid?>' method='post'> <tr> <td height="28" colspan="2" bgcolor="#EDF9D5"> <b><a href='co_url.php'>采集内容管理</a> &gt; 采集内容预览:</b>(系统会自动下载并处理未下载过的内容) </td> </tr> <tr bgcolor="#F8FCF1"> <td width="17%" height="24" align="center" bgcolor="#F8FCF1"><strong>字段名称</strong></td> <td width="83%" align="center" bgcolor="#F8FCF1"><strong>内 容</strong></td> </tr> <?php for($i=0;$i<=$dtp->Count;$i++) { $ctag = $dtp->CTags[$i]; if($ctag->GetName()=="field") { $fname = $ctag->GetAtt("name"); $fvalue = $ctag->GetInnerText(); ?> <tr> <td height="24" align="center" valign="top" bgcolor="#FFFFFF"> <?php echo $fname?> <input type='hidden' name='noteid_<?php echo $i?>' value='<?php echo $fname?>'> </td> <td bgcolor="#FFFFFF"> <?php if(strlen($fvalue)<200) echo "<textarea name=\"value_$i\" rows=\"1\" style=\"width:90%;height:25px\">$fvalue</textarea>"; else echo "<textarea name=\"value_$i\" rows=\"12\" style=\"width:90%;height:280px\">$fvalue</textarea>"; ?> </td> </tr> <?php } } $dtp->Clear(); ?> <input type='hidden' name='endid' value='<?php echo $i?>'> <tr bgcolor="#F8FCF1"> <td height="24" colspan="2" align="center"><input name="imageField" type="submit" class="inputbut" value="确定" /> &nbsp; <a href="<?php echo $backurl?>"> <input name="button" type="button" class="inputbut" id="button" value="返回"/> </a> </td> </tr></form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_view.htm
HTML
asf20
2,121
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">模块管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="plus_add.php" method="post"> <input type='hidden' name='dopost' value='save'> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;<a href="plus_main.php"><u>模块管理</u></a> &gt; 模块打包:</b> </td> </tr> <tr> <td width="19%" align="center" bgcolor="#FFFFFF">插件名称</td> <td width="81%" bgcolor="#FFFFFF"><input name="plusname" type="text" id="plusname"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">作者</td> <td bgcolor="#FFFFFF"> <input name="writer" type="text" id="writer"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">主程序文件</td> <td bgcolor="#FFFFFF"><input name="link" type="text" id="link" size="30"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">目标框架</td> <td bgcolor="#FFFFFF"><input name="target" type="text" id="target" value="main"></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">文件列表</td> <td bgcolor="#FFFFFF">文件用&quot;,&quot;分开,路径相对于管理目录(当前目录)<br> <textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td> </tr> <tr bgcolor="#F9FDF0"> <td height="28" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%">&nbsp;</td> <td width="15%"><input name="imageField" type="submit" class="inputbut" value="提交" /></td> <td width="59%"><input type="button" name="button" id="button" value="返回" onClick="location='plus_main.php';" class="inputbut" /></td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/module_upload.htm
HTML
asf20
2,415
{dede:page pagesize="20"/} <!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/css" /> </head> <body leftmargin='8' topmargin='8'> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5" class="tbtitletxt"> <table width='100%' border="0" cellpadding='0' cellspacing='0'> <tr> <td width='30%' class="tbtitletxt"><strong>单独页面管理</strong></td> <td>&nbsp;</td> <td align='right'>&nbsp;</td> </tr> </table></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr align="center"> <td width="10%" class="tbsname">编号</td> <td class="tbsname">页面名称</td> <td width="20%" class="tbsname">是否编译</td> <td width="20%" class="tbsname">更改时间</td> <td width="20%" class="tbsname">管理</td> </tr> {dede:datalist}<tr align="center"> <td>[field:aid /]</td> <td><a href="[field:global name='cfg_cmspath'/]/[field:filename/]" target='_blank'>[field:title /]</a></td> <td>[field:ismake function='GetIsMake("@me")'/]</td> <td>[field:uptime function='GetDateTimeMk(@me)'/]</td> <td><a href='templets_one_edit.php?aid=[field:aid /]&dopost=edit'>[更改]</a> <a href='templets_one_edit.php?aid=[field:aid /]&dopost=make' target='_blank'>[更新]</a> <a href='templets_one_edit.php?aid=[field:aid /]&dopost=delete'>[删除]</a> </td> </tr> {/dede:datalist} </table> <table width="96%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #E2F5BC;line-height:31px;margin:auto;"> <tr> <td height="35" align="center" style="background:#F9FFE6;padding:7px 6px 6px 10px;" > <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="left"><input type="button" name="bt" value="增加一个页面" class="inputbut" style="width:100px" onclick="location='templets_one_add.php';" /> <input type="button" name="bt2" value="更新所有单独页HTML" class="inputbut" style="width:150px" onclick="location='templets_one_edit.php?dopost=makeall';" /></td> <td width="200">{dede:pagelist listsize=6/}</td> </tr> </table></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/templets_one.htm
HTML
asf20
2,945
<!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/css" /> <script language="javascript" src="../include/dedeajax2.js"></script> <script language='javascript' src='main.js'></script> <script language="javascript"> <!-- function SelectTemplets(fname){ var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("../include/dialog/select_templets.php?f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/article_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return CS_ArchivesAdd();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30">&nbsp;<a href="catalog_do.php?cid=<?php echo $cid?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>文章列表</u></a>&gt;&gt;发布文章</td> <td width="10%">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> <td width="1%">&nbsp;</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" class="htable" style="border-bottom:1px solid #99CC33"> <tr> <td colspan="2" bgcolor="#E2F5BC"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">&nbsp;常规内容&nbsp;</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem2()"><u>其它参数</u></a></td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="border-bottom:1px solid #99CC33;display:none"> <tr> <td colspan="2" bgcolor="#E2F5BC"> <table height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem1()"><u>常规内容</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">其它参数&nbsp;</td> </tr> </table> </td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="2"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"> <tr> <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;文章标题:</td> <td width="250"><input name="title" type="text" id="title" style="width:230px" /> </td> <td width="90">附加参数:</td> <td><input name="iscommend" type="checkbox" id="iscommend" value="11" /> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5" /> 加粗 <input name="isjump" type="checkbox" id="isjump" value="1" onclick="ShowUrlTr()" /> 跳转网址</td> </tr> </table></td> </tr> <tr> <td height="24" class="bline" id="redirecturltr" style="display:none"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;跳转网址:</td> <td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="" /> </td> </tr> </table> </td> </tr> <tr> <td height="24" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;Tag标签:</td> <td> <input name="tag" type="text" id="tag" style="width:300px" value=""> (用空格或','分开) </td> </tr> </table> </td> </tr> <tr> <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">&nbsp;文章来源:</td> <td width="240" height="33"><input name="source" type="text" id="source" style="width:160px" size="16" /> <input name="selsource" type="button" id="selsource" value="选择" class="inputbut" /></td> <td width="90" height="33">作 者:</td> <td height="33"><input name="writer" type="text" id="writer" style="width:120px" /> <input name="selwriter" type="button" id="selwriter" value="选择" class="inputbut" /> </td> </tr> </table> <script language='JavaScript' type="text/javascript">InitPage();</script> </td> </tr> <tr id="pictable"> <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="135" height="81">&nbsp;缩 略 图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' onclick="CkRemote('ddisremote','litpic')" /> 远程图片 <br /> </td> <td width="464"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="30"> 本地上传请点击“浏览”按钮 <input name="litpic" type="file" id="litpic" style="width:200px" onchange="SeePic(document.picview,document.form1.litpic);" /> </td> </tr> <tr> <td height="30"><input name="picname" type="text" id="picname" style="width:250px" /> <input type="button" name="Submit2" value="在网站内选择" style="width:120px" onclick="SelectImage('form1.picname','small');" class="inputbut" /> </td> </tr> </table></td> <td width="201" align="center"><img src="img/pview.gif" width="150" id="picview" name="picview" /></td> </tr> </table></td> </tr> <tr> <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;文章主栏目:</td> <td width="400"> <?php if(empty($cid) && empty($cfg_cat_seltype)) echo GetTypeidSel('form1','typeid','selbt1',$channelid); else{ $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); echo "<select name='typeid' style='width:300px'>\r\n"; echo "<option value='0'>请选择主分类...</option>\r\n"; echo $typeOptions; echo "</select>"; } ?> </td> <td>(只允许在白色选项的栏目中发布当前类型内容)</td> </tr> </table></td> </tr> <tr> <td style="padding:0px;"> <?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?> </td> </tr> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#FFFFFF">文章内容</td> <td width="84" align="center">&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="2"></td> </tr> <tr> <td width="100%" height="24" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;附加选项:</td> <td> <input name="remote" type="checkbox" id="remote" value="1" checked="checked" /> 下载远程图片和资源 <input name="dellink" type="checkbox" id="dellink" value="1" /> 删除非站内链接 <input name="autolitpic" type="checkbox" id="autolitpic" value="1" /> 提取第一个图片为缩略图 <input name="autokey" type="checkbox" id="autokey" value="1" /> 自动获取关键词 </td> </tr> </table> </td> </tr> <tr> <td width="100%" height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td>&nbsp;分页方式:</td> <td><input name="sptype" type="radio" value="hand"<?php if($cfg_arcautosp=='否') echo " checked"?> /> 手动分页 <input type="radio" name="sptype" value="auto" <?php if($cfg_arcautosp=='是') echo " checked"?> /> 自动分页 自动分页大小: <input name="spsize" type="text" id="spsize" value="<?php echo $cfg_arcautosp_size?>" size="6" /> (K) </td> </tr> <tr> <td width="90">&nbsp;</td> <td>(手动分页在需分的地方加上 <font color="#FF0000">#p#分页标题#e# </font>,编辑器里包含该按钮)</td> </tr> </table></td> </tr> <tr> <td height="24" bgcolor="#FFFFFF">&nbsp;文章内容:</td> </tr> <tr> <td><?php GetEditor("body","",450); ?> </td> </tr> <tr> <td height="6"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none"> <tr> <td height="24" width="90" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;简略标题:</td> <td width="250"><input name="shorttitle" type="text" id="shorttitle" style="width:150px" /> </td> <td width="90">自定义属性:</td> <td><select name='arcatt' style='width:150px'> <option value='0'>普通文档</option> <?php $dsql->SetQuery("Select * From #@__arcatt order by att asc"); $dsql->Execute(); while($trow = $dsql->GetObject()) { echo "<option value='{$trow->att}'>{$trow->attname}(att={$trow->att})</option>"; } ?> </select> </td> </tr> </table> </td> </tr> <tr> <td width="90" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">&nbsp;副 栏 目:</td> <td height="33"><?php echo GetTypeidSel('form1','typeid2','selbt2',$channelid)?></td> </tr> </table> </td> </tr> <tr> <td height="24" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">&nbsp;文章模板:</td> <td height="33"><input name="templet" type="text" id="templet" size="30" /> <input type="button" name="set3" value="浏览..." style="width:60px" onclick="SelectTemplets('form1.templet');" class="inputbut" /> 如果模板为空,则使用文章所在栏目定义的模板) </td> </tr> </table></td> </tr> <tr> <td height="24" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;发布时间:</td> <td width="241"> <?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="88">消费点数:</td> <td width="381"> <input name="money" type="text" id="money" value="0" size="10"> </td> </tr> </table></td> </tr> <tr> <td height="24" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">&nbsp;文档排序:</td> <td width="240"> <select name="sortup" id="sortup" style="width:150px"> <option value="0" selected>默认排序</option> <option value="7">置顶一周</option> <option value="30">置顶一个月</option> <option value="90">置顶三个月</option> <option value="180">置顶半年</option> <option value="360">置顶一年</option> </select> </td> <td width="90">标题颜色:</td> <td> <input name="color" type="text" id="color" style="width:120px"> <input name="modcolor" type="button" id="modcolor" value="选取" onClick="ShowColor()" class="inputbut"> </td> </tr> </table></td> </tr> <tr> <td height="24" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;阅读权限:</td> <td width="240"> <select name="arcrank" id="arcrank" style="width:150px"> <?php $dsql->SetQuery("Select * from #@__arcrank "); $dsql->Execute(); while($row = $dsql->GetObject()) { echo " <option value='".$row->rank."'>".$row->membername."</option>\r\n"; } ?> </select> </td> <td width="90">发布选项:</td> <td> <input name="ishtml" type="radio" value="1" checked> 生成HTML <input type="radio" name="ishtml" value="0"> 仅动态浏览</td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;文档摘要:</td> <td width="446"><textarea name="description" rows="3" id="description" style="width:80%"></textarea></td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;关键字:</td> <td width="446"><textarea name="keywords" rows="3" id="keywords" style="width:80%"></textarea></td> <td>用空格分开<br/> <input type="button" name="Submit" value="浏览..." style="width:56px;height:20" onClick="SelectKeywords('form1.keywords');" class="inputbut" /></td> </tr> </table></td> </tr> <tr> <td height="76" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="446"> <textarea name="likeid" rows="3" id="likeid" style="width:80%;"></textarea> </td> <td>把文档ID,用逗号“,”分开<br/> <input name="lsel" type="button" id="lsel" class="nbt" style="width:150px" onChange="" value="从已发布文档中选取..." onClick="SelectArcListA('form1.likeid');"> </td> </tr> </table> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="56"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="17%">&nbsp;</td> <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="115" height="35"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> <td width="99" height="35"><a href="catalog_main.php"> <input name="button" type="reset" class="inputbut" id="button" value="重置"/> </a></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_add.htm
HTML
asf20
18,232
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">采集管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20" bgcolor="#EDF9D5"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="24">&nbsp;<strong>测试节点:</strong></td> <td width="70%" align="right" style="padding-top:6px;padding-right:6px">&nbsp;<input type="button" name="b11" value="返回采集节点管理页" class='inputbut' style="width:160" onClick="location.href='co_main.php';"></td> </tr> </table></td> </tr> <tr> <td height="94" bgcolor="#FFFFFF" align="center"> <table width="100%" border="0"> <tr bgcolor="#F9FCF3"> <td width="13%" height="24" align="center"><b>节点名称:</b></td> <td width="87%" align="left">&nbsp;<?php echo($co->Item["name"]); ?></td> </tr> <tr> <td height="24" align="center">列表测试信息:</td> <td>&nbsp;</td> </tr> <tr> <td height="24" colspan="2" align="center"> <textarea name="r1" rows="15" id="r1" style="width:98%;height:250px"><?php $turl = $co->TestList();?></textarea> </td> </tr> <tr> <td height="24" align="center">网页规则测试:</td> <td align="left">(Dedecms里时间日期字段一般是整数类型,如果你看到sortrank、pubdate、senddate是整数,那情况是属正常的)</td> </tr> <tr> <td height="24" colspan="2" align="center"> <textarea name="r2" rows="15" id="r2" style="width:98%;height:250px">测试网址: <?php echo "$turl \r\n"; $co->TestArt($turl); ?></textarea> </td> </tr> </table></td> </tr> <tr> <td height="28" bgcolor="#F8FBFB">&nbsp;</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_test_rule.htm
HTML
asf20
2,392
<!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/css" /> <script language="JavaScript"> function ChangeListStyle(){ var itxt = document.getElementById("myinnertext"); var myems = document.getElementsByName("liststyle"); if(myems[0].checked) itxt.value = document.getElementById("list1").innerHTML; else if(myems[1].checked) itxt.value = document.getElementById("list2").innerHTML; else if(myems[2].checked) itxt.value = document.getElementById("list3").innerHTML; else if(myems[3].checked) itxt.value = document.getElementById("list4").innerHTML; itxt.value = itxt.value.replace("<BR>","<BR/>"); itxt.value = itxt.value.toLowerCase(); } function DoSubmit(j){ document.form1.dopost.value = j; document.form1.submit(); } </script> <script src="main.js" language="javascript"></script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">模板管理</div> </div> <center> <span style="display:none" id="list1"> ·[field:textlink/]([field:pubdate function=strftime('%m-%d',@me)/])<br/> </span> <span style="display:none" id="list2"> ·[field:typelink/] [field:textlink/]<br/> </span> <span style="display:none" id="list3"> <table width='98%' border='0' cellspacing='2' cellpadding='0'> <tr><td align='center'>[field:imglink/]</td></tr> <tr><td align='center'>[field:textlink/]</td></tr> </table> </span> <span style="display:none" id="list4"> <table width='100%' border='0' cellspacing='2' cellpadding='2'> <tr> <td width='30%' rowspan='2' align='center'>[field:imglink/]</td> <td width='70%'><a href='[field:filename/]'>[field:title/]</a></td> </tr> <tr><td>[field:info/]</td></tr> </table> </span> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form action="mytag_tag_guide_ok.php" method="post" target="stafrm" name="form1"> <input type="hidden" name="dopost" value="gettag"/> <tr> <td height="23" align="left" bgcolor="#EDF9D5">&nbsp;&nbsp;<b><a href="mytag_main.php"><u>自定义标记管理</u></a></b> &gt;&gt; 智能标记生成向导:</td> </tr> <tr> <td height="265" valign="top" bgcolor="#FFFFFF"><table width="99%" border="0" align="right" cellpadding="0" cellspacing="0"> <tr> <td height="28" align="left">&nbsp;&nbsp;列表样式:</td> </tr> <tr> <td height="72" align="left"><table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="25%" height="126"><img src="img/g_t2.gif" width="130" height="100"> <input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1" checked> </td> <td width="25%"><img src="img/g_t1.gif" width="130" height="110"> <input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></td> <td width="25%"><img src="img/g_t3.gif" width="130" height="110"> <input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></td> <td><img src="img/g_t4.gif" width="130" height="110"> <input type="radio" onClick="ChangeListStyle()" name="liststyle" value="4"></td> </tr> </table></td> </tr> <tr> <td height="28" align="left">&nbsp;&nbsp;调用栏目: <?php $opall = 1; echo GetTypeidSel('form1','typeid','selbt1',0); ?> </td> </tr> <tr> <td height="28" align="left"> &nbsp;&nbsp;限定频道: <?php echo "<select name='channel' style='width:100'>\r\n"; echo "<option value='0' selected>不限频道...</option>\r\n"; $dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='{$row->ID}'>{$row->typename}</option>\r\n"; } echo "</select>"; ?>  附加属性: <?php echo "<select name='att' style='width:100'>\r\n"; echo "<option value='0' selected>不限...</option>\r\n"; $dsql->SetQuery("Select * From #@__arcatt"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='{$row->att}'>{$row->attname}</option>\r\n"; } echo "</select>"; ?> </td> </tr> <tr> <td height="28" align="left">&nbsp;&nbsp;调用记录条数: <input name="row" type="text" id="row" value="10" size="4">  显示列数: <input name="col" type="text" id="col" value="1" size="4">  标题长度: <input name="titlelen" type="text" id="titlelen" value="24" size="4"> (1 字节 = 0.5个中文字)</td> </tr> <tr> <td height="28" align="left"> &nbsp;&nbsp;高级筛选: <input name="types[]" type="checkbox" id="type[]" value="image" > 带缩略图 <input name="types[]" type="checkbox" id="type[]" value="commend" > 推荐 <input name="types[]" type="checkbox" id="type[]" value="spec" > 专题 关键字: <input name="keyword" type="text" id="keyword"> (&quot;,&quot;逗号分开)</td> </tr> <tr> <td height="28" align="left">&nbsp;&nbsp;排列顺序: <select name="orderby" id="orderby" style="width:120"> <option value="sortrank">置顶权限值</option> <option value="pubdate" selected>发布时间</option> <option value="senddate">录入时间</option> <option value="click">点击量</option> <option value="id">文档ID</option> <option value="lastpost">最后评论时间</option> <option value="postnum">评论总数</option> <option value="rand">随机获取</option> </select>   <input name="order" type="radio" value="desc" checked> 由高到低 <input type="radio" name="order" value="asc"> 由低到高</td> </tr> <tr> <td height="28" align="left">&nbsp;&nbsp;文档发布时间: <input name="subday" type="text" id="subday" value="0" size="6"> 天以内 (0 表示不限)</td> </tr> <tr> <td height="28" align="left">&nbsp;&nbsp;单条记录样式(InnerText):</td> </tr> <tr> <td height="99" align="left"><textarea name="innertext" cols="80" rows="6" id="myinnertext">·[field:textlink/]([field:pubdate function=strftime('%m-%d',@me)/])<br/></textarea></td> </tr> <tr> <td height="80" align="left"><font color="#CC6600">&nbsp;&nbsp;支持字段:id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> stime(pubdate 的&quot;0000-00-00&quot;格式),textlink,typelink,imglink,image 普通字段直接用[field:字段名/]表示。<br> ·Pubdate发布时间的调用参数 [field:pubdate function=strftime('%Y-%m-%d %H:%M:%S',@me)/]</font> </td> </tr> <tr> <td height="39" align="left"> <input name="Submit1" type="button" id="Submit1" onClick="DoSubmit('gettag')" value="生成模板调用标记" class="inputbut"> &nbsp; <input name="Submit2" type="button" id="Submit2" onClick="DoSubmit('savetag')" value="保存为自定义标记" class="inputbut"> </td> </tr> </table></td> </tr> </form> <tr> <td valign="top" bgcolor="#EFF7E6">&nbsp;&nbsp;输出结果:</td> </tr> <tr> <td height="150" valign="top" bgcolor="#FFFFFF"> <div id='mdv' style='width:100%;height:130;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> </td> </tr> </table> </center> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mytag_tag_guide.htm
HTML
asf20
8,828
<!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/css" /> <script language="javascript"> function checkSubmit() { if(document.form1.tagname.value=="") { alert("标记名称不能为空!"); document.form1.tagname.focus(); return false; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">模板管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5">&nbsp;&nbsp;<b><a href="mytag_main.php"><u>自定义标记管理</u></a></b>&gt;&gt;增加新标记</td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellspacing="4" cellpadding="4"> <form action="mytag_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return checkSubmit()"> <input type='hidden' name='dopost' value='save'> <tr> <td height="25" colspan="3">自定义标记的调用方法:<br/> {dede:mytag name='标记名称' ismake='是否含板块代码(yes 或 no)' typeid='栏目ID'/} <br/> 1、name 标记名称,该项是必须的属性,以下 2、3是可选属性;<br/> 2、ismake 默认是 no 表示设定的纯HTML代码, yes 表示含板块标记的代码;<br/> 3、typeid 表示所属栏目的ID,默认为 0 ,表示所有栏目通用的显示内容,在列表和文档模板中,typeid默认是这个列表或文档本身的栏目ID。</td> </tr> <tr> <td width="15%" height="25" align="center">所属栏目:</td> <td colspan="2"> <?php $tl = new TypeLink(0); $typeOptions = $tl->GetOptionArray(0,0,0); echo "<select name='typeid' style='width:300'>\r\n"; echo "<option value='0' selected>显示在没有继承本标记的所有栏目</option>\r\n"; echo $typeOptions; echo "</select>"; $tl->Close(); ?> </td> </tr> <tr> <td height="25" align="center">标记名称:</td> <td colspan="2"><input name="tagname" type="text" id="tagname"></td> </tr> <tr> <td height="25" align="center">时间限制:</td> <td colspan="2"><input name="timeset" type="radio" value="0" checked> 永不过期 <input type="radio" name="timeset" value="1"> 在设内时间内有效</td> </tr> <tr> <td height="25" align="center">开始时间:</td> <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo $startDay?>"></td> </tr> <tr> <td height="25" align="center">结束时间:</td> <td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo $endDay?>"></td> </tr> <tr> <td height="80" align="center">正常显示内容:</td> <td width="76%"> <textarea name="normbody" id="normbody" style="width:80%;height:100"></textarea> </td> <td width="9%">&nbsp;</td> </tr> <tr> <td height="80" align="center">过期显示内容:</td> <td> <textarea name="expbody" id="expbody" style="width:80%;height:100"></textarea> </td> <td>&nbsp;</td> </tr> <tr> <td height="53" align="center">&nbsp;</td> <td colspan="2"><input name="imageField" type="submit" class="inputbut" value="提交"/></td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mytag_add.htm
HTML
asf20
4,211
<!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/css" /> <script language="javascript"> //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.form1.aids.value) return document.form1.aids.value; for(i=0;i<document.form1.aids.length;i++) { if(document.form1.aids[i].checked) { if(allSel=="") allSel=document.form1.aids[i].value; else allSel=allSel+"`"+document.form1.aids[i].value; } } return allSel; } function ReSel() { for(i=0;i<document.form1.aids.length;i++) { if(document.form1.aids[i].checked) document.form1.aids[i].checked = false; else document.form1.aids[i].checked = true; } } function DelSel() { var nid = getCheckboxItem(); if(nid=="") { alert("请选择节点!\r\n"); return ; } location.href = "co_do.php?dopost=clear&ids="+nid; } </script> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr align="center" bgcolor="#F8FBFB"> <td width="8%" bgcolor="#EDF9D5">选择</td> <td width="35%" bgcolor="#EDF9D5">内容标题</td> <td width="18%" bgcolor="#EDF9D5">所属节点</td> <td width="18%" bgcolor="#EDF9D5">获取日期</td> <td width="10%" bgcolor="#EDF9D5">是否下载</td> <td width="8%" bgcolor="#EDF9D5">来源</td> </tr> <form name='form1'> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align="center" bgcolor="#FFFFFF"> <td><input type='checkbox' name='aids' value='<?php echo $row['aid']?>' class='np'></td> <td><a href='co_view.php?aid=<?php echo $row['aid']?>''><?php echo $row['title']?></a></td> <td><?php echo $row['gathername']?></td> <td><?php echo GetDateMk($row['dtime'])?></td> <td><?php echo IsDownLoad($row['isdown'])?></td> <td><a href='<?php echo $row['url']?>' target='_blank'>[源网址]</a></td> </tr> <?php } ?> </form> <tr> <td height="30" colspan="6" bgcolor="#FCFDF7">&nbsp; <input type="button" name="b7" value="反选" class="inputbut" style="width:40" onClick="ReSel();">     <input type="button" name="b5" value="删除所选网址" class="inputbut" style="width:100" onClick="DelSel();">  </td> </tr> <tr> <td height="24" colspan="6" bgcolor="#FCFDF7" align="center"> <?php echo $dlist->GetPageList(7);?> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_url_2.htm
HTML
asf20
2,774
{dede:page pagesize="20"/} <!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/css" /> <style type="text/css"> .rb{ border-right:1px solid #98CAEF } .tb{ border-top:1px solid #98CAEF } .current {border:1px solid #98CAEF;padding:5px;background:#FFFEF4;color:#FF0000;} </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">短信管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30" align="center" bgcolor="#FAFCEF"> <form action="member_pm.php" name="form1" method="get"> <table width="484" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="90">&nbsp;关键字:</td> <td width="110" align="center"> <input name="keyword" type="text" id="keyword" size="12" style="width:100" value="{dede:global name='keyword'/}"> </td> <td width="50">&nbsp;用户:</td> <td width="74"><input name="username" type="text" id="username" size="12" style="width:100" value="{dede:global name='username'/}" /></td> <td width="100" align="center"><select name="folder" id="folder"> <option value="inbox">收件箱</option> <option value="outbox">草稿箱</option> <option value="track">发件箱</option> </select> </td> <td width="60" align="center"><input name="imageField" type="submit" class="inputbut" value="搜索"/></td> </tr> </table> </form> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="9" bgcolor="#EDF9D5"><table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"><span class="current" id="cate_1">短信列表</span> <a href='member_pmall.php'>群发短信</a></td> <td align="left"></td> <td align="left"></td> </tr> </table></td> </tr> <tr bgcolor="#FDFEE9" height="26"> <td width="10%" align="center">发送时间</td> <td width="20%" align="center">标题</td> <td width="5%" align="center">已读?</td> <td width="10%" align="center">{dede:global name='postuser'/}</td> <td width="36%" align="center">内容</td> <td width="9%" align="center">文件夹</td> <td width="10%" align="center">操作</td> </tr> {dede:datalist} <tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EDF7D0';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td> [field:dateline function="GetDateMk('@me')"/]</td> <td> [field:subject function='htmlspecialchars(@me)'/]<br></td> <td>[field:new function='IsReader(@me)'/]</td> <td> [field:msgfrom /] </td> <td title="[field: message function='htmlspecialchars(@me)'/]">[field: message function='cn_substr(htmlspecialchars(@me),60)'/]</td> <td>[field:folder function="GetFolders('@me')"/]</td> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" height="25"><a href="member_pm.php?ID=[field:pmid/]&dopost=del">删除</a></td> </tr> </table></td> </tr> {/dede:datalist} <tr bgcolor="#F8FBFB"> <td height="26" colspan="9" align="center" bgcolor="#EDF9D5"> {dede:pagelist listsize=6/} </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_pm.htm
HTML
asf20
3,895
{dede:page pagesize="50"/} <!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" colspan="5" bgcolor="#EDF9D5"> <table width='96%' cellpadding='0' cellspacing='0'> <tr> <td width='30%'><b>&nbsp;插件管理</b></td> <td align='right'> [<a href="plus_add.php"><u>安装新插件</u></a>] </td> </tr> </table> </td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="10%">ID号</td> <td width="40%">插件名称</td> <td width="20%">插件作者</td> <td width="30%">管理</td> </tr> {dede:datalist} <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td>[field:aid /]</td> <td>[field:plusname /]</td> <td>[field:writer /]</td> <td>[field:isshow function='GetSta(@me,$GLOBALS{"row"}{"aid"},$GLOBALS{"row"}{"plusname"})'/]</td> </tr> {/dede:datalist} <tr align="center" bgcolor="#F8FBFB" height="24"> <td colspan="5">{dede:pagelist listsize=6/}</td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/plus_main.htm
HTML
asf20
1,764
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">系统帐号管理</div> </div> <center> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="23" align="left" bgcolor="#EDF9D5">&nbsp;&nbsp;<b><a href='sys_group.php'>系统用户组管理</a>&gt;&gt;更改用户组:</b></td> </tr> <tr> <td align="left"> </td> </tr> </table> </center><form name='form1' action='sys_group_edit.php' method='post'> <input type='hidden' name='dopost' value='save'> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="1" class="tblist"> <tr> <td height="30">组名称:</td> <td width="91%"> <input name="typename" type="text" id="typename" value="<?php echo $groupSet['typename']?>"></td> </tr> <tr> <td height="30">级别值:</td> <td width="91%"> <input name="rank" type="hidden" id="rank" value="<?php echo $groupSet['rank']?>"> <?php echo $groupSet['rank']?> </td> </tr> <tr><?php $start = 0; $k = 0; $gouplists = file(dirname(__FILE__).'/../inc/grouplist.txt'); foreach($gouplists as $line) { $line = trim($line); if($line=="") continue; if(ereg("^>>",$line)) { if($start>0) echo " </td></tr>\r\n"; $start++; $lhead = " <tr> <td height='25' colspan='2' bgcolor='#E2F5BC'>{$start}、".str_replace('>>','',$line)."</td></tr> <tr height='60'><td height='60' colspan='2'> "; echo $lhead; } else if(ereg("^>",$line)) { $ls = explode('>',$line); $tag = $ls[1]; $tagname = str_replace('[br]','<br>',$ls[2]); echo " <input name='purviews[]' type='checkbox' id='purviews$k' value='$tag'".CRank($tag).">&nbsp;&nbsp;<span class='hg'>$tagname</span>\r\n"; $k++; } } $start++; ?> </tr> <tr> <td height='25' colspan="2" bgcolor='#FFFFFF'><?php echo $start?>、插件权限</td> </tr> <tr> <td height='25' colspan="2"> <?php $l = 0; $dsql->SetQuery('Select plusname From #@__plus'); $dsql->Execute(); while($row=$dsql->GetObject()){ echo " <input name='purviews[]' type='checkbox' class='np' id='purviews$k' value='plus_{$row->plusname}'".CRank("plus_{$row->plusname}").">{$row->plusname}\r\n"; $k++; $l++; if($l%4==0) echo "<br>"; } ?> </td> </tr> <tr> <td height="50" align="center">&nbsp;</td> <td height="50"><input type="submit" name="Submit" value=" 保存" class="inputbut"/></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_group_edit.htm
HTML
asf20
3,432
1227667040
zyyhong
trunk/jiaju001/news/lic/templets/ad_main.htm.cache.t
Perl
asf20
11
<!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>生成专题列表HTML</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">HTML更新</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="makehtml_spec.php" method="get" target='stafrm'> <input type="hidden" name="dopost" value="ok"> <tr> <td height="20" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;&nbsp;生成专题列表HTML:</strong></td> <td width="70%" align="right">&nbsp; </td> </tr> </table></td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>说明:默认的情况下,系统用动态程序“ <?php echo $cfg_cmspath.$cfg_special."/index.php"?> ”读取专题列表,更新HTML后,系统会自动识别静<strong>态</strong>文件。</td> </tr> <tr> <td height="35" bgcolor="#F8FBFB" align="center"> <input name="b112" type="button" value="开始生成HTML" onClick="document.form1.submit();" class="inputbut"/> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" bgcolor="#EDF9D5"> <table width="100%"> <tr> <td width="74%"><strong>&nbsp;&nbsp;</strong>进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_spec.htm
HTML
asf20
2,739
<!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/css" /> <style> .coolbg2 { border: 1px solid #000000; background-color: #F2F5E9; height:18px } </style> <script language='javascript'> function CheckSubmit() { if(document.form1.title.value==""){ alert("请设定媒体标题!"); document.form1.title.focus(); return false; } } </script> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="2%" align="center" valign="middle"><img src="img/item_tt2.gif" width="7" height="15"></td> <td width="44%"><strong>更改媒体:</strong></td> <td width="54%" align="right">[<a href='media_main.php'><u>附件/媒体数据管理</u></a>]</td> </tr> </table></td> </tr> <tr> <td height="19" bgcolor="#ffffff"> <img src="img/help.gif" border="0"> 提示:图片类型仅支持jpg、png、gif、wbmp格式,flash为.swf格式,视音频和附件为限定扩展名的类型(可在系统参数中修改)。 </td> </tr> <tr> <td height="69" align="center" valign="top" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <form enctype="multipart/form-data" name='form1' action="media_edit.php" method="POST" onSubmit="return CheckSubmit();"> <input type="hidden" name="dopost" value="save"> <input type="hidden" name="aid" value="<?php echo $aid?>"> <tr> <td width="15%" height="30" align="center" bgcolor="#FFFFFF"class='bline'>媒体类型:</td> <td width="85%" height="25" bgcolor="#FFFFFF"class='bline'> <input type="radio" name="mediatype" value="1"<?php if($myrow['mediatype']==1) echo " checked"; ?>> 图片 <input type="radio" name="mediatype" value="2"<?php if($myrow['mediatype']==2) echo " checked"; ?>> FLASH <input type="radio" name="mediatype" value="3"<?php if($myrow['mediatype']==3) echo " checked"; ?>> 视频/音频 <input type="radio" name="mediatype" value="4"<?php if($myrow['mediatype']==4) echo " checked"; ?>> 附件/其它 </td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF"class='bline'>说明标题:</td> <td height="25" bgcolor="#FFFFFF"class='bline'> <input name="title" type="text" id="title" size="30" value="<?php echo $myrow['title']?>"> </td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF"class='bline'>参数说明:</td> <td height="30" bgcolor="#FFFFFF"class='bline' colspan='2'>图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>附加参数:</td> <td height="25" bgcolor="#FFFFFF" class='bline'> 宽: <input name="mediawidth" type="text" id="mediawidth" size="5" value="<?php echo $myrow['width']?>"> (像素) 高: <input name="mediaheight" type="text" id="mediaheight" size="5" value="<?php echo $myrow['height']?>"> (像素) 播放时间: <input name="playtime" type="text" id="playtime" size="5" value="<?php echo $myrow['playtime']?>"> (分钟) </td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF"class='bline'>原文件:</td> <td bgcolor="#FFFFFF"class='bline'> <input name="filename" type="text" id="filename" style='width:450' value="<?php echo $myrow['url']?>"> <a href='<?php echo $myrow['url']?>' target='_blank'>[查看]</a> </td> </tr> <?php if($myrow['mediatype']==1) { $fullfilename = $cfg_basedir.$myrow['url']; if(file_exists($fullfilename)){ $info = ""; $sizes = getimagesize($fullfilename,$info); if(is_array($sizes)){ if($sizes[0]>200) $w=200; else $w = $sizes[0]; ?> <tr> <td height="30" align="center" bgcolor="#FFFFFF"class='bline'>预览:</td> <td bgcolor="#FFFFFF"class='bline'> <a href='<?php echo $myrow['url']?>' target='_blank'><img src='<?php echo $myrow['url']."?q=".mytime()?>' width='<?php echo $w?>' border='0' id='picview'></a> </td> </tr> <?php } } } ?> <tr> <td height="35" align="center" bgcolor="#FFFFFF"class='bline'> 更改文件:</td> <td height="35" bgcolor="#FFFFFF"class='bline'> <input name="upfile" type="file" id="upfile" style='width:300' /> </td> </tr> <tr> <td height="62" colspan="2" bgcolor="#FFFFFF"class='bline'> <table width="60%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> </tr> </table> </td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/media_edit.htm
HTML
asf20
4,945
<!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/css" /> <script language="javascript"> var i=1; function AddItem() { i++; if(i>15){ alert("最大只允许15个选项!"); return; } var obj = document.getElementById("voteitem"); obj.innerHTML+="<br/>选项"+i+": <input name='voteitem"+i+"' type='text' size='30'>"; } function ResetItem() { i = 1; var obj = document.getElementById("voteitem"); obj.innerHTML="选项1: <input name='voteitem1' type='text' size='30'>"; } function checkSubmit() { if(document.form1.votename.value=="") { alert("投票名称不能为空!"); document.form1.votename.focus(); return false; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"><b>&nbsp;投票管理</b>&gt;&gt;增加投票&nbsp;&nbsp;[<a href="vote_main.php"><u>管理以往投票内容记录</u></a>]</td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellspacing="4" cellpadding="4"> <form name="form1" method="post" action="vote_add.php" onSubmit="return checkSubmit()"> <input type='hidden' name='dopost' value='save'> <tr> <td width="15%" align="center">投票名称:</td> <td width="85%"> <input name="votename" type="text" id="votename" style='width:180px' /> </td> </tr> <tr> <td align="center">开始时间:</td> <td><input name="starttime" type="text" style='width:180px' id="starttime" value="<?php echo $startDay?>" /></td> </tr> <tr> <td align="center">结束时间:</td> <td><input name="endtime" type="text" style='width:180px' id="endtime" value="<?php echo $endDay?>" /></td> </tr> <tr> <td align="center">是否多选:</td> <td> <input name="ismore" type="radio" value="0" checked> 单选   <input type="radio" name="ismore" value="1"> 多选 </td> </tr> <tr> <td align="center">投 票 项:</td> <td> <input type="button" value="增加投票选项" name="bbb" onClick="AddItem();" class="inputbut">   <input type="button" value="重置投票选项" name="bbb2" onClick="ResetItem();" class="inputbut"> </td> </tr> <tr> <td></td> <td> <div id="voteitem"> 选项1: <input name="voteitem1" type="text" id="voteitem1" size="30"> </div> </td> </tr> <tr> <td height="47">&nbsp;</td> <td><input type="submit" name="Submit" value="保存投票数据" class="inputbut"></td> </tr> <tr> <td colspan="2">&nbsp;</td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/vote_add.htm
HTML
asf20
3,423
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>重复文档检测</title> <script language="javascript"> //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.form2.arcTitle.value) return document.form2.arcTitle.value; for(i=0;i<document.form2.arcTitle.length;i++) { if(document.form2.arcTitle[i].checked) { if(allSel=="") allSel=document.form2.arcTitle[i].value; else allSel=allSel+"`"+document.form2.arcTitle[i].value; } } return allSel; } //删除文档 function delArc(){ var qstr=getCheckboxItem(); document.form2.titles.value = qstr; document.form2.submit(); } function selAll() { for(i=0;i<document.form2.arcTitle.length;i++){ if(!document.form2.arcTitle[i].checked){ document.form2.arcTitle[i].checked=true; } } } function noSelAll() { for(i=0;i<document.form2.arcTitle.length;i++){ if(document.form2.arcTitle[i].checked){ document.form2.arcTitle[i].checked=false; } } } </script> <style type="text/css"> <!-- body { margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; } body,td,th { font-size: 12px; } a:link { text-decoration: none; } a:visited { text-decoration: none; } a:hover { text-decoration: none; } a:active { text-decoration: none; } a { font-size: 12px; } --> </style></head> <body> <tr> <td align='center' valign='top'> <table width="100%" border="0" cellpadding="2" cellspacing="1" class="tbtitle"> <tr bgcolor="#E7E7E7"> <td height="24" colspan="3" bgcolor="#EDF9D5"> <strong>§重复文档列表:</strong></td> </tr> <form name="form2" method="post" action="article_test_same.php"> <input type='hidden' name='deltype' value='<?php echo $deltype?>'> <input type='hidden' name='dopost' value='delsel'> <input type='hidden' name='pagesize' value='<?php echo $pagesize?>'> <input type='hidden' name='channelid' value='<?php echo $channelid?>'> <input type='hidden' name='maintable' value='<?php echo $maintable?>'> <input type='hidden' name='titles' value=''> <tr bgcolor="#F8FBFB" height="22"> <td width="9%" align="center">选择</td> <td width="10%" align="center">重复数量</td> <td width="81%">文档标题</td> </tr> <?php while($row = $dsql->GetArray()) { if($row['dd']==1 ) break; ?> <tr bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22"> <td align="center"> <input name="arcTitle" type="checkbox" id="arcTitle" value="<?php echo urlencode($row['title'])?>" class="np"> </td> <td align="center"><?php $okdd = $row['dd']; $allarc += $okdd-1; echo $okdd; ?></td> <td><?php echo $row['title']?></td> </tr> <?php } ?> <tr bgcolor="#E5F9FF"> <td height="28" colspan="3" bgcolor="#EDF9D5"> &nbsp; <input type='button' name='bt1' value='全选' onclick='selAll()'> &nbsp; <input type='button' name='bt2' value='反选' onclick='noSelAll()'> &nbsp; <input type='button' name='bt3' value='删除' onclick='delArc()'> &nbsp; (共有 <?php echo $allarc?> 篇重复标题的文档!) </td> </tr> </form> </table> </td> </tr> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_result_same.htm
HTML
asf20
3,514
<!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="div.css" rel="stylesheet" type="text/css"> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style> .nnpp{ border-bottom:1px solid #98CAEF; border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; filter:alpha(opacity=50); } </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">批量管理</div> </div> <div class="main"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="26" colspan="6"><table width="96%" border="0" align="center"> <tr> <td width="25%" height="35" align="left"><strong>关键词维护</strong></td> <form name='form2' action="article_keywords_main.php"> <td width="75%" align="left"> 搜索: <input type='text' name='keyword' size='10'> <input type='submit' name='sb' value='确定' class="inputbut" /> &nbsp; <input name="n1" type="button" id="n1" value="分析系统内的关键字" onClick="location='article_keywords_make.php';" class="inputbut" /> &nbsp; <input name="n11" type="button" id="n11" value="管理搜索的关键字" onClick="location='search_keywords_main.php';" class="inputbut" /> </td></form> </tr> </table></td> </tr> <form name='forma' action="article_keywords_add.php"> <tr align="center" bgcolor="#F0FDDB"> <td width="100%" height="24" colspan="6" bgcolor="#EDF9D5"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="100" align="center">新增关键字:</td> <td width="140"><input name="keyword" type="text" id="keyword" style="width:130"></td> <td width="100">链接网址:</td> <td width="140"><input name="rpurl" type="text" id="rpurl" style="width:130"></td> <td width="40">频率:</td> <td width="50"><input name="rank" type="text" id="rank" style="width:30" value="30"></td> <td width="80"><input type="submit" name="Submit" value="保存" class="inputbut" /></td> </tr> </table> </td> </tr> </form> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="8%">选择</td> <td width="25%">关键字</td> <td width="35%">链接网址</td> <td width="10%">频率</td> <td width="22%">管理</td> </tr> <form name='form1' action="article_keywords_saveall.php" method="post"> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EEFAAB';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td height="24"> <input name="aids[]" type="checkbox" value="<?php echo $row['aid']?>" checked> </td> <td> <input type='hidden' value='<?php echo $row['keyword']?>' name='keyword_<?php echo $row['aid']?>'> <?php echo $row['keyword']?> </td> <td> <input type='hidden' value='<?php echo $row['rpurl']?>' name='rpurlold_<?php echo $row['aid']?>'> <input type='text' style='width:90%' class='nnpp' value='<?php echo $row['rpurl']?>' name='rpurl_<?php echo $row['aid']?>'> </td> <td> <input type='text' size='5' class='nnpp' value='<?php echo $row['rank']?>' name='rank_<?php echo $row['aid']?>'> </td> <td> <input type='hidden' name='staold_<?php echo $row['aid']?>' value='<?php echo $row['sta']?>'> <input type='checkbox' name='isnouse_<?php echo $row['aid']?>' class='np' value='1'<?php echo GetSta($row['sta'])?>> 禁用 &nbsp; <input type='checkbox' name='isdel_<?php echo $row['aid']?>' class='np' value='1'> 删除 </td> </tr> <?php } ?> <tr bgcolor="#F0FBBD"> <td height="35" colspan="6" bgcolor="#EDF9D5"> &nbsp; <input type="button" name="dl" value="保存更改" onClick="this.form.submit();" class="inputbut" /> </td> </tr> </form> <tr align="center" bgcolor="#FAFDF0"> <td height="24" colspan="6"> <?php echo $dlist->GetPageList(5);?> </td> </tr> </table> </div> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_keywords_main.htm
HTML
asf20
4,767
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div><table width="96%" border="0" align="center" cellpadding="1" cellspacing="1" class="tbtitle" style="background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5"><p>&nbsp;百度新闻地图</p> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <p>《互联网新闻开放协议》是百度新闻搜索制定的搜索引擎新闻源收录标准,网站可将发布的新闻内容制作成遵循此开放协议的XML格式的网页(独立于原有的新闻发布形式)供搜索引擎索引。</p> <p>配置的相关参数在 【<a href="sys_info.php">系统设置</a> -&gt; 其他设置】中调整</p> <p>只适用于文章频道,数据表为DedeCMS默认的</p> </td> </tr> </table> <form id="form2" name="form1" method="post" action="?do=yes" target="stafrm"> <table width="96%" border="0" align="center" cellpadding="1" cellspacing="1" class="tbtitle" style="background:#E2F5BC;"> <tr> <td colspan="2" bgcolor="#EDF9D5"><p>&nbsp;设置</p></td> </tr> <tr> <td bgcolor="#FFFFFF">&nbsp;文件名</td> <td bgcolor="#FFFFFF">&nbsp; <input name="filename" type="text" id="textfield" value="../baidunews.xml" size="30" /></td> </tr> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF"><input name="button" type="submit" class="inputbut" id="button" value="生成" /></td> </tr> </table> </form> <table width="96%" border="0" align="center" cellpadding="1" cellspacing="1" class="tbtitle" style="background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5"><p>&nbsp;状态</p></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF"><iframe name="stafrm" frameborder="0" id="stafrm" width="96%" height="250px"></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/baidunews.htm
HTML
asf20
2,219
<!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/css" /> <script language='javascript' src='main.js'></script> <script language="javascript" src="../include/dedeajax2.js"></script> <script language="javascript"> <!-- function checkSubmit() { if(document.form1.title.value==""){ alert("软件名称不能为空!"); document.form1.title.focus(); return false; } } function MakeUpload() { var startNum = <?php echo $newRowStart?>; var upfield = document.getElementById("uploadfield"); var endNum = document.form1.picnum.value; if(endNum>9) endNum = 9; upfield.innerHTML = ""; for(startNum;startNum<=endNum;startNum++){ upfield.innerHTML += "软件地址"+startNum+":<input type='text' name='softurl"+startNum+"' style='width:280px' value='http://'> "; upfield.innerHTML += " "; upfield.innerHTML += "服务器名称:<input type='text' name='servermsg"+startNum+"' style='width:150px'><br/>\r\n"; } } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/soft_edit_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="ID" value="<?php echo $aid?>"> <input type="hidden" name="edadminid" value="<?php echo $arcRow['adminID']; ?>"> <input type="hidden" name="memberid" value="<?php echo $arcRow['memberID']; ?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30">&nbsp;<a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"></a><a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"><u>软件列表</u></a>&gt;&gt;更改软件</td> <td width="10%">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> <td width="1%">&nbsp;</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" class="htable"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table width="168" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="28" align="center" bgcolor="#FFFFFF">&nbsp;常规参数&nbsp;</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem2()"><u>软件内容</u></a></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="border-bottom:1px solid #CCCCCC;display:none"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table width="168" height="28" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem1()"><u>常规参数</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">软件内容&nbsp;</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0" align="center"> <tr> <td height="2"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"> <tr> <td width="100%" height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">软件名称:</td> <td width="240"><input name="title" type="text" id="title" style="width:200px" value="<?php echo $arcRow["title"]?>" size="40" /></td> <td width="90" align="right">附加参数:</td> <td><input name="iscommend" type="checkbox" id="iscommend" value="11" <?php if($arcRow["iscommend"]>10) echo " checked";?> /> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5" <?php if($arcRow["iscommend"]==5||$arcRow["iscommend"]==16) echo " checked";?> /> 加粗 <input name="isjump" onclick="ShowUrlTrEdit()" type="checkbox" id="isjump" value="1" <?php echo $arcRow["redirecturl"]=="" ? "" : " checked";?> /> 跳转网址 </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline" id="redirecturltr" style="display:<?php echo $arcRow["redirecturl"]=="" ? "none" : "block";?>"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">跳转网址:</td> <td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $arcRow["redirecturl"]?>" size="40" /> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;Tag标签:</td> <td> <input name="oldtag" type="hidden" id="oldtag" value="<?php echo $tags; ?>" /> <input name="tag" type="text" id="tag" style="width:300px" value="<?php echo $tags; ?>" /> (用空格或','分开) </td> </tr> </table> </td> </tr> <tr id="pictable"> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="81">&nbsp;缩 略 图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' /> 远程 </td> <td width="340"><input name="picname" type="text" id="picname" style="width:230px" value="<?php echo $arcRow["litpic"]?>" /> <input type="button" name="Submit" value="浏览..." style="width:60px" onclick="SelectImage('form1.picname','');" class="inputbut" /> </td> <td align="center"><img src="<?php if($arcRow["litpic"]!="") echo $arcRow["litpic"]; else echo "img/pview.gif";?>" width="150" height="100" id="picview" name="picview" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">主分类:</td> <td width="400"><?php $dsql = new DedeSql(false); $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='".$arcRow["typeid"]."' "); if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid','selbt1',$arcRow["channel"],$seltypeids['ID'],$seltypeids['typename']); } ?> </td> <td> (只允许在白色选项的栏目中发布当前类型内容)</td> </tr> </table></td> </tr> <tr> <td height="28" bgcolor="#FFFFFF" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">副分类:</td> <td width="400"><?php $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='".$arcRow["typeid2"]."' "); if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid2','selbt2',$arcRow["channel"],$seltypeids['ID'],$seltypeids['typename']); }else{ echo GetTypeidSel('form1','typeid2','selbt2',$arcRow["channel"],0,'请选择...'); } ?></td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">简略标题:</td> <td width="240"><input name="shorttitle" type="text" value="<?php echo $arcRow["shorttitle"]?>" id="shorttitle" style="width:200px" /></td> <td width="90">自定属性:</td> <td><select name='arcatt' style='width:150px'> <option value='0'>普通文档</option> <?php $dsql->SetQuery("Select * From #@__arcatt order by att asc"); $dsql->Execute(); while($trow = $dsql->GetObject()) { if($arcRow["arcatt"]==$trow->att) echo "<option value='{$trow->att}' selected>{$trow->attname}</option>"; else echo "<option value='{$trow->att}'>{$trow->attname}</option>"; } ?> </select> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">内容排序:</td> <td width="240" height="33"><select name="sortup" id="sortup" style="width:150px"> <?php $subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]); echo "<option value='0'>正常排序</option>\r\n"; if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; ?> <option value="7">置顶一周</option> <option value="30">置顶一个月</option> <option value="90">置顶三个月</option> <option value="180">置顶半年</option> <option value="360">置顶一年</option> </select> </td> <td width="90" height="33">标题颜色:</td> <td width="159" height="33"><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow["color"]?>" /> </td> <td height="33"><input name="modcolor" type="button" id="modcolor" value="选取" onclick="ShowColor()" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">阅读权限:</td> <td width="240"><select name="arcrank" id="arcrank" style="width:150px"> <option value='<?php echo $arcRow["arcrank"]?>'><?php echo $arcRow["rankname"]?></option> <?php $dsql->SetQuery("Select * from #@__arcrank "); $dsql->Execute(); while($row = $dsql->GetObject()){ echo " <option value='".$row->rank."'>".$row->membername."</option>\r\n"; } ?> </select> </td> <td width="63">发布选项:</td> <td><input name="ishtml" type="radio" value="1"<?php if($arcRow["ismake"]!=-1) echo " checked";?> /> 生成HTML <input type="radio" name="ishtml" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?> /> 仅动态浏览 </td> </tr> </table></td> </tr> <tr> <td height="75" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">简要说明:</td> <td width="240"><textarea name="description" rows="3" id="description" style="width:200px"><?php echo $arcRow["description"]?></textarea> </td> <td width="90">关键字:</td> <td><textarea name="keywords" rows="3" id="keywords" style="width:200px"><?php echo $arcRow["keywords"]?></textarea> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">录入时间:</td> <td><?php $addtime = GetDateTimeMk($arcRow["senddate"]); echo "$addtime (标准排序和生成HTML名称的依据时间) <input type='hidden' name='senddate' value='".$arcRow["senddate"]."'>"; ?> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">发布时间:</td> <td width="427"><?php $nowtime = GetDateTimeMk($arcRow["pubdate"]); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="96" align="center">消费点数:</td> <td width="187"><input name="money" type="text" id="money" value="<?php echo $arcRow["money"]?>" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="330"><textarea name="likeid" cols="50" rows="6" id="likeid" style="width:320px;height:50px;float:left;margin-right:10px"><?php echo $arcRow["likeid"]; ?></textarea></td> <td><span style="padding-top:10px;maring:0px;">把文档ID,用逗号“,”分开<br/> <input name="lsel" type="button" id="lsel" class="inputbut" style="width:150px" onchange="" value="从已发布文档中选取..." onclick="SelectArcListA('form1.likeid');" /> </span></td> </tr> </table></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="2"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" style="display:none" id="adset"> <tr> <td style="padding:0px"> <?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?> </td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">软件来源:</td> <td width="240"><input name="source" type="text" id="source" style="width:200px" value="<?php echo $arcRow["source"]?>" /> </td> <td width="90">软件作者:</td> <td width="159"><input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $arcRow["writer"]?>" /> </td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td width="100%" height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">文件类型:</td> <td width="240"><select name="filetype" id="filetype" style="width:100"> <?php if($addRow["filetype"]!="") echo "<option value=\"".$addRow["filetype"]."\">".$addRow["filetype"]."</option>\r\n"; ?> <option value=".exe">.exe</option> <option value=".zip">.zip</option> <option value=".rar">.rar</option> <option value=".iso">.iso</option> <option value=".gz">.gz</option> <option value="其它">其它</option> </select> </td> <td width="90">界面语言:</td> <td><select name="language" id="language" style="width:100px"> <?php if($addRow["language"]!="") echo "<option value=\"".$addRow["language"]."\">".$addRow["language"]."</option>\r\n"; ?> <option value="简体中文">简体中文</option> <option value="英文软件">英文软件</option> <option value="繁体中文">繁体中文</option> <option value="其它类型">其它类型</option> </select> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">软件类型:</td> <td width="240"><select name="softtype" id="softtype" style="width:100px"> <?php if($addRow["softtype"]!="") echo "<option value=\"".$addRow["softtype"]."\">".$addRow["softtype"]."</option>\r\n"; ?> <option value="国产软件">国产软件</option> <option value="国外软件">国外软件</option> <option value="汉化补丁">汉化补丁</option> </select> </td> <td width="90">授权方式:</td> <td><select name="accredit" id="accredit" style="width:100px"> <?php if($addRow["accredit"]!="") echo "<option value=\"".$addRow["accredit"]."\">".$addRow["accredit"]."</option>\r\n"; ?> <option value="共享软件">共享软件</option> <option value="免费软件">免费软件</option> <option value="开源软件">开源软件</option> <option value="商业软件">商业软件</option> <option value="破解软件">破解软件</option> <option value="游戏外挂">游戏外挂</option> </select> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">运行环境:</td> <td width="240"><input type='text' name='os' value='<?php echo $addRow["os"]?>' style='width:200px' /> </td> <td width="90">软件等级:</td> <td><select name="softrank" id="softrank" style="width:100px"> <?php if($addRow["softrank"]!="") echo "<option value=\"".$addRow["softrank"]."\">".$addRow["softrank"]."星</option>\r\n"; ?> <option value="1">一星</option> <option value="2">二星</option> <option value="3">三星 </option> <option value="4">四星</option> <option value="5">五星</option> </select> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">官方网址:</td> <td width="240"><input name="officialUrl" type="text" id="officialUrl" value="<?php echo $addRow["officialUrl"]?>" /> </td> <td width="90">程序演示:</td> <td><input name="officialDemo" type="text" id="officialDemo" value="<?php echo $addRow["officialDemo"]?>" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">软件大小:</td> <td width="240"><input name="softsize" type="text" id="softsize" style="width:100px" value="<?php echo $addRow["softsize"]?>" /> </td> <td width="90">&nbsp;</td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="28" bgcolor="#F1F5F2" class="bline2"><strong>软件链接列表:</strong></td> </tr> <tr> <td height="28" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="72" height="33">其它地址:</td> <td height="33"><input name="picnum" type="text" id="picnum" size="8" value="5" /> <input name='kkkup' type='button' id='kkkup2' value='增加数量' onclick="MakeUpload();" class="inputbut" /> (最多为9个链接) </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"><?php echo $nForm; echo "<span id='uploadfield'></span>"; ?> </td> </tr> <tr> <td height="28" bgcolor="#F1F5F2" class="bline2"><strong>软件详细介绍:</strong></td> </tr> <tr> <td height="100" class="bline"><?php GetEditor("body",$addRow["introduce"],250,"Small"); ?> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="56"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="17%">&nbsp;</td> <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="115" height="35"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> <td width="99" height="35"><input name="button" type="reset" class="inputbut" id="button" value="重置"/></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </form> <script language='javascript'>if($Nav()!="IE") ShowObj('adset');</script> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/soft_edit.htm
HTML
asf20
23,900
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td width="100%" height="24" colspan="2" bgcolor="#EDF9D5"> <b>§论坛扩展代码§</b> </td> </tr> <tr> <td height="250" colspan="2" bgcolor="#FFFFFF"> <table width="90%" border="0" align="center" cellpadding="2" cellspacing="2"> <tr> <td colspan="2"> 以下的代码提供在封面模板中调用论坛的主题贴子数据. </td> </tr> <form name="mycode1" action="tag_test_action.php" target="_blank" method="post"> <tr> <td bgcolor="#F3F3F3">Discuz论坛: </td> <td align="right" bgcolor="#F3F3F3"><input name="b1" type="submit" id="b1" value=" 预览 " class="inputbut"></td> </tr> <tr> <td colspan="2"> <textarea name="partcode" cols="60" rows="8" id="partcode" style="width:600px">论坛最新主题:<br/> {dede:loop table="cdb_threads" sort="tid" row="10"} <a href="/dz/viewthread.php?tid=[field:tid /]"> ·[field:subject function="cn_substr('@me',30)" /]([field:lastpost function="date('m-d H:M','@me')" /]) </a> <br/> {/dede:loop}</textarea> </td> </tr> </form> <form name="mycode2" action="tag_test_action.php" target="_blank" method="post"> <tr> <td bgcolor="#F3F3F3">PHPWIND论坛: </td> <td align="right" bgcolor="#F3F3F3"><input name="b2" type="submit" id="b2" value=" 预览 " class="inputbut"></td> </tr> <tr> <td colspan="2"> <textarea name="partcode" cols="60" rows="8" id="partcode" style="width:600px">论坛最新主题:<br/> {dede:loop table="pw_threads" sort="tid" row="10"} <a href='/phpwind/read.php?tid=[field:tid /]'> ·[field:subject function="cn_substr('@me',30)" /]([field:lastpost function="date('m-d H:M','@me')" /]) </a> <br/> {/dede:loop}</textarea> </td> </tr> </form> <form name="mycode2" action="tag_test_action.php" target="_blank" method="post"> <tr> <td bgcolor="#F3F3F3">VBB论坛: </td> <td align="right" bgcolor="#F3F3F3"><input name="b3" type="submit" id="b3" value=" 预览 " class="inputbut"></td> </tr> <tr> <td colspan="2"><textarea name="partcode" cols="60" rows="8" id="partcode" style="width:600px">论坛最新讨论:<br/> {dede:loop table="thread" sort="threadid" row="10"} <a href='/vbb/showthread.php?threadid=[loop:field name="threadid"/]'> ·[field:title function="cn_substr('@me',30)" /]([field:lastpost function="date('m-d H:M','@me')" /]) </a> <br/> {/dede:loop}</textarea></td> </tr> </form> <form name="mycode2" action="tag_test_action.php" target="_blank" method="post"> <tr> <td bgcolor="#F3F3F3">PHPBB论坛: </td> <td align="right" bgcolor="#F3F3F3"><input name="b4" type="submit" id="b4" value=" 预览 " class="inputbut"></td> </tr> <tr> <td colspan="2"><b> <textarea name="partcode" cols="60" rows="7" id="partcode" style="width:600px">论坛最新讨论:<br/> {dede:loop table="phpbb_topics" sort="topic_id" row="10"} <a href='/phpbb/viewtopic.php?t=[loop:field name="topic_id"/]'> ·[field:topic_title" function="cn_substr('@me',30)" /] </a> ([field:topic_time" function="date('m-d H:M','@me')" /]) <br/> {/dede:loop}</textarea> </b></td> </tr> </form> <tr> <td colspan="2">&nbsp;</td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/bbs_addons.htm
HTML
asf20
4,080
<html> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <title>智能标记向导</title> <link href='base.css' rel='stylesheet' type='text/css'> </head> <body leftmargin='0' topmargin='10'> <table width="99%" border="0" cellspacing="0" cellpadding="0"> <form action="tag_test_action.php" method="post" name="f1" target="_blank"> <tr> <td align="center"> <p> <textarea name="partcode" cols="60" rows="6" id="partcode" style="width:90%;height:120"><?php echo $fulltag?></textarea> </p> <p> <input type="submit" name="Submit" value="预览" > </p></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mytag_tag_guide_ok.htm
HTML
asf20
697
<!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/css" /> <script> function checkSubmit() { if(document.form1.title.value=="") { document.form1.title.focus(); alert("标题必须设定!"); return false; } } </script> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form action="mynews_add.php" method="post" name="form1" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="save"> <tr> <td height="24" bgcolor="#EDF9D5"> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><strong>&nbsp;站内新闻管理-&gt;增加消息</strong></td> <td align="right"> <a href="mynews_main.php"><img src="img/file_edit.gif" width="15" height="16" border="0"><u>返回管理页</u></a> </td> </tr> </table></td> </tr> <tr> <td height="127" align="center" bgcolor="#FFFFFF"> <table width="98%" border="0" cellspacing="2" cellpadding="0"> <tr> <td height="20" colspan="2">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> </tr> <tr> <td height="20" colspan="2">  站内新闻调用代码: {dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title /],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> </tr> <tr> <td width="13%" height="30">标 题:</td> <td width="87%"> <input name="title" type="text" id="title" size="30" style="width:300"> </td> </tr> <tr> <td height="30">显示频道:</td> <td> <select name="typeid" style="width:150"> <option value="0" selected>所有位置...</option> <?php $dsql = new DedeSql(); $dsql->SetQuery("Select ID,typename From #@__arctype where reID=0 order by sortrank desc"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='".$row->ID."'>".$row->typename."</option>\r\n"; } $dsql->Close(); ?> </select> </td> </tr> <tr> <td height="30">发言人:</td> <td><input name="writer" type="text" id="writer" value="<?php echo $cuserLogin->getUserName()?>" size="16">   日期: <input name="sdate" type="text" id="sdate" size="25" value="<?php echo GetDateTimeMk(mytime())?>"></td> </tr> <tr> <td height="172" valign="top">信息内容:</td> <td height="172"> <?php GetEditor("body","",250,"Small"); ?> </td> </tr> <tr> <td height="38">&nbsp;</td> <td><input type="submit" name="Submit" value="提交新闻" class="inputbut"> &nbsp;</td> </tr> <tr bgcolor="#F1FAF2"> <td colspan="2">&nbsp;</td> </tr> </table> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mynews_add.htm
HTML
asf20
3,841
{dede:page pagesize="20"/} <!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/css" /> <script language='javascript'> function Sel(stype) { for(var i=0;i < document.form1.aids.length;i++){ if(stype=='all') document.form1.aids[i].checked=true; else document.form1.aids[i].checked=false; } } function checkSubmit(){ var str = ""; for(var i=0;i < document.form1.aids.length;i++){ if(document.form1.aids[i].checked){ if(str=="") str += document.form1.aids[i].value; else str += "," + document.form1.aids[i].value; } } if(str==""){ alert("你没选择任何内容!"); return false; }else{ document.form1.allid.value = str; return true; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name='formsearch' method='post' action='friendlink_main.php'> <tr> <td height="30" colspan="8" bgcolor="#EDF9D5"> &nbsp; <b>友情链接管理</b>&nbsp; [<a href="friendlink_add.php"><u>增加链接</u></a>] &nbsp; [<a href='{dede:global name='cfg_plus_dir' ''/}/flink-add.php' target='_blank'><u>外部申请表单</u></a>] &nbsp; <b>搜索:</b> <input type='text' name='keyword' style='width:100px;height:12px'> <select name="ischeck"> {dede:global name='seloption'/} <option value="1">内页</option> <option value="2">首页</option> <option value="3">已审核</option> <option value="0">未审核</option> </select> &nbsp; <input type='submit' name='sss' value='搜索' class="inputbut" /> </td> </tr> </form> <form name='form1' method='post' action='friendlink_edit.php' onSubmit='return checkSubmit();'> <input type='hidden' name='dopost' value='delall'/> <input type='hidden' name='allid' value=''/> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="6%">选择</td> <td width="23%">网站名称</td> <td width="12%">网站Logo</td> <td width="15%">站长Email</td> <td width="15%">时间</td> <td width="8%">状态</td> <td width="8%">顺序</td> <td width="15%">管理</td> </tr> {dede:datalist} <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td><input type='checkbox' name='aids' value='[field:ID/]' class='np'></td> <td><a href="[field:url/]" target='_blank'>[field:webname/]</a></td> <td><a href="[field:url/]" target='_blank'>[field:logo function="GetPic('@me')"/]</a></td> <td>[field:email/]</td> <td>[field:dtime/]</td> <td>[field:ischeck function="GetSta('@me')"/]</td> <td>[field:sortrank/]</td> <td> <a href='friendlink_edit.php?ID=[field:ID/]&dopost=getedit'>[更改]</a> <a href='friendlink_edit.php?ID=[field:ID/]&dopost=delete'>[删除]</a> </td> </tr> {/dede:datalist} <tr bgcolor="#FDFEEF" height="24"> <td height="35" colspan="8" style="padding-top:6px">   <a href='#' onclick='Sel("all");' class="inputbutx">全选</a> <a href='#' onclick='Sel("none");' class="inputbutx">取消</a> <input type='submit' name='bt' value='批量删除' class="inputbut" /> </td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td colspan="8">{dede:pagelist listsize=6/}</td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/friendlink_main.htm
HTML
asf20
4,095
{dede:page pagesize="20"/} <!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">模板管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" colspan="7" bgcolor="#EDF9D5"> <b>&nbsp;&nbsp;自定义标记管理</b> &nbsp;[<a href="mytag_add.php"><u>增加一个标记</u></a>] &nbsp;[<a href="mytag_tag_guide.php"><u>智能标记向导</u></a>] </td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="10%">编号</td> <td width="20%">标记名称</td> <td width="15%">所属栏目</td> <td width="15%">时间限制</td> <td width="20%">结束时间</td> <td width="20%">管理</td> </tr> {dede:datalist} <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td>[field:aid /]</td> <td>[field:tagname /]</td> <td>[field:typename function='TestType("@me")'/]</td> <td>[field:timeset function='TimeSetValue(@me)'/]</td> <td>[field:endtime function='GetDateMk(@me)'/]</td> <td> <a href='mytag_edit.php?aid=[field:aid /]&dopost=edit'>更改</a> | <a href='mytag_edit.php?aid=[field:aid /]&dopost=delete'>删除</a> | <a href='mytag_edit.php?aid=[field:aid /]&dopost=getjs'>JS调用</a> </td> </tr> {/dede:datalist} <tr align="center" bgcolor="#F8FBFB" height="24"> <td colspan="7">{dede:pagelist listsize=6/}</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mytag_main.htm
HTML
asf20
2,072
1227667086
zyyhong
trunk/jiaju001/news/lic/templets/file_edit_view.htm.cache.t
Perl
asf20
11
<!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/css" /> <style> td{ padding-left:6px; } </style> </head> <body > <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">系统设置</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form action="sys_info_mark.php" method="post" enctype="multipart/form-data"> <input type="hidden" name="action" value="save"> <input type="hidden" name="photo_markimg" value="<?php echo $photo_markimg?>"> <tr> <td height="26" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;&nbsp;DedeCms系统配置参数</b> - <strong>图片水印设置</strong> </td> </tr> <tr bgcolor="#FFFFFF"> <td width="41%" height="28"><b>&nbsp;&nbsp;</b>上传的图片是否使用图片水印功能:<br> </td> <td width="59%"> <input type="radio" value="1" name="photo_markup"<?php if($photo_markup==1) echo ' checked';?>> 开启 <input type="radio" value="0" name="photo_markup"<?php if($photo_markup==0) echo ' checked';?>> 关闭 </td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>采集的图片是否使用图片水印功能:</td> <td> <input type="radio" value="1" name="photo_markdown"<?php if($photo_markdown==1) echo ' checked';?>> 开启 <input type="radio" value="0" name="photo_markdown"<?php if($photo_markdown==0) echo ' checked';?>> 关闭 </td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>添加水印的图片大小控制(设置为0为不限):</td> <td> 宽: <input name="photo_wwidth" type=text id="photo_wwidth" value="<?php echo $photo_wwidth?>" size="5"> 高: <input name="photo_wheight" type=text id="photo_wheight" value="<?php echo $photo_wheight?>" size="5"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印图片文件名(如果不存在,则使用文字水印):</td> <td><img src="../include/data/<?php echo $photo_markimg?>" alt="dede"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="35" bgcolor="#FFFFFF"><b>&nbsp;&nbsp;</b>上传新图片:</td> <td> <input name="newimg" type="file" id="newimg" style="width:280px" /> <br> <?php echo "你的系统支持的图片格式:".$cfg_photo_support; ?> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印图片文字(不支持中文):</td> <td> <input type="text" name="photo_watertext" value="<?php echo $photo_watertext?>"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印图片文字字体大小:</td> <td> <input name="photo_fontsize" type=text id="photo_fontsize" value="<?php echo $photo_fontsize?>"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印图片文字颜色(默认#FF0000为红色):</td> <td> <input name="photo_fontcolor" type=text id="photo_fontcolor" value="<?php echo $photo_fontcolor?>"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印透明度(0—100,值越小越透明):</td> <td><input name="photo_diaphaneity" type=text id="photo_diaphaneity" value="<?php echo $photo_diaphaneity?>"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="28"><b>&nbsp;&nbsp;</b>水印位置:</td> <td> <input type="radio" name="photo_waterpos" value="0"<?php if($photo_waterpos==0) echo ' checked';?>> 随机位置 <table width="300" border="1" cellspacing="0" cellpadding="0"> <tr> <td width="33%"><input type="radio" name="photo_waterpos" value="1"<?php if($photo_waterpos==1) echo ' checked';?>> 顶部居左</td> <td width="33%"><input type="radio" name="photo_waterpos" value="4"<?php if($photo_waterpos==4) echo ' checked';?>> 顶部居中</td> <td><input type="radio" name="photo_waterpos" value="7"<?php if($photo_waterpos==7) echo ' checked';?>> 顶部居右</td> </tr> <tr> <td><input type="radio" name="photo_waterpos" value="2"<?php if($photo_waterpos==2) echo ' checked';?>> 左边居中</td> <td><input type="radio" name="photo_waterpos" value="5"<?php if($photo_waterpos==5) echo ' checked';?>> 图片中心</td> <td><input type="radio" name="photo_waterpos" value="8"<?php if($photo_waterpos==8) echo ' checked';?>> 右边居中</td> </tr> <tr> <td><input type="radio" name="photo_waterpos" value="3"<?php if($photo_waterpos==3) echo ' checked';?>> 底部居左</td> <td><input type="radio" name="photo_waterpos" value="6"<?php if($photo_waterpos==6) echo ' checked';?>> 底部居中</td> <td><input name="photo_waterpos" type="radio" value="9"<?php if($photo_waterpos==9) echo ' checked';?>> 底部居右</td> </tr> </table></td> </tr> <tr bgcolor="#CCEDFD"> <td height="37" colspan="2" align="center" style="background:#F9FFE6;padding:7px 6px 6px 10px;" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr align="center" style="background:#F9FFE6;padding:7px 6px 6px 10px;" > <td height="35"> <input name="提交" type="submit" class="inputbut" value="提交" width="60" height="22" border="0"/>  &nbsp; <input name="重置" type="reset" class="inputbut" value="重置" /> </td> </tr> </table> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_info_mark.htm
HTML
asf20
6,043
{dede:page pagesize="50"/} <!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/css" /> </head> <body leftmargin='8' topmargin='8'> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5" class="tbtitletxt"> <table width='96%' border="0" cellpadding='0' cellspacing='0'> <tr> <td width='30%' class="tbtitletxt"><strong>频道模型管理</strong></td> <td align='right'> [图片说明: <img src='img/manage1.gif' alt='更改' />更改 <img src='img/file_del.gif' alt='删除' />删除 <img src='img/copy.gif' alt='复制' />复制 <img src='img/part-index.gif' alt='模板' />模板] [<a href="mychannel_add.php"><u>增加新模型</u></a>] </td> </tr> </table> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr align="center"> <td class="tbsname">ID</td> <td class="tbsname">频道名称</td> <td class="tbsname">识别ID</td> <td class="tbsname">附加表</td> <td class="tbsname">状态</td> <td class="tbsname">模型</td> <td class="tbsname">管理</td> </tr> {dede:datalist} <tr align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td>[field:ID/]</td> <td><a href='[field:mancon/]?channelid=[field:ID/]'>[field:typename/]</a></td> <td>[field:nid/]</td> <td>[field:addtable function="str_replace('#@__',$GLOBALS{'cfg_dbprefix'},'@me')"/]</td> <td>[field:isshow function='GetSta(@me,$GLOBALS{"row"}{"ID"})'/]</td> <td>[field:issystem function='IsSystem(@me)'/]</td> <td> <a href='mychannel_edit.php?ID=[field:ID/]&dopost=edit'><img src='img/manage1.gif' alt='更改' /></a> | <a href='mychannel_edit.php?ID=[field:ID/]&dopost=delete'><img src='img/file_del.gif' alt='删除' /></a> | <a href='mychannel_edit.php?ID=[field:ID/]&dopost=copy'><img src='img/copy.gif' alt='复制' /></a> | <a href='mychannel_edit.php?ID=[field:ID/]&dopost=gettemplets'><img src='img/part-index.gif' alt='模板' /></a> </td> </tr> {/dede:datalist} </table> <table width="96%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #E2F5BC;line-height:31px;margin:auto;"> <tr> <td height="35" align="center" style="background:#F9FFE6;padding:7px 6px 6px 10px;" >{dede:pagelist listsize=6/}</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mychannel_main.htm
HTML
asf20
3,286
<!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"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>生成HTML</title> <script language="javascript" src="main.js"></script> <script language="javascript" src="../include/dedeajax2.js"></script> <script language="javascript" src="story.js"></script> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">连载管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5" class="tbtitletxt"> <table width='96%' border="0" cellpadding='0' cellspacing='0'> <tr> <td width='30%' class="tbtitletxt"><strong>更新连载图书HTML</strong></td> <td align='right'>[<a href="story_books.php"><u>连载内容列表</u></a>] </td> </tr> </table> </td> </tr> <tr><td style="background:#F9FFE6;padding:7px 6px 6px 10px;" ></td></tr> </table> <form name="form1" action="makehtml_story.php" method="get" target='stafrm'> <input type="hidden" name="action" value="make"> <table width="96%" border="0" align="center" cellpadding="3" cellspacing="1" style=" border:1px solid #E2F5BC;line-height:31px;margin:auto;"> <tr> <td height="20" valign="top" bgcolor="#FFFFFF"> 说明:默认的情况下,本程序只更新图书内容封面的HTML。</td> </tr> <tr> <td height="42" bgcolor="#FFFFFF"> 图书开始ID: <input name="startid" type="text" id="startid" value="1" size="5" /> 结束ID: <input name="endid" type="text" id="endid" value="0" size="5" /> (0表示从开始到全部) 每批数量: <input name="makenum" type="text" id="makenum" value="50" size="5" /> 栏目: <span class="bline"> <select name="catid" id="catid" style="width:150px"> <option value='0'>请选择栏目</option> <?php if(!isset($catid)) $catid = 0; foreach($btypes as $k=>$v){ if($catid!=$k) echo "<option value='$k'>[{$booktypes[$k]}]$v</option>\r\n"; else echo "<option value='$k' selected>[{$booktypes[$k]}]$v</option>\r\n"; foreach($stypes[$k] as $kk=>$vv){ if($catid!=$kk) echo "<option value='$kk'> --[{$booktypes[$k]}]$vv</option>\r\n"; else echo "<option value='$kk' selected> --[{$booktypes[$k]}]$vv</option>\r\n"; } } ?> </select> </span></td> </tr> <tr> <td height="42" align="center" bgcolor="#FFFFFF">   <input name="b112" type="button" value="开始生成HTML" onClick="document.form1.submit();" class="inputbut" /> </td> </tr> <tr bgcolor="#E2F5BC"> <td height="20" bgcolor="#EDF9D5"><table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"><script language='JavaScript' type="text/javascript"> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onclick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onclick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="250"></iframe> </div> <script language="JavaScript"> //document.all.mdv.style.pixelHeight = screen.height - 360; </script> </td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_story.htm
HTML
asf20
4,062
<!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/css" /> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} td{ padding-left:6px; } --> </style> <script language='javascript'> function CheckSel(seln) { var ex1 = document.getElementById('ex1'); var ex2 = document.getElementById('ex2'); var sel1 = document.getElementById('sel1'); var sel2 = document.getElementById('sel2'); if(seln==1){ ex1.checked = true; ex2.checked = false; sel1.style.display = 'block'; sel2.style.display = 'none'; }else{ ex1.checked = false; ex2.checked = true; sel1.style.display = 'none'; sel2.style.display = 'block'; } } </script> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name="form1" action="co_add.php" method="get"> <tr> <td width="100%" height="28" colspan="3" bgcolor="#EDF9D5"> <strong>选择数据规则模型</strong> </td> </tr> <tr> <td height="36" colspan="3" bgcolor="#FFFFFF"> 规则类型: <input type='checkbox' id='ex2' name='extype' value='1' onclick="CheckSel(2)" class='np' /> 频道模型 <input type='checkbox' id='ex1' name='extype' value='0' onclick="CheckSel(1)" class='np' checked='checked' /> 数据规则(旧) </td> <tr id='sel1'> <td height="36" colspan="3" bgcolor="#FFFFFF"> 请选择采集规则: <select name="exrule" id="exrule" style="width:200px"> <?php $dsql->SetQuery("Select aid,rulename From #@__co_exrule order by aid asc"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='{$row->aid}'>{$row->rulename}</option>"; } ?> </select> </td> </tr> <tr id='sel2' style='display:none'> <td height="36" colspan="3" bgcolor="#FFFFFF"> 请选择频道模型: <select name="channelid" id="channelid" style="width:200px"> <?php $channels = ''; $dsql->SetQuery("Select channeltype,count(channeltype) as dd From #@__arctype group by channeltype"); $dsql->Execute(); while($row = $dsql->GetObject()){ if($row->dd>0) $channels .= ($channels=='' ? $row->channeltype : ','.$row->channeltype); } echo $channels; if($channels!=''){ $dsql->SetQuery("Select ID,typename From #@__channeltype where ID in ($channels)"); $dsql->Execute(); while($row = $dsql->GetObject()){ echo "<option value='{$row->ID}'>{$row->typename}</option>"; } } ?> </select> </td> </tr> <tr> <td height="24" colspan="3" bgcolor="#F8FCF1" style='padding-top:6px'><input name="imageField" type="submit" class="inputbut" value="确定" /></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_sel_exrule.htm
HTML
asf20
3,115
<!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/css" /> <script language='javascript'src='area.js'></script> <script> function checkSubmit() { if(document.form2.email.value=="") { document.form2.email.focus(); alert("Email不能为空!"); return false; } if(document.form2.uname.value=="") { document.form2.uname.focus(); alert("用户昵称不能为空!"); return false; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">会员管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"><a href='<?php echo $ENV_GOBACK_URL?>'><b>会员管理</b></a>&gt;&gt;查看会员</td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"><table width="98%" border="0" cellspacing="0" cellpadding="0" > <tr> <td colspan="2" height="10" ></td> </tr> <form name="form2" action="member_do.php" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="edituser" /> <input type="hidden" name="ID" value="<?php echo $ID?>" /> <tr> <td width="17%" height="25" align="right" >用户名:</td> <td width="83%" height="25" > <?php echo $row['userid']?> </td> </tr> <tr> <td height="25" align="right" >用户密码:</td> <td height="25" > <?php echo $row['pwd']?><br /> 新密码:<input name="newpwd" type="text" id="newpwd" value="" style="width:150px" /> </td> </tr> <tr> <td height="25" align="right" >用户昵称:</td> <td height="25" > <input name="uname" type="text" id="uname" value="<?php echo $row['uname']; ?>" style="width:150px" /> </td> </tr> <tr> <td height="25" align="right" >会员等级:</td> <td height="25" > <?php $MemberTypes = ""; $dsql->SetQuery("Select rank,membername From #@__arcrank where rank>0"); $dsql->Execute(); $MemberTypes[0] = "未审核会员"; while($nrow = $dsql->GetObject()){ $MemberTypes[$nrow->rank] = $nrow->membername; } $options = "<select name='membertype' style='width:100px'>\r\n"; foreach($MemberTypes as $k=>$v) { if($k!=$row['membertype']) $options .= "<option value='$k'>$v</option>\r\n"; else $options .= "<option value='$k' selected>$v</option>\r\n"; } $options .= "</select>\r\n"; echo $options; ?> </td> </tr> <tr> <td height="25" align="right" >升级时间:</td> <td height="25"> <input name="uptime" type="text" id="uptime" value="<?php echo GetDateTimeMk($row['uptime'])?>" style="width:200px"> (如果你要升级会员,必须设置此时间为当前时间) </td> </tr> <tr> <td height="25" align="right" >会员天数:</td> <td height="25"> <input name="exptime" type="text" id="exptime" value="<?php echo $row['exptime']?>" style="width:100px"> (如果你要升级会员,会员天数必须大于0) </td> </tr> <tr> <td height="25" align="right" >会员金币:</td> <td height="25"> <input name="money" type="text" id="money" value="<?php echo $row['money']?>" style="width:100px"> </td> </tr> <tr> <td height="25" align="right" >会员积分:</td> <td height="25"> <input name="scores" type="text" id="scores" value="<?php echo $row['scores']?>" style="width:100px"> </td> </tr> <tr bgcolor="#F9FDEA"> <td height="25" align="right" bgcolor="#EDF9D5" >空间信息:</td> <td height="25" bgcolor="#EDF9D5" > <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="22" style="border-bottom:1px solid #999999"> 文章: ( <?php echo $row['c1']?> ) 图集: ( <?php echo $row['c2']?> ) 其它: ( <?php echo $row['c3']?> ) </td> </tr> <tr> <td height="22" style="border-bottom:1px solid #999999"> 空间展示次数: ( <?php echo $row['spaceshow']?> ) 文档总点击: ( <?php echo $row['pageshow']?> ) </td> </tr> </table></td> </tr> <tr> <td height="25" align="right" >注册时间:</td> <td height="25" > <?php echo GetDateTimeMk($row['jointime'])?>  IP: <?php echo $row['joinip']?> </td> </tr> <tr> <td height="25" align="right" >最近登录时间:</td> <td height="25" > <?php echo GetDateTimeMk($row['logintime'])?>  IP: <?php echo $row['loginip']?> </td> </tr> <tr> <td height="25" align="right" >电子邮箱:</td> <td height="25" ><input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:150;height:20" > </td> </tr> <tr> <td height="25" align="right" >昵 称:</td> <td height="25" ><input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" size="20" style="width:150;height:20" ></td> </tr> <tr> <td height="25" align="right" >性 别:</td> <td height="25" > <input type="radio" name="sex" value="男"<?php if($row['sex']=="男" ) echo" checked" ;?>> 男 &nbsp; <input type="radio" name="sex" value="女"<?php if($row['sex']=="女" ) echo" checked" ;?>> 女 </td> </tr> <tr> <td height="25" align="right" >推荐级别:</td> <td height="25" > <input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="10"></td> </tr> <tr> <td height="25" align="right" >生日:</td> <td height="25" > <input name="birthday" type="text" id="birthday" size="20" value="<?php echo $rowper['birthday']?>" > </td> </tr> <tr> <td height="25" align="right" >体型:</td> <td height="25" > <select name="weight" > <option value='<?php echo $rowper['weight']?>'> <?php echo $rowper['weight']?> </option> <option value='平均'>平均</option> <option value='苗条/纤细'>苗条/纤细</option> <option value='健壮'>健壮</option> <option value='略胖'>略胖</option> <option value='大型'>大型</option> </select> &nbsp;身高: <input name="height" value="<?php echo $rowper['height']?>" type="text" id="height" size="5" > 厘米</td> </tr> <tr> <td height="25" align="right" >职业:</td> <td height="25" > <input type="radio" name="job" value="学生" <?php if($rowper['job']=="学生" ) echo" checked" ;?>> 学生 <input type="radio" name="job" value="职员" <?php if($rowper['job']=="职员" ) echo" checked" ;?>> 职员 <input type="radio" name="job" value="白领" <?php if($rowper['job']=="白领" ) echo" checked" ;?>> 白领 <input type="radio" name="job" value="失业中" <?php if($rowper['job']=="失业中" ) echo" checked" ;?>> 失业中 </td> </tr> <tr> <td height="25" align="right" >所在在区:</td> <td height="25" > <select name="province" size="1" id="province" width="4" onChange="javascript:selNext(this.document.form2.city,this.value)" style="width:85"> <option value="0">--不限--</option> <?php $dsql->SetQuery("Select * From #@__area where reid=0"); $dsql->Execute(); while($rowa = $dsql->GetArray()){ if($rowper['province']==$rowa['id']) { echo "<option value='".$rowa['id']."' selected>".$rowa['name']."</option>\r\n"; } else { echo "<option value='".$rowa['id']."'>".$rowa['name']."</option>\r\n"; } } ?> </select> &nbsp;城市: <select id="city" name="city" width="4" style="width:85" > <option value="0">--不限--</option> <?php if(!empty($row['province'])){ $dsql->SetQuery("Select * From #@__area where rid=".$row['province']); $dsql->Execute(); while($rowa = $dsql->GetArray()){ if($rowper['city']==$rowa['id']) { echo "<option value='".$rowa['id']."' selected>".$rowa['name']."</option>\r\n"; } else { echo "<option value='".$rowa['id']."'>".$rowa['name']."</option>\r\n"; } }} ?> </select> </td> </tr> <tr align="center"> <td height="25" colspan="2" > <hr width="80%" size="1" noshade> </td> </tr> <tr> <td height="25" align="right" >OICQ号码:</td> <td height="25" ><input name="oicq" type="text" value="<?php echo $rowper['oicq']?>" id="oicq" size="20" style="width:150;height:20" > </td> </tr> <tr> <td height="25" align="right" >联系电话:</td> <td height="25" ><input name="tel" type="text" value="<?php echo $rowper['tel']?>" id="tel" size="20" style="width:150;height:20" > &nbsp;[本站会员的联系电话一律对外保密]</td> </tr> <tr> <td height="25" align="right" >个人主页:</td> <td height="25" ><input name="homepage" value="<?php echo $rowper['homepage']?>" type="text" id="homepage" size="25" ></td> </tr> <tr> <td height="25" align="right" >联系地址:</td> <td height="25" > <input name="address" value="<?php echo $rowper['address']?>" type="text" id="address" size="25" > </td> </tr> <tr> <td height="70" align="right" >自我介绍:</td> <td height="70" > <textarea name="myinfo" cols="40" rows="3" id="textarea3" ><?php echo $rowper['myinfo']?></textarea></td> </tr> <tr> <td height="71" align="right" >个人签名:</td> <td height="71" > <textarea name="mybb" cols="40" rows="3" id="textarea4" ><?php echo $rowper['mybb']?></textarea></td> </tr> <tr align="center"> <td height="25" colspan="2" > <hr width="80%" size="1" noshade> </td> </tr> <tr> <td height="25" align="right" >空间名称: </td> <td height="25" ><input name="spacename" type="text" id="spacename" size="35" value="<?php echo $rowper['spacename']?>"></td> </tr> <tr> <td height="130" align="right" >空间公告:</td> <td height="130" ><textarea name="news" cols="50" rows="8" id="textarea7" ><?php echo $rowper['news']?></textarea></td> </tr> <tr> <td height="130" align="right" >详细资料:</td> <td height="130" ><textarea name="fullinfo" cols="50" rows="8" id="textarea8" ><?php echo $rowper['fullinfo']?></textarea> </td> </tr> <tr> <td height="67" align="right" >&nbsp;</td> <td height="67" > <input type="submit" name="Submit" value="确定修改" class="inputbut"> &nbsp;&nbsp; <input type="reset" name="Submit22" value="重置" class="inputbut"> </td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_view.htm
HTML
asf20
12,832
<!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>生成HTML</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript"> function SelectTemplets(fname) { var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("../include/dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir.'/plus')?>&f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } </script> <script type="text/javascript" src="main.js"></script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} td{ padding-left:6px; } --> </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">HTML更新</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name="form1" action="makehtml_js_action.php" method="get" target='stafrm'> <tr> <td height="36" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%"><strong>&nbsp;&nbsp;获取栏目JS文件:</strong></td> <td width="70%" align="right"><a href="catalog_main.php"><u>栏目管理</u></a> </td> </tr> </table></td> </tr> <tr> <td width="108" height="36" align="center" valign="top" bgcolor="#FFFFFF">选择栏目:</td> <td valign="top" bgcolor="#FFFFFF" style="padding-top:6px"><?php $seltypeids = 0; if(!empty($cid)){ $dsql = new DedeSql(false); $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='$cid' "); $dsql->Close(); } $opall=1; if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid','selbt1',0,$seltypeids['ID'],$seltypeids['typename']); }else{ echo GetTypeidSel('form1','typeid','selbt1',0,0,'请选择...'); $cid = 0; } ?></td> </tr> <tr> <td height="36" align="center" bgcolor="#FFFFFF">JS文件:</td> <td bgcolor="#FFFFFF"> <font color="#660000"> <?php echo "&lt;script src='".$cfg_cmspath."/data/js/".$cid.".js' language='javascript'&gt;&lt;/script&gt;"; ?> </font> </td> </tr> <tr> <td height="36" align="center" valign="middle" bgcolor="#FFFFFF">模板文件:</td> <td valign="middle" bgcolor="#FFFFFF" style="padding-top:6px"><input name="templet" type="text" id="templet" style="width:300px" value="plus/js.htm"> <input type="button" name="set4" value="浏览..." onClick="SelectTemplets('form1.templet');" class="inputbut" /> </td> </tr> <tr> <td height="36" align="center" valign="top" bgcolor="#FFFFFF">更新选项:</td> <td valign="top" bgcolor="#FFFFFF" style="padding-top:6px"> <input type="radio" name="uptype" value="all" > 更新所有栏目 <input name="uptype" type="radio" value="onlyme" checked> 仅当前文件 </td> </tr> <tr> <td height="35" colspan="2" bgcolor="#F8FBFB" align="center"> <input name="b112" type="button" value="生成/更新JS文件" onClick="document.form1.submit();" class="inputbut" /> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_js.htm
HTML
asf20
4,698
<!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/css" /> <script language='javascript' src='main.js'></script> <script language='javascript'> function ShowHide(objname) { var obj = document.getElementById(objname); if(obj.style.display=="none") obj.style.display = "block"; else obj.style.display="none"; } function ShowItem(objname) { var obj = document.getElementById(objname); obj.style.display = "block"; } function TSourceType() { var r1 = document.getElementById('source1'); var r2 = document.getElementById('source2'); if(r1.checked){ document.getElementById('st1').style.display = 'block'; document.getElementById('st2').style.display = 'block'; document.getElementById('st3').style.display = 'block'; }else { document.getElementById('st1').style.display = 'none'; document.getElementById('st2').style.display = 'none'; document.getElementById('st3').style.display = 'none'; } } function ShowHideRfurl() { var r1 = document.getElementById('isref1'); var r2 = document.getElementById('isref2'); if(r2.checked){ document.getElementById('rfurlct').style.display = 'block'; }else{ document.getElementById('rfurlct').style.display = 'none'; } } </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} .STYLE3 {color: #666666} --> </style> </head> <body> <form name="form1" method="post" action="co_edit_action.php"> <input type='hidden' name='exrule' value='<?php echo $exrule?>'> <input type='hidden' name='nid' value='<?php echo $nid?>'> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="47%" height="18">&nbsp;<b><a href='co_main.php'>采集管理</a>>更改采集节点:</b></td> <td width="53%" align="right"> <input type="button" name="b11" value="节点管理" class="inputbut" style="width:80" onClick="location.href='co_main.php';"> &nbsp; <input type="button" name="b122" value="节点管理" class="inputbut" style="width:80" onClick="location.href='co_url.php';"> &nbsp; </td> </tr> </table></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">&nbsp;网址获取</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem2()"><u>内容规则</u></a></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none"> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem1()"><u>网址获取</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">内容规则</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="needset" style="margin-bottom:6px"> <tr> <td bgcolor="#F2F6E5"> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onClick="ShowHide('sitem');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8"></td> <td width="374">节点基本信息<a name="d1"></a></td> </tr> </table></td> </tr> <tr id="sitem" style="display:block"> <td bgcolor="#FFFFFF"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="16%" height="24">节点名称:</td> <td width="26%"><input name="notename" type="text" id="notename" value="<?php echo $notename?>" style="width:150px"></td> <td width="17%">页面编码:</td> <td width="41%"> <input type="radio" name="language" value="gb2312"<?php if($language=='gb2312') echo " checked";?>> GB2312 <input type="radio" name="language" value="utf-8"<?php if($language=='utf-8') echo " checked";?>> UTF8 <input type="radio" name="language" value="big5"<?php if($language=='big5') echo " checked";?>> BIG5 </td> </tr> <tr> <td height="24">图片相对网址: </td> <td><input name="imgurl" type="text" id="imgurl" style="width:150px" value="<?php echo $imgurl?>"></td> <td>物理路径:</td> <td><input name="imgdir" type="text" id="imgdir" style="width:150px" value="<?php echo $imgdir?>"></td> </tr> <tr> <td height="24">文档来源:(文档中使用)</td> <td><input name="arcsource" type="text" id="arcsource" style="width:200px" value="<?php echo $arcsource; ?>" /></td> <td>区域匹配模式: </td> <td><input type="radio" name="matchtype" value="regex"<?php if($matchtype=="regex") echo " checked";?> /> 正则表达式 <input name="matchtype" type="radio" value="string"<?php if($matchtype=="string"||$matchtype=="") echo " checked";?> /> 字符串 </td> </tr> <tr bgcolor="#F0F2EE"> <td height="24" colspan="4">以下选项仅在开启防盗链模式才需设定,如果目标网站没有防盗链功能,请不要开启,否则会降低采集速度。</td> </tr> <tr> <td height="24">防盗链模式:</td> <td><input name="isref" id='isref1' onclick="ShowHideRfurl()" type="radio" value="no"<?php if($isref=="no"||$isref=="") echo " checked";?>> 不开启 <input name="isref" type="radio" id='isref2' onclick="ShowHideRfurl()" value="yes"<?php if($isref=="yes") echo " checked";?>> 开启</td> <td>资源下载超时时间:</td> <td><input name="exptime" type="text" id="exptime" value="<?php echo $exptime?>" size="8"> 秒</td> </tr> <tr <?php if($isref!="yes") echo "style='display:none'"; ?>> <td height="24">引用网址:</td> <td colspan="3"><input name="refurl" type="text" id="refurl" size="45" value="<?php echo $refurl?>"> (需加http://)</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#F2F6E5"> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onClick="ShowHide('slist');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8"></td> <td width="374">采集列表获取规则</td> </tr> </table> </td> </tr> <tr id="slist" style="display:block"> <td height="76" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="24">来源网址获取方式:</td> <td colspan="2"> <input name="source" type="radio" id="source1" value="var" onClick="TSourceType()" <?php if($source=="var") echo " checked";?>> 符合特定序列的列表网址 <input name="source" type="radio" id="source" value="source2" onClick="TSourceType()"<?php if($source=="app") echo " checked";?>> 手工指定列表网址 </td> </tr> <tr id="st1"> <td height="24">分页变量起始值:</td> <td colspan="2"> <input name="varstart" type="text" id="varstart" size="15" value="<?php echo $varstart?>"> 变量结束值: <input name="varend" type="text" id="varend" size="15" value="<?php echo $varend?>"> 表示 [var:分页] 的范围) </td> </tr> <tr id="st2"> <td width="18%" height="24">来源网址:</td> <td colspan="2"> <input name="sourceurl" type="text" id="sourceurl" style="width:500px" value="<?php echo $urlTag->GetAtt('value')?>"> </td> </tr> <tr id="st3"> <td height="24">&nbsp;</td> <td colspan="2">对于比较规则分多页的列表网址,用 http://abc.com/list.php?page=[var:分页] 的形式,然后指定&quot;分页变量起始值&quot;。</td> </tr> <tr> <td height="24" colspan="3" bgcolor="#FBFDF2"><strong>如果来源网址是列表网址,请指定下面文章内容网址获取规则的属性:</strong></td> </tr> <tr> <td height="24">用正则匹配置网址:</td> <td colspan="2"> 文章网址需包含: <input name="need" type="text" id="need" size="15" style="width:150px" value="<?php echo $needTag->GetInnerText()?>">  网址不能包含: <input name="cannot" type="text" id="cannot" size="15" style="width:150px" value="<?php echo $cannotTag->GetInnerText()?>"> </td> </tr> <?php $l1 = ''; $l2 = ''; $linkarea = $linkareaTag->GetInnerText(); if(!empty($linkarea)){ $linkareas = explode('[var:区域]',$linkarea); $l1 = $linkareas[0]; if(!empty($linkareas[1])) $l2 = $linkareas[1]; } ?> <tr> <td height="100">限定HTML范围:<br /> <span class="STYLE3">(如果文章网址命名不规范,用正则的形式无法正确获得需要的网址,设置此选项来获得)</span><br> </td> <td width="42%"> 起始HTML:<br> <textarea name="linkareas" style="width:90%" rows="5" id="linkareas"><?php echo $l1; ?></textarea> </td> <td width="40%"> 结束HTML:<br> <textarea name="linkareae" style="width:90%" rows="5" id="linkareae"><?php echo $l2; ?></textarea> </td> </tr> <tr> <td height="24" colspan="3" bgcolor="#FBFDF2"><strong>如果你想手工指定要采集的网址或除了规则网址外,还有其它网址,请在下面指定:</strong></td> </tr> <tr> <td height="110" valign="top"><strong>手工指定网址:</strong><a href="javascript:ShowHide('handurlhelp');"><img src="img/help.gif " width="16" height="16" border="0"></a><br> (每行一条网址,<br> 不支持使用变量)</td> <td colspan="2"> <span id='handurlhelp' style='display:none;background-color:#efefef'> 对于部份符合规则,部份不符合规则的网址,可以把不符合规则的放在这里,例:像<br> http://xx.com/aaa/index.html<br> http://xx.com/aaa/list_2.html<br> http://xx.com/aaa/list_3.html...<br> 这样的网址,你可以用变量指定 list_[var:分页].html,<br> 然后把 http://xx.com/aaa/index.html(该网址不符分页规则) 填写在下面。 </span> <textarea name="sourceurls" id="sourceurls" style="width:95%;height:100px"><?php echo $urlTag->GetInnerText()?></textarea> </td> </tr> </table> </td> </tr> <tr> <td height="52" align="center" bgcolor="#FFFFFF"> <input type="submit" name="b121" value="保存节点" class="inputbut" style="width:80"> &nbsp;&nbsp; <input type="reset" name="b122" value="重置节点" class="inputbut" style="width:80"> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" id="adset" style="display:none"> <tr> <td bgcolor="#F2F6E5"> <table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onClick="ShowHide('sart');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8"></td> <td width="374">网页内容获取规则<a name="d2"></a></td> </tr> </table></td> </tr> <tr id="sart" style="display:block"> <td height="113" valign="top" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:6px"> <tr> <td height="24" colspan="3"> 测试单页网址: <input name="testurl" type="text" id="testurl2" value="http://" size="50"> (仅用于编辑规则完成后测试,测试时不会本地化远程媒体)</td> </tr> <tr> <td height="60" colspan="3"><strong> 字段设置说明:</strong><br/>  1、规则:如果采集的内容为分页文档,请在文章body字段&quot;分页内容字段&quot;这个选项打勾。<br/>  2、变量:如果你的字段值使用的不是[var:内容],而是指定的其它值,则导出时直接使用该值,并且采集时不会分析该项目。<br>  3、过滤规则:如果有多个规则,请用{dede:teim}规则一{/dede:trim}换行{dede:teim}规则二{/dede:trim}...表示</td> </tr> <tr bgcolor="#EBEFD1"> <td height="24"><strong> 文档是否分页:</strong></td> <td colspan="2"> <input name="sptype" type="radio" value="none"<?php if($sppageTag->GetAtt('sptype')==""||$sppageTag->GetInnerText()=="") echo " checked"?>> 不分页 <input name="sptype" type="radio" value="full" <?php if($sppageTag->GetAtt('sptype')=="full") echo " checked"?>> 全部列出的分页列表 <input type="radio" name="sptype" value="next"<?php if($sppageTag->GetAtt('sptype')=="next") echo " checked"?>> 上下页形式或不完整的分页列表</td> </tr> <tr> <td width="18%" height="60">分页链接区域匹配规则:<br/> 文档分多页时才需选此项</td> <td> <?php $l1 = ''; $l2 = ''; $sppage = $sppageTag->GetInnerText(); if(!empty($sppage)){ $sppages = explode('[var:分页区域]',$sppage); $l1 = $sppages[0]; if(!empty($sppages[1])) $l2 = $sppages[1]; } ?> 分页链接区域开始HTML: <br> <textarea name="sppages" rows="3" id="textarea3" style="width:90%"><?php echo $l1?></textarea> </td> <td width="48%"> 分页链接区域结束HTML: <br> <textarea name="sppagee" rows="3" id="textarea4" style="width:90%"><?php echo $l2?></textarea> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:6px"> <tr> <td width="98%" height="26" colspan="3" background="img/menubg.gif" bgcolor="#66CCFF"> <strong>>内容字段列表:</strong></td> </tr> </table> <?php $s=0; //$dtp->LoadString($notes); foreach($dtp3->CTags as $k => $ctag) { if($ctag->GetName()=='note') { $s++; $dtp->LoadString($ctag->GetInnerText()); $smatch = ""; $sfunction = ""; $strim = ""; $sfield = $ctag->GetAtt('field'); $svalue = $ctag->GetAtt('value'); $sisunit = $ctag->GetAtt('isunit'); $sisdown = $ctag->GetAtt('isdown'); $comment = $ctag->GetAtt('comment'); foreach($dtp->CTags as $n => $ntag) { $tname = $ntag->GetName(); if($tname=='match') $smatch = $ntag->GetInnerText(); else if($tname=='function') $sfunction = $ntag->GetInnerText(); else if($tname=='trim') $strim .= "{dede:trim}".$ntag->GetInnerText()."{/dede:trim}\r\n"; } ?> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#EBEFD1"> <td width="18%" height="24"> &nbsp; <?php if($smatch!=""){ $fcolor=" style='color:red' "; $tstyle=""; } else{ $fcolor=""; $tstyle=" style='display:none' "; } ?> <a href="javascript:ShowHide('fieldlist<?php echo $s?>');"<?php echo $fcolor?>><b>><u><?php echo $comment?></u></b></a> <input type="hidden" name="comment<?php echo $s?>" id="comment<?php echo $s?>2" value="<?php echo $comment?>"> </td> <td width="28%"> <input name="field<?php echo $s?>" type="text" id="field<?php echo $s?>2" value="<?php echo $sfield?>" size="22" style="width:200px"></td> <td width="14%" align="right">字段值:</td> <td width="40%"> <input name="value<?php echo $s?>" type="text" id="value<?php echo $s?>2" value="<?php echo $svalue?>" size="25"> </td> </tr> <tr> <td colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="0" id="fieldlist<?php echo $s?>"<?php echo $tstyle?>> <tr> <td width="18%" height="80">匹配区域:</td> <td height="20"> <?php $mm1 = ''; $mm2 = ''; if(!empty($smatch)){ $smatchs = explode('[var:内容]',$smatch); $mm1 = $smatchs[0]; if(!empty($smatchs[1])) $mm2 = $smatchs[1]; } ?> 开始无重复HTML:<br> <textarea name="matchs<?php echo $s?>" rows="4" id="matchs<?php echo $s?>" style="width:90%"><?php echo $mm1?></textarea> </td> <td height="20"> 结尾无重复HTML:<br> <textarea name="matche<?php echo $s?>" rows="4" id="matche<?php echo $s?>" style="width:90%"><?php echo $mm2?></textarea> </td> </tr> <tr> <td height="63">过滤规则:</td> <td height="63"> <textarea name="trim<?php echo $s?>" cols="20" rows="3" id="trim<?php echo $s; ?>" style="width:90%"><?php echo $strim?></textarea> </td> <td height="63"> <input name="isunit<?php echo $s?>" type="checkbox" id="isunit<?php echo $s?>2" value="1" <?php if($sisunit=='1') echo " checked";?>> 分页内容字段(规则中只允许单一的该类型字段)<br/> <input name="isdown<?php echo $s?>" type="checkbox" id="isdown<?php echo $s?>2" value="1" <?php if($sisdown=='1') echo " checked";?>> 下载字段里的多媒体资源 </td> </tr> <tr> <td width="18%" height="60">自定义处理接口:</td> <td width="42%" height="20"><textarea name="function<?php echo $s?>" cols="20" rows="3" id="textarea7" style="width:90%"><?php echo $sfunction?></textarea> </td> <td width="40%" height="20"> 函数或程序的变量<br> @body 表示原始网页 @litpic 缩略图<br> @me 表示当前标记值和最终结果 </td> </tr> </table></td> </tr> </table> <?php } } ?> </td> </tr> <tr> <td height="52" align="center" bgcolor="#FFFFFF"> <input type="submit" name="b121" value="保存节点" class="inputbut" style="width:80"> &nbsp;&nbsp; <input type="reset" name="b122" value="重置节点" class="inputbut" style="width:80"> </td> </tr> <tr> <td height="24" bgcolor="#EBF9D9">&nbsp; </td> </tr> </table></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_edit.htm
HTML
asf20
20,665
<!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/css" /> <script src="main.js" language="javascript"></script> <script language="JavaScript"> function ChangeListStyle(){ var itxt = document.getElementById("myinnertext"); var myems = document.getElementsByName("liststyle"); if(myems[0].checked) itxt.value = document.getElementById("list1").innerHTML; else if(myems[1].checked) itxt.value = document.getElementById("list2").innerHTML; else if(myems[2].checked) itxt.value = document.getElementById("list3").innerHTML; else if(myems[3].checked) itxt.value = document.getElementById("list4").innerHTML; itxt.value = itxt.value.replace("<BR>","<BR/>"); itxt.value = itxt.value.toLowerCase(); } function ShowHide(objname){ var obj = document.getElementById(objname); if(obj.style.display == "block" || obj.style.display == "") obj.style.display = "none"; else obj.style.display = "block"; } function SelectTemplets(fname) { var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("../include/dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir)?>&f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } function CheckSubmit(){ if(document.form1.title.value==""){ alert("自由列表标题标题不能为空!"); document.form1.title.focus(); return false; } return true; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <center> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form action="freelist_action.php" method="post" name="form1" onSubmit="return CheckSubmit();"> <input type="hidden" name="dopost" value="edit"> <input type="hidden" name="aid" value="<?php echo $row['aid']?>"> <tr> <td height="23" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="35%" height="18" align="left"><a href="mytag_main.php"><strong>>自自由列表管理</strong></a> <strong>&gt;&gt; 更改自由列表:</strong></td> <td width="65%" align="right"> <input type="button" name="b113" value="管理自由列表" onClick="location='freelist_main.php';" class="inputbut"/> &nbsp; <input type="button" name="bt2" value="更新列表HTML" onClick="location='makehtml_freelist.php';" class="inputbut"/> </td> </tr> </table></td> </tr> <tr> <td height="265" valign="top" bgcolor="#FFFFFF"><table width="99%" border="0" align="right" cellpadding="0" cellspacing="1"> <tr> <td height="56"> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td height="28" colspan="2" align="left"><img src="img/help.gif" width="16" height="16">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度。</td> </tr> <tr> <td width="16%" height="28" align="left">自由列表标题:</td> <td width="84%" align="left"><input name="title" type="text" id="title" style="width:35%" value="<?php echo $row['title']?>"></td> </tr> <tr> <td height="28" align="left">列表HTML存放目录:</td> <td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="<?php echo $row['listdir']?>"> {listdir}变量的值</td> </tr> <tr> <td height="28" align="left">目录默认页名称:</td> <td align="left"><input name="defaultpage" type="text" id="defaultpage" style="width:35%" value="<?php echo $row['defaultpage']?>"> <input name="nodefault" type="checkbox" id="nodefault" value="1"<?php if($row['nodefault']==1) echo " checked"; ?>> 不使用目录默认主页 </td> </tr> <tr> <td height="28" align="left">命名规则:</td> <td align="left"><input name="namerule" type="text" id="namerule" style="width:35%" value="<?php echo $row['namerule']?>"></td> </tr> <tr> <td height="35" align="left">列表模板:</td> <td align="left"><input name="templet" type="text" id="templet" style="width:300" value="<?php echo $row['templet']?>"> <input type="button" name="set4" value="浏览..." style="width:60" onClick="SelectTemplets('form1.templet');" class="inputbut"/></td> </tr> <tr> <td height="28" align="left">&nbsp;</td> <td align="left">以下选项用于模板里的 &lt;meta name=&quot;keywords|description&quot; content=&quot;&quot;&gt; 描述</td> </tr> <tr> <td height="28" align="left">关键字:</td> <td align="left"><input name="keywords" type="text" id="keywords" style="width:60%" value="<?php echo $row['keyword']?>"></td> </tr> <tr> <td height="28" align="left">列表描述:</td> <td align="left"><textarea name="description" id="description" style="width:60%;height:50px"><?php echo $row['description']?></textarea></td> </tr> </table></td> </tr> <tr> <td height="26" align="left" background="img/menubg.gif"><img src="img/file_tt.gif" width="7" height="8" style="margin-left:6px;margin-right:6px;"> 列表样式:(这里是定义自由列表模板里的{dede:freelist/}标记的样式和属性) </td> </tr> <tr> <td height="28" align="left"> 限定栏目: <?php $typeid = $ctag->GetAtt('typeid'); if(!empty($typeid)){ $typeinfos = $dsql->GetOne("Select ID,typename From #@__arctype where ID='$typeid' "); echo GetTypeidSel('form1','typeid','selbt1',0,$typeinfos['ID'],$typeinfos['typename']); }else{ echo GetTypeidSel('form1','typeid','selbt1',0); } ?> </td> </tr> <tr> <td height="28" align="left"> 限定频道: <?php $channel = $ctag->GetAtt('channel'); echo "<select name='channel' style='width:100'>\r\n"; //echo "<option value='0'>不限...</option>\r\n"; $dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0"); $dsql->Execute(); while($nrow = $dsql->GetObject()) { if($nrow->ID==$channel) echo "<option value='{$nrow->ID}' selected>{$nrow->typename}</option>\r\n"; else echo "<option value='{$nrow->ID}'>{$nrow->typename}</option>\r\n"; } echo "</select>"; ?>  (如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)</td> </tr> <tr> <td height="28" align="left">附加属性: <?php $att = $ctag->GetAtt('att'); echo "<select name='att' style='width:100'>\r\n"; echo "<option value='0'>不限...</option>\r\n"; $dsql->SetQuery("Select * From #@__arcatt"); $dsql->Execute(); while($nrow = $dsql->GetObject()) { if($att==$nrow->att) echo "<option value='{$nrow->att}' selected>{$nrow->attname}</option>\r\n"; else echo "<option value='{$nrow->att}'>{$nrow->attname}</option>\r\n"; } echo "</select>"; ?> 文档发布时间: <input name="subday" type="text" id="subday" size="6" value="<?php echo $ctag->GetAtt('subday')?>"> 天以内 (0 表示不限) </td> </tr> <tr> <td height="28" align="left">每页记录数: <input name="pagesize" type="text" id="pagesize" value="<?php echo $ctag->GetAtt('pagesize')?>" size="4">  显示列数: <input name="col" type="text" id="col" value="<?php $col = $ctag->GetAtt('col'); $v = ( empty($col) ? '1' : $col ); echo $v; ?>" size="4"> 标题长度: <input name="titlelen" type="text" id="titlelen" value="<?php echo $ctag->GetAtt('titlelen')?>" size="4"> (1 字节 = 0.5个中文字)</td> </tr> <tr> <td height="28" align="left"> <?php $setype = $ctag->GetAtt('type'); if($setype=='') $setype = 'X'; ?> 高级筛选: <input name="types[]" type="checkbox" id="type1" value="image" <?php if(eregi('image',$setype)) echo ' checked';?>> 带缩略图 <input name="types[]" type="checkbox" id="type2" value="commend" <?php if(eregi('commend',$setype)) echo ' checked';?>> 推荐 <input name="types[]" type="checkbox" id="type3" value="spec" class="inputbut"<?php if(eregi('spec',$setype)) echo ' checked';?>> 专题 关键字: <input name="keyword" type="text" id="keyword" value="<?php echo $ctag->GetAtt('keyword')?>"> (&quot;,&quot;逗号分开) </td> </tr> <tr> <td height="28" align="left">排列顺序: <?php $orderby = $ctag->GetAtt('orderby'); $sorta = "sortrank,置顶权限值;pubdate,发布时间;senddate,录入时间;click,点击量;id,文档ID,lastpost,最后评论时间;postnum,评论总数;rand,随机获取"; $sortas = explode(';',$sorta); foreach($sortas as $v){ $vs = explode(',',$v); $vs[0] = trim($vs[0]); $sortarrs[$vs[0]] = $vs[1]; } ?> <select name="orderby" id="orderby" style="width:120"> <?php echo "<option value=\"$orderby\" selected>{$sortarrs[$orderby]}</option>\r\n"; ?> <option value="sortrank">置顶权限值</option> <option value="pubdate">发布时间</option> <option value="senddate">录入时间</option> <option value="click">点击量</option> <option value="id">文档ID</option> <option value="lastpost">最后评论时间</option> <option value="postnum">评论总数</option> </select>   <input name="order" type="radio" value="desc"<?php if($ctag->GetAtt('orderway')=='desc') echo " checked";?>> 由高到低 <input type="radio" name="order" value="asc"<?php if($ctag->GetAtt('orderway')=='asc') echo " checked";?>> 由低到高</td> </tr> <tr> <td height="28" align="left">循环内的单行记录样式(InnerText):[<img src="img/help.gif" width="16" height="16"><a href='javascript:ShowHide("innervar");'>底层变量field参考</a>]</td> </tr> <tr> <td height="80" align="left"> <textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"><?php echo $ctag->GetInnerText()?></textarea> </td> </tr> <tr> <td height="80" align="left" id='innervar' style="display:none"><font color="#CC6600"><img src="img/help.gif" width="16" height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> stime(pubdate 的&quot;0000-00-00&quot;格式),textlink,typelink,imglink,image 普通字段直接用[field:字段名/]表示。<br> ·Pubdate发布时间的调用参数 [field:pubdate function=strftime('%Y-%m-%d %H:%M:%S',@me)/]</font> </td> </tr> <tr> <td height="50" align="left"> &nbsp; <input name="Submit2" type="submit" id="Submit2" value="保存一个列表" class="inputbut"/> </td> </tr> </table></td> </tr> </form> <tr> <td valign="top" bgcolor="#EFF7E6">&nbsp;</td> </tr> </table> </center> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/freelist_edit.htm
HTML
asf20
13,874
<!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/css" /> <script language='javascript'> function SelUp(){ var ob1 = document.getElementById("uptype1"); var ob2 = document.getElementById("uptype2"); if(ob1.checked){ document.getElementById("seltime").style.display = "block"; document.getElementById("selid").style.display = "none"; }else{ document.getElementById("seltime").style.display = "none"; document.getElementById("selid").style.display = "block"; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">HTML更新</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="makehtml_all.php" target="stafrm" method="post"> <input type="hidden" name="action" value="make"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;&nbsp;一键更新网站:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table> </td> </tr> <tr> <td width="10%" height="30" bgcolor="#FFFFFF">&nbsp;&nbsp;更新选项:</td> <td valign="top" bgcolor="#FFFFFF"> <input name="uptype" id="uptype1" type="radio" class="np" value="time" onclick="SelUp()" checked="checked" /> 指定时间的所有更新 <input name="uptype" id="uptype2" type="radio" class="np" onclick="SelUp()" value="id" /> 指定ID文档的所有更新 </td> </tr> <tr id='seltime'> <td height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;起始时间:</td> <td height="20" bgcolor="#FFFFFF"><input type="text" name="starttime" id="starttime" value="<?php echo GetDateMk(mytime()); ?>" style="width:200px" /></td> </tr> <tr id='selid' style='display:none'> <td height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;起始ID:</td> <td height="20" bgcolor="#FFFFFF"><input name="startid" type="text" id="startid" value="0" size="4" /></td> </tr> <tr> <td height="31" colspan="2" bgcolor="#F8FBFB" align="center" style="padding-top:6px"> <input type="submit" name="Submit" value="开始更新" class="inputbut"/> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2" bgcolor="#EDF9D5"><table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:350px;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="350px"> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </iframe> </div> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_all.htm
HTML
asf20
3,847
<!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> <script language='javascript'> var fieldstart = 6; function CheckSubmit() { if(document.form1.rulename.value==""){ alert("规则名称不能为空!"); document.form1.rulename.focus(); return false; } if(document.form1.tablename.value==""){ alert("导入的数据表的值不能为空!"); document.form1.tablename.focus(); return false; } return true; } function addMoreField() { var objFieldNum = document.getElementById("fieldnum"); var objField = document.getElementById("morefield"); var addvalue = Number(objFieldNum.value); var endnum = fieldstart + addvalue; if(endnum>50){ alert("不允许超过限定的项目!"); return; } for(;fieldstart<endnum;fieldstart++) { if(fieldstart>9) objField.innerHTML += "字段"+fieldstart+": <input class='nnpp' name=\"fieldname"+fieldstart+"\" type=\"text\" size=\"15\"> 注解: <input class='nnpp' name=\"comment"+fieldstart+"\" type=\"text\" size=\"15\"> 递属表: <input class='nnpp' name=\"intable"+fieldstart+"\" type=\"text\" size=\"18\"><br>\r\n"; else objField.innerHTML += "字段0"+fieldstart+": <input class='nnpp' name=\"fieldname"+fieldstart+"\" type=\"text\" size=\"15\"> 注解: <input class='nnpp' name=\"comment"+fieldstart+"\" type=\"text\" size=\"15\"> 递属表: <input class='nnpp' name=\"intable"+fieldstart+"\" type=\"text\" size=\"18\"><br>\r\n"; objField.innerHTML += "值类型: <input type='radio' class='np' name='source"+fieldstart+"' value='function'>函数 <input type='radio' class='np' name='source"+fieldstart+"' value='value'>指定值 <input type='radio' class='np' name='source"+fieldstart+"' value='export' checked>导入/采集 指定值或函数: <input name='makevalue"+fieldstart+"' type='text' size='26' class='nnpp'><hr size=1 width=80%>\r\n"; } } </script> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style> .nnpp{ border-bottom:1px solid #98CAEF; border-top:1px solid #FFFFFF; border-left:1px solid #FFFFFF; border-right:1px solid #FFFFFF; color:red; filter:alpha(opacity=70); } td{ padding-left:6px; } </style> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5">&nbsp;<b><a href="co_export_rule.php"><u>数据导入规则管理</u></a></b>&gt;&gt;新建数据导入规则</td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <form action="co_export_rule_add.php" method="post" name="form1" onSubmit="return CheckSubmit();";> <input type='hidden' name='action' value='save'> <table width="800" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="20" colspan="2" background="img/exbg.gif"><strong>&nbsp;§基本参数:</strong></td> </tr> <tr> <td width="120" height="24" align="center">规则名称:</td> <td height="24"> <input name="rulename" type="text" id="rulename" size="36"> </td> </tr> <tr> <td height="24" align="center">入库类型:</td> <td height="24"> <input name="etype" type="radio" value="当前系统" checked> 当前系统 <input type="radio" name="etype" value="其它系统"> 其它系统 </td> </tr> <tr> <td height="24" align="center">针对频道:</td> <td height="24"> <select name="channelid" id="channelid" style="width:150"> <option value="0">--非系统频道模型--</option> <?php $dsql = new DedeSql(false); $dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0 order by ID asc"); $dsql->Execute(); while($row = $dsql->GetObject()){ echo "<option value='{$row->ID}'>{$row->typename}</option>\r\n"; } $dsql->Close(); ?> </select> </td> </tr> </table> <table width="800" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="20" colspan="2" background="img/exbg.gif"><strong>&nbsp;§数据库基本参数:</strong></td> </tr> <tr> <td width="120" height="24" align="center">导入的数据表:</td> <td><input name="tablename" type="text" id="tablename" size="30"> (多个表用“,”分开,最多支持两个表)</td> </tr> <tr> <td height="24" align="center">自动编号字段:</td> <td> <input name="autofield" type="text" id="autofield" size="15"> (表示两个表关连时,第一个表的自动编号字段) </td> </tr> <tr> <td height="24" align="center">同步字段:</td> <td> <input name="synfield" type="text" id="synfield" size="15"> (表示第二个表与第一个表的自动编号字段关连字段) </td> </tr> </table> <table width="800" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="20" colspan="2" background="img/exbg.gif"><strong>&nbsp;§字段设定:</strong></td> </tr> <tr> <td height="20" colspan="2"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90%">&nbsp;&nbsp;&nbsp;&nbsp;如果选固定值,允许用{cid}表示频道ID、{typeid}栏目ID、{rank}是否审核状态(1或0),这些变量具体值可以在导出数据时选择。</td> </tr> </table></td> </tr> <tr> <td height="62" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10%" height="45" align="center">增加字段:</td> <td width="90%"> <input name="fieldnum" type="text" id="fieldnum" value="5" size="8"> <input type="button" name="Submit" value="增加" onClick="addMoreField();" class="inputbut"> </td> </tr> <tr> <td height="60">&nbsp;</td> <td width="90%" align="left">字段01: <input name="fieldname1" class='nnpp' type="text" id="fieldname1" size="15"> 注解: <input name="comment1" class='nnpp' type="text" id="comment1" size="15"> 递属表: <input name="intable1" class='nnpp' type="text" id="intable1" size="18"> <br> 值类型: <input type='radio' class='np' name='source1' value='function'> 函数 <input type='radio' class='np' name='source1' value='value'> 指定值 <input type='radio' class='np' name='source1' value='export' checked> 导入/采集 指定值或函数: <input name="makevalue1" type="text" size="26" class='nnpp'> <hr size=1 width=80%> 字段02: <input name="fieldname2" class='nnpp' type="text" id="fieldname2" size="15"> 注解: <input name="comment2" class='nnpp' type="text" id="comment2" size="15"> 递属表: <input name="intable2" class='nnpp' type="text" id="intable2" size="18"> <br> 值类型: <input type='radio' class='np' name='source2' value='function'> 函数 <input type='radio' class='np' name='source2' value='value'> 指定值 <input type='radio' class='np' name='source2' value='export' checked> 导入/采集 指定值或函数: <input name="makevalue2" type="text" size="26" class='nnpp'> <hr size=1 width=80%> 字段03: <input name="fieldname3" class='nnpp' type="text" id="fieldname3" size="15"> 注解: <input name="comment3" class='nnpp' type="text" id="comment3" size="15"> 递属表: <input name="intable3" class='nnpp' type="text" id="intable3" size="18"> <br> 值类型: <input type='radio' class='np' name='source3' value='function'> 函数 <input type='radio' class='np' name='source3' value='value'> 指定值 <input type='radio' class='np' name='source3' value='export' checked> 导入/采集 指定值或函数: <input name="makevalue3" type="text" size="26" class='nnpp'> <hr size=1 width=80%> 字段04: <input name="fieldname4" class='nnpp' type="text" id="fieldname4" size="15"> 注解: <input name="comment4" class='nnpp' type="text" id="comment4" size="15"> 递属表: <input name="intable4" class='nnpp' type="text" id="intable4" size="18"> <br> 值类型: <input type='radio' class='np' name='source4' value='function'> 函数 <input type='radio' class='np' name='source4' value='value'> 指定值 <input type='radio' class='np' name='source4' value='export' checked> 导入/采集 指定值或函数: <input name="makevalue4" type="text" size="26" class='nnpp'> <hr size=1 width=80%> 字段05: <input name="fieldname5" class='nnpp' type="text" id="fieldname5" size="15"> 注解: <input name="comment5" class='nnpp' type="text" id="comment5" size="15"> 递属表: <input name="intable5" class='nnpp' type="text" id="intable5" size="18"> <br> 值类型: <input type='radio' class='np' name='source5' value='function'> 函数 <input type='radio' class='np' name='source5' value='value'> 指定值 <input type='radio' class='np' name='source5' value='export' checked> 导入/采集 指定值或函数: <input name="makevalue5" type="text" size="26" class='nnpp'> <hr size=1 width=80%> <span id='morefield'></span> </td> </tr> </table></td> </tr> </table> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td>&nbsp;</td> </tr> <tr> <td bgcolor="#CCCCCC" height="1"></td> </tr> <tr> <td height="80"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10%">&nbsp;</td> <td width="90%"> <input name="提交" type="submit" value="确定" class="inputbut"/> <input name="重置" type="reset" class="inputbut" value="重置"/></td> </tr> </table></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_export_rule_add.htm
HTML
asf20
12,372
<!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/css" /> <script language='javascript'> function checkSubmit() { if(document.form1.userid.value==""){ alert("用户ID不能为空!"); document.form1.userid.focus(); return false; } if(document.form1.uname.value==""){ alert("用户名不能为空!"); document.form1.uname.focus(); return false; } if(document.form1.pwd.value==""){ alert("用户密码不能为空!"); document.form1.pwd.focus(); return false; } return true; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">系统帐号管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"> <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><b>&nbsp;&nbsp;<strong>新增帐号</strong></b> </td> <td width="76%" align="right"><strong><a href="sys_admin_user.php"><u>管理帐号</u></a></strong></td> </tr> </table></td> </tr> <tr> <td height="215" align="center" valign="top" bgcolor="#FFFFFF"> <form name="form1" action="sys_admin_user_add.php" onSubmit="return checkSubmit();" method="post"> <input type="hidden" name="dopost" value="add"> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <tr> <td width="16%" height="30">用户登录ID:</td> <td width="84%" align="left"><input name="userid" type="text" id="userid" size="16" style="width:150"> (只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td> </tr> <tr> <td height="30">用户笔名:</td> <td align="left"><input name="uname" type="text" id="uname" size="16" style="width:150"> &nbsp;(发布文章后显示责任编辑的名字)</td> </tr> <tr> <td height="30">用户密码:</td> <td align="left"><input name="pwd" type="text" id="pwd" size="16" style="width:150"> &nbsp;(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td> </tr> <tr> <td height="30">用户组:</td> <td align="left"> <select name='usertype' style='width:150'> <?php $dsql->SetQuery("Select * from #@__admintype order by rank asc"); $dsql->Execute("ut"); while($myrow = $dsql->GetObject("ut")) { echo "<option value='".$myrow->rank."'>".$myrow->typename."</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="30">授权频道:</td> <td align="left"> <select name="typeid[]" style="width:250" size="10" id="typeid" multiple> <option value="0" selected>--所有频道--</option> <?php $dsql->SetQuery("Select ID,typename From #@__arctype where reID=0 And (ispart=0 Or ispart=1)"); $dsql->Execute('op'); while($row = $dsql->GetObject('op')){ echo "<option value='{$row->ID}'>{$row->typename}</option>\r\n"; $dsql->SetQuery("Select ID,typename From #@__arctype where reID={$row->ID} And (ispart=0 Or ispart=1)"); $dsql->Execute('s'); while($row2 = $dsql->GetObject('s')){ echo "<option value='{$row->ID}-{$row2->ID}'> --{$row2->typename}</option>\r\n"; } } ?> </select> <br/> 使用 Ctrl 进行多选,如果选择了顶级目录,子目录将自动被授权为可管理。 </td> </tr> <tr> <td height="30">真实姓名:</td> <td align="left"><input name="tname" type="text" id="tname" size="16" style="width:150"> &nbsp;</td> </tr> <tr> <td height="30">电子邮箱:</td> <td align="left"><input name="email" type="text" id="email" size="16" style="width:150"> &nbsp;</td> </tr> <tr> <td height="30">&nbsp;</td> <td align="left"><input type="submit" name="Submit" value=" 增加用户 " class="inputbut"/></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_admin_user_add.htm
HTML
asf20
4,815
<!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/css" /> <link rel="stylesheet" type="text/css" href="base.css"> <script language="javascript"> function checkSubmit() { if(document.form1.title.value=="") { alert("页面名称不能为空!"); document.form1.title.focus(); return false; } if(document.form1.nfilename.value=="") { alert("文件名不能为空!"); document.form1.nfilename.focus(); return false; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"> <b><a href="templets_one.php"><u>单独页面管理</u></a></b>&gt;&gt;更新页面 </td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <form action="templets_one_edit.php" method="post" name="form1" onSubmit="return checkSubmit()"> <input type='hidden' name='dopost' value='saveedit'> <input type='hidden' name='aid' value='<?php echo $aid?>'> <tr> <td width="15%" height="24" align="center">页面名称:</td> <td> <input name="title" type="text" id="title" size="30" value="<?php echo $row['title']?>"></td> </tr> <tr> <td height="24" align="center">生成文件名:</td> <td> <input name="oldfilename" type="hidden" id="oldfilename" value="<?php echo $row['filename']?>"> <input name="nfilename" type="text" id="nfilename" size="30" value="<?php echo $row['filename']?>"> (相对于CMS安装目录) </td> </tr> <tr> <td height="24" align="center">是否编译:</td> <td> <input name="ismake" type="radio" value="1"<?php if($row['ismake']==1) echo " checked";?>> 含模板标记,要编译 <input type="radio" name="ismake" value="0"<?php if($row['ismake']==0) echo " checked";?>> 不含模板标记,不需要编译</td> </tr> <tr> <td height="24" colspan="2">文件内容:</td> </tr> <tr> <td height="80" colspan="2" align="center"> <textarea name='body' rows="20" style='width:100%;height:400xp'><?php echo $row['body']?></textarea> </td> </tr> <tr> <td height="53" colspan="2" align="center"><input type="submit" name="button" id="button" value="确定" class="inputbut"/></td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/templets_one_edit.htm
HTML
asf20
3,160
<!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/css" /> <style type="text/css"> .rb{ border-right:1px solid #98CAEF } .tb{ border-top:1px solid #98CAEF } .current {border:1px solid #98CAEF;padding:5px;background:#FFFEF4;color:#FF0000;} </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">短信管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30" align="center" bgcolor="#FAFCEF"> <form action="member_pm.php" name="form1" method="get"> <table width="484" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="90">&nbsp;关键字:</td> <td width="110" align="center"> <input name="keyword" type="text" id="keyword" size="12" style="width:100"> </td> <td width="50">&nbsp;用户:</td> <td width="74"><input name="username" type="text" id="username" size="12" style="width:100" /></td> <td width="100" align="center"><select name="folder" id="folder"> <option value="inbox">收件箱</option> <option value="outbox">草稿箱</option> <option value="track">发件箱</option> </select> </td> <td width="60" align="center"><input name="imageField" type="submit" class="inputbut" value="搜索"/></td> </tr> </table> </form> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="9" bgcolor="#EDF9D5"><a href='member_pm.php'>短信列表</a> <span class="current" id="cate_1">群发短信</span></td> </tr> <tr bgcolor="#FDFEE9" height="26"> <td colspan="7" align="left"> <form id="postall" method="post" action=""> <input name="action" type="hidden" value="post" /> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr> <td width="13%" height="30" align="right" bgcolor="#F7FFFF">标题:</td> <td width="87%" height="25" bgcolor="#F7FFFF"><input name="subject" type="text" id="subject" class="company_manage_form_label" style="width:250px;height:16px;margin-top:5px;margin-left:10px;" /> 标题少于70个字符内</td> </tr> <tr> <td height="12" align="right" valign="top" bgcolor="#F9FCEF" style="padding-top:5px;"><label for="pm_textarea">内容:</label></td> <td height="120" bgcolor="#F9FCEF"><textarea name="message" id="message" cols="40" rows="5" class="company_manage_form_label1" style="width:350px;height:100px;margin-top:5px;margin-left:10px;"></textarea> 1000个字符以内</td> </tr> <tr> <td height="28" align="right" valign="top" bgcolor="#F9FCEF">&nbsp;</td> <td height="30" bgcolor="#F9FCEF"><input type="submit" value="提交" class="button01" /></td> </tr> </table> </form> </td> </tr> <tr bgcolor="#F8FBFB"> <td height="26" colspan="9" align="center" bgcolor="#EDF9D5">&nbsp;</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_pmall.htm
HTML
asf20
3,574
<!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/css" /> <script src="main.js" language="javascript"></script> <script language="JavaScript"> function ChangeListStyle(){ var itxt = document.getElementById("myinnertext"); var myems = document.getElementsByName("liststyle"); if(myems[0].checked) itxt.value = document.getElementById("list1").innerHTML; else if(myems[1].checked) itxt.value = document.getElementById("list2").innerHTML; else if(myems[2].checked) itxt.value = document.getElementById("list3").innerHTML; else if(myems[3].checked) itxt.value = document.getElementById("list4").innerHTML; itxt.value = itxt.value.replace("<BR>","<BR/>"); itxt.value = itxt.value.toLowerCase(); } function ShowHide(objname){ var obj = document.getElementById(objname); if(obj.style.display == "block" || obj.style.display == "") obj.style.display = "none"; else obj.style.display = "block"; } function SelectTemplets(fname) { var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("../include/dialog/select_templets.php?&activepath=<?php echo urlencode($cfg_templets_dir)?>&f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } function CheckSubmit(){ if(document.form1.title.value==""){ alert("自由列表标题标题不能为空!"); document.form1.title.focus(); return false; } return true; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <center> <span style="display:none" id="list1"> <dl> <dt><a href="[field:arcurl/]">[field:title/]</a></dt> <dd class="preview">[field:description/]...</dd> <dd class="info">作者:<span>[field:writer /]</span>发表于:<span>[field:pubdate function="GetDateTimeMK(@me)"/]</span> 点击:<span>[field:click/]</span> 评论:<span>[field:postnum/]</span> <a href="[field:arcurl/]">查阅全文...</a></dd> </dl> </span> <span style="display:none" id="list2"> <dl> <dt>[field:typelink function='str_replace("a ","a class=ulink ",@me)'/]<a href="[field:arcurl/]">[field:title/]</a></dt> <dd class="preview">[field:description/]...</dd> <dd class="info">作者:<span>[field:writer /]</span>发表于:<span>[field:pubdate function="GetDateTimeMK(@me)"/]</span> 点击:<span>[field:click/]</span> 评论:<span>[field:postnum/]</span> <a href="[field:arcurl/]">查阅全文...</a></dd> </dl> </span> <span style="display:none" id="list3"> <table width='98%' border='0' cellspacing='2' cellpadding='0'> <tr><td align='center'>[field:imglink/]</td></tr> <tr><td align='center'>[field:textlink/]</td></tr> </table> </span> <span style="display:none" id="list4"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="tbspan" style="margin-top:6px"> <tr> <td height="1" colspan="2" background="[field:templeturl/]/img/dot_hor.gif"></td> </tr> <tr> <td width="5%" height="26" align="center"><img src="[field:templeturl/]/img/item.gif" width="18" height="17"></td> <td height="26"> <b> [field:typelink function='str_replace("a ","a class=ulink ",@me)'/] <a href="[field:arcurl/]" class="ulink">[field:title/]</a> </b> </td> </tr> <tr> <td height="20" style="padding-left:3px">&nbsp;</td> <td style="padding-left:3px"> <font color="#8F8C89">日期:[field:pubdate function="GetDateTimeMK(@me)"/] 点击:[field:click/] 评论:[field:postnum/]</font> <a href="[field:phpurl/]/feedback.php?arcID=[field:id/]"><img src="[field:templeturl/]/img/comment.gif" width="12" height="12" border="0" title="查看评论"></a> </td> </tr> <tr> <td colspan="2" style="padding-left:3px"> [field:litpic function="CkLitImageView(@me,80)"/] [field:description/] </td> </tr> </table> </span> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td align="left" bgcolor="#EDF9D5"><strong>>自自由列表管理 &gt;&gt; 增加一个列表:</strong></td> <td align="right" bgcolor="#EDF9D5"><input type="button" name="b113" value="管理自由列表" onclick="location='freelist_main.php';" class="inputbut"/> &nbsp; <input type="button" name="bt2" value="更新列表HTML" onclick="location='makehtml_freelist.php';" class="inputbut"/> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form action="freelist_action.php" method="post" name="form1" onSubmit="return CheckSubmit();"> <input type="hidden" name="dopost" value="addnew"> <tr> <td height="265" valign="top" bgcolor="#FFFFFF"><table width="99%" border="0" align="center" cellpadding="0" cellspacing="1"> <tr> <td height="56"> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td height="28" colspan="2" align="left"><img src="img/help.gif" width="16" height="16">自由列表标记的说明:自由列表标记(freelist)的功能基本等同于arclist标记,区别是freelist标记支持分页,这让生成Google Map、生成按自定义排序规则的文章列表(如按标题拼音部首排序等)等轻松的实现统一化管理,并且自由列是独立编译的,不与其它模板混在一起,这样不会影响系统生成HTML或访问速度。</td> </tr> <tr> <td width="16%" height="28" align="left">自由列表标题:</td> <td width="84%" align="left"><input name="title" type="text" id="title" style="width:35%"></td> </tr> <tr> <td height="28" align="left">列表HTML存放目录:</td> <td align="left"><input name="listdir" type="text" id="listdir" style="width:35%" value="{cmspath}/freelist/"> {listdir}变量的值</td> </tr> <tr> <td height="28" align="left">目录默认页名称:</td> <td align="left"> <input name="defaultpage" type="text" id="defaultpage" style="width:35%" value="index.html"> <input name="nodefault" type="checkbox" id="nodefault" value="1"> 不使用目录默认主页 </td> </tr> <tr> <td height="28" align="left">命名规则:</td> <td align="left"><input name="namerule" type="text" id="namerule" style="width:35%" value="{listdir}/index_{listid}_{page}.html"></td> </tr> <tr> <td height="30" align="left">列表模板:</td> <td align="left"><input name="templet" type="text" id="templet" style="width:300" value="{style}/list_free.htm"> <input type="button" name="set4" value="浏览..." style="width:60" onClick="SelectTemplets('form1.templet');" class="inputbut"/></td> </tr> <tr> <td height="28" align="left">&nbsp;</td> <td align="left">以下选项用于模板里的 &lt;meta name=&quot;keywords|description&quot; content=&quot;&quot;&gt; 描述</td> </tr> <tr> <td height="28" align="left">关键字:</td> <td align="left"><input name="keywords" type="text" id="keywords" style="width:60%"></td> </tr> <tr> <td height="28" align="left">列表描述:</td> <td align="left"><textarea name="description" id="description" style="width:60%;height:50px"></textarea></td> </tr> </table></td> </tr> <tr> <td height="26" align="left" background="img/menubg.gif"><img src="img/file_tt.gif" width="7" height="8" style="margin-left:6px;margin-right:6px;">列表样式:(这里是定义自由列表模板里的{dede:freelist /}标记的样式和属性)</td> </tr> <tr> <td height="72" align="left"><table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="25%" height="126"><img src="img/g_t2.gif" width="130" height="100"> <input name="liststyle" type="radio" onClick="ChangeListStyle()" value="1"> </td> <td width="25%"><img src="img/g_t1.gif" width="130" height="110"> <input type="radio" onClick="ChangeListStyle()" name="liststyle" value="2"></td> <td width="25%"><img src="img/g_t3.gif" width="130" height="110"> <input type="radio" onClick="ChangeListStyle()" name="liststyle" value="3"></td> <td><img src="img/g_t4.gif" width="130" height="110"> <input name="liststyle" type="radio" onClick="ChangeListStyle()" value="4" checked></td> </tr> </table></td> </tr> <tr> <td height="28" align="left"> 限定栏目: <?php echo GetTypeidSel('form1','typeid','selbt1',0)?> </td> </tr> <tr> <td height="28" align="left"> 限定频道: <?php echo "<select name='channel' style='width:100'>\r\n"; //echo "<option value='0' selected>不限...</option>\r\n"; $dsql->SetQuery("Select ID,typename From #@__channeltype where ID>0"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='{$row->ID}'>{$row->typename}</option>\r\n"; } echo "</select>"; ?>  (如果限定了频道内容模型,则允许使用附加表指定的列表字段作为底层变量)</td> </tr> <tr> <td height="28" align="left">附加属性: <?php echo "<select name='att' style='width:100'>\r\n"; echo "<option value='0' selected>不限...</option>\r\n"; $dsql->SetQuery("Select * From #@__arcatt"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='{$row->att}'>{$row->attname}</option>\r\n"; } echo "</select>"; ?> 文档发布时间: <input name="subday" type="text" id="subday2" value="0" size="6"> 天以内 (0 表示不限) </td> </tr> <tr> <td height="28" align="left">每页记录数: <input name="pagesize" type="text" id="pagesize" value="30" size="4">  显示列数: <input name="col" type="text" id="col3" value="1" size="4"> 标题长度: <input name="titlelen" type="text" id="titlelen" value="60" size="4"> (1 字节 = 0.5个中文字)</td> </tr> <tr> <td height="28" align="left">摘要长度:</td> </tr> <tr> <td height="28" align="left"> 高级筛选: <input name="types[]" type="checkbox" id="type1" value="image" > 带缩略图 <input name="types[]" type="checkbox" id="type2" value="commend" > 推荐 <input name="types[]" type="checkbox" id="type3" value="spec" > 专题 关键字: <input name="keyword" type="text" id="keyword"> (&quot;,&quot;逗号分开)</td> </tr> <tr> <td height="28" align="left">排列顺序: <select name="orderby" id="orderby" style="width:120"> <option value="sortrank">置顶权限值</option> <option value="pubdate" selected>发布时间</option> <option value="senddate">录入时间</option> <option value="click">点击量</option> <option value="id">文档ID</option> <option value="lastpost">最后评论时间</option> <option value="postnum">评论总数</option> </select>   <input name="order" type="radio" value="desc" checked> 由高到低 <input type="radio" name="order" value="asc"> 由低到高</td> </tr> <tr> <td height="28" align="left">循环内的单行记录样式(InnerText):[<a href='javascript:ShowHide("innervar");'><img src="img/help.gif" width="16" height="16" border="0">底层变量field参考</a>]</td> </tr> <tr> <td height="99" align="left"> <textarea name="innertext" cols="80" rows="6" id="myinnertext" style="width:80%;height:120px"></textarea> <script language="javascript">document.form1.innertext.value=document.getElementById("list4").innerHTML.toLowerCase();</script> </td> </tr> <tr> <td height="80" align="left" id='innervar' style="display:none"><font color="#CC6600"><img src="img/help.gif" width="16" height="16">支持字段(底层变量[field:varname/]):id,title,color,typeid,ismake,description,pubdate,senddate,arcrank,click,litpic,typedir,typename,arcurl,typeurl,<br> stime(pubdate 的&quot;0000-00-00&quot;格式),textlink,typelink,imglink,image 普通字段直接用[field:字段名/]表示。<br> ·Pubdate发布时间的调用参数 [field:pubdate function=strftime('%Y-%m-%d %H:%M:%S',@me)/]</font> </td> </tr> <tr> <td height="50" align="left"> &nbsp; <input name="Submit2" type="submit" id="Submit2" value="保存一个列表" class="inputbut"/> </td> </tr> </table></td> </tr> </form> <tr> <td valign="top" bgcolor="#EDF9D5">&nbsp;</td> </tr> </table> </center> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/freelist_add.htm
HTML
asf20
14,880
<!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/css" /> <script language='javascript'src='area.js'></script> <script> function checkSubmit() { if(document.form2.email.value=="") { document.form2.email.focus(); alert("Email不能为空!"); return false; } if(document.form2.uname.value=="") { document.form2.uname.focus(); alert("用户昵称不能为空!"); return false; } } function ShowObj(objname){ var obj = document.getElementById(objname); obj.style.display = "block"; } function HideObj(objname){ var obj = document.getElementById(objname); obj.style.display = "none"; } function ShowItem1(){ ShowObj('person'); HideObj('company'); } function ShowItem2(){ ShowObj('company'); HideObj('person'); } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">会员管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"><a href='<?php echo $ENV_GOBACK_URL?>'><b>会员管理</b></a>&gt;&gt;查看会员</td> </tr> <tr> <td bgcolor="#ffffff"><a title="点击修改会员资料" href='###' onClick="ShowItem1()">【会员资料】</a> - <a title="点击修改企业资料" href='###' onClick="ShowItem2()">【企业资料】</a></td> </tr> <form name="form2" action="company_do.php" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="edituser" /> <input type="hidden" name="ID" value="<?php echo $ID?>" /> <input type="hidden" name="oldemail" value="<?php echo $row['email']; ?>" /> <tbody id="person" style="display:none;"> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"><table width="98%" border="0" cellspacing="0" cellpadding="0" > <tr> <td colspan="2" height="10" ></td> </tr> <tr> <td width="17%" height="25" align="right" >用户名:</td> <td width="83%" height="25" > <?php echo $row['userid']?> </td> </tr> <tr> <td height="25" align="right" >密 码:</td> <td height="25" > <?php echo $row['pwd']?><br /> 新密码:<input name="newpwd" type="text" id="newpwd" value="" style="width:150px" /> </td> </tr> <tr> <td height="25" align="right" >会员等级:</td> <td height="25" > <?php $MemberTypes = ""; $dsql->SetQuery("Select rank,membername From #@__arcrank where rank>0"); $dsql->Execute(); $MemberTypes[0] = "未审核会员"; while($nrow = $dsql->GetObject()){ $MemberTypes[$nrow->rank] = $nrow->membername; } $options = "<select name='membertype' style='width:100px'>\r\n"; foreach($MemberTypes as $k=>$v) { if($k!=$row['membertype']) $options .= "<option value='$k'>$v</option>\r\n"; else $options .= "<option value='$k' selected>$v</option>\r\n"; } $options .= "</select>\r\n"; echo $options; ?> </td> </tr> <tr> <td height="25" align="right" >升级时间:</td> <td height="25"> <input name="uptime" type="text" id="uptime" value="<?php echo GetDateTimeMk($row['uptime'])?>" style="width:200px"> (如果你要升级会员,必须设置此时间为当前时间) </td> </tr> <tr> <td height="25" align="right" >会员天数:</td> <td height="25"> <input name="exptime" type="text" id="exptime" value="<?php echo $row['exptime']?>" style="width:100px"> (如果你要升级会员,会员天数必须大于0) </td> </tr> <tr> <td height="25" align="right" >会员金币:</td> <td height="25"> <input name="money" type="text" id="money" value="<?php echo $row['money']?>" style="width:100px"> </td> </tr> <tr bgcolor="#F9FDEA"> <td height="25" align="right" >空间信息:</td> <td height="25" > <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="22" style="border-bottom:1px solid #999999"> 文章: ( <?php echo $row['c1']?> ) 图集: ( <?php echo $row['c2']?> ) 其它: ( <?php echo $row['c3']?> ) </td> </tr> <tr> <td height="22" style="border-bottom:1px solid #999999"> 空间展示次数: ( <?php echo $row['spaceshow']?> ) 文档总点击: ( <?php echo $row['pageshow']?> ) </td> </tr> </table></td> </tr> <tr> <td height="25" align="right" >注册时间:</td> <td height="25" > <?php echo GetDateTimeMk($row['jointime'])?>  IP: <?php echo $row['joinip']?> </td> </tr> <tr> <td height="25" align="right" >最近登录时间:</td> <td height="25" > <?php echo GetDateTimeMk($row['logintime'])?>  IP: <?php echo $row['loginip']?> </td> </tr> <tr> <td height="25" align="right" >电子邮箱:</td> <td height="25" ><input name="email" type="text" id="email" value="<?php echo $row['email']?>" style="width:150;height:20" > </td> </tr> <tr> <td height="25" align="right" >昵 称:</td> <td height="25" ><input name="uname" type="text" value="<?php echo $row['uname']?>" id="uname" size="20" style="width:150;height:20" ></td> </tr> <tr> <td height="25" align="right" >性 别:</td> <td height="25" > <input type="radio" name="sex" value="男"<?php if($row['sex']=="男" ) echo" checked" ;?>> 男 &nbsp; <input type="radio" name="sex" value="女"<?php if($row['sex']=="女" ) echo" checked" ;?>> 女 </td> </tr> <tr> <td height="25" align="right" >推荐级别:</td> <td height="25" ><input name="matt" type="text" id="matt" value="<?php echo $row['matt']?>" size="10"></td> </tr> <tr align="center"> <td height="25" colspan="2" > <hr width="80%" size="1" noshade> </td> </tr> <tr> <td height="25" align="right" >空间名称: </td> <td height="25" ><input name="spacename" type="text" id="spacename" size="35" value="<?php echo $row['spacename']?>"></td> </tr> <tr> <td height="130" align="right" >空间公告:</td> <td height="130" ><textarea name="news" cols="50" rows="8" id="news" ><?php echo $row['news']?></textarea></td> </tr> <tr> <td height="71" align="right" >个人签名:</td> <td height="71" > <textarea name="mybb" cols="40" rows="3" id="mybb" ><?php echo $row['mybb']?></textarea></td> </tr> </table> </td> </tr> </tbody> <tbody id="company"> <tr><td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <tr> <td colspan="2"><strong>公司基本资料</strong></td> </tr> <tr> <td width="18%">公司名称:</td> <td width="82%"><input type="text" name="comname" value="<?php echo $row['comname']; ?>" /> *</td> </tr> <tr> <td>公司成立时间:</td> <td><input type="text" size=4 maxlength=4 name="regyear" value="<?php echo $row['regyear']; ?>" /> (年份,如:2007) *</td> </tr> <tr> <td>主要产品或服务:</td> <td><input type="text" name="service" value="<?php echo $row['service']; ?>" /> 多个产品或服务以“|”分割*</td> </tr> <tr> <td>主要经营行业:</td> <td><?php echo $typeid1name; ?> - <?php echo $typeid2name; ?> *</td> </tr> <tr> <td>公司简介:</td> <td><?php GetEditor("cominfo",$row['cominfo'],250,"MemberLit"); ?></td> </tr> <tr> <td colspan="2"><strong>联系方式</strong></td> </tr> <tr> <td>姓名:</td> <td><input maxlength="30" size=30 name="truename" value="<?php echo $row['truename']; ?>" /></td> </tr> <tr> <td>部门和职务:</td> <td><input maxlength="32" size=30 name="business" value="<?php echo $row['business']; ?>" /></td> </tr> <tr> <td>公司电话:</td> <td><input maxlength="32" size=30 name="phone" value="<?php echo $row['phone']; ?>" /></td> </tr> <tr> <td>传真: </td> <td><input maxlength="32" size=30 name="fax" value="<?php echo $row['fax']; ?>" /></td> </tr> <tr> <td>手机:</td> <td><input maxlength="32" size=30 name="mobi" value="<?php echo $row['mobi']; ?>" /></td> </tr> <tr> <td>公司地址:</td> <td><input maxlength="32" size=30 name="comaddr" value="<?php echo $row['comaddr']; ?>" /></td> </tr> <tr> <td>邮政编码:</td> <td><input maxlength="32" size=30 name="postid" value="<?php echo $row['postid']; ?>" /></td> </tr> <tr> <td>Email:</td> <td><input maxlength="32" size=30 name="email2" value="<?php echo $row['email']; ?>" /></td> </tr> <tr> <td>公司网址:</td> <td><input maxlength="32" size=30 name="website" value="<?php echo $row['website']; ?>" /></td> </tr> <tr> <td>企业文化修改:</td> <td><?php GetEditor("culture",$row['culture'],250,"MemberLit"); ?></td> </tr> </table> </td></tr> </tbody> <tr> <td height="67" bgcolor="#ffffff"> <input type="submit" name="Submit" value="确定修改" class="inputbut"> &nbsp;&nbsp; <input type="reset" name="Submit22" value="重置" class="inputbut"/></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/company_view.htm
HTML
asf20
10,648
{dede:page pagesize="20"/} <!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/css" /> <style type="text/css"> .rb{ border-right:1px solid #98CAEF } .tb{ border-top:1px solid #98CAEF } </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">会员管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30" align="center" bgcolor="#FAFCEF"> <form action="member_main.php" name="form1" method="get"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td>&nbsp;关键字:</td> <td width="110" align="center"> <input name="keyword" type="text" id="keyword" size="12" style="width:100" value="{dede:global name='keyword'/}"> </td> <td width="50">&nbsp;排序:</td> <td width="110"> <select name="sortkey" id="sortkey" style="width:100"> {dede:global name='sortform'/} <option value="ID">ID/注册时间</option> <option value="logintime">登录时间</option> <option value="spaceshow">空间访问量</option> <option value="pageshow">文档总点击量</option> </select></td> <td width="70"> <select name="sex" id="sex" style="width:60"> {dede:global name='sexform'/} <option value="男">男</option> <option value="女">女</option> <option value="0">不限</option> </select></td> <td width="100" align="center"> <input name="imageField" type="submit" class="inputbut" value="搜索"> </td> </tr> </table> </form> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="8" bgcolor="#EDF9D5"> <table width="99%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="29%"><strong>网站会员管理</strong></td> <td width="71%" align="right"> <a href="member_main.php">所有会员</a> | <a href="member_main.php?status=1">未审核会员</a> <a href="member_main.php?att=ad">被推荐会员</a> | <a href="member_operations.php">会员业务管理</a> | <a href="member_card.php">点卡管理</a></td> </tr> </table></td> </tr> <tr bgcolor="#FDFEE9" height="26"> <td width="14%" align="center">ID/登录时间</td> <td width="14%" align="center">附加信息</td> <td width="5%" align="center">性别</td> <td width="10%" align="center">主页/点击</td> <td width="13%" align="center">类型</td> <td width="9%" align="center">金币</td> <td width="8%" align="center">积分</td> <td align="center">操作</td> </tr> {dede:datalist} <tr height="26" align="center" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EDF7D0';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td> <a href="member_view.php?ID=[field:ID/]"><u>[field:userid/]</u></a> <br> [field:logintime function="GetDateMk('@me')"/] </td> <td> [field:email function='htmlspecialchars(@me)'/]<br> 昵称:[field:uname function='htmlspecialchars(@me)'/] [field:matt function='GetMAtt(@me)'/] </td> <td>[field:sex /]</td> <td> [field:spaceshow/]/ [field:pageshow/] </td> <td> [field:membertype function="GetMemberName('@me','ut')"/] </td> <td> [field:money /] </td> <td> [field:scores /] </td> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" height="25"> <a href="member_view.php?ID=[field:ID/]">资料</a> | <a href="member_do.php?ID=[field:ID/]&dopost=recommend&matt=[field:matt/]">推荐</a><a href="content_list.php?memberid=[field:ID/]" target="_blank"> </a> | <a href="member_do.php?ID=[field:ID/]&dopost=delmember">删除</a></td> </tr> <tr> <td align="center" height="25" style="border-top:1px solid #cccccc"> <a href="../include/jump.php?gurl=[field:global name='cfg_memberurl'/]/index.php?uid=[field:userid/]" target="_blank">空间</a> | <a href="content_list.php?memberid=[field:ID/]" target="_blank">文档</a> | <a href="media_main.php?memberid=[field:ID/]" target="_blank">附件</a> </td> </tr> </table></td> </tr> {/dede:datalist} <tr bgcolor="#F8FBFB"> <td height="26" colspan="9" align="center"> {dede:pagelist listsize=6/} </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_main.htm
HTML
asf20
5,101
1227667339
zyyhong
trunk/jiaju001/news/lic/templets/sys_admin_user.htm.cache.t
Perl
asf20
11
<!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/css" /> <script src="menu.js" language="JavaScript"></script> </head> <body> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="425" align="center" valign="top"> <script language="javascript"> var i=1; function make_upload() { i++; myob = document.getElementById("upfield"); myob.innerHTML+="<br>文件"+i+":<input type='file' name='upfile"+i+"' size='30'>"; } function reset_upload() { myob = document.getElementById("upfield"); myob.innerHTML="文件1:<input type='file' name='upfile1' size='30'>"; } </script> <form method="POST" enctype="multipart/form-data" action="file_manage_control.php" name="form1"> <input type='hidden' name='activepath' value="{dede:global name='activepath'/}"> <input type='hidden' name='fmdo' value="upload"> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="600"> <tr> <td width="100%" height="10" colspan="2" align="center"></td> </tr> <tr> <td width="10%" height="40" valign="top"></td> <td width="90%"> <input type="button" value="增加上传框" name="bbb" onClick="make_upload();" class="inputbut"> <a href="file_manage_main.php?activepath={dede:global name='activepath'/}">[<u>返回目录{dede:global name='activepath'/}</u>]</a> </td> </tr> <tr> <td width="10%"> </td> <td width="90%"> <div id="upfield">文件1:<input type='file' name='upfile1' size='30' /></div> </td> </tr> <tr> <td width="100%" height="40" colspan="2"> &nbsp;&nbsp;&nbsp;&nbsp; <input type="submit" value=" 上传文件 " name="B1" class="inputbut"> &nbsp; <input type="button" value=" 重设表单 " name="B12" onClick="reset_upload();" class="inputbut"> </td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/file_upload.htm
HTML
asf20
2,138
<!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/css" /> <script language="javascript" src="../include/dedeajax2.js"></script> <script language='javascript' src='main.js'></script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/archives_edit_action.php" enctype="multipart/form-data" method="post" onSubmit="return CS_ArchivesEdit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="ID" value="<?php echo $aid?>"> <input type="hidden" name="edadminid" value="<?php echo $arcRow['adminID']; ?>"> <input type="hidden" name="memberid" value="<?php echo $arcRow['memberID']; ?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30">&nbsp;&nbsp;<a href="catalog_do.php?cid=<?php echo $arcRow['typeid']?>&dopost=listArchives"><u>文档列表</u></a><a href="catalog_do.php?cid=<?php echo $arcRow["typeid"]?>&dopost=listArchives"></a>&gt;&gt;更改文档</td> <td width="10%">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> <td width="1%">&nbsp;</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1" class="htable"> <tr> <td colspan="2" bgcolor="#E2F5BC"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">常规内容</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem2()"><u>附加参数</u></a></td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="border-bottom:1px solid #CCCCCC;display:none"> <tr> <td colspan="2" bgcolor="#E2F5BC"> <table height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem1()"><u>常规内容</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">附加参数&nbsp;</td> </tr> </table> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"> <tr> <td width="400%" height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;文档标题:</td> <td width="240"><input name="title" type="text" id="title" style="width:200px" value="<?php echo $arcRow["title"]?>" /> </td> <td width="90">附加参数:</td> <td><input name="iscommend" type="checkbox" id="iscommend" value="11" <?php if($arcRow["iscommend"]>10) echo " checked";?> /> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5" <?php if($arcRow["iscommend"]==5||$arcRow["iscommend"]==16) echo " checked";?> /> 加粗 <input name="isjump" type="checkbox" onclick="ShowUrlTrEdit()" id="isjump" value="1" <?php echo $arcRow["redirecturl"]=="" ? "" : " checked";?> /> 跳转网址 <input name="ispic" type="checkbox" id="ispic" value="1" onclick="ShowPicTr()" <?php echo $arcRow["litpic"]=="" ? "" : " checked";?> /> 图 </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline" id="redirecturltr" style="display:<?php echo $arcRow["redirecturl"]=="" ? "none" : "block";?>"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;跳转网址:</td> <td><input name="redirecturl" type="text" id="redirecturl" style="width:300px" value="<?php echo $arcRow["redirecturl"]?>" /> (外部网址需加 &quot;http://&quot; ,本站的用 &quot;/&quot; 表示根网址) </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;Tag标签:</td> <td> <input name="oldtag" type="hidden" id="oldtag" value="<?php echo $tags; ?>" /> <input name="tag" type="text" id="tag" style="width:300px" value="<?php echo $tags; ?>" /> (用空格或','分开) </td> </tr> </table> </td> </tr> <tr id="pictable" style="display:block"> <td height="24" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="135" height="81">&nbsp;缩 略 图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' id='ddisremote' onclick="CkRemote('ddisremote','litpic')" /> 远程图片 <br /> </td> <td width="464"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="30"><input name="picname" type="text" id="picname" style="width:250px" value="<?php echo $arcRow["litpic"]; ?>" /> <input type="button" name="Submit2" value="在网站内选择" style="width:120px" onclick="SelectImage('form1.picname','small');" class="inputbut" /> </td> </tr> </table></td> <td width="201" align="center"><img src="<?php echo ($arcRow["litpic"]=="" ? "img/pview.gif" : $arcRow["litpic"]);?>" width='150' height='100' id="picview" name="picview" /></td> </tr> </table> </td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;主栏目:</td> <td width="400"><?php $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='".$arcRow["typeid"]."' "); if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid','selbt1',$arcRow["channel"],$seltypeids['ID'],$seltypeids['typename']); } ?> </td> <td>(只允许在白色选项的栏目中发布当前类型内容)</td> </tr> </table></td> </tr> <tr> <td style="padding:0px"> <?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'all'); ?> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none"> <tr> <td height="24" colspan="4" bgcolor="#FFFFFF" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;副栏目:</td> <td> <?php $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='".$arcRow["typeid2"]."' "); if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid2','selbt2',$arcRow["channel"],$seltypeids['ID'],$seltypeids['typename']); }else{ echo GetTypeidSel('form1','typeid2','selbt2',$arcRow["channel"],0,'请选择...'); } ?> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;简略标题:</td> <td width="250"><input name="shorttitle" type="text" value="<?php echo $arcRow["shorttitle"]?>" id="shorttitle" style="width:200px" /> </td> <td width="90">自定义属性:</td> <td><select name='arcatt' style='width:150px'> <option value='0'>普通文档</option> <?php $dsql->SetQuery("Select * From #@__arcatt order by att asc"); $dsql->Execute(); while($trow = $dsql->GetObject()) { if($arcRow["arcatt"]==$trow->att) echo "<option value='{$trow->att}' selected>{$trow->attname}</option>"; else echo "<option value='{$trow->att}'>{$trow->attname}</option>"; } ?> </select> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;录入时间:</td> <td width="241"><?php $nowtime = GetDateTimeMk($arcRow['senddate']); echo $nowtime; echo "<input name=\"senddate\" value=\"{$arcRow['senddate']}\" type=\"hidden\" id=\"senddate\" />"; ?> </td> <td width="88">消费点数:</td> <td width="381"><input name="money" type="text" id="money" value="<?php echo $arcRow["money"]?>" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;发布时间:</td> <td width="241"><?php $nowtime = GetDateTimeMk($arcRow["pubdate"]); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="88">&nbsp;</td> <td width="381">&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">文档来源:</td> <td width="240"><input name="source" type="text" id="source" style="width:160px" value="<?php echo $arcRow["source"]?>" size="16" /> <input name="selsource" type="button" id="selsource" value="选择" class="inputbut" /></td> <td width="90">作 者:</td> <td><input name="writer" type="text" id="writer" style="width:120px" value="<?php echo $arcRow["writer"]?>" /> <input name="selwriter" type="button" id="selwriter" value="选择" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">文档排序:</td> <td width="240"><select name="sortup" id="sortup" style="width:150px"> <?php $subday = SubDay($arcRow["sortrank"],$arcRow["senddate"]); echo "<option value='0'>正常排序</option>\r\n"; if($subday>0) echo "<option value='$subday' selected>置顶 $subday 天</option>\r\n"; ?> <option value="7">置顶一周</option> <option value="30">置顶一个月</option> <option value="90">置顶三个月</option> <option value="180">置顶半年</option> <option value="360">置顶一年</option> </select> </td> <td width="90">标题颜色:</td> <td><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow["color"]?>" /> <input name="modcolor" type="button" id="modcolor" value="选取" onclick="ShowColor()" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">阅读权限:</td> <td width="240"><select name="arcrank" id="arcrank" style="width:150px"> <option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> <?php $dsql->SetQuery("Select * from #@__arcrank "); $dsql->Execute(); while($row = $dsql->GetObject()) { echo " <option value='".$row->rank."'>".$row->membername."</option>\r\n"; } ?> </select> </td> <td width="90">发布选项:</td> <td><input name="ishtml" type="radio" value="1"<?php if($arcRow["ismake"]!=-1) echo " checked";?> /> 生成HTML <input type="radio" name="ishtml" class="inputbut" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?> /> 仅动态浏览 </td> </tr> </table></td> </tr> <tr> <td height="76" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">文档摘要:</td> <td width="446"><textarea name="description" rows="3" id="description" style="width:80%"><?php echo $arcRow["description"]; ?></textarea></td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="76" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;关键字:</td> <td width="446"><textarea name="keywords" rows="3" id="keywords" style="width:80%"><?php echo $arcRow["keywords"]; ?></textarea></td> <td>用空格分开<br/> <input type="button" name="Submit" value="浏览..." style="width:56px;height:20" onclick="SelectKeywords('form1.keywords');" class="inputbut" /></td> </tr> </table></td> </tr> <tr> <td height="76" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="446"> <textarea name="likeid" rows="3" id="likeid" style="width:80%;"><?php echo $arcRow["likeid"]; ?></textarea> </td> <td>把文档ID,用逗号“,”分开<br/> <input name="lsel" type="button" id="lsel" class="nbt" style="width:150px" onChange="" value="从已发布文档中选取..." onClick="SelectArcListA('form1.likeid');"> </td> </tr> </table> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="56" valign="top"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="17%">&nbsp;</td> <td width="83%"><table width="214" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="115" height="36"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> <td width="99"><a href="catalog_main.php"> <input name="button" type="reset" class="inputbut" id="button" value="重置"/> </a></td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </form> <script language='javascript'>if($Nav()!="IE") ShowObj('adset');</script> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/archives_edit.htm
HTML
asf20
16,188
<!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/css" /> <script language="javascript" src="js/context_menu.js"></script> <script language="javascript" src="js/ieemu.js"></script> <script type="text/javascript" src="main.js"></script> <script language="javascript" src='arclist.js'></script> </head> <body onLoad="ContextMenu.intializeContextMenu()"> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">文档维护</div> <div style='float:right;padding-top:8px;padding-right:16px;'> <select name='channelid' style='width:110px' onchange="location=this.value;"> <?php echo GetChannelOptopns($dsql,$channelid); ?> </select> </div> </div> <table width='96%' border='0' cellpadding='0' cellspacing='0' align="center" class="tbtitle"> <tr> <td align='center' valign='top'> <table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" style=" background:#E2F5BC;"> <tr> <td height="26"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center" style="padding-top:6px"> <input type='button' onClick="location='catalog_do.php?channelid=<?php echo $channelid?>&cid=<?php echo $cid?>&dopost=addArchives';" value='添加文档' class='inputbut'> <?php if($adminid>0){ ?> <input type='button' onClick="location='content_list.php?channelid=<?php echo $channelid?>&cid=<?php echo $cid?>&adminid=0';" value='全部文档' class='inputbut'> <?php }else{ ?> <input type='button' onClick="location='content_list.php?channelid=<?php echo $channelid?>&cid=<?php echo $cid?>&adminid=<?php echo $cuserLogin->getUserID()?>';" value='我的文档' class='inputbut'> <?php } echo $CheckUserSend ?> <input type='button' onClick="location='catalog_main.php';" value='栏目管理' class='inputbut'> <input type='button' name='bb1' onClick="location='makehtml_list.php?cid=<?php echo $cid?>';" value='更新列表' class='inputbut'> <input type='button' name='bb2' onClick="location='makehtml_archives.php?cid=<?php echo $cid?>';" value='更新文档' class='inputbut'> </td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr bgcolor="#FFFFFF"><td height="4"></td></tr> </table> <table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="10" align="left"> §<?php echo $positionname?>文档列表 &nbsp;(使用鼠标右键进行常用操作)</td> </tr> <form name="form2"> <tr align="center" bgcolor="#F8FBFB" height="22"> <td width="6%">ID</td> <td width="4%">选择</td> <td width="28%">文章标题</td> <td width="10%">录入时间</td> <td width="10%">类目</td> <td width="8%">点击</td> <td width="6%">HTML</td> <td width="8%">权限</td> <td width="8%">管理员</td> <td width="10%">操作</td> </tr> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" oncontextmenu="ShowMenu(this,<?php echo $row['ID']?>,'<?php echo urlencode($row['title'])?>')"> <td><?php echo $row['ID']?></td> <td><input name="arcID" type="checkbox" id="arcID" value="<?php echo $row['ID']?>" ></td> <td align='left'> <a href='archives_do.php?aid=<?php echo $row['ID']?>&dopost=editArchives' oncontextmenu="ShowMenu(this,<?php echo $row['ID']?>,'<?php echo urlencode($row['title'])?>')"> <u><?php echo $row['title']?><?php echo IsPicArchives($row['litpic'])?><?php echo IsCommendArchives($row['iscommend'])?></u> </a> </td> <td><?php echo GetDateMk($row['senddate'])?></td> <td><?php echo $row['typename']?></td> <td><?php echo $row['click']?></td> <td><?php echo IsHtmlArchives($row['ismake'])?></td> <td><?php echo GetRankName($row['arcrank'])?></td> <td><?php echo $row['adminname']?></td> <td> <a href="javascript:editArc(<?php echo $row['ID']?>)">编辑</a> | <a href="javascript:viewArc(<?php echo $row['ID']?>)">预览</a> </td> </tr> <?php } ?> <tr bgcolor="#F8FBFB"> <td height="28" colspan="10" align="left" style="padding-left:6px;padding-top:8px"> <a href="javascript:selAll()" class="inputbutx">全选</a> <a href="javascript:noSelAll()" class="inputbutx">取消</a> <a href="javascript:updateArc(0)" class="inputbutx">更新</a> <a href="javascript:checkArc(0)" class="inputbutx">审核</a> <a href="javascript:editArc(0)" class="inputbutx">编辑</a> <a href="javascript:adArc(0)" class="inputbutx">推荐</a> <a href="javascript:moveArc(0)" class="inputbutx">移动</a> <a href="javascript:delArc(0)" class="inputbutx">删除</a> </td> </tr> </form> <tr align="right" bgcolor="#eaf8ce"> <td height="20" colspan="10" align="center"> <?php echo $dlist->GetPageList(7);?> </td> </tr> </table> <table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="4"></td> </tr> <tr> <td style="border: 1px solid #525252;" height="26"> <table width='100%' border='0' cellpadding='0' cellspacing='1'> <tr> <form name='form3' action='content_list.php' method='get'> <input type='hidden' name='dopost' value='listArchives'> <input type='hidden' name='nowpage' value='<?php echo $nowpage?>'> <input type='hidden' name='totalresult' value='<?php echo $totalresult?>'> <input type='hidden' name='arcrank' value='<?php echo $arcrank?>'> <td> <table border='0' cellpadding='0' cellspacing='0'> <tr> <td width='80' align='center'> 搜索: </td> <td width='160'> <?php echo $optionarr?> </td> <td width='70'> 关键字: </td> <td width='160'> <input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> </td> <td width='110'> <select name='orderby' style='width:80'> <option value='ID'>排序...</option> <option value='senddate'>录入时间</option> <option value='pubdate'>发布时间</option> <option value='sortrank'>置顶权值</option> <option value='click'>点击量</option> <option value='postnum'>评论次数</option> <option value='lastpost'>最后评论</option> </select> </td> <td style='padding-top:5px;'> <input name="imageField" type="submit" class="inputbut" value="搜索"> </td> </tr> </table> </td> </form> </tr> </table> </td> </tr> <tr> <td colspan="2" height="4"></td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_list.htm
HTML
asf20
7,043
<!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/css" /> <script language="javascript" src="js/context_menu.js"></script> <script language="javascript" src="js/ieemu.js"></script> <script type="text/javascript" src="main.js"></script> <script language="javascript"> if(moz) { extendEventObject(); extendElementModel(); emulateAttachEvent(); } function viewArc(aid){ if(aid==0) aid = getOneItem(); window.open("archives_do.php?aid="+aid+"&dopost=viewArchives"); } function editArc(aid){ if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=editArchives"; } function updateArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=makeArchives&qstr="+qstr; } function checkArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=checkArchives&qstr="+qstr; } function adArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?aid="+aid+"&dopost=commendArchives&qstr="+qstr; } function delArc(aid){ var qstr=getCheckboxItem(); if(aid==0) aid = getOneItem(); location="archives_do.php?qstr="+qstr+"&aid="+aid+"&dopost=delArchives"; } //上下文菜单 function ShowMenu(obj,aid,atitle) { var eobj,popupoptions popupoptions = [ new ContextItem("浏览文档",function(){ viewArc(aid); }), new ContextItem("编辑文档",function(){ editArc(aid); }), new ContextSeperator(), new ContextItem("更新HTML",function(){ updateArc(aid); }), new ContextItem("审核文档",function(){ checkArc(aid); }), new ContextItem("推荐文档",function(){ adArc(aid); }), new ContextSeperator(), new ContextItem("删除文档",function(){ delArc(aid); }), new ContextSeperator(), new ContextItem("全部选择",function(){ selAll(); }), new ContextItem("取消选择",function(){ noSelAll(); }), new ContextSeperator(), new ContextItem("频道管理",function(){ location="catalog_main.php"; }) ] ContextMenu.display(popupoptions) } //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.form2.arcID.value) return document.form2.arcID.value; for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { if(allSel=="") allSel=document.form2.arcID[i].value; else allSel=allSel+"`"+document.form2.arcID[i].value; } } return allSel; } //获得选中其中一个的id function getOneItem() { var allSel=""; if(document.form2.arcID.value) return document.form2.arcID.value; for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { allSel = document.form2.arcID[i].value; break; } } return allSel; } function selAll() { for(i=0;i<document.form2.arcID.length;i++) { if(!document.form2.arcID[i].checked) { document.form2.arcID[i].checked=true; } } } function noSelAll() { for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { document.form2.arcID[i].checked=false; } } } </script> </head> <body onLoad="ContextMenu.intializeContextMenu()"> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">专题管理</div> </div> <table width="96%" border="0" cellpadding="0" cellspacing="0" align="center" class="tbtitle" style="background:#F0F0F0; border:1px solid #DDD;line-height:31px;height:31px;"> <tr> <td height="33" align="center" style="padding-top:6px"> <input type='button' onclick="location='makehtml_spec.php';" value='更新专题HTML' class="inputbut" /> <input type='button' onclick="location='spec_add.php';" value='添加专题' class="inputbut" /> <?php echo $CheckUserSend?> <input type='button' onclick="location='catalog_main.php';" value='频道管理' class="inputbut" /> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <td align='center' valign='top'><table width="100%" border="0" cellpadding="2" cellspacing="1"> <tr> <td height="24" colspan="10" align="left" bgcolor="#EDF9D5"> <strong> §文章列表</strong> (在文章标题处使用鼠标右键进行常用操作) </td> </tr> <form name="form2"> <tr align="center" bgcolor="#F8FBFB" height="22"> <td width="6%">ID</td> <td width="7%">选择</td> <td width="28%">文章标题</td> <td width="10%">录入时间</td> <td width="11%">类目</td> <td width="6%">点击</td> <td width="7%">图片</td> <td width="7%">HTML</td> <td width="10%">权限</td> <td width="8%">推荐</td> </tr> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" oncontextmenu="ShowMenu(this,<?php echo $row['ID']?>,'<?php echo urlencode($row['title'])?>')"> <td><?php echo $row['ID']?></td> <td><input name="arcID" type="checkbox" id="arcID" value="<?php echo $row['ID']?>" ></td> <td align='left'> <a href='archives_do.php?aid=<?php echo $row['ID']?>&dopost=editArchives' oncontextmenu="ShowMenu(this,<?php echo $row['ID']?>,'<?php echo urlencode($row['title'])?>')"> <u><?php echo $row['title']?></u> </a> </td> <td><?php echo GetDateMk($row['senddate'])?></td> <td><?php echo $row['typename']?></td> <td><?php echo $row['click']?></td> <td><?php echo IsPicArchives($row['litpic'])?></td> <td><?php echo IsHtmlArchives($row['ismake'])?></td> <td><?php echo GetRankName($row['arcrank'])?></td> <td><?php echo IsCommendArchives($row['iscommend'])?></td> </tr> <?php } ?> <tr bgcolor="#F8FBFB"> <td height="28" colspan="10" align="left" style="padding-left:6px;padding-top:8px"> <a href="javascript:selAll()" class="inputbutx">全选</a> <a href="javascript:noSelAll()" class="inputbutx">取消</a> <a href="javascript:viewArc(0)" class="inputbutx">查看</a> <a href="javascript:editArc(0)" class="inputbutx">更改</a> <a href="javascript:updateArc(0)" class="inputbutx">更新</a> <a href="javascript:checkArc(0)" class="inputbutx">审核</a> <a href="javascript:adArc(0)" class="inputbutx">推荐</a> <a href="javascript:delArc(0)" class="inputbutx">删除</a></td> </tr> </form> <tr align="right"> <td height="20" colspan="10" align="center" bgcolor="#EDF9D5"> <?php echo $dlist->GetPageList(7);?></td> </tr> </table> </td> </tr> </table> <table width="96%" border="0" cellspacing="0" cellpadding="0" bgcolor="#ffffff" align="center"> <tr> <td height="4"></td> </tr> <tr bgcolor="#FFFFFF"> <td style="border: 1px solid #525252;" height="26"> <table width='100%' border='0' cellpadding='0' cellspacing='1' bgcolor='#ffffff'> <tr> <form name='form3' action='content_s_list.php' method='get'> <input type='hidden' name='dopost' value='listArchives'> <td> <table width='600' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='90' align='center'>请选择类目:</td> <td width='160'> <?php echo $optionarr?> </td> <td width='70'> 关键字: </td> <td width='160'> <input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150'> </td> <td> <input name="imageField" type="submit" class="inputbut" value="提交" /> </td> </tr> </table> </td> </form> </tr> </table> </td> </tr> <tr> <td colspan="2" height="4"></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_s_list.htm
HTML
asf20
8,150
<!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/css" /> <script language="javascript"> function CheckRp(){ var dp1 = document.getElementById("dp1"); var dp2 = document.getElementById("dp2"); var rpct = document.getElementById("rpct"); if(dp1.checked){ document.form1.shortname.value = "php|asp|aspx"; rpct.style.display = "none"; }else{ document.form1.shortname.value = "php|asp|aspx|htm|html|shtml"; rpct.style.display = "block"; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form action="virus_search.php" name="form1" target="stafrm" method="post"> <tr> <td height="20" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;木马扫描检测插件:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="33" bgcolor="#FFFFFF">  本文件的原理是扫描有可疑操作的PHP文件,或特定规则的文件,对于已经感染病毒的文件,请指定替换内容规则,替换被感染的文件内容,在文件数量非常多的情况下,本操作比较占用服务器资源,请确脚本超时限制时间允许更改,否则可能无法完成操作。</td> </tr> <tr> <td height="48" bgcolor="#FFFFFF"><table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#EBFBE6"> <td><strong>&nbsp;操作类型:</strong></td> <td> <input name="dopost" type="radio" id="dp1" onClick="CheckRp()" value="search" checked> 扫描文件 <input name="dopost" type="radio" id="dp2" value="replace" onClick="CheckRp()" > 替换内容 </td> </tr> <tr> <td width="14%"><strong>&nbsp;起始根路径:</strong></td> <td width="86%"> <input name="searchpath" type="text" id="searchpath" style="width:60%" value="<?php echo $cfg_basedir;?>"> </td> </tr> <tr> <td bgcolor="#EBFBE6"><strong>&nbsp;文件规则定义:</strong></td> <td bgcolor="#EBFBE6">&nbsp;</td> </tr> <tr> <td colspan="2"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="30">&nbsp;扩 展 名: <input name="shortname" type="text" id="shortname" size="20" style="width:200px" value="php|asp|aspx"> 文件大小:(小于: <input name="minsize" type="text" id="minsize" value="1" size="2"> K 或 大于: <input name="maxsize" type="text" id="maxsize" value="20" size="2"> K) 文件创建日期: <input name="crday" type="text" id="crday" value="7" size="2"> 天以内。 <hr size="1"> (说明:通常情况下PHP木马可能只是几十个字节,要么是20K以上,程序会自动忽略织梦系统大于20K的文件) </td> </tr> </table></td> </tr> <tr id="rpct" style="display:none"> <td height="64" colspan="2"> <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr bgcolor="#EDFCE2"> <td colspan="4"><strong>内容替换选项:</strong>(替换内容请使用正则表达式,替换内容时仅判断扩展名,文件大小、文件创建日期选项会忽略)</td> </tr> <tr> <td width="15%">&nbsp;替换内容:</td> <td width="35%"><textarea name="sstr" id="sstr" style="width:90%;height:45px"></textarea></td> <td width="15%">替 换 为:</td> <td><textarea name="rpstr" id="rpstr" style="width:90%;height:45px"></textarea></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td height="31" bgcolor="#F8FBFB" align="center"> <input type="submit" name="Submit" value="开始执行操作" class="inputbut"> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" bgcolor="#EDF9D5"> <table width="100%"> <tr> <td width="74%"><strong>检测结果:</strong></td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 420; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/virus_search.htm
HTML
asf20
5,973
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="plus_add.php" method="post"> <input type='hidden' name='dopost' value='save'> <tr> <td height="20" colspan="2"> <b>&nbsp;<a href="plus_main.php"><u>插件管理</u></a> &gt; 安装新插件:</b> </td> </tr> <tr> <td width="19%" align="center" bgcolor="#FFFFFF">插件名称</td> <td width="81%" bgcolor="#FFFFFF"><input name="plusname" type="text" id="plusname"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">作者</td> <td bgcolor="#FFFFFF"> <input name="writer" type="text" id="writer"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">主程序文件</td> <td bgcolor="#FFFFFF"><input name="link" type="text" id="link" size="30"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">目标框架</td> <td bgcolor="#FFFFFF"><input name="target" type="text" id="target" value="main"></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">文件列表</td> <td bgcolor="#FFFFFF">文件用&quot;,&quot;分开,路径相对于管理目录(当前目录)<br> <textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea></td> </tr> <tr bgcolor="#F9FDF0"> <td height="28" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%">&nbsp;</td> <td width="15%"><input name="imageField" type="submit" class="inputbut" value="提交" /></td> <td width="59%"><input type="button" name="button" id="button" value="返回" onClick="location='plus_main.php';" class="inputbut" /></td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/plus_add.htm
HTML
asf20
2,403
<!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/css" /> <link rel="stylesheet" type="text/css" media="all" href="../include/calendar/calendar-win2k-1.css" title="win2k-1" /> <script type="text/javascript" src="../include/calendar/calendar.js"></script> <script type="text/javascript" src="../include/calendar/calendar-cn.js"></script> <script language="javascript"> function SelectTemplets(fname) { var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("../include/dialog/select_templets.php?f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">HTML更新</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="makehtml_homepage_action.php" target="stafrm" method="post"> <input type="hidden" name="dopost" value="make"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;&nbsp;主页更新向导:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table> </td> </tr> <tr> <td width="10%" height="30" valign="middle" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>选择主页模板:</td> <td valign="top" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="templet" type="text" id="templet" style="width:300px" value="<?php echo $row['templet']?>"> <input type="button" name="set4" value="浏览..." onClick="SelectTemplets('form1.templet');" class="inputbut"/> </td> </tr> <tr> <td height="20" colspan="2" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>默认的情况下,生成的主页文件放在CMS的安装目录,如果你的CMS不是安装在网站根目录的,又想把主页创建到网站根目录,那么请用相对路径来表示“主页位置”。例:你的CMS安装在 http://www.abc.com/dedecms/ 目录,你想生成的主页为 http://www.abc.com/index.html,那么主页位置就应该用: “../index.html”。</td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>主页位置:</td> <td height="20" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong> <input name="position" type="text" id="position" value="<?php echo $row['position']?>" size="30"> </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>相关选项:</td> <td height="20" valign="top" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="saveset" type="radio" value="0" > 不保存当前选项 <input name="saveset" type="radio" value="1" checked> 保存当前选项 </td> </tr> <tr> <td height="31" colspan="2" bgcolor="#F8FBFB" align="center"> <input name="view" type="button" id="view" value="预览主页" onClick="window.open('makehtml_homepage_action.php?dopost=view&templet='+form1.templet.value);" class="inputbut"/>   <input type="submit" name="Submit" value="更新主页HTML" class="inputbut"/> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2" bgcolor="#EDF9D5"><table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:250px;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100px"> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </iframe> </div> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_homepage.htm
HTML
asf20
4,990
<!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> <script language='javascript'> function CheckSubmit() { if(document.form1.url.value=="http://"||document.form1.url.value=="") { document.form1.url.focus(); alert("网址不能为空!"); return false; } if(document.form1.webname.value=="") { document.form1.webname.focus(); alert("网站名称不能为空!"); return false; } return true; } </script> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"><b><a href="friendlink_main.php"><u>友情链接管理</u></a></b>&gt;&gt;增加链接</td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <form action="friendlink_add.php" method="post" enctype="multipart/form-data" name="form1" onSubmit="return CheckSubmit();";> <input type="hidden" name="dopost" value="add"> <table width="100%" border="0" cellpadding="3" cellspacing="1" class="tblist"> <tr> <td width="19%" height="25">网址:</td> <td width="81%"><input name="url" type="text" id="url" value="http://" size="30"></td> </tr> <tr> <td height="25">网站名称:</td> <td><input name="webname" type="text" id="webname" size="30"></td> </tr> <tr> <td width="19%" height="25">排列位置:</td> <td width="81%"> <input name="sortrank" type="text" id="sortrank" value="1" size="10"> (由小到大排列) </td> </tr> <tr> <td height="25">网站Logo:</td> <td><input name="logo" type="text" id="logo" size="30"> (88*31 gif或jpg)</td> </tr> <tr> <td height="25">上传Logo:</td> <td><input name="logoimg" type="file" id="logoimg" size="30" /></td> </tr> <tr> <td height="25">网站简况:</td> <td><textarea name="msg" cols="50" rows="4" id="msg"></textarea></td> </tr> <tr> <td height="25">站长Email:</td> <td><input name="email" type="text" id="email" size="30"></td> </tr> <tr> <td height="25">网站类型:</td> <td> <select name="typeid" id="typeid"> <?php $dsql->SetQuery("select * from #@__flinktype"); $dsql->Execute(); while($row=$dsql->GetObject()) { echo " <option value='".$row->ID."'>".$row->typename."</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="25">链接位置:</td> <td> <select name="ischeck"> <option value="1">内页</option> <option value="2">首页</option> </select> </td> </tr> <tr> <td height="51">&nbsp;</td> <td><input type="submit" name="Submit" value=" 提 交 " class="inputbut">    <input type="reset" name="Submit" value=" 重 置 " class="inputbut"></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/friendlink_add.htm
HTML
asf20
3,589
<!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/css" /> <link rel="stylesheet" type="text/css" href="base.css"> <script language="javascript"> function checkSubmit() { if(document.form1.title.value=="") { alert("页面名称不能为空!"); document.form1.title.focus(); return false; } if(document.form1.nfilename.value=="") { alert("文件名不能为空!"); document.form1.nfilename.focus(); return false; } } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5"> <b><a href="templets_one.php"><u>单独页面管理</u></a></b>&gt;&gt;增加新页面 </td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <form action="templets_one_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> <input type='hidden' name='dopost' value='save'> <tr> <td width="15%" height="24" align="center">页面名称:</td> <td> <input name="title" type="text" id="title" size="30"></td> </tr> <tr> <td height="24" align="center" bgcolor="#F3FBEC">生成文件名:</td> <td bgcolor="#F3FBEC"><input name="nfilename" type="text" id="nfilename" value="newfile.html" size="30"> (相对于CMS安装目录)</td> </tr> <tr> <td height="24" align="center">是否编译:</td> <td><input name="ismake" type="radio" value="1" checked> 含模板标记,要编译 <input type="radio" name="ismake" value="0"> 不含模板标记,不需要编译</td> </tr> <tr> <td height="24" colspan="2" bgcolor="#F3FBEC">文件内容:</td> </tr> <tr> <td colspan="2" align="center" valign="top"> <textarea name='body' rows="20" style='width:100%;height:400xp'></textarea></td> </tr> <tr> <td height="53" colspan="2" align="center"><input type="submit" name="button" id="button" value="确定" class="inputbut"/> <input name="按钮" type="button" class="inputbut" id="button2" onclick="location='templets_one.php';" value="返回"/></td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/templets_one_add.htm
HTML
asf20
2,985
<!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/css" /> <script language="javascript"> //获得选中文件的文件名 function getCheckboxItem(){ var allSel=""; if(document.form1.logs.value) return document.form1.logs.value; for(i=0;i<document.form1.logs.length;i++) { if(document.form1.logs[i].checked){ if(allSel=="") allSel=document.form1.logs[i].value; else allSel=allSel+"`"+document.form1.logs[i].value; } } return allSel; } function ReSel(){ for(i=0;i<document.form1.logs.length;i++){ if(document.form1.logs[i].checked) document.form1.logs[i].checked = false; else document.form1.logs[i].checked = true; } } function DelSel(){ var nid = getCheckboxItem(); if(nid==""){ alert("请选择项目!\r\n"); return ; } location.href = "log_edit.php?dopost=del&ids="+nid; } function ClearLog(){ location.href = "log_edit.php?dopost=clear"; } </script> </head> <body > <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">系统设置</div> </div> <table width="96%" border="0" cellpadding="0" cellspacing="0" class="tbtitle" style="background:#F0F0F0; border:1px solid #DDD;line-height:31px;height:31px;"> <tr> <td width="20%" height="18"><strong>管理系统日志:</strong></td> <td width="80%" align="right">&nbsp;</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr align="center"> <td colspan="7" bgcolor="#EDF9D5"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <form name='formsearch'> <tr> <td height="35" align="left"> 管理员: <select name="adminid" id="adminid" style="width:80"> <option value="0" selected>--全部--</option> <?php echo $adminlist?> </select> IP地址: <input name="cip" type="text" id="cip" size="15" style="width:100"> 时间: <select name="dtime" id="dtime"> <option value="0" selected>--全部--</option> <option value="7">一周内</option> <option value="15">15天内</option> <option value="30">30天以内</option> <option value="60">60天以内</option> </select> &nbsp; <input type="submit" name="Submit" value="搜索" class="inputbut" /></td> </tr> </form> </table></td> </tr> <tr align="center" bgcolor="#FCFDF7"> <td width="8%">选择</td> <td width="11%">管理员</td> <td width="15%">访问文件</td> <td width="8%">方式</td> <td width="14%">访问IP</td> <td width="16%">时间</td> <td width="28%">Query参数</td> </tr> <form name="form1"> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align="center" bgcolor="#FFFFFF"> <td><input name='logs' type='checkbox' class='np' id="logs" value='<?php echo $row['lid']?>'></td> <td> <?php echo $row['userid']?> </td> <td><input type="text" value="<?php echo $row['filename']?>" name="t0" style="width:100"></td> <td> <?php echo $row['method']?> </td> <td> <?php echo $row['cip']?> </td> <td> <?php echo strftime("%y/%m/%d %H:%M:%S",$row['dtime'])?> </td> <td><input type="text" value="<?php echo $row['query']?>" name="t1" style="width:280"></td> </tr> <?php } ?> </form> <tr> <td height="30" colspan="7" bgcolor="#FCFDF7"> &nbsp; <input type="button" name="b5" value="反选" onClick="ReSel();" class="inputbut" /> &nbsp; <input type="button" name="b6" value="删除所选" onClick="DelSel();" class="inputbut" /> &nbsp; <input type="button" name="b7" value="清空所有日志" onClick="ClearLog();" class="inputbut" /> </td> </tr> <tr> <td height="24" colspan="7" align="center" bgcolor="#EDF9D5"> <?php echo $dlist->GetPageList(7);?> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/log_list.htm
HTML
asf20
4,478
<!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> <title>地区管理</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .STYLE1 { color: #FF0000; font-weight: bold; } --> </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">互动模块</div> </div> <?php if(empty($action)) { ?> <form name="form1" action="area.php" method="post"> <input type="hidden" name="action" value="add" /> <input type="hidden" name="reid" value="0" /> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5">&nbsp;<strong>添加一级地区 </strong></td> </tr> <tr> <td width="150" align="right" bgcolor="#FFFFFF"> &nbsp;地区名称:</td> <td height="35" bgcolor="#FFFFFF"><input type="text" name="name" value="" /></td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">&nbsp;</td> <td height="35" bgcolor="#FFFFFF">&nbsp; <input type="submit" name="submit1" value="提交" class="inputbut"/></td> </tr> </table> </form> <form name="form2" action="area.php" method="post"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"><strong>&nbsp;添加二级地区</strong></td> </tr> <tr> <input type="hidden" name="action" value="add" /> <td width="150" align="right" bgcolor="#FFFFFF"> 地区名称:</td> <td bgcolor="#FFFFFF"><input type="text" name="name" value="" /></td> </tr> <tr> <td bgcolor="#FFFFFF">&nbsp;</td> <td bgcolor="#FFFFFF"><select name="reid"> <option value="0">所属一级地区</option> <?php echo $sectorscache; ?> </select></td> </tr> <tr> <td height="35" bgcolor="#FFFFFF">&nbsp;</td> <td bgcolor="#FFFFFF">&nbsp; <input type="submit" name="submit2" value="提交" class="inputbut"/></td> </tr> </table> </form> <form name="form3" action="area.php" method="post"> <input type="hidden" name="action" value="update" /> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20" bgcolor="#EDF9D5">&nbsp;<strong>编辑地区</strong></td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr> <td height="20">编号</td> <td height="20">名称</td> <td height="20">排序</td> <td height="20">管理操作</td> </tr> <?php foreach($sectors as $sector) { if($sector['reid'] == 0) { echo "<tr bgcolor=\"#f8f8f7\"><td>$sector[id]</td><td><input type=\"text\" name=\"names[$sector[id]]\" value=\"$sector[name]\" /></td><td><input type=\"text\" name=\"disorders[$sector[id]]\" value=\"$sector[disorder]\" /></td><td><a href=\"area.php?action=edit&amp;id=$sector[id]\">修改</a> <a href=\"area.php?action=delete&amp;id=$sector[id]\">删除</a></td></tr>"; }else { echo "<tr><td>$sector[id]</td><td>|--<input type=\"text\" name=\"names[$sector[id]]\" value=\"$sector[name]\" /></td><td><input type=\"text\" name=\"disorders[$sector[id]]\" value=\"$sector[disorder]\" /></td><td><a href=\"area.php?action=edit&amp;id=$sector[id]\">修改</a> <a href=\"area.php?action=delete&amp;id=$sector[id]\">删除</a></td></tr>"; } } ?> </table></td> </tr> <tr> <td height="35" align="center" bgcolor="#FFFFFF"><input name="submit3" type="submit" value="全部更新" class="inputbut"/></td> </tr> </table> </form> <?php }elseif($action == 'edit') { ?> <form name="form4" action="area.php" method="post"> <input type=hidden name=action value=edit /> <input type=hidden name=step value=2 /> <input type=hidden name=id value=<?php echo $id; ?> /> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"><strong>&nbsp;修改</strong></td> </tr> <tr> <td width="150" align="right" bgcolor="#FFFFFF">所属地区:</td> <td bgcolor="#FFFFFF"><select name="reid"> <?php echo $sectorscache; ?> </select> </td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">地区名称:</td> <td bgcolor="#FFFFFF"><input type=text name=name value=<?php echo $sector['name']; ?> /></td> </tr> <tr> <td align="right" bgcolor="#FFFFFF">顺序:</td> <td bgcolor="#FFFFFF"><input type=text name=disorder value=<?php echo $sector['disorder']; ?> /></td> </tr> <tr> <td height="35" bgcolor="#FFFFFF">&nbsp;</td> <td bgcolor="#FFFFFF"><input name="submit4" type="submit" value="提交" class="inputbut"/></td> </tr> </table> </form> <?php }elseif($action == 'delete') { ?> <form action=area.php method=post name=form5> <input type=hidden name=action value=delete /> <input type=hidden name=step value=2 /> <input type=hidden name=id value=<?php echo $id; ?> /> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5">&nbsp;<strong>删除地区确认&nbsp;</strong></td> </tr> <tr> <td height="80" align="center" bgcolor="#FFFFFF"><span class="STYLE1">删除地区时将删除该地区的所有下级地区,且不能恢复操作,请确认删除! </span></td> </tr> <tr> <td height="35" align="center" bgcolor="#FFFFFF"><input name="submit5" type="submit" value="确认删除" class="inputbut"/> &nbsp; <input type='button' value='返 回 继 续 操 作' onclick='javascript:history.go(-1);' class="inputbut"/></td> </tr> </table> </form> <?php } ?> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/area.htm
HTML
asf20
6,375
<!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>更新RSS文件</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">HTML更新</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="makehtml_rss_action.php" method="get" target='stafrm'> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;&nbsp;更新RSS文件:</strong></td> <td width="70%" align="right"></td> </tr> </table></td> </tr> <tr height="20" bgcolor="#FFFFFF"> <td width="25%" align="left"><strong>&nbsp;&nbsp;</strong>单个类目最大记录数:</td> <td> <strong>&nbsp;&nbsp;</strong> <input name="maxrecord" type="text" id="maxrecord" value="50" size="8"> 条 </td> </tr> <tr> <td height="35" colspan="2" bgcolor="#F8FBFB" align="center"> <input name="b112" type="button" value="开始更新" onClick="document.form1.submit();" class="inputbut"/> </td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="100%"> <tr> <td width="74%">进行状态: </td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:100;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> <script language="JavaScript"> document.all.mdv.style.pixelHeight = screen.height - 360; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_rss.htm
HTML
asf20
2,661
<!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/css" /> </head> <body> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name="form1" action="plus_edit.php" method="post"> <input type='hidden' name='dopost' value='saveedit'> <input type='hidden' name='aid' value='<?php echo $aid?>'> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;<a href="plus_main.php"><u>插件管理</u></a> &gt; 修改插件:</b> </td> </tr> <tr> <td width="19%" align="center" bgcolor="#FFFFFF">插件名称</td> <td width="81%" bgcolor="#FFFFFF"> <input type='text' name='plusname' style='width:180px' value='<?php echo $row['plusname']?>'> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">作者</td> <td bgcolor="#FFFFFF"> <?php echo $row['writer']?> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">菜单配置</td> <td bgcolor="#FFFFFF"> <textarea name="menustring" rows="6" id="menustring" style="width:80%"><?php echo $row['menustring']?></textarea> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">文件列表</td> <td bgcolor="#FFFFFF">文件用&quot;,&quot;分开,路径相对于管理目录(当前目录)<br> <textarea name="filelist" rows="8" id="filelist" style="width:80%"><?php echo $row['filelist']?></textarea></td> </tr> <tr bgcolor="#F9FDF0"> <td height="28" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%">&nbsp;</td> <td width="15%"><input name="imageField" type="submit" class="inputbut" value="确定" /></td> <td width="59%"><input name="button" type="button" class="inputbut" id="button" value="返回" onClick="location='plus_main.php';"/></td> </tr> </table> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/plus_edit.htm
HTML
asf20
2,361
<!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/css" /> <script language="JavaScript"> function AddServer() { if(document.form1.serverurl.value==""||document.form1.serverurl.value=="http://"){ alert('服务器网址不能为空!'); return ;} if(document.form1.servername.value==""){ alert('服务器名称不能为空!'); return ;} document.form1.sites.value += document.form1.serverurl.value+" | "+document.form1.servername.value+"\r\n"; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">频道设置</div> </div> <form name="form1" action="soft_config.php" method="post"> <input type="hidden" name="dopost" value="save"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#EDF9D5" class="tbtitletxt"><strong>软件频道设置:</strong> <?php echo $upok; ?></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr align="center"> <td width="232" height="28" align="left" bgcolor="#FFFFFF">链接显示方式:<br /></td> <td align="left" bgcolor="#FFFFFF"><input type="radio" name="downtype" value="0"<?php if($row['downtype']==0) echo " checked";?> /> 直接显示地址列表 <input name="downtype" type="radio" value="1" <?php if($row['downtype']==1) echo " checked";?> /> 要求进入下载地址列表页 </td> </tr> <tr align="center"> <td width="232" height="28" align="left" bgcolor="#FFFFFF">附件下载方式:</td> <td align="left" bgcolor="#FFFFFF"><input type="radio" name="gotojump" value="0"<?php if($row['gotojump']==0) echo " checked";?> /> 链接到真实软件地址 <input name="gotojump" type="radio" value="1"<?php if($row['gotojump']==1) echo " checked";?> /> 链接到跳转页面 </td> </tr> <tr align="center"> <td height="28" align="left" bgcolor="#FFFFFF">是否启用镜像站点:</td> <td align="left" bgcolor="#FFFFFF"><input type="radio" name="ismoresite" value="1"<?php if($row['ismoresite']==1) echo " checked";?> /> 启用 <input name="ismoresite" type="radio" value="0"<?php if($row['ismoresite']==0) echo " checked";?> /> 不启用 </td> </tr> <tr align="center"> <td width="232" height="28" align="left" bgcolor="#FFFFFF">是否显示本地下载链接:</td> <td align="left" bgcolor="#FFFFFF"> <input type="radio" name="showlocal" value="1"<?php if($row['showlocal']==1) echo " checked";?> /> 显示 <input name="showlocal" type="radio" value="0"<?php if($row['showlocal']==0) echo " checked";?> /> 不显示 </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td height="28" align="left" class="hg">  如果启用了服务器镜像功能,增加下载地址时,只需要填写本地链接的地址,系统会自动生成镜像服务器的地址。 </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center" class="trlbg"> <td height="28" align="left" class="hg">  镜像服务器列表:</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td height="36" align="left"> 服务器网址: <input name="serverurl" type="text" id="serverurl" value="http://"> 服务器名称: <input name="servername" type="text" id="servername"> <input name="Submit" type="button" class="inputbut" onClick="AddServer()" value="增加一项" ></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td height="120" align="center"><textarea name="sites" rows="5" id="sites" style="width:96%;height:100px"><?php echo $row['sites']?></textarea></td> </tr> </table> <table width="96%" border="0" cellpadding="5" cellspacing="1" align="center" style=" border:1px solid #E2F5BC;line-height:31px;margin:auto;"> <tr> <td height="35" align="center" style="background:#F9FFE6;padding:7px 6px 6px 10px;" > <input type="submit" name="Submit2" value="保存数据" class="inputbut" /></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/soft_config.htm
HTML
asf20
4,867
<!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"> <script language='javascript' src='main.js'></script> <script language='javascript'> function ShowHide(objname) { var obj = document.getElementById(objname); if(obj.style.display=="none") obj.style.display = "block"; else obj.style.display="none"; } function ShowItem(objname) { var obj = document.getElementById(objname); obj.style.display = "block"; } function TSourceType() { var r1 = document.getElementById('source1'); var r2 = document.getElementById('source2'); if(r1.checked){ document.getElementById('st1').style.display = 'block'; document.getElementById('st2').style.display = 'block'; document.getElementById('st3').style.display = 'block'; }else { document.getElementById('st1').style.display = 'none'; document.getElementById('st2').style.display = 'none'; document.getElementById('st3').style.display = 'none'; } } function ShowHideRfurl() { var r1 = document.getElementById('isref1'); var r2 = document.getElementById('isref2'); if(r2.checked){ document.getElementById('rfurlct').style.display = 'block'; }else{ document.getElementById('rfurlct').style.display = 'none'; } } </script> <title>新增采集节点</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} td{ padding-left:6px; } .STYLE3 {color: #666666} --> </style> </head> <body leftmargin='8' topmargin='8'> <form name="form1" method="post" action="co_add_action.php"> <input type='hidden' name='exrule' value='<?php echo $exrule?>'> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="20"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="47%" height="18">&nbsp;<b><a href='co_main.php'>采集管理</a>>新增采集节点:</b></td> <td width="53%" align="right" style="padding-top:6px"> <input type="button" name="b11" value="节点管理" class="inputbut" style="width:80" onClick="location.href='co_main.php';"> &nbsp; <input type="button" name="b12" value="节点管理" class="inputbut" style="width:80" onClick="location.href='co_url.php';"> &nbsp; </td> </tr> </table> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head1"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">&nbsp;网址获取</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem2()"><u>内容规则</u></a></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="display:none"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onclick="ShowItem1()"><u>网址获取</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">内容规则</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" cellpadding="0" cellspacing="1" align="center" style="margin-bottom:6px" id="needset""> <tr> <td bgcolor="#F2F6E5"><table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onclick="ShowHide('sitem');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8" /></td> <td width="374">节点基本信息<a name="d1" id="d1"></a></td> </tr> </table></td> </tr> <tr id="sitem" style="display:block"> <td bgcolor="#FFFFFF"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="18%" height="24">节点名称:</td> <td width="32%"><input name="notename" type="text" id="notename" style="width:200px" /></td> <td width="18%">页面编码:</td> <td width="32%"> <input type="radio" name="language" value="gb2312" /> GB2312 <input type="radio" name="language" value="utf-8" checked="checked" /> UTF8 <input type="radio" name="language" value="big5" /> BIG5 </td> </tr> <tr> <td height="24">图片相对网址: </td> <td><?php $aburl = ""; $curl = GetCurUrl(); $curls = explode("/",$curl); for($i=0;$i<count($curls)-2;$i++){ if($i!=0) $aburl .= "/".$curls[$i]; } $aburl .= "/upimg"; ?> <input name="imgurl" type="text" id="imgurl" style="width:200px" value="<?php echo $aburl?>" /></td> <td>物理路径:</td> <td><input name="imgdir" type="text" id="imgdir2" style="width:150px" value="../upimg" /></td> </tr> <tr> <td height="24">文章来源:(文档中使用)</td> <td><input name="arcsource" type="text" id="arcsource" style="width:200px" /></td> <td> 内容匹配模式:</td> <td><input type="radio" name="matchtype" value="regex" /> 正则表达式 <input name="matchtype" type="radio" value="string" checked="checked" /> 字符串</td> </tr> <tr bgcolor="#F0F2EE"> <td height="24" colspan="4">以下选项仅在开启防盗链模式才需设定,如果目标网站没有防盗链功能,请不要开启,否则会降低采集速度。</td> </tr> <tr> <td height="24">防盗链模式:</td> <td><input name="isref" type="radio" id='isref1' onclick="ShowHideRfurl()" value="no" checked="checked" /> 不开启 <input name="isref" id='isref2' type="radio" onclick="ShowHideRfurl()" value="yes" /> 开启</td> <td>资源下载超时时间:</td> <td><input name="exptime" type="text" id="exptime" value="10" size="8" /> 秒</td> </tr> <tr id='rfurlct' style='display:none'> <td height="24">引用网址:</td> <td colspan="3"><input name="refurl" type="text" id="refurl" size="30" /> (一般为目标网站其中一个文章页的网址,需加http://)</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#F2F6E5"><table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onclick="ShowHide('slist');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8" /></td> <td width="374">采集列表获取规则</td> </tr> </table></td> </tr> <tr id="slist" style="display:block"> <td height="76" bgcolor="#FFFFFF"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="24">来源网址获取方式:</td> <td colspan="2"> <input name="source" type="radio" id="source1" value="var" onClick="TSourceType()" checked="checked" /> 符合特定序列的列表网址 <input name="source" type="radio" id="source2" value="app" onClick="TSourceType()" /> 手工指定列表网址 </td> </tr> <tr id="st1"> <td height="24">分页变量起始值:</td> <td colspan="2"><input name="varstart" type="text" id="varstart" size="15" /> 变量结束值: <input name="varend" type="text" id="varend" size="15" /> 表示 [var:分页] 的范围) </td> </tr> <tr id="st2"> <td width="18%" height="24">来源网址:</td> <td colspan="2"><input name="sourceurl" type="text" id="sourceurl" style="width:70%" value="http://" /> </td> </tr> <tr id="st3"> <td height="24">&nbsp;</td> <td colspan="2">对于比较规则分多页的列表网址,用 http://abc.com/list.php?page=[var:分页] 的形式,然后指定&quot;分页变量起始值&quot;。</td> </tr> <tr> <td height="24" colspan="3" bgcolor="#FBFDF2"><strong>列表页中文章网址的命名规则:</strong></td> </tr> <tr> <td height="24">用正则匹配置网址:</td> <td colspan="2"> 文章网址需包含: <input name="need" type="text" id="cannot" size="15" style="width:150px" /> 网址不能包含: <input name="cannot" type="text" id="cannot" size="15" style="width:150px" /> </td> </tr> <tr> <td height="100">限定HTML范围:<br /> <span class="STYLE3">(如果文章网址命名不规范,用正则的形式无法正确获得需要的网址,设置此选项来获得)</span><br /> </td> <td width="42%"> 起始HTML:<br /> <textarea name="linkareas" style="width:90%" rows="5" id="linkareas"></textarea> </td> <td width="40%"> 结束HTML:<br /> <textarea name="linkareae" style="width:90%" rows="5" id="linkareae"></textarea> </td> </tr> <tr id="mt1"> <td height="24" colspan="3" bgcolor="#FBFDF2"><strong>如果你想手工指定要采集的列表网址或除了合符规则的列表网址外,还含有其它列表网址,请在下面指定:</strong></td> </tr> <tr id="mt2"> <td height="110" valign="top"><strong>手工指定列表网址:</strong><a href="javascript:ShowHide('handurlhelp');"><img src="img/help.gif " width="16" height="16" border="0" /></a><br /> (每行一条网址,<br /> 不支持使用变量)</td> <td colspan="2"><span id='handurlhelp' style='display:none;background-color:#efefef'> 对于部份符合规则,部份不符合规则的网址,可以把不符合规则的放在这里,例:像<br /> http://xx.com/aaa/index.html<br /> http://xx.com/aaa/list_2.html<br /> http://xx.com/aaa/list_3.html...<br /> 这样的网址,你可以用变量指定 list_[var:分页].html,<br /> 然后把 http://xx.com/aaa/index.html(该网址不符分页规则) 填写在下面。 </span> <textarea name="sourceurls" id="sourceurls" style="width:95%;height:100px"></textarea></td> </tr> <!--tr align="center"> <td height="49" colspan="3"> <input name="test1" type="button" class="nbt" id="test1" value="测试列表获取规则"> </td> </tr--> </table> </td> </tr> <tr> <td height="52" align="center" bgcolor="#FFFFFF"><input type="submit" name="b121" value="保存节点" class="inputbut" style="width:80" /> &nbsp;&nbsp; <input type="reset" name="b122" value="重置节点" class="inputbut" style="width:80" /> </td> </tr> </table> <table width="98%" border="0" cellpadding="3" cellspacing="1" align="center" id="adset" style="display:none"> <tr> <td bgcolor="#F2F6E5"><table width="400" border="0" cellspacing="0" cellpadding="0"> <tr class="top" onclick="ShowHide('sart');" style="cursor:hand"> <td width="26" align="center"><img src="img/file_tt.gif" width="7" height="8" /></td> <td width="374">文档内容获取规则<a name="d2" id="d2"></a></td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:6px"> <tr> <td height="24" colspan="3"> 测试单页网址: <input name="testurl" type="text" id="testurl" value="http://" size="50" /> (仅用于编辑规则完成后测试,测试时不会本地化远程媒体)</td> </tr> <tr> <td height="60" colspan="3"><strong> 字段设置说明:</strong><br/> 1、规则:如果采集的内容为分页文档,请在文章body字段&quot;分页内容字段&quot;这个选项打勾。<br/> 2、变量:如果你的字段值使用的不是[var:内容],而是指定的其它值,则导出时直接使用该值,并且采集时不会分析该项目。<br /> 3、过滤规则:如果有多个规则,请用{dede:teim}规则一{/dede:trim}换行{dede:teim}规则二{/dede:trim}...表示</td> </tr> <tr bgcolor="#EBEFD1"> <td height="24"><strong> 文档是否分页:</strong></td> <td colspan="2"><input name="sptype" type="radio" value="none" checked="checked" /> 不分页 <input name="sptype" type="radio" value="full" /> 全部列出的分页列表 <input type="radio" name="sptype" value="next" /> 上下页形式或不完整的分页列表</td> </tr> <tr> <td width="18%" height="60">分页链接区域匹配规则:<br/> 文档分多页时才需选此项</td> <td> 分页链接区域开始HTML: <br /> <textarea name="sppages" rows="3" id="sppages" style="width:90%"></textarea> </td> <td width="40%"> 分页链接区域结束HTML: <br /> <textarea name="sppagee" rows="3" id="textarea10" style="width:90%"></textarea> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:6px"> <tr> <td width="98%" height="26" colspan="3" background="img/menubg.gif" bgcolor="#66CCFF"> <strong>>内容字段列表:</strong>(一般“自定义处理接口”带有处理程序的字段[黑色字]不需要理会)</td> </tr> </table> <?php if(is_array($dtp->CTags)) { $s = 0; foreach($dtp->CTags as $ctag) { if($ctag->GetName()=='field') { if($ctag->GetAtt('source')=='value') continue; $tagv = "[var:内容]"; //if($ctag->GetAtt('source')=='function') //else $fnv = ""; $fnv = $ctag->GetInnerText(); $cname = $ctag->GetAtt('name'); if($ctag->GetAtt('intable')!="" && $ctag->GetAtt('intable')!=$noteinfos->GetAtt('tablename') ) { $cname = $ctag->GetAtt('intable').'.'.$cname; } $comment = $ctag->GetAtt('comment'); $s++; ?> <table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-bottom:6px"> <tr bgcolor="#EBEFD1"> <td width="18%" height="24" bgcolor="#EBEFD1">&nbsp; <?php if($ctag->GetAtt('source')!='function'){ $fcolor=" style='color:red' "; $tstyle=""; } else{ $fcolor=""; $tstyle=" style='display:none' "; } ?> <a href="javascript:ShowHide('fieldlist<?php echo $s; ?>');"<?php echo $fcolor?>><b>><u><?php echo $comment?></u></b></a> <input type="hidden" name="comment<?php echo $s; ?>" id="comment<?php echo $s; ?>4" value="<?php echo $comment?>" /> </td> <td width="22%"><input name="field<?php echo $s; ?>" type="text" id="field<?php echo $s; ?>4" value="<?php echo $cname?>" size="25" style="width:200px" /></td> <td width="20%" align="right">字段值:</td> <td width="40%"><input name="value<?php echo $s; ?>" type="text" id="value<?php echo $s; ?>4" value="<?php echo $tagv?>" size="25" /> </td> </tr> <tr> <td colspan="4"><table width="100%" border="0" cellspacing="0" cellpadding="0" id="fieldlist<?php echo $s; ?>"<?php echo $tstyle?>> <tr> <td height="80">匹配内容:</td> <td height="20">开始无重复HTML:<br /> <textarea name="matchs<?php echo $s; ?>" rows="4" id="textarea11" style="width:90%"></textarea> </td> <td height="20">结尾无重复HTML:<br /> <textarea name="matche<?php echo $s; ?>" rows="4" id="textarea12" style="width:90%"></textarea> </td> </tr> <tr> <td height="63">过滤规则:</td> <td height="63"><textarea name="trim<?php echo $s; ?>" cols="20" rows="3" id="textarea13" style="width:90%"></textarea> </td> <td height="63"><input name="isunit<?php echo $s; ?>" type="checkbox" id="isunit<?php echo $s; ?>4" value="1" /> 分页内容字段(规则中只允许单一的该类型字段)<br/> <input name="isdown<?php echo $s; ?>" type="checkbox" id="isdown<?php echo $s; ?>4" value="1" /> 下载字段里的多媒体资源 </td> </tr> <tr> <td width="18%" height="60">自定义处理接口:</td> <td width="42%" height="20"><textarea name="function<?php echo $s; ?>" cols="20" rows="3" id="textarea14" style="width:90%"><?php echo $fnv?></textarea> </td> <td width="40%" height="20">函数或程序的变量<br /> @body 表示原始网页 @litpic 缩略图<br /> @me 表示当前标记值和最终结果</td> </tr> </table></td> </tr> </table> <?php } } } ?> </td> </tr> <tr> <td height="50" align="center" bgcolor="#FFFFFF"><!--input name="test122" type="button" class="nbt" id="test124" value="测试内容获取规则"--> <input type="submit" name="b121" value="保存节点" class="inputbut" style="width:80" /> &nbsp;&nbsp; <input type="reset" name="b122" value="重新填写" class="inputbut" style="width:80" /> </td> </tr> <tr id="sart" style="display:block"> <td valign="top" bgcolor="#FFFFFF"></td> </tr> </table></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_add.htm
HTML
asf20
21,203
<!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"> <script language="javascript" src="../include/dedeajax2.js"></script> <script language="javascript"> function LoadHashCode() { var tgobj = document.getElementById('modulcode'); var email = document.form1.email.value; var modulname = document.form1.modulname.value; var myajax = new DedeAjax(tgobj,false,true,'-','-','...'); myajax.SendGet2('module_make.php?action=gethash&email='+email+'&modulname='+modulname); DedeXHTTP = null; } </script> <title>模块打包</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style> td{padding-left:8px} </style> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">模块管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td width="100%" height="20"> <b>&nbsp;<a href="plus_main.php"><u>模块管理</u></a> &gt; DedeCms模块开发指南:</b> </td> </tr> <tr> <td bgcolor="#FFFFFF"><table width="720" border="0" cellspacing="0" cellpadding="0"> <tr> <td><strong>目录 </strong></td> </tr> <tr> <td><a href="#1">1、Dede模块开发介绍</a></td> </tr> <tr> <td><a href="#2">2、如何对我开发的模块进行打包?</a></td> </tr> <tr> <td><a href="#3">3、开发模块安装程序和卸载的注意事项。</a></td> </tr> <tr> <td><a href="#4">4、Dedecms的后台管理程序的开发注意事项。</a></td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"><strong>1、Dede模块开发介绍<a name="1" id="1"></a></strong></td> </tr> <tr> <td height="100" bgcolor="#FFFFFF">&nbsp;</td> </tr> <tr> <td bgcolor="#FFFFFF"><strong>2、如何对我开发的模块进行打包?<a name="2" id="2"></a></strong></td> </tr> <tr> <td height="100" bgcolor="#FFFFFF">&nbsp;</td> </tr> <tr> <td bgcolor="#FFFFFF"><strong>3、开发模块安装程序和卸载程序的注意事项。<a name="3" id="3"></a></strong></td> </tr> <tr> <td height="100" bgcolor="#FFFFFF">&nbsp;</td> </tr> <tr> <td bgcolor="#FFFFFF"><strong>4、Dedecms的后台管理程序的开发注意事项。<a name="4" id="4"></a></strong></td> </tr> <tr> <td height="100" bgcolor="#FFFFFF">&nbsp;</td> </tr> <tr bgcolor="#F9FDF0"> <td height="28">&nbsp;</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/module_help.htm
HTML
asf20
2,948
<!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/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">辅助插件</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5">&nbsp;<strong><a href="vote_main.php"><u>投票管理</u></a>&gt;&gt;获取代码</strong></td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr bgcolor="#EBF2DB"> <td width="100%" bgcolor="#EBF2DB">&nbsp;&nbsp;在封面或主页模板中使用的标记:</td> </tr> <tr> <td valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <form name="form1" action="tag_test_action.php" target="stafrm" method="post"> <input type="hidden" name="showsource" value="no"> <tr> <td colspan="2" align="left" valign="top">&nbsp; <textarea name="partcode" cols="45" rows="16" id="partcode">{dede:vote id='<?php echo $aid?>' lineheight='22' tablewidth='100%' titlebgcolor='#EDEDE2' titlebackground='' tablebgcolor='#FFFFFF'} {/dede:vote}</textarea> <iframe name="stafrm" frameborder="0" id="stafrm" width="220px" height="200px"></iframe></td> </tr> <tr> <td width="300" height="35" align="center" valign="middle"><input type="submit" name="Submit" value="提交测试" class="inputbut"></td> <td width="48%" align="left" valign="middle">&nbsp;</td> </tr> </form> </table> </td> </tr> <tr bgcolor="#EBF2DB"> <td bgcolor="#EDF9D5">&nbsp;&nbsp;默认生成的表单HTML:</td> </tr> <tr> <td valign="top"> &nbsp; <textarea name="htmlf" cols="60" rows="10" id="htmlf"><?php echo $vcode;?></textarea> </td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/vote_getcode.htm
HTML
asf20
2,485
<!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/css" /> <script type="text/javascript" src="main.js"></script> <script language="javascript"> //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.form2.arcID.value) return document.form2.arcID.value; for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { if(allSel=="") allSel = document.form2.arcID[i].value; else allSel = allSel+","+document.form2.arcID[i].value; } } return allSel; } function selAll() { for(i=0;i<document.form2.arcID.length;i++) { if(!document.form2.arcID[i].checked) { document.form2.arcID[i].checked=true; } } } function noSelAll() { for(i=0;i<document.form2.arcID.length;i++) { if(document.form2.arcID[i].checked) { document.form2.arcID[i].checked=false; } } } function ReturnValue() { if(window.opener.document.<?php echo $f?>.value==""){ window.opener.document.<?php echo $f?>.value = getCheckboxItem(); } else{ window.opener.document.<?php echo $f?>.value += ","+getCheckboxItem(); } alert("成功增加你选中的ID,你可以继续增加"); //window.opener=true; //window.close(); } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">文档维护</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="9" bgcolor="#EDF9D5"> <strong> §文章列表</strong></td> </tr> <tr align="center" bgcolor="#F8FBFB" height="22"> <td width="6%">ID</td> <td width="4%">选择</td> <td width="40%">文章标题</td> <td width="20%">录入时间</td> <td width="20%">类目</td> <td>图片</td> </tr> <form name="form2"> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr align='center' bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22"> <td><?php echo $row['ID']?></td> <td><input name="arcID" type="checkbox" id="arcID" value="<?php echo $row['ID']?>" class="np" /></td> <td align='left'> <a href='archives_do.php?aid=<?php echo $row['ID']?>&dopost=editArchives'> <u><?php echo $row['title']?></u></a></td> <td><?php echo GetDateMk($row['uptime'])?></td> <td><?php echo $row['typename']?></td> <td><?php echo IsPicArchives($row['litpic'])?></td> </tr> <?php } ?> <tr bgcolor="#F8FBFB"> <td height="24" colspan="6" style="padding-top:6px"> &nbsp; <a href="javascript:selAll()" class="inputbutx">全选</a> &nbsp; <a href="javascript:noSelAll()" class="inputbutx">取消</a> &nbsp; <a href="javascript:ReturnValue()" class="inputbutx">把选定值加到列表</a></td> </tr> </form> <tr align="right" bgcolor="#eaf8ce"> <td height="20" colspan="6" align="center" bgcolor="#EDF9D5"> <?php echo $dlist->GetPageList(7);?></td> </tr> </table> <table bgcolor="#FFFFFF" width="96%" border="0" align="center" cellpadding="1" cellspacing="1"> <tr> <td height="4"></td> </tr> <tr> <td height="26" bgcolor="#FFFFFF" style="border: 1px solid #525252;"> <form name='form3'> <input type='hidden' name='f' value='<?php echo $f; ?>' /> <input type='hidden' name='channelid' value='<?php echo $channelid; ?>' /> <table width='600' border='0' cellpadding='0' cellspacing='0'> <tr> <td width='90' align='center'>请选择类目:</td> <td width='160'><?php echo $optionarr?> </td> <td width='70'> 关键字: </td> <td width='160'><input type='text' name='keyword' value='<?php echo $keyword?>' style='width:150' /> </td> <td style="padding-top:6px"> <input name="imageField" type="submit" class="inputbut" value="搜索" /> </td> </tr> </table> </form> </td> </tr> <tr> <td colspan="2" height="4"></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_select_list.htm
HTML
asf20
4,264
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>可视化编辑器</title> <link rel="stylesheet" type="text/css" href="base.css"> <script> function Post() { if (document.form1.filename.value==""){ alert("文件名不能为空。"); document.form1.filename.focus(); return false; } } </script> </head> <body bgcolor="#F2F4F3" leftmargin="15" topmargin="10"> <table width=98%" border=0 cellpadding=0 cellspacing=0 bordercolor=#111111 style="border-collapse: collapse"> <form method="POST" action="file_manage_control.php" name=form1 onSubmit="return Post()"> <input type="hidden" name="fmdo" value="editview"> <input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode("@me")'/}"> <tr> <td width=78% height="10%" valign="top"> <table border=0 cellpadding=0 cellspacing=0 style="border-collapse: collapse" width=100%> <tr> <td width=16% height="25">工作目录:</td> <td width="84%"> &nbsp;&nbsp;&nbsp; <input name=activepath size=40 value="{dede:global name='activepath'/}"> (空白表示根目录 ,不允许用 “..” 形式的路径)</td> </tr> <tr> <td width=16% height="25">文件名称:</td> <td> &nbsp;&nbsp;&nbsp; <input name=filename size=40 value="{dede:global name='filename'/}"> (不允许用 “..” 形式的路径) <input type="button" name="Submit" value="使用普通模式" onClick="location='file_manage_view.php?fmdo=edit&activepath={dede:global name='activepath'/}&filename={dede:global name='filename'/}';" class="inputbut"></td> </tr> </table> </td> </tr> <tr> <td width=78% height="80%" valign="top"> {dede:global name='contentView'/} </td> </tr> <tr> <td width=78% height="10%"> <p align=center><br> <input type=submit value=" 保 存 " name=B1 class="inputbut"> &nbsp; <input type=reset value="取消修改" name=B2 class="inputbut"> &nbsp; <input type=button value="不理返回" name=B4 onClick="javascript:history.go(-1);" class="inputbut"> <br>  </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/file_edit_view.htm
HTML
asf20
2,372
<!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/css" /> <link rel="stylesheet" type="text/css" media="all" href="../include/calendar/calendar-win2k-1.css" title="win2k-1" /> <script type="text/javascript" src="../include/calendar/calendar.js"></script> <script type="text/javascript" src="../include/calendar/calendar-cn.js"></script> <script src="main.js" language="javascript"></script> <script language='javascript'> function ShowHideTime() { var selBox = document.getElementById('seltime'); var obj = document.getElementById('seltimeField'); if(selBox.checked) obj.style.display = "block"; else obj.style.display = "none"; } function ShowHideMove() { var selBox = document.getElementById('moveradio'); var obj = document.getElementById('moveField'); if(selBox.checked) obj.style.display = "block"; else obj.style.display = "none"; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">批量管理</div> </div> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <form name="form1" action="content_batchup_action.php" target="stafrm"> <input type="hidden" name="dopost" value="go"> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>&nbsp;文档批量管理:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table></td> </tr> <tr> <td width="177" align="center" bgcolor="#FFFFFF">选定栏目:</td> <td width="791" bgcolor="#FFFFFF"> <?php $opall = 1; echo GetTypeidSel('form1','typeid','selbt1',0); ?> </td> </tr> <tr> <td height="20" align="center" bgcolor="#FFFFFF">起始ID:</td> <td height="20" bgcolor="#FFFFFF">开始: <input name="startid" type="text" id="startid" size="10"> 结束: <input name="endid" type="text" id="endid" size="10"></td> </tr> <tr> <td height="20" align="center" bgcolor="#FFFFFF">档案发布时间:</td> <td height="20" bgcolor="#FFFFFF"><table width="500" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2"> <label> <input name="seltime" type="checkbox" id="seltime" value="1" onClick="ShowHideTime()"> 启用时间筛选(仅移动或删除文档可用该选项)</label></td> </tr> <tr id='seltimeField' style='display:none' height='20'> <td width="250">开始: <?php $nowtime = GetDateTimeMk(mytime()-(24*3600*30)); echo "<input name=\"starttime\" value=\"$nowtime\" type=\"text\" id=\"starttime\" style=\"width:150\">"; echo "<input name=\"selstarttime\" type=\"button\" id=\"selkeyword\" value=\"选择\" onClick=\"showCalendar('starttime', '%Y-%m-%d %H:%M:00', '24');\">"; ?> </td> <td width="250">结束: <?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"endtime\" value=\"$nowtime\" type=\"text\" id=\"endtime\" style=\"width:150\">"; echo "<input name=\"selendtime\" type=\"button\" id=\"selkeyword\" value=\"选择\" onClick=\"showCalendar('endtime', '%Y-%m-%d %H:%M:00', '24');\">"; ?> </td> </tr> </table></td> </tr> <tr> <td height="20" align="center" bgcolor="#FFFFFF">操作:</td> <td height="20" bgcolor="#FFFFFF"> <input name="action" type="radio" id="checkradio" onClick="ShowHideMove()" value="check" checked> 审核文档 <input name="action" type="radio" value="makehtml" id="makehtmlradio" onClick="ShowHideMove()"> 更新HTML <input name="action" type="radio" value="move" id="moveradio" onClick="ShowHideMove()"> 移动文档 <input name="action" type="radio" id="delradio" value="del" onClick="ShowHideMove()"> 删除文档</td> </tr> <tr height="20" bgcolor="#FFFFFF"> <td height="20" align="center" bgcolor="#FFFFFF">移动选项:</td> <td height="20" bgcolor="#FFFFFF"> <?php $opall = 1; echo "<span id='moveField' style='display:none'>新位置:"; echo GetTypeidSel('form1','newtypeid','selbt3',0); echo "<br/>"; echo "标题关键字:<input id='movekeyword' type='text' name='keyword' value='' style='width:220;'></span>"; ?> </td> </tr> <tr> <td height="31" colspan="2" bgcolor="#F8FBFB" align="center"><input name="b112" type="button" value="开始操作" onClick="document.form1.submit();" class="inputbut" /></td> </tr> </form> <tr bgcolor="#E5F9FF"> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="100%"> <tr> <td width="74%"><strong>进行状态: </strong></td> <td width="26%" align="right"> <script language='javascript'> function ResizeDiv(obj,ty) { if(ty=="+") document.all[obj].style.pixelHeight += 50; else if(document.all[obj].style.pixelHeight>80) document.all[obj].style.pixelHeight = document.all[obj].style.pixelHeight - 50; } </script> [<a href='#' onClick="ResizeDiv('mdv','+');">增大</a>] [<a href='#' onClick="ResizeDiv('mdv','-');">缩小</a>] </td> </tr> </table></td> </tr> <tr bgcolor="#FFFFFF"> <td colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:250px;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_batch_up.htm
HTML
asf20
6,206