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
<!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> <form name="form1" action="article_string_mix.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></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="30" align="left">如果你要启用字符串混淆来防采集,请在文档模板需要的字段加上 function='RndString(@me)' 属性,如:{dede:field name='body' function='RndString(@me)'/}。</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td align="left"><textarea name="allsource" rows="20" id="allsource" style="width:100%;height:300"><?php echo $allsource?></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="Submit" value="保存数据" class="inputbut"/></td> </tr> </table></form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_string_mix.htm
HTML
asf20
1,910
<!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" /> <link href="css_body.css" rel="stylesheet" type="text/css" /> <title>生成JS调用</title> </head> <body> <TABLE width="96%" class="tbtitle" align="center" cellSpacing="0" cellPadding="0" border="0"> <TBODY> <TR bgcolor="#EDF9D5"> <TD colSpan="2"><b>问答调用说明</b></TD> </TR> </TBODY> <TBODY> <TR> <TD class="altbg1"><TEXTAREA style="WIDTH: 100%; WORD-BREAK: break-all" rows="3">&lt;script language="JavaScript" src="<?php echo $cfg_basehost;?>/plus/javascript.php?key=ask"&gt;&lt;/script&gt;</TEXTAREA> <DIV style="padding:6px;background:#E8E8E8;color:#FF0000;"> <b>key:</b>ask表示调用问签,<b>t:</b> 调用问答下的分类(多个用数字逗号分开), <b>n:</b>要调用的条数(0到50) <b>s:</b>表示状态,digest推荐;ok已解决;over过期;bad无满意答案;new最新</DIV> <DIV class="jswizard"> <b>例子:</b> <span> http://www.dede.com/plus/javascript.php?key=ask&t=1,3,5,6&n=3&s=new </span> <SCRIPT language="JavaScript" src="../plus/javascript.php?key=ask"> </SCRIPT> </DIV> <BR /></TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> <TABLE width="96%" class="tbtitle" align="center" cellSpacing="0" cellPadding="0" border="0"> <TBODY> <TR bgcolor="#EDF9D5"> <TD colSpan="2"><b>圈子调用说明</b></TD> </TR> </TBODY> <TBODY> <TR> <TD class="altbg1"><TEXTAREA style="WIDTH: 100%; WORD-BREAK: break-all" rows="3">&lt;script language="JavaScript" src="<?php echo $cfg_basehost;?>/plus/javascript.php?key=group"&gt;&lt;/script&gt;</TEXTAREA> <DIV style="padding:6px;background:#E8E8E8;color:#FF0000;"> <b>key:</b>group表示调用圈子,<b>t:</b> 调用指定的圈子(多个用数字逗号分开), <b>n:</b>要调用的条数(0到50) <b>s:</b>表示状态,digest精华;hot热帖;new最新</DIV> <b>例子:</b> <span> http://www.dede.com/plus/javascript.php?key=group&t=1,3,5,6&n=3&s=new </span> <div class="jswizard"> <script language="JavaScript" src="../plus/javascript.php?key=group"> </script> </div> <DIV style="border: 1px solid gray; padding:6px;background:#E8E8E8;color:#FF0000;"> <font color="red">*</font>为安全,调用时在 <a href="sys_info.php">系统设置->过滤设置</a> 中把信任的域名添加上去.</font> </DIV> </TD> </TR> </TBODY> </TABLE> </TD> </TR> </TBODY> </TABLE> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/plus_js.htm
HTML
asf20
2,790
{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="24" colspan="6" bgcolor="#EDF9D5"> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><strong>&nbsp;站内新闻管理</strong></td> <td align="right"> <a href="mynews_add.php"><img src="img/file_edit.gif" width="15" height="16" border="0"><u>新增一则站内新闻</u></a> </td> </tr> </table> </td> </tr> <tr align="center"> <td height="26" bgcolor="#F9FBF2">新闻ID</td> <td bgcolor="#F9FBF2">新闻标题</td> <td bgcolor="#F9FBF2">所属频道</td> <td bgcolor="#F9FBF2">发布时间</td> <td bgcolor="#F9FBF2">发布人</td> <td bgcolor="#F9FBF2">操作</td> </tr> {dede:datalist} <tr align="center" height="26" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#F3F7EA';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td width="8%">[field:aid/]</td> <td width="30%">[field:title /]</td> <td width="16%">[field:typename /]</td> <td width="14%">[field:senddate function="GetDateMk('@me')" /]</td> <td width="16%">[field:writer /]</td> <td width="16%"> <a href='mynews_edit.php?aid=[field:aid /]'>[修改]</a> <a href='mynews_edit.php?dopost=del&aid=[field:aid /]'>[删除]</a> </td> </tr> {/dede:datalist} <tr align="center" bgcolor="#F9FBF2"> <td height="26" colspan="6"> {dede:pagelist listsize=6/} </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mynews_main.htm
HTML
asf20
2,112
<!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 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?>'; var showtag = '<?php echo $showtag; ?>'; var showkw = '<?php echo $showkw; ?>'; var keyword = '<?php echo $keyword; ?>'; //加载列表 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("search_keywords_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 errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]"; var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理..."); myajax.SendGet("search_keywords_main.php?dopost=update&aid="+nid+"&keyword="+kw+"&spwords="+kws+"&count="+ct+"&pageno="+pageno); } function AddNewNote(){ var listArea = $Obj('rslist'); var kw = $Obj('keywords').value; var kws = $Obj('spwords').value; var ct = $Obj('count').value; var errMsg = "网络通信出错!<br>[<a href=\"javascript:LoadPage('"+pageno+"')\"><u>点击此重新加载列表</u></a>]"; var myajax = new DedeAjax(listArea,true,true,"",errMsg,"正在处理..."); myajax.SendGet("search_keywords_main.php?dopost=add&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("search_keywords_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="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="35" colspan="8" valign="bottom" bgcolor="#EDF9D5"> <table width="96%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" style="padding-top:6px"><strong>&nbsp;搜索关键词维护</strong></td> <td width="60%" style="padding-top:6px"> <table width="400" border="0" cellspacing="0" cellpadding="0"> <form action="search_keywords_main.php" name="form1"> <input type="hidden" name="type" value="search" /> <tr> <td align="center" width="61%"> 关键字:<input name="keyword" type="text" id="keywordse" style="width:150px" value="<?php echo $keyword; ?>"></td> <td width="39%"> <input type="submit" name="Submit" value="搜索" class="inputbut" /> </td> </tr> </form> </table> </td> <td width="20%" align="right" style="padding-top:6px"> <input name="n1" type="button" id="n1" value="文档关键字维护" onClick="location='article_keywords_main.php';" class="inputbut" /> </td> </tr> </table> </td> </tr> <tr> <td height="36" colspan="8" align="right" bgcolor="#F7FAEB" style="padding-right:3px"> <table border='0' cellpadding='1' cellspacing='1'> <tr align='center' bgcolor='#ffffff'> <td width="66" height='28' bgcolor="#EFFAC9">关键词:</td> <td width="180" bgcolor="#EFFAC9"><input name='keywords' style="width:160px" type='text' id='keywords' value='' class='ininput' /></td> <td width="72" bgcolor="#EFFAC9">分词结果:</td> <td width="180" bgcolor="#EFFAC9"><input name='spwords' style="width:160px" type='text' id='spwords' value='' class='ininput' /></td> <td width="72" bgcolor="#EFFAC9">搜索频率:</td> <td width="80" bgcolor="#EFFAC9"><input name='count' style="width:60px" type='text' id='count' value='10' class='ininput' /></td> <td bgcolor="#EFFAC9"><a href='###' onclick='AddNewNote()'>〖新增一条〗</a></td> </tr> </table></td> </tr> </table> <form action="?action=delete" method="post"> <span id='rslist'> <?php GetKeywordList($dsql,$pageno,$pagesize,$orderby); ?> </span> <center> <input type="submit" name="submit" value="删除选中的关键词" /> </center> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr align="center"> <td height="35" colspan="8" bgcolor="#F9FCF1"> <span id='pagelist'></span> <script language='javascript'>ReloadPageNum(1);</script> </td> </tr> </table> </form> </div> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/search_keywords_main.htm
HTML
asf20
7,798
{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> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" colspan="7" bgcolor="#EDF9D5"> <strong>外部数据导入</strong>&nbsp; [<a href="friendlink_add.php"><u>增加规则</u></a>] [<a href='{dede:global name='cfg_plus_dir' '''/}/flink-add.php' target='_blank'><u>导入规则</u></a>]</td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="26%">网站名称</td> <td width="12%">网站Logo</td> <td width="15%">站长Email</td> <td width="18%">时间</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><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 align="center" bgcolor="#F8FBFB" height="24"> <td colspan="7">{dede:pagelist listsize=6/}</td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/data_switch_main.htm
HTML
asf20
2,127
<!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 SelKw(kw) { document.form2.keywords.value += " "+kw; } function ReturnValue() { window.opener.document.<?php echo $f?>.value += document.form2.keywords.value; window.opener=true; window.close(); } function showHide(objname) { var obj = document.getElementById(objname); if(obj.style.display=="none") obj.style.display = "block"; else obj.style.display="none"; } function AddNewKw() { showHide("addnew"); } </script> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="main"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name='form1' action="article_keywords_add.php"> <tr id="addnew" style="display:none"> <td width="100%" height="24" colspan="2" align="center" bgcolor="#009900"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="60" align="center">关键字:</td> <td width="140"><input name="keyword" type="text" id="keyword" style="width:130"></td> <td width="40">链接:</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="保存" ></td> </tr> </table> </td> </tr> </form> <form name='form2'> <tr> <td width="100%" height="26" colspan="2" bgcolor="#EDF9D5"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="31%"><strong>选择关键字</strong></td> <td width="69%" align="right"> <input type="button" name="kwa" value="新增关键字" onClick="AddNewKw()" class="inputbut"> <input type="button" name="kwm" value="关键字管理" onClick="location='article_keywords_main.php';" class="inputbut"> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF" style="line-height:180%"> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <a href='javascript:SelKw("<?php echo $row['keyword']?>")'><u><?php echo $row['keyword']?></u></a> <?php } ?> </td> </tr> <tr> <td height="24" bgcolor="#EDF9D5" style="line-height:180%"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td width="120">已选的关键字:</td> <td width="320"><input name="keywords" type="text" id="keywords" style="width:300" value="<?php echo $keywords?>"></td> <td width="93"><input type="button" name="Submit" value="选用" onClick="ReturnValue()" class="inputbut"></td> </tr> </table> </td> </tr> <tr align="center"> <td height="24" bgcolor="#F8FBF0"> <?php echo $dlist->GetPageList(5);?> </td> </tr> </form> </table> <div class="tbbottom" style="text-align:right;width:99%" align="left"></div> </div> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_keywords_select.htm
HTML
asf20
3,775
<!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" src="main.js"></script> <script language="javascript"> <!-- function SelectGuide(fname) { var posLeft = window.event.clientY-200; var posTop = window.event.clientX-200; window.open("mychannel_field_make.php?f="+fname, "popUpImagesWin", "scrollbars=yes,resizable=no,statebar=no,width=600,height=420,left="+posLeft+", top="+posTop); } function CheckSubmit() { if(document.form1.typename.value=='') { alert("频道名称不能为空!"); return false; } return true; } --> </script> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .STYLE1 {color: #FF0000} td{ padding:2px; padding-left:6px; line-height:150%; } .STYLE2 {color: #666666; display:none; } --> </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 name="form1" action="mychannel_add_action.php" method="post" onSubmit="return CheckSubmit();"> <tr bgcolor="#E2F5BC"> <td height="25" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;<a href="mychannel_main.php"><u>频道模型管理</u></a> &gt; 新增频道模型:</b> </td> </tr> <tr> <td width="35%" height="28" align="left" bgcolor="#FFFFFF">频道ID:<br /> <span class="STYLE2" id='help1'>  数字,创建后不可更改,并具有唯一性。</span> </td> <td width="65%" bgcolor="#FFFFFF"> <input name="ID" type="text" id="ID" size="10" value="<?php echo $newid?>"> * <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onclick="ShowHide2('help1')" /></td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">频道名称:<br /> <span class="STYLE2" id="help3">  频道的中文名称,在后台管理,前台发布等均使用此名字。</span></td> <td bgcolor="#FFFFFF"> <input name="typename" type="text" id="typename" style="width:180px"> *<img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onclick="ShowHide2('help3')" /> </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF">名字标识:<br /> <span class="STYLE2" id="help2">  与文档的模板相关连,建议由英文、数字或下划线组成,因为部份Unix系统无法识别中文文件,频道默认文档模板是 “default/article_名字标识.htm”,列表模板、封面模板类推。 </span></td> <td bgcolor="#FFFFFF"> <input name="nid" type="text" id="nid" style="width:180px"> *<img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onclick="ShowHide2('help2')" /> <input name="ispy" type="checkbox" id="ispy" value="1" class="np" checked />用频道名称的拼音 </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">主索引表:<br /> <span class="STYLE2" id="help4">  系统会直接复制dede_archives的结构作为索引表,表名是允许相同的,当然使用不同的表分流数据可以提高负载性能。</span></td> <td bgcolor="#FFFFFF"> <input name="maintable" type="text" id="maintable" value="<?php echo $cfg_dbprefix; ?>archives<?php echo $newid; ?>" style="width:180px"> *<img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onclick="ShowHide2('help4')" /> <input name="isdel1" type="checkbox" id="isdel1" value="1" class="np" checked /> 删除已有的表 </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">附加表:<br /> <span class="STYLE2" id="help5">  必须由英文、数字、下划线组成,用于保存不包含在索引表中的个性化数据。</span></td> <td bgcolor="#FFFFFF"> <input name="addtable" type="text" id="addtable" style="width:180px" value="<?php echo $cfg_dbprefix; ?>addon<?php echo $newid; ?>"> *<img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onclick="ShowHide2('help5')" /> <input name="isdel2" type="checkbox" id="isdel2" value="1" class="np" checked /> 删除已有的表 </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">模型字段配置:</td> <td bgcolor="#FFFFFF"><span class="STYLE1">建立模型后在“更改”模型的地方添加字段即可。</span></td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">模型性质:</td> <td bgcolor="#FFFFFF"> <input name="issystem" type="radio" class="np" value="0" checked> 自动模型 <input name="issystem" type="radio" class="np" value="1" > 系统模型</td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">是否支持会员投稿:</td> <td bgcolor="#FFFFFF"> <input name="issend" type="radio" class="np" value="0" checked> 不支持  <input name="issend" type="radio" class="np" value="1"> 支持 </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">投稿会员组:</td> <td bgcolor="#FFFFFF"> <input name="sendmember" type="radio" class="np" value="0" checked> 个人会员 <input name="sendmember" type="radio" class="np" value="1"> 企业会员 <input name="sendmember" type="radio" class="np" value="2"> 所有会员</td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">会员许可投稿级别:</td> <td bgcolor="#FFFFFF"> <select name="sendrank" id="sendrank" style="width:120"> <?php $dsql->SetQuery("Select * from #@__arcrank where rank>=10"); $dsql->Execute(); while($row2 = $dsql->GetObject()) { echo " <option value='".$row2->rank."'>".$row2->membername."</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">会员稿件默认状态:</td> <td bgcolor="#FFFFFF"><input name="arcsta" type="radio" class="np" value="-1" checked> 未审核 <input name="arcsta" type="radio" class="np" value="0"> 已审核(自动生成HTML) <input name="arcsta" type="radio" class="np" value="1"> 已审核(仅使用动态文档)</td> </tr> <tr> <td colspan="2" bgcolor="#FFFFFF" height="28">   ◎以下的选项,如果你没有自己重新开发这个模型的发布程序,保留默认即可,系统会自动生成发布表单。 </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">档案发布程序:</td> <td bgcolor="#FFFFFF"> <input name="addcon" type="text" id="addcon" value="archives_add.php" style="width:180px"> * </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">档案修改程序:</td> <td bgcolor="#FFFFFF"> <input name="editcon" type="text" id="editcon" value="archives_edit.php" style="width:180px"> * </td> </tr> <tr> <td height="28" align="left" bgcolor="#FFFFFF">档案管理程序:</td> <td bgcolor="#FFFFFF"><input name="mancon" type="text" id="mancon" value="content_list.php" style="width:180px"> * </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF">会员发布程序:</td> <td bgcolor="#FFFFFF"> <input name="useraddcon" type="text" id="useraddcon" value="archives_add.php" style="width:180px"> </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF">会员修改程序:</td> <td bgcolor="#FFFFFF"> <input name="usereditcon" type="text" id="usereditcon" value="archives_edit.php" style="width:180px"> </td> </tr> <tr> <td align="left" bgcolor="#FFFFFF">会员管理程序:</td> <td bgcolor="#FFFFFF"> <input name="usermancon" type="text" id="usermancon" value="content_list.php" style="width:180px"> </td> </tr> <tr bgcolor="#F9FDF0"> <td height="28" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%" height="45">&nbsp;</td> <td width="15%"><input type="submit" name="button" id="button" value="确定" class="inputbut"/></td> <td width="59%"><input name="按钮" type="button" class="inputbut" id="button2" onclick="location='mychannel_main.php';" value="返回"/></td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mychannel_add.htm
HTML
asf20
9,284
<!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"><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"> <form name="form1" method="post" action="vote_edit.php"> <input type="hidden" name="dopost" value="saveedit"> <input type="hidden" name="aid" value="<?php echo $aid?>"> <table width="100%" border="0" cellspacing="4" cellpadding="4"> <tr> <td width="15%" align="center">投票名称:</td> <td width="85%"> <input name="votename" type="text" id="votename" value="<?php echo $row['votename']?>"> </td> </tr> <tr> <td align="center">投票总人数:</td> <td><input name="totalcount" type="text" id="totalcount" value="<?php echo $row['totalcount']?>"></td> </tr> <tr> <td align="center">开始时间:</td> <td><input name="starttime" type="text" id="starttime" value="<?php echo GetDateMk($row['starttime'])?>"></td> </tr> <tr> <td align="center">结束时间:</td> <td><input name="endtime" type="text" id="endtime" value="<?php echo GetDateMk($row['endtime'])?>"></td> </tr> <tr> <td align="center">是否多选:</td> <td> <input name="ismore" type="radio" value="0"<?php if($row['ismore']==0) echo " checked";?>> 单选   <input type="radio" name="ismore" value="1"<?php if($row['ismore']==1) echo " checked";?>> 多选 </td> </tr> <tr> <td align="center">投 票 项:<br/> (请按相同的形式来增加或修改节点,其中属性:id不能重复) </td> <td><textarea name="votenote" rows="8" id="votenote" style="width:80%"><?php echo $row['votenote']?></textarea> </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> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/vote_edit.htm
HTML
asf20
2,958
<!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 = <?php echo ($noteid+1)?>; 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); } </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"><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_edit.php" method="post" name="form1" onSubmit="return CheckSubmit();";> <input type='hidden' name='action' value='save'> <input type='hidden' name='aid' value='<?php echo $aid?>'> <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" value="<?php echo $noteinfos->GetAtt('rulename')?>"> </td> </tr> <tr> <td height="24" align="center">入库类型:</td> <td height="24"> <input name="etype" type="radio" value="当前系统"<?php if($noteinfos->GetAtt('etype')=='当前系统') echo " checked";?>> 当前系统 <input type="radio" name="etype" value="其它系统"<?php if($noteinfos->GetAtt('etype')=='其它系统') echo " checked";?>> 其它系统 </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()){ if($channelid==$row->ID) echo "<option value='{$row->ID}' selected>{$row->typename}</option>\r\n"; else 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" value="<?php echo $noteinfos->GetAtt('tablename')?>"> (多个表用“,”分开,最多支持两个表)</td> </tr> <tr> <td height="24" align="center">自动编号字段:</td> <td> <input name="autofield" type="text" id="autofield" size="15" value="<?php echo $noteinfos->GetAtt('autofield')?>"> (表示两个表关连时,第一个表的自动编号字段) </td> </tr> <tr> <td height="24" align="center">多表同步字段:</td> <td> <input name="synfield" type="text" id="synfield" size="15" value="<?php echo $noteinfos->GetAtt('synfield')?>"> (表示第二个表与第一个表的自动编号字段关连字段) </td> </tr> </table> <table width="800" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="120" height="20" colspan="2" background="img/exbg.gif"><strong>&nbsp;§字段设定:</strong></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"> <?php if(is_array($dtp->CTags)) { $s = 0; foreach($dtp->CTags as $ctag){ if($ctag->GetName()=='field') { $s++; if($s<10) $ss="0".$s; else $ss=$s; $c1=""; $c2=""; $c3=""; if($ctag->GetAtt('source')=='function') $c1=" checked"; else if($ctag->GetAtt('source')=='value') $c2=" checked"; else $c3=" checked"; $line=" 字段{$ss}: <input class='nnpp' name='fieldname{$s}' type='text' value='".$ctag->GetAtt('name')."' size='15'> 注解: <input class='nnpp' name='comment{$s}' type='text' value='".$ctag->GetAtt('comment')."' size='15'> 递属表: <input class='nnpp' name='intable{$s}' type='text' value='".$ctag->GetAtt('intable')."' size='18'> <br> 值类型: <input type='radio' class='np' name='source{$s}' value='function'{$c1}>函数 <input type='radio' class='np' name='source{$s}' value='value'{$c2}>指定值 <input type='radio' class='np' name='source{$s}' value='export'{$c3}>导入/采集 指定值或函数: <textarea class='nnpp' rows='1' cols='26' name='makevalue{$s}'>".$ctag->GetInnerText()."</textarea> <hr size=1 width=80%>\r\n"; echo $line; } } } ?> <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="button" type="reset" class="inputbut" id="button" value="重置"/> </td> </tr> </table></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_export_rule_edit.htm
HTML
asf20
9,817
<!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' src='main.js'></script> <script language='javascript' src='../include/dedeajax2.js'></script> <script language='javascript'> function ShowFields(){ var channel = $DE('channel').options[$DE('channel').selectedIndex].value; var queryUrl = "description_fetch_action.php?channel="+channel+"&action=getfields"; var myajax = new DedeAjax($DE('fields'),true,true,'','x','...'); myajax.SendGet(queryUrl); } function CheckSubmit(){ if($DE('rpfield').value==""){ alert("你选择的操作为手工指定字段,但你并没指定!"); return false; } return true; } function pf(v){ $DE('rpfield').value = v; } </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;"> <form action="description_fetch_action.php" name="form1" method="post" target="stafrm" onSubmit="return CheckSubmit()"> <input type='hidden' name='action' value='fetch'> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong>&nbsp;批量提取摘要</strong> </td> <td>&nbsp;</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#FFFFFF"> <td colspan="2" style="line-height:180%"><img src="img/help.gif" width="16" height="16">批量提取摘要的来源字段</td> </tr> <tr> <td width="15%" height="66">&nbsp;选择频道与关键词来源字段:</td> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="tables"> <?php $dsql = new DedeSql(false); if(!$dsql->linkID){ echo "<font color='red'>连接数据库失败!</font><br>"; echo $qbutton; exit(); } $dsql->SetQuery("select ID,typename,addtable from #@__channeltype"); $dsql->Execute('t'); if($dsql->GetError()!=""){ echo "<font color='red'>找不到你所指定的数据库! $dbname</font><br>"; echo $qbutton; } echo "<select name='channel' id='channel' size='10' style='width:60%' onchange='ShowFields()'>\r\n"; while($row = $dsql->GetArray('t')){ //$row[0] = setstr($row[0]); if($row['ID'] == 1) { $select = 'selected'; }else{ $select = ''; } echo "<option value='".$row['ID']."' $select>".$row['typename']."</option>\r\n"; } echo "</select>\r\n"; $dsql->Close(); ?> </td> </tr> <tr> <td id='fields'> <div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:3px;line-height:160%'> 表(dede_addonarticle)含有的字段:<br> <a href="javascript:pf('aid')"><u>aid</u></a> <a href="javascript:pf('typeid')"><u>typeid</u></a> <a href="javascript:pf('body')"><u>body</u></a> <input type='hidden' name='addtable' value='#@__addonarticle' /> </div> </td> </tr> <tr> <td height="28"> 来源字段: <input name="rpfield" type="text" id="rpfield" value="body"> 摘要长度<input type='text' name='dsize' value='250' />字节</td> </tr> <tr> <td height="28"> 最小值: <input name="msize" type="text" id="msize2" value="512" size="10"> (字节,内容大于该值才分析) 每批处理: <input name="pagesize" type="text" id="pagesize" value="100" size="10"> 条记录 </td></tr> <tr> <td height="28"> 开始ID: <input name="sid" type="text" id="sid3" size="8"> 结束ID: <input name="eid" type="text" id="eid" size="8"> </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 - 520; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/description_fetch.htm
HTML
asf20
6,013
<!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> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} 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;"> <tr> <td height="20" colspan="7" bgcolor="#EDF9D5"> <table width="96%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" height="18"><strong>采集内容管理:</strong></td> <td width="80%" align="right" style="padding-top:6px;"> <?php echo $exportbt?> <input type="button" name="b1" value="采集节点管理" class="inputbut" onClick="location.href='co_main.php';"> </td> </tr> </table></td> </tr> <tr align="center" bgcolor="#F8FBFB"> <td width="8%">选择</td> <td width="30%">内容标题</td> <td width="15%">所属节点</td> <td width="15%">获取日期</td> <td width="10%">下载</td> <td width="10%">导出</td> <td width="8%">来源网页</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 align="left"><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><?php echo IsExData($row['isex'])?></td> <td><a href='<?php echo $row['url']?>' target='_blank'>[源网址]</a></td> </tr> <?php } ?> </form> <tr> <td height="30" colspan="7" bgcolor="#FCFDF7" style="padding-top:6px;"> <input type="button" name="b7" value="反选" class="inputbut" onClick="ReSel();">     <input type="button" name="b5" value="删除所选网址" class="inputbut" onClick="DelSel();"> </td> </tr> <tr> <td height="24" colspan="7" bgcolor="#FCFDF7" align="center"> <?php echo $dlist->GetPageList(7);?> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_url.htm
HTML
asf20
3,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> <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_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=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"colspan="4" 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" 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";?> /> 加粗 </td> </tr> </table></td> </tr> <tr id="pictable" style="display:block"> <td height="28"colspan="4" 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" value="<?php echo $addRow['bigpic']; ?>" 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="<?php if($addRow['bigpic']!='') echo $addRow['bigpic']; else echo "img/pview.gif"; ?>" width="150" id="picview" name="picview" /></td> </tr> </table></td> </tr> <tr id="pictable" style="display:block"> <td height="28"colspan="4" 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" class="inputbut" style="width:200px" onchange="SeePic(document.picview,document.form1.litpic);" /> </td> </tr> <tr> <td height="30"><input name="picname" type="text" value="<?php echo $arcRow['litpic']; ?>" 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"colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="80">&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><?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?></td> </tr> <tr> <td> <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='<?php echo $addRow['assprice']; ?>' /></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='<?php echo $addRow['model']; ?>' /></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='厂家直销'<?php if($addRow['sptype']=='厂家直销') echo " checked"; ?> /> 厂家直销 <input type='radio' name='sptype' class='np' value='厂家批发'<?php if($addRow['sptype']=='厂家批发') echo " checked"; ?> /> 厂家批发 <input type='radio' name='sptype' class='np' value='商家批发'<?php if($addRow['sptype']=='商家批发') echo " checked"; ?> /> 商家批发 <input type='radio' name='sptype' class='np' value='商家零售'<?php if($addRow['sptype']=='商家零售') echo " checked"; ?> /> 商家零售 <input type='radio' name='sptype' class='np' value='其它渠道'<?php if($addRow['sptype']=='其它渠道') echo " checked"; ?> /> 其它渠道 </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 $ntime = GetDateMk($addRow['cometime']); echo "<input name=\"cometime\" value=\"$ntime\" 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='<?php echo $addRow['brand']; ?>' /></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='<?php echo $addRow['size']; ?>' /></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='<?php echo $addRow['stuff']; ?>' /></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",$addRow['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"colspan="4" 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="28"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" id="shorttitle" style="width:150" value="<?php echo $arcRow["shorttitle"]; ?>" /> </td> <td width="90">自定义属性:</td> <td><select name='arcatt' style='width:150'> <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"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:200\">"; ?> </td> <td width="88">消费点数:</td> <td width="381"><input name="money" type="text" id="money" value="0" size="10" value="<?php echo $addRow['money']; ?>"> </td> </tr> </table></td> </tr> <tr> <td height="28"colspan="4" 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:150"> <?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:120" 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="28"colspan="4" 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='<?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" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?> /> 仅动态浏览 </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%"><?php echo $arcRow["description"]?></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%;"><?php echo $arcRow["likeid"]?></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%"><?php echo $arcRow["keywords"]?></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_edit.htm
HTML
asf20
21,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 type="text/javascript" src="main.js"></script> <style type="text/css"> <!-- .STYLE1 { color: #FF3300; font-weight: bold; } --> </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="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> <tr> <td height="200" valign="top" colspan="2" bgcolor="#ffffff" style="padding:6px"> <form action="makehtml_task.php" method="post" name="form1"> <input type="hidden" name="action" value="save"> <table width="98%" border="0" align="center" cellpadding="3" cellspacing="0" style="padding:3px"> <tr> <td height="35" colspan="2"><span class="STYLE1">本计划任务功能需要结合客户端才能管理,由于考虑客户端配置的复杂性,客户端暂时只提供给商业授权用户下载。</span></td> </tr> <tr> <td height="35" bgcolor="#F9FEEF"> <strong>是否开放远程控制:</strong><br /> 通过远程管理密码,可以跳过登陆步骤执行一些功能) </td> <td bgcolor="#F9FEEF"> <input name="usermtools" type="radio" value="1" <?php echo ($row['usermtools']=='1' ? "checked='checked'" : ""); ?> /> 开放 <input name="usermtools" type="radio" value="0" <?php echo ($row['usermtools']=='0' ? "checked='checked'" : ""); ?> /> 不开放 </td> </tr> <tr> <td width="18%" height="35"><strong>远程管理密码:</strong></td> <td width="82%"> <input name="rmpwd" type="text" id="rmpwd" size="40" value="<?php echo $row['rmpwd']; ?>" /> (32个字符以内,只允许使用 a-z,0-9,!,@,# 这几种字符)<br /> 客户端安全证书:<font color='red'><?php echo(trim($row['rmpwd'])=='' ? '请先设置好密码才能生成证书!' : md5(trim($row['rmpwd']).$cfg_cookie_encode)); ?></font> </td> </tr> <tr> <td height="41" bgcolor="#F9FEEF"><strong>执行操作:</strong></td> <td bgcolor="#F9FEEF"> <input name="tasks[]" type="checkbox" class="np" id="tasks" value="mhday"<?php echo (ereg('mhday',$row['tasks']) ? " checked='checked'" : ""); ?>/> 更新当天文档的HTML <input name="tasks[]" type="checkbox" class="np" id="tasks" value="mhall"<?php echo (ereg('mhall',$row['tasks']) ? " checked='checked'" : ""); ?>/> 更新所有文档HTML<br /> <input name="tasks[]" type="checkbox" class="np" id="tasks" value="opdb"<?php echo (ereg('opdb',$row['tasks']) ? " checked='checked'" : ""); ?>/> 优化数据库 <input name="tasks[]" type="checkbox" class="np" id="tasks" value="uplikeid"<?php echo (ereg('uplikeid',$row['tasks']) ? " checked='checked'" : ""); ?>/> 更新相关文档 <input name="tasks[]" type="checkbox" class="np" id="tasks" value="getkw"<?php echo (ereg('getkw',$row['tasks']) ? " checked='checked'" : ""); ?>/> 自动提取关键字 <input name="tasks[]" type="checkbox" class="np" id="tasks" value="autoct"<?php echo (ereg('autoct',$row['tasks']) ? " checked='checked'" : ""); ?>/> 自动采集 </td> </tr> <tr> <td height="65"><strong>指定HTML更新条件:</strong></td> <td>栏目ID:<?php $seltypeids = 0; $cid = trim($row['typeid']); if(!empty($cid)){ $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='$cid' "); } $opall=1; if(is_array($seltypeids)){ echo GetTypeidSel('form1','typeid','selbt1',0,$seltypeids['ID'],$seltypeids['typename']); }else{ echo GetTypeidSel('form1','typeid','selbt1',0,0,'请选择...'); } ?> <br /><br /> 起始ID: <input name="startid" type="text" id="startid" size="10" value="<?php echo $row['startid']; ?>"/> 结束ID: <input name="endid" type="text" id="endid" size="10" value="<?php echo $row['endid']; ?>"/></td> </tr> <tr> <td height="46" bgcolor="#F9FEEF"><strong>指定采集节点:</strong></td> <td bgcolor="#F9FEEF"> <input name="nodes" type="text" id="nodes" size="60" value="<?php echo $row['nodes']; ?>"/> (用id1,id2,id3...表示) </td> </tr> <tr> <td height="46"><strong>执行时间:</strong></td> <td> <input name="dotime" type="text" id="dotime" size="20" value="<?php echo $row['dotime']; ?>"/> 格式为:00:00:00 (时/分/秒) </td> </tr> <tr> <td height="46" bgcolor="#F9FEEF"><strong>执行频率:</strong></td> <td bgcolor="#F9FEEF">   <input name="degree" type="radio" value="allday" <?php echo ($row['degree']=='allday' ? "checked='checked'" : ""); ?> /> 每天&nbsp; <input type="radio" name="degree" value="onlyday" <?php echo ($row['degree']=='onlyday' ? "checked='checked'" : ""); ?> /> 仅当天 </td> </tr> <tr> <td height="64">&nbsp;</td> <td><input type="submit" name="Submit" value="保存配置" /></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/makehtml_task.htm
HTML
asf20
6,155
<!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="content_att.php" method="post"> <input type="hidden" name="dopost" value="save"> <tr> <td height="28" colspan="3" bgcolor="#EDF9D5"> <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><b>&nbsp;&nbsp;系统用户组管理</b> </td> <td width="76%" align="right"><b> <a href="sys_group_add.php"><u>增加一个用户组</u></a> | <a href="sys_admin_user.php"><u>管理系统用户</u></a> </b> </td> </tr> </table> </td> </tr> <tr bgcolor="#FDFEE9" align="center" > <td width="20%" height="24">Rank</td> <td width="45%">组名称</td> <td width="35%">管理</td> </tr> <?php $dsql->SetQuery("Select rank,typename,system From #@__admintype"); $dsql->Execute(); while($row = $dsql->GetObject()) { ?> <tr align="center" bgcolor="#FFFFFF"> <td height="24"> <?php echo $row->rank?> </td> <td height="24"> <?php echo $row->typename?> </td> <td> <a href='sys_group_edit.php?rank=<?php echo $row->rank?>'>[权限设定]</a> <a href='sys_admin_user.php?rank=<?php echo $row->rank?>'>[组用户]</a> <?php if($row->system==0){?><a href='sys_group_edit.php?dopost=del&rank=<?php echo $row->rank?>'>[删除组]</a><?php }?> </td> </tr> <?php } ?> <input type="hidden" name="idend" value="<?php echo $k?>"> <tr> <td height="24" colspan="3" bgcolor="#F8FCF1">&nbsp;</td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_group.htm
HTML
asf20
2,294
1227667325
zyyhong
trunk/jiaju001/news/lic/templets/plus_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>金币/积分兑换记录</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript" src="../include/dedeajax2.js"></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 align="center"> <td bgcolor="#EDF9D5"> id </td> <td bgcolor="#EDF9D5"> 会员 </td> <td bgcolor="#EDF9D5"> 兑换时间 </td> <td bgcolor="#EDF9D5"> 类型 </td> <td bgcolor="#EDF9D5"> 积分 </td> <td bgcolor="#EDF9D5"> 金币 </td> </tr> <?php if($logs){ foreach($logs as $log){ ?> <tr bgcolor="#ffffff" align="center"> <td> <?php echo $log['id'];?> </td> <td> <a href="../member/index.php?id=<?php echo $log['uid'];?>"><?php echo $log['username'];?></a> </td> <td> <?php echo $log['dbdateline'];?> </td> <td> <?php echo $log['dbtype'];?> </td> <td> <?php echo $log['score'];?> </td> <td> <?php echo $log['money'];?> </td> </tr> <?php }} ?> <tr bgcolor="#ffffff" align="center"><td colspan="6"><?php echo $page; ?> </td></tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/money2score.htm
HTML
asf20
1,601
<!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 action="article_test_same.php?" name="form1" target="stafrm"> <input type='hidden' name='dopost' value='analyse'> <tr> <td height="20" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18"><strong>重复文档检测:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table></td> </tr> <tr> <td height="31" align="center" bgcolor="#FFFFFF"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="20%" height="30" align="left">频道类型:</td> <td align="left"><select name="channelid"> <?php if(!empty($channelinfos)){ foreach($channelinfos as $rs){ echo "<option value=".$rs['ID'].">".$rs['typename']."</option>"; } } ?> </select> </td> </tr> <tr> <td width="20%" height="30" align="left">删除选项:</td> <td align="left"> <input name="deltype" type="radio" value="delnew" checked> 保留最旧的一条 <input type="radio" name="deltype" value="delold" > 保留最新的一条</td> </tr> <tr> <td height="30" align="left">每排列出记录:</td> <td align="left"><input name="pagesize" type="text" id="pagesize" value="100" size="10"> 条</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/article_test_same.htm
HTML
asf20
3,436
<!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"> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language='javascript' src='main.js'></script> <title>采集内容导出</title> </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="co_export_action.php" method="get" target="stafrm"> <input type="hidden" name="nid" value="<?php echo $nid?>"> <input type="hidden" name="totalcc" value="<?php echo $totalcc?>"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="ruleid" value="<?php echo $ruleid?>"> <tr> <td height="28" colspan="3" bgcolor="#EDF9D5"><strong><a href="co_main.php"><u>采集管理</u></a> &gt; 采集内容导出:</strong></td> </tr> <tr> <td height="24" colspan="3" bgcolor="#F8FCF1"> <strong>本节点共有 <?php echo $totalcc?>条数据:</strong> </td> </tr> <?php if($channelid) { ?> <tr> <td width="26%" height="24" align="center" valign="top" bgcolor="#FFFFFF">隶属栏目:</td> <td width="74%" colspan="2" bgcolor="#FFFFFF"> <?php echo GetTypeidSel('form1','typeid','selbt2',$channelid)?> </td> </tr> <tr> <td height="24" align="center" valign="top" bgcolor="#FFFFFF">发布选项:</td> <td colspan="2" bgcolor="#FFFFFF"> <input name="arcrank" type="radio" value="0" checked> 普通文档 <input name="arcrank" type="radio" value="-1"> 保存为草稿 </td> </tr> <?php } ?> <tr> <td height="24" align="center" valign="top" bgcolor="#FFFFFF">每批导入:</td> <td colspan="2" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="30" size="6"> </td> </tr> <tr> <td height="24" align="center" valign="top" bgcolor="#FFFFFF">附带选项:</td> <td colspan="2" bgcolor="#FFFFFF"> <input name="onlytitle" type="checkbox" id="onlytitle" value="1" checked='checked'> 排除重复标题 <input name="makehtml" type="checkbox" id="makehtml" value="1" checked='checked'> 完成后自动生成导入内容HTML </td> </tr> <tr> <td height="24" colspan="3" bgcolor="#F8FCF1">&nbsp;</td> </tr> <tr> <td height="34" colspan="3" align="center" bgcolor="#FFFFFF"> <input name="imageField" type="submit" class="inputbut" value="提交" src="img/button_ok.gif"> &nbsp; <a href="co_main.php"><input type="button" name="button" id="button" value="返回" class="inputbut"/></a> </td> </tr> </form> <tr> <td height="34" colspan="3" align="center" bgcolor="#E5F9FF"> <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> <td height="34" colspan="3" bgcolor="#FFFFFF" 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/3; </script> </td> </tr> </table> <p>&nbsp;</p></body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_export.htm
HTML
asf20
4,264
1227667320
zyyhong
trunk/jiaju001/news/lic/templets/mychannel_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>自由列表管理</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"> 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("freelist_main.php?dopost=getlist&pageno="+pageno+"&orderby="+ordertype+addget); } //载入指定页的列表 function LoadPage(npage){ pageno = npage; ReloadPage(orderby); ReloadPageNum(pageno); } //更改 function EditNote(nid){ location.href = 'freelist_edit.php?aid='+nid; } //更新HTML function CreateNote(nid){ location.href = 'makehtml_freelist.php?aid='+nid; } //删除 function DelNote(nid){ if(!window.confirm("你确认要删除这条记录么!")){ return false; } 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("freelist_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 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> <span id='rslist'> <?php GetTagList($dsql,$pageno,$pagesize,$orderby); ?> </span> <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 3px 6px;" > <table width="100%" border="0" cellpadding="0" cellspacing="0"> <form action="freelist_main.php" name="form1" id="form1"> <tr> <td width="200" align="center"> <input type="text" name="keyword" id="keyword" style="width:170px" value="<?php echo $keyword?>" /> </td> <td width="80" align="left"> <input type="submit" name="Submit2" value="搜索" class="inputbut" /> </td> <td align="left"> <input type="button" name="bt1" value="增加列表" class="inputbut" style="width:70px" onclick="location='freelist_add.php';" /> &nbsp; <input type="button" name="bt2" value="更新所有列表HTML" class="inputbut" style="width:180px" onclick="location='makehtml_freelist.php';" /> </td> <td width="200"> <span id='pagelist'><script language='javascript'>ReloadPageNum(1);</script></span> </td> </tr> </form> </table></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/freelist_main.htm
HTML
asf20
5,523
<!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 channelArray = new Array(); <?php $i = 0; foreach($channelArray as $k=>$arr) { echo "channelArray[$k] = \"{$arr['nid']}\";\r\n"; } ?> 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); } 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 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('head1'); ShowObj('needset'); HideObj('head2'); HideObj('adset'); } function ShowItem2(){ ShowObj('head2'); ShowObj('adset'); HideObj('head1'); HideObj('needset'); } function ShowSonList(){ if(document.form1.needson.checked){ ShowObj('sonlist'); }else{ HideObj('sonlist'); } } function CheckTypeDir(){ var upinyin = document.getElementById('upinyin'); var tpobj = document.getElementById('typedir'); if(upinyin.checked) tpobj.style.display = "none"; else tpobj.style.display = "block"; } function ParTemplet(obj) { var sevvalue = channelArray[obj.value]; var tempindex = document.getElementsByName('tempindex'); var templist = document.getElementsByName('templist'); var temparticle = document.getElementsByName('temparticle'); var dfstyle = document.getElementsByName('dfstyle'); var dfstyleValue = dfstyle[0].value; tempindex[0].value = dfstyleValue+"/index_"+sevvalue+".htm"; templist[0].value = dfstyleValue+"/list_"+sevvalue+".htm"; temparticle[0].value = dfstyleValue+"/article_"+sevvalue+".htm"; } function checkSubmit() { if(document.form1.typename.value==""){ alert("栏目名称不能为空!"); return false; } return true; } function CheckPathSet() { var surl = document.getElementById("siteurl"); var sreid = document.getElementById("reID"); var mysel = document.getElementById("truepath3"); if(surl.value!=""){ if(sreid.value=="0" || sreid.value==""){ mysel.checked = true; } } } </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body leftmargin='15' topmargin='10'> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td width="100%" height="20" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30">&nbsp;<a href="catalog_main.php"><u>栏目管理</u></a>&gt;&gt;增加栏目</td> </tr> </table></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <form name="form1" action="catalog_add.php" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="save"> <input type="hidden" name="reID" id="reID" value="<?php echo $ID;?>"> <?php if($listtype!="all") { echo "<input type='hidden' name='moresite' value='{$myrow['moresite']}'>\r\n"; echo "<input type='hidden' name='siterefer' value='{$myrow['siterefer']}'>\r\n"; echo "<input type='hidden' name='sitepath' value='{$myrow['sitepath']}'>\r\n"; echo "<input type='hidden' name='siteurl' value='{$myrow['siteurl']}'>\r\n"; } ?> <td height="95" align="center" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" id="head2" cellpadding="0" style="display:none"> <tr> <td colspan="2" align="left" bgcolor="#EDF9D5"> <table width="168" height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#006600"><a href="#" onClick="ShowItem1()" class="STYLE1"> <u>常规选项</u></a>&nbsp;</td> <td width="84" align="center" bgcolor="#FFFFFF">高级选项&nbsp;</td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="htable" id="head1"> <tr> <td colspan="2" align="left" bgcolor="#EDF9D5"> <table width="168" 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="98%" border="0" id="needset" cellspacing="0" cellpadding="0"> <tr> <td width="120" height="26" align="left" class='bline'>是否支持投稿:</td> <td align="left" class='bline'> <input type='radio' name='issend' value='0' class='np' <?php if($issend=="0") echo " checked";?>> 不支持&nbsp; <input type='radio' name='issend' value='1' class='np' <?php if($issend=="1") echo " checked";?>> 支持 </td> </tr> <tr> <td width="120" height="26" align="left" class='bline'>是否隐藏栏目:</td> <td align="left" class='bline'> <input type='radio' name='ishidden' value='0' class='np' checked> 显示 &nbsp; <input type='radio' name='ishidden' value='1' class='np'> 隐藏 </td> </tr> <tr> <td height="26" align="left" class='bline'>栏目名称:</td> <td align="left" class='bline'><input name="typename" type="text" id="typename" size="30"></td> </tr> <tr> <td height="26" align="left" class='bline'> 排列顺序: </td> <td align="left" class='bline'><input name="sortrank" size="6" type="text" value="50"> (由低 -&gt; 高) </td> </tr> <tr> <td height="26" align="left" class='bline'>浏览权限:</td> <td align="left" class='bline'> <select name="corank" id="corank" style="width:100px"> <?php $dsql->SetQuery("Select * from #@__arcrank where rank >= 0"); $dsql->Execute(); while($row = $dsql->GetObject()) { if($corank==$row->rank) echo "<option value='".$row->rank."' selected>".$row->membername."</option>\r\n"; else { //如果上级目录的corank>0,下级必须继承 if($corank==0) { echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; } } } ?> </select> (本权限仅对<strong><font color="#0000FF">最终列表栏目</font></strong>有效,设置后本栏目发布或审核后的所有文档将使用此权限) </td> </tr> <tr> <td height="26" align="left" class='bline'>上级目录:</td> <td align="left" class='bline'> <?php $pardir = "{cmspath}".$cfg_arcdir; if(!empty($typedir) || $moresite==1) $pardir = $typedir."/"; $pardir = ereg_replace("/{1,}","/",$pardir); echo $pardir; ?> <input name="nextdir" type="hidden" id="nextdir" value="<?php echo $pardir?>"> </td> </tr> <tr> <td height="26" align="left" class='bline'>文件保存目录:</td> <td align="left" class='bline'> <table width="500" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="200"> <input name="typedir" type="text" id="typedir" style="width:300px"> </td> <td width="300"> <input name="upinyin" type="checkbox" id="upinyin" class="np" value="1" onClick="CheckTypeDir()"> 拼音 </td> </tr> </table> </td> </tr> <tr> <td height="26" align="left" class='bline'>目录相对位置:</td> <td align="left" class='bline'> <input name="referpath" type="radio" id="truepath1" class="np" value="parent" checked> 上级目录 <?php if($moresite==0){ ?> <input name="referpath" type="radio" id="truepath2" class="np" value="cmspath"> CMS根目录 <?php } ?> <input name="referpath" type="radio" id="truepath3" class="np" value="basepath"> 站点根目录 </td> </tr> <tr> <td height="26" align="left" class='bline'>内容模型: &nbsp; </td> <td align="left" class='bline'> <select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)"> <?php foreach($channelArray as $k=>$arr) { if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n"; else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="26" align="left" class='bline'>栏目列表选项:</td> <td align="left" class='bline'> <input type='radio' name='isdefault' value='1' class='np' checked> 链接到默认页 <input type='radio' name='isdefault' value='0' class='np'> 链接到列表第一页 <input type='radio' name='isdefault' value='-1' class='np'> 使用动态页 </td> </tr> <tr> <td height="26" align="left" class='bline'>默认页的名称: </td> <td align="left" class='bline'><input name="defaultname" type="text" value="index.html"></td> </tr> <tr> <td height="26" align="left" class='bline'>栏目属性:</td> <td align="left" class='bline'><input name="ispart" type="radio" id="radio" value="0" class='np' checked> 最终列表栏目(允许在本栏目发布文档,并生成文档列表) <br> <input name="ispart" type="radio" id="radio" value="1" class='np'> 频道封面(栏目本身不允许发布文档) <br> <input name="ispart" type="radio" id="radio" value="2" class='np'> 单独页面(栏目本身不允许发布文档) <br> <input name="ispart" type="radio" id="radio" value="3" class='np'> 跳转网址(在文件保存目录处填写完整网址) </td> </tr> <tr> <td height="26" align="left" class='bline'>启用小分类:</td> <td align="left" class='bline'> <input name="needson" type="checkbox" class="np" id="needson" value="1" onClick="ShowSonList()"> 启用 (仅适用于分类信息等互动模型)</td> </tr> <tr id="sonlist" style="display:none"> <td height="26" align="left" class='bline'>小分类:</td> <td align="left" class='bline' style='padding-top:5px;padding-bottom:5px;'> <select name="sonlists[]" id="sonlists" style="width:200px" size="6" multiple="multiple"> <?php $dsql->SetQuery("select id,name from #@__smalltypes order by disorder asc"); $dsql->Execute(); while($row = $dsql->GetObject()){ echo " <option value='{$row->id}'>{$row->name}</option>\r\n"; } ?> </select> (按Ctrl多选) </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" id="adset" style="display:none"> <?php if($listtype=="all") { ?> <tr> <td width="120" height="24" align="left" class='bline'>多站点支持:</td> <td align="left" class='bline'> <input name="moresite" type="radio" class="np" value="0" checked> 不启用 <input type="radio" name="moresite" class="np" value="1"> 启用 </td> </tr> <tr> <td height="24" align="left" bgcolor="#B9E9FF">说明:</td> <td align="left" bgcolor="#B9E9FF">绑名绑定仅需要在顶级栏目设定,下级栏目的目录和域名将相对于顶级栏目。</td> </tr> <tr> <td height="24" align="left" class='bline'>绑定域名:</td> <td align="left" class='bline'> <input name="siteurl" type="text" id="siteurl" size="35" onChange="CheckPathSet();"> (需加 http://,一级或二级域名的根网址) </td> </tr> <tr> <td height="24" align="left" class='bline'>站点根目录:</td> <td align="left" class='bline'> <input name="sitepath" type="text" id="sitepath" size="35"> <input name="siterefer" type="radio" class="np" id="truepath" value="1" checked> 相对于主站点根目录 <input name="siterefer" type="radio" id="truepath" class="np" value="2"> 绝对路径 </td> </tr> <?php } ?> <tr id='helpvar1' style='display:none'> <td height="24" align="left" bgcolor="#B9E9FF">支持变量: </td> <td align="left" bgcolor="#B9E9FF"> {tid}表示栏目ID,<br> {cid}表示频道模型的'名字ID' <font color='#888888'> ( <?php foreach($channelArray as $k=>$arr) { echo "{$arr['typename']}({$arr['nid']})、"; } ?> ) </font> <br/> 模板文件的默认位置是放在模板目录 "cms安装目录 <?php echo $cfg_templets_dir ?> " 内。 <input type='hidden' value='{style}' name='dfstyle'> </td> </tr> <tr> <td height="33" align="left">封面模板:</td> <td height="33" align="left"> <input name="tempindex" type="text" value="{style}/index_<?php echo $nid?>.htm" style="width:300px"> <input type="button" name="set1" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.tempindex');" class="inputbut"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar1')"> </td> </tr> <tr> <td height="33" align="left">列表模板:</td> <td height="33" align="left"> <input name="templist" type="text" value="{style}/list_<?php echo $nid?>.htm" style="width:300px"> <input type="button" name="set3" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.templist');" class="inputbut"> </td> </tr> <tr> <td height="33" align="left">文章模板:</td> <td height="33" align="left"><input name="temparticle" type="text" value="{style}/article_<?php echo $nid?>.htm" style="width:300px"> <input type="button" name="set4" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.temparticle');" class="inputbut"> </td> </tr> <tr> <td height="33" align="left">单独页面模板:</td> <td height="33" align="left"><input name="tempone" type="text" value="" style="width:300px"> <input type="button" name="set2" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.tempone');" class="inputbut"> </td> </tr> <tr id='helpvar2' style='display:none'> <td height="24" align="left" bordercolor="#00CCFF" bgcolor="#B9E9FF">支持变量: </td> <td height="24" align="left" bgcolor="#B9E9FF"> {Y}、{M}、{D} 年月日<br/> {timestamp} INT类型的UNIX时间戳<br/> {aid} 文章ID<br/> {pinyin} 拼音+文章ID<br/> {py} 拼音部首+文章ID<br/> {typedir} 栏目目录 <br/> {cc} 日期+ID混编后用转换为适合的字母 <br/> </td> </tr> <tr> <td height="26" align="left">文章命名规则:</td> <td align="left"> <input name="namerule" type="text" id="namerule" value="<?php echo $cfg_df_namerule;?>" size="40"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar2')"> </td> </tr> <tr id='helpvar3' style='display:none'> <td height="24" align="left" bgcolor="#B9E9FF">支持变量: </td> <td align="left" bgcolor="#B9E9FF">{page} 列表的页码</td> </tr> <tr> <td height="26" align="left">列表命名规则:</td> <td align="left"> <input name="namerule2" type="text" id="namerule2" value="<?php echo $cfg_df_listnamerule;?>" size="40"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar3')"></td> </tr> <tr> <td height="26" align="left" class='bline'>栏目缩略图:</td> <td align="left" class='bline'>&nbsp;</td> </tr> <tr> <td height="65" align="left">关键字:</td> <td align="left"> <textarea name="keywords" cols="40" rows="3" id="keywords"></textarea> </td> </tr> <tr> <td height="65" align="left">栏目描述:</td> <td height="65" align="left"> <textarea name="description" cols="40" rows="3" id="textarea2"></textarea></td> </tr> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="50"> <input name="imageField" type="submit" class="inputbut" value="确定"> &nbsp;&nbsp;&nbsp; <a href="catalog_main.php"><input type="button" name="button" id="button" value="返回" class="inputbut"/> </a> </td> </tr> </table></td> </form> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/catalog_add.htm
HTML
asf20
19,607
{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="6" bgcolor="#EDF9D5"> &nbsp;<b>投票管理</b>&nbsp;[<a href="vote_add.php"><u>增加一组投票</u></a>] </td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="8%">投票ID</td> <td width="27%">投票名称</td> <td width="15%">开始时间</td> <td width="15%">结束时间</td> <td width="10%">投票总数</td> <td width="25%">管理</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> <a href='[field:global name="cfg_plus_dir" /]/vote.php?aid=[field:aid/]&dopost=view' target='_blank'> <u>[field:votename /]</u> </a> </td> <td>[field:starttime function="GetDateMk('@me')" /]</td> <td>[field:endtime function="GetDateMk('@me')" /]</td> <td>[field:totalcount /]</td> <td> <a href='vote_getcode.php?aid=[field:aid /]'>[获取代码]</a> <a href='vote_edit.php?aid=[field:aid /]&dopost=edit'>[更改]</a> &nbsp; <a href='vote_edit.php?aid=[field:aid /]&dopost=delete'>[删除]</a> </td> </tr> {/dede:datalist} <tr align="center" bgcolor="#F8FBFB" height="24"> <td colspan="6">{dede:pagelist listsize=6/}</td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/vote_main.htm
HTML
asf20
2,178
<!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/common.js'></script> <script language="javascript"> <!-- <?php echo $areacache; echo $sectorcache; ?> function checkSubmit() { if(document.form1.title.value==""){ alert("标题不能为空!"); document.form1.title.focus(); return false; } if(document.form1.typeid.value==0){ alert("请选择档案的主类别!"); return false; } } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="30"> &nbsp;<strong>●<a href="catalog_do.php?cid=<?php echo $cid; ?>&channelid=<?php echo $channelid?>&dopost=listArchives"><u>信息列表</u></a></strong>&gt;&gt;发布信息 </td> <td width="10%">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> <td width="1%">&nbsp;</td> </tr> </table> <form name="form1" action="action/info_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="step" value="2"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td align="left" bgcolor="#FFFFFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E2F5BC" class="htable" id="head1"> <tr> <td bgcolor="#EDF9D5"><table width="84" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">&nbsp;常规参数&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="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">信息标题:</td> <td><input type="text" size="50" name="title" value="" /> <input name="iscommend" type="checkbox" id="iscommend" value="11"> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5"> 加粗</td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">Tag标签:</td> <td><input name="tag" type="text" id="tag" style="width:300px" value="" /> (用空格或','分开) </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline" id="redirecturltr" style="display:none"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">排序方式:</td> <td width="250"><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">有效期:</td> <td><input type="text" name="endtime" value="30" /> 天</td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellpadding="0" cellspacing="0" id="pictable2"> <tr> <td width="90" height="80" align="right">缩 略 图:</td> <td width="395"><input name="picname" type="text" id="picname" style="width:250px" value="" /> <input type="button" name="Submit" value="浏览..." style="width:60" onclick="SelectImage('form1.picname','');" class="inputbut" /> </td> <td><img src="img/pview.gif" width="150" height="100" id="picview2" name="picview" /> </td> </tr> </table></td> </tr> <tr id="pictable"> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">关键词:</td> <td width="250"><input type="text" name="keywords" value="" style="width:200px" /></td> <td width="90">摘要:</td> <td><textarea name="description" rows="3" id="description" style="width:200px"></textarea></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">信息栏目:</td> <td width="250"> <?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:200px'>\r\n"; echo "<option value='0'>请选择主分类...</option>\r\n"; echo $typeOptions; echo "</select>"; } ?> </td> <td width="90">小分类:</td> <td><select name="smalltypeid"> <option value="0">-不限-</option> <?php echo $smalltypes;?> </select></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">地区:</td> <td width="250"><select name="areaid" id="areaid" onchange="javascript:selNext(this.document.form1.areaid2,this.value,'subareas')"> <option value="0">--不限--</option> <?php $dsql->SetQuery("Select * From #@__area where reid=0"); $dsql->Execute(); while($area = $dsql->GetArray()) { echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n"; } ?> </select> <select name="areaid2" id="areaid2"> <option value="0">--不限--</option> </select></td> <td width="90">行业:</td> <td><select name="sectorid" id="sectorid" onchange="javascript:selNext(this.document.form1.sectorid2,this.value,'subsectors')"> <option value="0">--不限--</option> <?php $dsql->SetQuery("Select * From #@__sectors where reid=0"); $dsql->Execute(); while($sector = $dsql->GetArray()) { echo "<option value='".$sector['id']."'>".$sector['name']."</option>\r\n"; } ?> </select> <select name="sectorid2" id="sectorid2"> <option value="0">--不限--</option> </select></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">自定义属性:</td> <td width="250"><select name='arcatt' style='width:150'> <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> <td width="90">发布时间:</td> <td><?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?></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" height="25" bgcolor="#FFFFFF">联系人:</td> <td width="250" height="25" bgcolor="#FFFFFF"><input type="text" name="contact" style="width:200px" value="" /></td> <td width="90" height="25" bgcolor="#FFFFFF">传真:</td> <td height="25" bgcolor="#FFFFFF"><input type="text" name="fax" style="width:200px" value="" /></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" bgcolor="#FFFFFF" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="25" bgcolor="#FFFFFF">电话:</td> <td width="250" height="25" bgcolor="#FFFFFF"><input type="text" style="width:200px" name="phone" value="" /></td> <td width="90" height="25" bgcolor="#FFFFFF">地址:</td> <td height="25" bgcolor="#FFFFFF"><input type="text" name="address" style="width:200px" value="" /></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" height="25" bgcolor="#FFFFFF">Email:</td> <td width="250" height="25" bgcolor="#FFFFFF"><input type="text" style="width:200px" name="email" value="" /></td> <td width="90" height="25" bgcolor="#FFFFFF">QQ:</td> <td height="25" bgcolor="#FFFFFF"><input type="text" name="qq" style="width:200px" value="" /></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">MSN:</td> <td width="250"><input type="text" name="msn" style="width:200px" value="" /></td> <td width="90">&nbsp;</td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td style="padding:0px;"><?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E2F5BC" id="head2" style="border-top:1px solid #E2F5BC;"> <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> </table> <table width="98%" border="0"> <tr> <td><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><?php GetEditor("body",'',450); ?></td> </tr> <tr> <td height="35" align="center"> <input name="imageField" type="submit" class="inputbut" value="确定" /> &nbsp; <input name="button" type="reset" class="inputbut" id="button" value="重置"/> </td> </tr> </table></td> </tr> </table> </form> <?php $dsql->Close(); ?> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/info_add.htm
HTML
asf20
13,238
<!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="600px" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="19" bgcolor="#EDF9D5">&nbsp;<a href="catalog_main.php"><u>栏目管理</u></a>&gt;&gt;删除栏目</td> </tr> <tr> <td height="60" align="center" bgcolor="#FFFFFF"> <table width="96%" border="0" cellspacing="0" cellpadding="0"> <form name="form1" action="catalog_del.php" method="post"> <input type="hidden" name="ID" value="<?php echo $ID?>"> <input type="hidden" name="dopost" value="ok"> <tr> <td colspan="2">&nbsp;</td> </tr> <tr> <td colspan="2">&nbsp;你要删除栏目: <?php echo $typeoldname?> </td> </tr> <tr> <td colspan="2">栏目的文件保存目录: <?php $dsql = new DedeSql(); $dsql->SetQuery("Select typedir From #@__arctype where ID=".$ID); $row = $dsql->GetOne(); $dsql->Close(); echo $row["typedir"]; ?> </td> </tr> <tr> <td width="42%" height="36">是否删除文件: <input type="radio" name="delfile" value="no" checked> 否 &nbsp;&nbsp; <input type="radio" name="delfile" value="yes"> 是 </td> <td width="58%" height="36"><input type="button" name="Submit" value=" 确定 " onClick="javascript:document.form1.submit();" class="inputbut"> &nbsp; <input type="button" name="Submit2" value=" 返回 " onClick="javascript:location.href='catalog_main.php';" class="inputbut"> </td> </tr> <tr> <td height="20" colspan="2">&nbsp;</td> </tr> </form> </table></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/catalog_del.htm
HTML
asf20
2,379
<!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" /> <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 type="text/javascript" src="main.js"></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_list_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;更新栏目HTML:</strong></td> <td width="70%" align="right"><a href="catalog_main.php"><u>栏目管理</u></a> </td> </tr> </table></td> </tr> <tr> <td width="108" valign="top" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>选择栏目:</td> <td valign="top" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <?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,'请选择...'); } ?> </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="uptype" type="radio" value="all" checked> 归档所有文档 <input name="uptype" type="radio" value="1"> 仅归档指定日期之后的文档</td> </tr> <tr> <td height="35" valign="middle" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>指定日期:</td> <td height="20" valign="middle" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <?php $dayst = GetMkTime("2006-1-2 0:0:0") - GetMkTime("2006-1-1 0:0:0"); $nowtime = GetDateTimeMk(mytime() - ($dayst * 365)); echo "<input name=\"starttime\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:220px\">&nbsp;&nbsp;"; ?> </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="maxpagesize" type="text" id="maxpagesize" value="15" size="10"> 个文件 </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="upnext" type="radio" value="1" checked> 更新子级栏目 <input type="radio" name="upnext" value="0"> 仅更新所选栏目 </td> </tr> <tr> <td height="35" colspan="2" 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" 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_list.htm
HTML
asf20
5,086
1227667305
zyyhong
trunk/jiaju001/news/lic/templets/member_pm.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_freelist_action.php" method="get" target='stafrm'> <tr> <td colspan="2" bgcolor="#EDF9D5"><table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%" height="18">&nbsp;&nbsp;<strong>更新自由列表HTML:</strong></td> <td width="70%" align="right"><input type="button" name="b113" value="管理自由列表" onClick="location='freelist_main.php';" class="inputbut"/> </td> </tr> </table></td> </tr> <tr> <td width="108" height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;起始ID:</td> <td width="377" height="20" valign="top" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="startid" type="text" id="startid" size="10"<?php if(!empty($aid)) echo " value='$aid'"; ?>> (空或0表示从头开始) </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">&nbsp;&nbsp;结束ID:</td> <td height="20" valign="top" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="endid" type="text" id="endid" size="10"<?php if(!empty($aid)) echo " value='$aid'"; ?>> (空或0表示直到结束ID) </td> </tr> <tr> <td height="20" bgcolor="#FFFFFF">&nbsp;&nbsp;每批生成:</td> <td height="20" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="pagesize" type="text" id="pagesize" value="100" size="8"> 个文件</td> </tr> <tr> <td height="35" colspan="2" bgcolor="#F8FBFB" align="center"> <input name="b112" type="button" value="开始生成HTML" onClick="document.form1.submit();" class="inputbut"/> &nbsp; </td> </tr> </form> <tr> <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_freelist.htm
HTML
asf20
3,476
<!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="1" cellspacing="1" align="center" class="tbtitle" 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='info_list.php?cid=<?php echo $cid?>&adminid=0&channelid=<?php echo $channelid?>';" value='全部文档' class="inputbut"> <?php }else{ ?> <input type='button' onClick="location='info_list.php?cid=<?php echo $cid?>&adminid=<?php echo $cuserLogin->getUserID()?>&channelid=<?php echo $channelid?>';" value='我的文档' class="inputbut"> <?php } echo $CheckUserSend ?> <input type='button' onClick="location='catalog_main.php';" value='栏目管理' class="inputbut"> </td> </tr> </table> </td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="24" colspan="10" bgcolor="#EDF9D5"> §<?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="8%">截至时间</td> <td width="8%">状态</td> <td width="10%">类目</td> <td width="4%">查看</td> <td width="8%">发布者</td> <td width="10%">操作</td> </tr> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { if($row['arcrank']<0){ $row['arcranksta'] = '未审核'; }else{ $row['arcranksta'] = '已审核'; } ?> <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&amp;channelid=<?php echo $channelid?>' 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['pubdate'])?></td> <td><?php echo GetDateMk($row['endtime'])?></td> <td><?php echo $row['arcranksta']?></td> <td><?php echo $row['typename']?></td> <td><?php echo $row['click']?></td> <td><?php echo $row['writer']?></td> <td> <a href="javascript:editArc(<?php echo $row['ID']?>,<?php echo $channelid?>)">编辑</a> | <a href="javascript:viewArc(<?php echo $row['ID']?>)">预览</a> </td> </tr> <?php } ?> <tr bgcolor="#F8FBFB"> <td height="24" colspan="12" style="padding-top:6px;padding-left:6px"> <a href="javascript:selAll()" class="inputbutx">全选</a> <a href="javascript:noSelAll()" class="inputbutx">取消</a> <a href="javascript:checkArc(0)" class="inputbutx">审核</a> <a href="javascript:editArc(0,<?php echo $channelid?>)" 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" bgcolor="#eaf8ce"> <td height="20" colspan="12" align="center" bgcolor="#EDF9D5"> <?php echo $dlist->GetPageList(7);?></td> </tr> </table> <table width="96%" 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 width='720' 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 width='110'> <select name='orderby' style='width:100'> <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='posttime'>最后评论</option> </select> </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/info_list.htm
HTML
asf20
6,715
<!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; } } var startNum = 6; function MakeUpload() { var upfield = document.getElementById("uploadfield"); var endNum = Number(document.form1.picnum.value)+startNum; if(endNum>40) endNum = 40; for(startNum;startNum<=endNum;startNum++){ upfield.innerHTML += "<input type='file' name='upfile"+startNum+"' class='inputbut'/><br/>"; } } function ResetUpload() { var upfield = document.getElementById("uploadfield"); upfield.innerHTML = ""; startNum = 2; } </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="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_add.php" method="POST" onSubmit="return CheckSubmit();"> <input type="hidden" name="dopost" value="upload"> <tr> <td width="15%" height="30" align="center" bgcolor="#FFFFFF" class='bline'>媒体类型:</td> <td width="85%" height="25" align="left" bgcolor="#FFFFFF" class='bline'> <input name="mediatype" type="radio" value="1" checked> 图片 <input type="radio" name="mediatype" value="2"> FLASH <input type="radio" name="mediatype" value="3"> 视频/音频 <input type="radio" name="mediatype" value="4"> 附件/其它 </td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>说明标题:</td> <td height="25" align="left" bgcolor="#FFFFFF" class='bline'><input name="title" type="text" id="title" size="30"></td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>参数说明:</td> <td height="30" colspan='2' align="left" bgcolor="#FFFFFF" class='bline'>图片不需要指定“宽”、“高”,其它附加参数仅方便多媒体文件管理,没其它含义</td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>附加参数:</td> <td height="25" align="left" bgcolor="#FFFFFF" class='bline'>宽: <input name="mediawidth" type="text" id="mediawidth" size="5"> (像素) 高: <input name="mediaheight" type="text" id="mediaheight" size="5"> (像素) 播放时间: <input name="playtime" type="text" id="mediawidth3" size="5"> (分钟)</td> </tr> <tr> <td height="30" align="center" bgcolor="#FFFFFF" class='bline'>上传文件:</td> <td height="30" align="left" bgcolor="#FFFFFF" class='bline'>数量: <input name="picnum" type="text" id="picnum" value="5" size="6"> <input type="button" name="Submit1" value="增加" onClick="MakeUpload()" class='inputbut'> &nbsp; <input type="button" name="Submit2" value="恢复" onClick="ResetUpload()" class='inputbut'> </td> </tr> <tr> <td height="25" align="center" bgcolor="#FFFFFF" class='bline'>&nbsp;</td> <td align="left" bgcolor="#FFFFFF" class='bline'> <input name="upfile1" type="file" id="upfile1" /><br/> <input name="upfile2" type="file" id="upfile2" /><br/> <input name="upfile3" type="file" id="upfile3" /><br/> <input name="upfile4" type="file" id="upfile4" /><br/> <input name="upfile5" type="file" id="upfile5" /><br/> <span id='uploadfield'></span> </td> </tr> <tr> <td height="62" colspan="2" bgcolor="#FFFFFF" class='bline'> <table width="60%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30" 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_add.htm
HTML
asf20
5,797
<!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.pwd.value!=''){ if(document.form1.pwd.value!=document.form1.pwd2.value){ alert("两次输入密码不一致!"); return false; } } return true; } function checkPwd() { if(document.form1.pwd.value!='') { pw1 = document.form1.pwd.value; pw2 = document.form1.pwd2.value; pw3 = pw1.replace(/[^0-9a-z_@!\.\-]/ig,''); if(pw1!=pw3){ document.getElementById('checkokpwd').innerHTML = "<font color='red'>密码含有非法字符!</font>"; }else if(pw1!=pw2){ document.getElementById('checkokpwd').innerHTML = "<font color='red'>两次密码不一致!</font>"; }else{ document.getElementById('checkokpwd').innerHTML = "<font color='green'>密码正确!</font>"; } } } </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><strong>&nbsp;&nbsp;更改个人资料</strong></b> </td> <td width="76%" align="right"></td> </tr> </table></td> </tr> <tr> <td height="215" align="center" valign="top" bgcolor="#FFFFFF"> <form name="form1" action="my_acc_edit.php" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="saveedit"> <table width="100%" border="0" cellpadding="1" cellspacing="1" class="tblist"> <tr> <td width="16%" height="28">登录ID:</td> <td width="84%" align="left"><?php echo $row['userid']?></td> </tr> <tr> <td height="24">帐户类型:</td> <td align="left"> <?php $mrow = $dsql->GetOne("Select * from #@__admintype where rank='{$row['usertype']}' "); echo $mrow['typename']; ?> </td> </tr> <tr> <td height="24">负责频道:</td> <td align="left"> <?php $typeOptions = ""; $typeids = Array(); if($row['typeid']!='') { $typeids = explode(',',$row['typeid']); $dsql->Execute('op',"Select ID,typename From #@__arctype where reID=0 And (ispart=0 Or ispart=1)"); while($row1 = $dsql->GetObject('op')) { if(in_array($row1->ID,$typeids)){ echo "{$row1->typename}、"; } $dsql->Execute('s',"Select ID,typename From #@__arctype where reID={$row1->ID} And (ispart=0 Or ispart=1)"); while($row2 = $dsql->GetObject('s')){ if(in_array($row2->ID,$typeids)){ echo "{$row2->typename}、"; } } } }else{ echo "所有频道"; } ?> </td> </tr> <tr> <td height="24" colspan="2" align="left" style="background-color: #FFFFCC;height:24px"><strong>如果不需要改密码,下面两项保留为空。</strong></td> </tr> <tr> <td height="24">新密码:</td> <td align="left"><input name="pwd" type="text" id="pwd" size="16" style="width:150px" onchange="checkPwd()" /> &nbsp;(只能用'0-9'、'a-z'、'A-Z'、'.'、'@'、'_'、'-'、'!'以内范围的字符)</td> </tr> <tr> <td height="24">确认新密码:</td> <td align="left"> <div style='float:left;margin-right:6px;'><input name="pwd2" type="text" id="pwd2" size="16" style="width:150px" onchange="checkPwd()" /></div> <div id='checkokpwd'></div> </td> </tr> <tr> <td height="28">笔名:</td> <td align="left"><input name="uname" type="text" id="uname" size="16" value="<?php echo $row['uname']?>" style="width:150px"> &nbsp;(发布文章后显示责任编辑的名字)</td> </tr> <tr> <td height="24">真实姓名:</td> <td align="left"><input name="tname" type="text" id="tname" size="16" style="width:150px" value="<?php echo $row['tname']?>"> &nbsp;</td> </tr> <tr> <td height="24">电子邮箱:</td> <td align="left"><input name="email" type="text" id="email" size="16" style="width:150px" value="<?php echo $row['email']?>"> &nbsp;</td> </tr> <tr> <td colspan="2" align="left" style="background-color:#ECFABE;height:24px;padding-left:180px"> <input type="submit" name="Submit" value=" 保存资料 " class="inputbut"/> </td> </tr> </table> </form> </td> </tr> </table> <?php echo $msg; ?> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/my_acc_edit.htm
HTML
asf20
5,281
{dede:page pagesize="10"/} <!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 language="javascript"> if(moz) { extendEventObject(); extendElementModel(); emulateAttachEvent(); } //编辑节点 function EditNote(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_edit.php?nid="+nid; } //编辑节点配置 function EditNoteText(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_edit_text.php?nid="+nid; } //清空节点 function ClearNote(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_do.php?dopost=clear&nid="+nid; } //删除节点 function DelNote(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} if(window.confirm('你确定要删除这个节点吗?')) { location.href = "co_do.php?dopost=delete&nid="+nid; } } //查看已下载的内容 function ViewDown(nid) { if(nid=="") nid = getOneItem(); location.href = "co_url.php?nid="+nid; } //测试规则 function TestRule(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_test_rule.php?nid="+nid; } //导出采集 function ExportDown(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_export.php?nid="+nid;; } //导入规则 function GetRule() { location.href = "co_get_corule.php"; } //导出规则 function ExportRule(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_export_corule.php?nid="+nid; } //采集所选节点 function GatherSel(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_gather_start.php?nid="+nid; } //复制所选节点 function CopyNote(nid) { if(nid=="") nid = getOneItem(); if(nid==""){ alert("请选择一个节点!"); return;} location.href = "co_do.php?dopost=copy&nid="+nid; } //上下文菜单 function ShowMenu(obj,nid) { var eobj,popupoptions popupoptions = [ new ContextItem("测试当前节点",function(){ TestRule(nid); }), new ContextItem("采集当前节点",function(){ GatherSel(nid); }), new ContextSeperator(), new ContextItem("更改当前节点",function(){ EditNote(nid); }), new ContextItem("更改节点配置",function(){ EditNoteText(nid); }), new ContextSeperator(), new ContextItem("查看采集内容",function(){ ViewDown(nid); }), new ContextItem("导出采集",function(){ ExportDown(nid); }), new ContextSeperator(), new ContextItem("清空已下载信息",function(){ ClearNote(nid); }), new ContextItem("删除当前节点",function(){ DelNote(nid); }), new ContextSeperator(), new ContextItem("复制当前节点",function(){ CopyNote(nid); }), new ContextSeperator(), new ContextItem("导出配置规则",function(){ ExportRule(nid); }) ] ContextMenu.display(popupoptions) } //获得选中其中一个的id function getOneItem() { var allSel=""; if(document.form1.nids.value) return document.form1.nids.value; for(i=0;i<document.form1.nids.length;i++) { if(document.form1.nids[i].checked) { allSel = document.form1.nids[i].value; break; } } return allSel; } </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} td{ padding-left:6px; } --> </style> </head> <body onLoad="ContextMenu.intializeContextMenu()"> <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" colspan="7" bgcolor="#EDF9D5"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="20%" height="18"><strong>采集节点管理:</strong></td> <td width="80%" align="right" style='padding-top:6px'> <input type="button" name="ba" value="添加新节点" onClick="location='co_add.php?action=select';" class="inputbut"> &nbsp; </td> </tr> </table></td> </tr> <tr align="center" bgcolor="#F8FBFB"> <td width="8%">选择</td> <td width="32%">节点名称</td> <td width="18%">针对规则</td> <td width="10%" bgcolor="#F8FBFB">最后采集日期</td> <td width="10%">加入日期</td> <td width="10%">编码</td> <td width="10%">网址数</td> </tr> <form name="form1"> {dede:datalist} <tr bgcolor="#FFFFFF" align="center" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';" height="22" oncontextmenu="ShowMenu(this,[field:nid /]);"> <td><input type='checkbox' name='nids' value='[field:nid /]' class='np'></td> <td><a href='co_url.php?nid=[field:nid /]'>[field:gathername /]</a></td> <td>[field:typename /]</td> <td>[field:lasttime function='GetDatePage("@me")' /]</td> <td>[field:savetime function='GetDatePage("@me")' /]</td> <td>[field:language /]</td> <td>[field:nid function='GetTJ("@me")' /]</td> </tr> {/dede:datalist} </form> <tr bgcolor="#ffffff"> <td colspan="7"> <table width="90%" border="0" cellspacing="2" cellpadding="0"> <tr> <td valign="middle" style='padding-top:6px'> &nbsp; <a href="#" onClick="location='co_add.php?action=select';" class="inputbutx">增加新节点</a> <a href="javascript:GetRule();" class="inputbutx">导入配置</a> <a href="javascript:ExportRule('');" class="inputbutx">导出配置</a> | <a href="javascript:GatherSel('');" class="inputbutx" style='color:red'>采集</a> <a href="javascript:ExportDown('');" class="inputbutx">导出数据</a> | <a href="javascript:EditNote('');" class="inputbutx">更改</a> <a href="javascript:EditNoteText('');" class="inputbutx">更改配置</a> <a href="javascript:TestRule('');" class="inputbutx">测试</a> | <a href="javascript:ViewDown('');" class="inputbutx">查看已下载</a> | <a href="javascript:CopyNote('');" class="inputbutx">复制</a> <a href="javascript:ClearNote('');" class="inputbutx">清空</a> | <a href="javascript:DelNote('');" class="inputbutx">删除</a> </td> </tr> </table> </td> </tr> <tr bgcolor="#F8FBFB"> <td height="24" colspan="7" align="center"> {dede:pagelist size='5' /} </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/co_main.htm
HTML
asf20
7,422
<!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> .napisdiv {left:10;top:0;width:150;height:100;position:absolute;z-index:3} .imglit { max-height: 100px; height:expression(this.height > 100 ? "100px" : this.height) ; } </style> <script> function $DE(eid){ return document.getElementById(eid); } function ChangeImage(surl){ $DE('picview').src = surl; } //获得选中文件的文件名 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 AllSel(){ for(i=0;i<document.form1.aids.length;i++){ document.form1.aids[i].checked = true; } } function NoneSel(){ for(i=0;i<document.form1.aids.length;i++){ document.form1.aids[i].checked = false; } } function DelSel(){ var nid = getCheckboxItem(); if(nid==""){ alert("请选择项目!\r\n"); return ; } location.href = "media_edit.php?dopost=del&ids="+nid; } </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;margin-top:8px"> <tr> <td height="19" colspan="7" bgcolor="#EDF9D5"> <table width='96%' border="0" cellpadding='0' cellspacing='0'> <tr> <td width='30%' style='padding-left:6px'><b>附件数据管理</b></td> <td align='right'> [<a href="media_add.php"><u>上传新文件</u></a>] </td> </tr> </table> </td> </tr> <tr bgcolor="#F2FAE2" height="24"> <td colspan="7"> <table width="600" border="0" cellspacing="0" cellpadding="0"> <form name='forms' method='post' action='media_main.php'> <tr> <td width="10">&nbsp;</td> <td width="70" height="30" align="center">关键字:</td> <td width="100"><input name="keyword" type="text" id="keyword" style="width:100" value="<?php echo $keyword?>"></td> <td width="100" align="center"> <select name='mediatype' style='width:80'> <option value='0'>文件类型</option> <option value='1'<?php if($mediatype==1) echo " selected"?>>图片</option> <option value='2'<?php if($mediatype==2) echo " selected"?>>FLASH</option> <option value='3'<?php if($mediatype==3) echo " selected"?>>视频/音频</option> <option value='4'<?php if($mediatype==4) echo " selected"?>>其它附件</option> </select> </td> <td width="100" align="center"> <select name='membertype' style='width:80'> <option value='0'>用户组</option> <option value='1'<?php if($membertype==1) echo " selected"?>>管理员</option> <option value='2'<?php if($membertype==2) echo " selected"?>>外部会员</option> </select> </td> <td height="30"><input name="imageField" type="submit" class="inputbut" value="搜索"></td> </tr> </form> </table> </td> </tr> <tr bgcolor="#F8FBFB" height="24" align="center"> <td width="8%">选择</td> <td width="28%">文件标题</td> <td width="10%">文件大小</td> <td width="15%">上传会员</td> <td width="15%">上传时间</td> <td width="9%">文件类型</td> <td width="15%">管理</td> </tr> <form name='form1'> <?php $mylist = $dlist->GetDataList(); $i = 0; while($row = $mylist->GetArray('dm')) { $i++; ?> <tr align="center" bgcolor="#FFFFFF" height="24" onMouseMove="javascript:this.bgColor='#EFEFEF';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td> <input type='checkbox' name='aids' id='aids<?php echo $row['aid']?>' value='<?php echo $row['aid']?>' class='np'/> </td> <td> <a href='<?php echo $row['url']?>' title='<?php echo $row['url']?>' target='_blank'> <?php if(eregi("\.(jpg|gif|png)",$row['url'])){ echo "<img src='".$row['url']."' id='n{$i}' border='0' width='100' class='imglit'/><br />"; } ?> <u><?php echo $row['title']?></u> </a> </td> <td><?php echo GetFileSize($row['filesize'])?></td> <td><?php echo UploadAdmin($row['adminname'],$row['membername'])?></td> <td><?php echo strftime("%y-%m-%d %H:%M",$row['uptime'])?></td> <td><?php echo MediaType($row['mediatype'],$row['url'])?></td> <td> <a href='media_edit.php?aid=<?php echo $row['aid']?>&dopost=edit'>更改</a> | <a href='media_edit.php?aid=<?php echo $row['aid']?>&dopost=del'>删除</a> </td> </tr> <?php } ?> <tr bgcolor="#F8FBFB" height="24"> <td height="30" colspan="7" style="padding-top:6px"> &nbsp; <input type="button" name="b4" value="全选" class="inputbut" style="width:40" onClick="AllSel();"> &nbsp; <input type="button" name="b5" value="取消" class="inputbut" style="width:40" onClick="NoneSel();"> &nbsp; <input type="button" name="b6" value="删除所选" class="inputbut" style="width:80" onClick="DelSel();"> </td> </tr> <tr bgcolor="#EEFAC9" height="24"> <td colspan="7" align="center" bgcolor="#EDF9D5" height="48"> <?php echo $dlist->GetPageList(5);?> </td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/media_main.htm
HTML
asf20
5,942
<!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" colspan="2" bgcolor="#EDF9D5"> <strong> ◆文档信息统计:</strong> </td> </tr> <tr> <td height="250" colspan="2" align="center" valign="top" bgcolor="#FFFFFF"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr><td height="10"></td></tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><strong>综合信息统计:</strong></td> <td align="left"><table width="300" border="0" cellpadding="1" cellspacing="1" bgcolor="#996666"> <tr bgcolor="#FFFFFF"> <td width="140" bgcolor="#F3ECDA">&nbsp;文档总数:</td> <td width="152"> [<?php echo $row1['dd']?>]</td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#F3ECDA">&nbsp;评论总数:</td> <td> [<?php echo $row2['dd']?>]</td> </tr> <tr bgcolor="#FFFFFF"> <td bgcolor="#F3ECDA">&nbsp;会员总数:</td> <td> [<?php echo $row3['dd']?>]</td> </tr> </table></td> </tr> <tr> <td width="13%" height="80"><strong>频道信息统计:</strong></td> <td width="87%" align="left"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10"></td> </tr> </table> <table width="300" border="0" cellpadding="1" cellspacing="1" bgcolor="#996666"> <tr align="center" bgcolor="#E8E6D7"> <td width="140" bgcolor="#E8E6D7">频道名称</td> <td>文档总数</td> </tr> <?php $dsql->SetQuery("Select ID,typename From #@__channeltype"); $dsql->Execute(); while($row = $dsql->GetObject()){ ?> <tr align="center" bgcolor="#FFFFFF"> <td align="left">&nbsp;<?php echo $row->typename?></td> <td align="left"> [<?php $row1 = $dsql->GetOne("Select count(*) as dd From #@__archives where channel='{$row->ID}'"); echo $row1['dd']; ?>] </td> </tr> <?php } ?> </table></td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="10"></td> </tr> </table></td> </tr> <tr> <td height="20" colspan="2" bgcolor="#DFE9C0"></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_tj.htm
HTML
asf20
3,378
{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="company_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="company_main.php">所有会员</a> | <a href="company_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="company_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:spacename/] [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="company_view.php?ID=[field:ID/]">资料</a> | <a href="company_do.php?ID=[field:ID/]&dopost=recommend&matt=[field:matt/]">推荐</a> | <a href="company_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/company_main.htm
HTML
asf20
4,951
1227667086
zyyhong
trunk/jiaju001/news/lic/templets/file_edit.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" /> </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_map.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;更新网站地图:</strong></td> <td width="70%" align="right"></td> </tr> </table></td> </tr> <tr height="20" bgcolor="#FFFFFF"> <td width="25%"><strong>&nbsp;&nbsp;</strong>地图类型:</td> <td> <strong>&nbsp;&nbsp;</strong> <input name="dopost" type="radio" id="mdopost" value="site" checked> 普通地图 &nbsp; <input name="dopost" type="radio" id="mdopost" value="rss"> RSS地图 </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_map_guide.htm
HTML
asf20
2,747
<!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' src='main.js'></script> <script language='javascript' src='../include/dedeajax2.js'></script> <script language='javascript'> function ShowFields(){ var exptable = $DE('exptable').options[$DE('exptable').selectedIndex].value; var queryUrl = "keywords_fetch_action.php?exptable="+exptable+"&action=getfields"; var myajax = new DedeAjax($DE('fields'),true,true,'','x','...'); myajax.SendGet(queryUrl); } function CheckSubmit(){ if($DE('rpfield').value==""){ alert("你选择的操作为手工指定字段,但你并没指定!"); return false; } return true; } function pf(v){ $DE('rpfield').value = v; } </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;"> <form action="keywords_fetch_action.php" name="form1" method="post" target="stafrm" onSubmit="return CheckSubmit()"> <input type='hidden' name='action' value='fetch'> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong>&nbsp;批量提取关键词</strong> </td> <td>&nbsp;</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr id='datasel'> <td width="15%" height="66">&nbsp;选择频道与关键词来源字段:</td> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="tables"> <?php $dsql = new DedeSql(false); if(!$dsql->linkID){ echo "<font color='red'>连接数据库失败!</font><br>"; echo $qbutton; exit(); } $dsql->SetQuery("select ID,typename,addtable from #@__channeltype"); $dsql->Execute('t'); if($dsql->GetError()!=""){ echo "<font color='red'>找不到你所指定的数据库! $dbname</font><br>"; echo $qbutton; } echo "<select name='exptable' id='exptable' size='10' style='width:60%' onchange='ShowFields()'>\r\n"; while($row = $dsql->GetArray('t')){ //$row[0] = setstr($row[0]); if($row['ID'] == 1) { $select = 'selected'; }else{ $select = ''; } echo "<option value='".$row['ID']."' $select>".$row['typename']."</option>\r\n"; } echo "</select>\r\n"; $dsql->Close(); ?> </td> </tr> <tr> <td id='fields'> <div style='border:1px solid #ababab;background-color:#FEFFF0;margin-top:6px;padding:3px;line-height:160%'> 表(dede_addonarticle)含有的字段:<br> <a href="javascript:pf('aid')"><u>aid</u></a> <a href="javascript:pf('typeid')"><u>typeid</u></a> <a href="javascript:pf('body')"><u>body</u></a> <input type='hidden' name='addtable' value='#@__addonarticle' /> </div> </td> </tr> <tr> <td height="28"> 来源字段: <input name="rpfield" type="text" id="rpfield" value="body"></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 - 520; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/keywords_fetch.htm
HTML
asf20
5,172
<!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>编辑Flash信息</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() { mflash = document.getElementById("myflash"); document.form1.remoteflash.value = mflash.innerHTML; if(document.form1.title.value==""){ alert("文章标题不能为空!"); return false; } return true; } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/flash_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"><u>FLASH列表</u></a>&gt;&gt;更改FLASH</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>FLASH内容</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">FLASH内容&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">作品名称:</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" 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"]?>" /> </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:60" 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="340"><?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 width="370"> (只允许在白色选项的栏目中发布当前类型内容)</td> </tr> </table></td> </tr> <tr> <td height="28" bgcolor="#FFFFFF" class="bline2"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">副分类:</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="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"><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" height="33">作 者:</td> <td height="33"><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" /><script language='JavaScript' type="text/javascript">InitPage();</script> </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 height="33"><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="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="90">发布选项:</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="300"><?php $nowtime = GetDateTimeMk($arcRow["pubdate"]); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="90" align="center">消费点数:</td> <td><input name="money" type="text" id="money" value="<?php echo $arcRow["money"]?>" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="28"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="326"><textarea name="likeid" cols="50" rows="6" id="likeid" style="width:320px;height:45px;float:left;margin-right:10px"><?php echo $arcRow["likeid"]; ?></textarea></td> <td width="384"><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 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="filesize" type="text" id="filesize" style="width:100px" value="<?php echo $addRow["filesize"]?>" /> </td> <td width="90">播放时间:</td> <td><input name="tms" type="text" id="tms" size="10" value="<?php echo $addRow["playtime"]?>" /> </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="flashtype" id="flashtype"> <?php if($addRow["flashtype"]!="") { echo "<option value=\"".$addRow["flashtype"]."\">".$addRow["flashtype"]."</option>\r\n"; } ?> <option value="短篇剧场">短篇剧场</option> <option value="长篇剧场">长篇剧场</option> <option value="MTV">MTV</option> <option value="搞笑动画">搞笑动画</option> <option value="小游戏">小游戏</option> </select> </td> <td width="90">作品等级:</td> <td><select name="flashrank" id="flashrank" style="width:100px"> <?php echo "<option value=\"".$addRow["flashrank"]."\">".$addRow["flashrank"]."星</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><input name="width" type="text" id="width" size="10" value="<?php echo $addRow["width"]?>" /> 高度: <input name="height" type="text" id="height" size="10" value="<?php echo $addRow["height"]?>" /> </td> </tr> </table></td> </tr> <tr> <td height="28"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">FLASH地址:</td> <td width="341" align="left"><input name="flashurl" type="text" id="flashurl" size="40" value="<?php echo $addRow["flashurl"]?>" /> <input name="selflash" type="button" id="modcolor3" value="选取" onclick="SelectFlash()" class="inputbut" /></td> <td width="369"><input name="downremote" type="checkbox" id="downremote" value="1" /> 远程文件本地化</td> </tr> </table> <table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td><!-- 自定义字段 --><?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?></td> </tr> </table> </td> </tr> </table></td> </tr> <tr> <td height="28">&nbsp;</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 type="button" name="button" id="button" value="返回" class="inputbut"/></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/flash_edit.htm
HTML
asf20
19,955
<!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 type="text/javascript" src="main.js"></script> <script language='javascript'> //获得选中文件的文件名 function getCheckboxItem() { var allSel=""; if(document.feedback.fid.value) return document.feedback.fid.value; for(i=0;i<document.feedback.fid.length;i++) { if(document.feedback.fid[i].checked) { if(allSel=="") allSel=document.feedback.fid[i].value; else allSel=allSel+"`"+document.feedback.fid[i].value; } } return allSel; } function selAll() { for(i=0;i<document.feedback.fid.length;i++) { document.feedback.fid[i].checked=true; } } function selNone() { for(i=0;i<document.feedback.fid.length;i++) { document.feedback.fid[i].checked=false; } } function selNor() { for(i=0;i<document.feedback.fid.length;i++) { if(document.feedback.fid[i].checked==false) document.feedback.fid[i].checked=true; else document.feedback.fid[i].checked=false; } } function delFeedback() { var qstr=getCheckboxItem(); if(qstr=="") alert("你没选中任何内容!"); else if(window.confirm('你确定要删除这些评论吗?')) location.href="feedback_d.php?job=del&fid="+qstr; } function checkFeedback() { var qstr=getCheckboxItem(); if(qstr=="") alert("你没选中任何内容!"); else location.href="feedback_d.php?job=check&fid="+qstr; } function editFeedback() { var qstr=getCheckboxItem(); if(qstr=="") alert("你没选中任何内容!"); else location.href="feedback_edit.php?job=edit&fid="+qstr; } </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;"> <form name='form1'> <tr> <td height="18" bgcolor="#EDF9D5" style="padding-top:6px"> &nbsp; <b>评论管理</b> 关键字: <input type='text' size='15' name='keyword' style='width:150px'> <input type='submit' name='sb' value=' 确定 'class="inputbut"> </td> </tr> </form> <form name='feedback'> <tr> <td height="215" bgcolor="#FFFFFF" valign="top"> <table width='100%' border='0' cellpadding='0' cellspacing='0'> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { if(!empty($row['aid'])){ //$arcurl = $cfg_plus_dir.'/view.php?aid='.$row['aid']; $arcurl = "archives_do.php?aid={$row['aid']}&dopost=editArchives"; } else $arcurl = $row['url']; if(empty($row['arctitle'])) $row['arctitle'] = "无法取得文档标题"; ?> <tr height='25'> <td style="padding:3px"> <table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr bgcolor="#F7F7F7"> <td width="9%"> &nbsp;选择 <input name="fid" type="checkbox" id="fid" value="<?php echo $row['ID']?>" class="np" /> </td> <td width="37%"> &nbsp; 用户: <?php echo $row['username'];?>&nbsp; 文档:<a href='<?php echo $arcurl; ?>' target="_blank"><?php echo $row['arctitle'];?></a> </td> <td width="18%" align="center"> IP地址: <?php echo $row['ip']; ?> </td> <td width="26%"> &nbsp;时间: <?php echo GetDateTimeMK($row['dtime'])?> </td> <td width="10%" align="center"> <a href='feedback_edit.php?ID=<?php echo $row['ID']?>'><img src="img/feedback-edit.gif" border="0" width="45" height="18"></a> </td> </tr> <tr align="center" bgcolor="#FFFFFF"> <td height="28" colspan="5"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left"> <?php echo IsCheck($row['ischeck']); ?> <?php echo $row['msg'];?> </td> </tr> </table></td> </tr> </table> </td> </tr> <?php } ?> <tr> <td height='36' align='center' bgcolor='#EAEEE1'> <?php echo $dlist->GetPageList(7);?></td> </tr> <tr> <td height='30'> <table width="98%"> <tr> <td width="30%" height="30" style="padding-top:6px;padding-left:6px"> <input type='button' name='kk1' value='全选' onClick="selAll()" class="inputbut"> <input type='button' name='kk2' value='取消' onClick="selNone()" class="inputbut"> <input type='button' name='kk3' value='反选' onClick="selNor()" class="inputbut"></td> <td align="right" style="padding-top:6px;padding-right:6px"> <input type='button' name='db' value=' 删除评论 ' onClick="delFeedback()" class='inputbut'> &nbsp; <input type='button' name='db2' value=' 审核评论 ' onClick="checkFeedback()" class='inputbut'> </td> </tr> </table> </td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/feedback_main.htm
HTML
asf20
4,865
<!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;&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_edit.php" method="post" enctype="multipart/form-data" name="form1"> <input type='hidden' name='aid' value='<?php echo $aid?>'> <input type='hidden' name='dopost' value='saveedit'> <tr> <td width="15%" height="25" align="center">所属栏目:</td> <td colspan="2"> <?php $tl = new TypeLink(0); $typeOptions = $tl->GetOptionArray($row['typeid'],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"><?php echo $row['tagname']?></td> </tr> <tr> <td height="25" align="center">时间限制:</td> <td colspan="2"><input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked"; ?>> 永不过期 <input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked"; ?>> 在设内时间内有效</td> </tr> <tr> <td height="25" align="center">开始时间:</td> <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td> </tr> <tr> <td height="25" align="center">结束时间:</td> <td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td> </tr> <tr> <td height="80" align="center">正常显示内容:</td> <td width="76%"> <textarea name="normbody" id="normbody" style="width:80%;height:100"><?php echo $row['normbody']?></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"><?php echo $row['expbody']?></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_edit.htm
HTML
asf20
3,535
{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;广告管理</b>&nbsp;[<a href="ad_add.php"><u>增加一个新广告</u></a>] </td> </tr> <tr align="center" bgcolor="#F8FBFB" height="24"> <td width="8%">编号</td> <td width="20%">广告名称</td> <td width="12%">投放范围</td> <td width="11%">是否限时</td> <td width="11%">结束时间</td> <td width="20%">广告代码</td> <td width="18%">管理</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:adname /]</td> <td>[field:typename function='TestType("@me")'/]</td> <td>[field:timeset function='TimeSetValue(@me)'/]</td> <td>[field:endtime function='GetDateMk(@me)'/]</td> <td>{[field:a/]dede:myad name='[field:tagname /]'/[field:b/]}</td> <td> <a href='ad_edit.php?aid=[field:aid /]&dopost=getjs'>[JS]</a> <a href='ad_edit.php?aid=[field:aid /]&dopost=edit'>[更改]</a> <a href='ad_edit.php?aid=[field:aid /]&dopost=delete'>[删除]</a> </td> </tr> {/dede:datalist} <tr align="center" bgcolor="#F8FBFB" height="24"> <td colspan="7">{dede:pagelist listsize=6/}</td> </tr> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/ad_main.htm
HTML
asf20
2,090
<!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;"> <form action="module_make.php" method="post" enctype="multipart/form-data" name="form1"> <input type='hidden' name='action' value='make'> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;<a href="module_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="modulname" type="text" id="modulname" style="width:180px" /> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">联系Email:</td> <td bgcolor="#FFFFFF"><input name="email" type="text" id="email" style="width:180px" onchange="LoadHashCode()"/> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">模块识别码:</td> <td bgcolor="#FFFFFF"> <span id='modulcode'></span> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">开发团队:</td> <td bgcolor="#FFFFFF"><input name="team" type="text" id="team" style="width:180px" /> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">发布时间:</td> <td bgcolor="#FFFFFF"> <input name="mtime" type="text" id="mtime" style="width:180px" value="<?php echo GetDateMk(time()); ?>"/> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">官方网址:</td> <td bgcolor="#FFFFFF"><input name="url" type="text" id="url" style="width:180px" /> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">协议文件:</td> <td bgcolor="#FFFFFF"><input name="readme" type="file" id="readme" style="width:350px" /> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">安装程序:</td> <td bgcolor="#FFFFFF"><input name="setup" type="file" id="setup" style="width:350px" /></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">删除程序:</td> <td bgcolor="#FFFFFF"><input name="uninstall" type="file" id="uninstall" style="width:350px" /></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">文件列表:</td> <td bgcolor="#FFFFFF"><p>每行指定一个文件或目录,路径为相对于本目录,本目录的文件则直接用文件名即可,对于整个打包的目录,不需要指定子目录里的文件。<br /> 如:<br /> 如果已经指定了: ../book 则不需要再指定目录里的 ../book/index.php 等文件或目录,系统会自动索引整个目录,<br /> 对于不需要索引整个目录的,请不要指定这个目录,否则可能会把不必要的文件也放进模块中。 <br> <textarea name="filelist" rows="8" id="filelist" style="width:60%"></textarea> </p> </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_make.htm
HTML
asf20
4,515
<!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:3px; } </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="member_password_action.php" name="form1" target="stafrm"> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><strong><a href="co_main.php"><u>会员管理</u></a> &gt;<A href="member_password.php" target="main"> 密码类型变换</A>:</strong> </td> <td align="right">&nbsp;</td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#FFFFFF"> <td colspan="4"><img src="img/help.gif" width="16" height="16">密码类型变换用于两种用途:<br> 1、把dede原来的明文形式密码转为加密的密码;<br> 2、为导入第三方系统的数据,并整合第三主系统。<br> <font color="#FF0000"><strong>注意问题:<br> </strong>如果密码选择了MD5类型,以后将无法逆向转换为其它形式(唯一可做的是减短MD5密码长度),如果你要导入phpwind或Discuz数据请用32位MD5(如果仅是整合系统是不需要转换的)。</font></td> </tr> <tr bgcolor="#EFFAFE"> <td width="18%" bgcolor="#EDF9D5">密码类型:</td> <td colspan="3" bgcolor="#EDF9D5"> <input type="radio" name="newtype" value="none"<?php if($cfg_pwdtype=='none') echo ' checked';?>> 明文(不加密) <input type="radio" name="newtype" value="md5"<?php if($cfg_pwdtype=='md5') echo ' checked';?>> MD5加密 <input type="radio" name="newtype" value="md5m16"<?php if($cfg_pwdtype=='md5m16') echo ' checked';?>> MD5中间16位 <input type="radio" name="newtype" value="dd"<?php if($cfg_pwdtype=='dd') echo ' checked';?>> Dede算法 </td> </tr> <tr> <td>MD5长度:</td> <td width="27%"> <input name="newmd5len" type="text" id="newmd5len" value="<?php echo $cfg_md5len?>"> </td> <td width="14%">Dede加密密钥:</td> <td width="41%"><input name="newsign" type="text" id="newsign" value="<?php echo $cfg_ddsign?>"> </td> </tr> <tr> <td height="29">安全确认码:</td> <td colspan="3"><table width="300" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90"><input type="text" name="validate" style="width:80;height:20"></td> <td><img src='../include/vdimgck.php' width='50' height='20'></td> </tr> </table></td> </tr> <tr> <td height="29">附加选项:</td> <td colspan="3"> <input name="notcdata" type="checkbox" id="notcdata" value="1" checked>无数据转换(仅修改配置) </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/member_password.htm
HTML
asf20
5,054
1227667320
zyyhong
trunk/jiaju001/news/lic/templets/mynews_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>移动列表</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;"> <tr> <td width="100%" height="24" colspan="2" bgcolor="#EDF9D5"> &nbsp;<a href="catalog_main.php"><u>栏目管理</u></a>&gt;&gt;移动列表 </td> </tr> <tr> <td height="200" colspan="2" valign="top" bgcolor="#FFFFFF"> <form name="form1" method="get" action="catalog_move.php"> <input name="typeid" type="hidden" id="typeid" value="<?php echo $typeid?>"> <input name="job" type="hidden" id="job" value="moveok"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td colspan="2" height="12"></td> </tr> <tr> <td height="25" colspan="2" bgcolor="#F2F8FB"> &nbsp;移动目录时不会删除原来已创建的列表,移动后需重新对栏目创建HTML。 </td> </tr> <tr> <td width="30%" height="25">你选择的栏目是:</td> <td width="70%"> <?php echo "$typename($typeid)"; ?> </td> </tr> <tr> <td height="30">你希望移动到那个栏目?</td> <td> <select name="movetype"> <option value='0'>移动为顶级栏目</option> <?php echo $typeOptions?> </select> </td> </tr> <tr> <td height="25" colspan="2" bgcolor="#F2F8FB"> &nbsp;不允许从父级移动到子级目录,只允许子级到更高级或同级或不同父级的情况。 </td> </tr> <tr> <td height="74">&nbsp;</td> <td> <input type="submit" name="Submit" value="确定操作" class="inputbut">   <input name="Submit11" type="button" id="Submit11" value="-不理返回-" onClick="history.go(-1);" class="inputbut"> </td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/catalog_move.htm
HTML
asf20
2,513
<!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="member_rank.php" method="post"> <input type="hidden" name="dopost" value="save"> <tr> <td height="24" colspan="4" bgcolor="#EDF9D5"> &nbsp;<strong>会员管理 &gt; 会员级别管理:</strong> </td> </tr> <tr bgcolor="#F8FCF1"> <td height="24" colspan="4"><strong>会员名称和级别值:(注册会员这个级别禁止删除)</strong></td> </tr> <tr bgcolor="#FDFEE9"> <td width="25%" height="24" align="center" valign="top">名称</td> <td width="27%" align="center" valign="top">级别值</td> <td width="24%" align="center">默认拥有金币</td> <td width="24%" align="center">状态</td> </tr> <?php $dsql->SetQuery("Select * From #@__arcrank where rank>0 order by rank"); $dsql->Execute(); $k=0; while($row = $dsql->GetObject()) { $k++; ?> <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->ID?>"> <tr align="center" bgcolor="#FFFFFF"> <td height="24" valign="top"> <input name="name_<?php echo $k?>" value="<?php echo $row->membername?>" type="text" id="name_<?php echo $k?>" size="20"> </td> <td height="24" valign="top"> <input name="rank_<?php echo $k?>" value="<?php echo $row->rank?>" type="text" id="rank_<?php echo $k?>" size="20"> </td> <td> <input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" size="20"> </td> <td> <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked> 继续使用 </td> </tr> <?php } ?> <input type="hidden" name="idend" value="<?php echo $k?>"> <tr bgcolor="#F8FCF1"> <td height="24" colspan="4" valign="top" bgcolor="#EDF9D5"><strong>新增一个等级:</strong></td> </tr> <tr> <td height="24" align="center" valign="top" bgcolor="#FFFFFF"> <input name="name_new" type="text" id="name_new" size="20"> </td> <td height="24" align="center" valign="top" bgcolor="#FFFFFF"> <input name="rank_new" type="text" id="rank_new" size="20"> </td> <td align="center" bgcolor="#FFFFFF"> <input name="money_new" type="text" id="money_new" size="20"> </td> <td align="center" bgcolor="#FFFFFF"><input name="check_new" type="checkbox" id="check_new" value="1"> 增加新等级</td> </tr> <tr> <td height="24" colspan="4" bgcolor="#EDF9D5">&nbsp;</td> </tr> <tr> <td height="34" colspan="4" align="center" bgcolor="#FFFFFF"> <input name="imageField" type="submit" class="inputbut" value="确定"> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_rank.htm
HTML
asf20
3,389
<!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> <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="mynews_edit.php" method="post" name="form1" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="editsave"> <input type="hidden" name="aid" value="<?php echo $myNews['aid']?>"> <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" align="left">  说明:站内新闻是为了方便站长发布站点公告而设置的一种小功能,由于要读取包括text字段的信息,应定期删除太旧的信息,否则可能会让模板解析速度变慢。如果没有选择显示频道,则在这个频道中使用这个标记时会被“所有位置...”的标记内容代替。</td> </tr> <tr> <td height="20" colspan="2" align="left">  站内新闻调用代码: {dede:mynews row='条数' titlelen='标题长度'}Innertext{/dede:mynews},Innertext支持的字段为:[field:title /],[field:writer /],[field:senddate /](时间),[field:body /]。 </td> </tr> <tr> <td width="13%" height="30" align="left">标 题:</td> <td width="87%" align="left"> <input name="title" type="text" id="title" value="<?php echo $myNews['title']?>" size="30" style="width:300"> </td> </tr> <tr> <td height="30" align="left">显示频道:</td> <td align="left"> <select name="typeid" style="width:150"> <?php $dsql->SetQuery("Select ID,typename From #@__arctype where reID=0 order by ABS(".$myNews['typeid']." - ID) asc"); $dsql->Execute(); while($row = $dsql->GetObject()) { echo "<option value='".$row->ID."'>".$row->typename."</option>\r\n"; } if($myNews['typeid']=="0") echo "<option value=\"0\" selected>所有位置...</option>\r\n"; else echo "<option value=\"0\">所有位置...</option>\r\n"; ?> </select> </td> </tr> <tr> <td height="30" align="left">发言人:</td> <td align="left"><input name="writer" type="text" id="writer" value="<?php echo $myNews['writer']?>" size="16">   日期: <input name="sdate" type="text" id="sdate" size="25" value="<?php echo GetDateTimeMk($myNews['senddate'])?>"></td> </tr> <tr> <td height="172" align="left" valign="top">信息内容:</td> <td height="172" align="left"> <?php GetEditor("body",$myNews['body'],250,"Small"); ?> </td> </tr> <tr> <td height="38" align="left">&nbsp;</td> <td align="left"><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_edit.htm
HTML
asf20
4,308
<dede:comments> <!-- //织梦采集在线版的配置文件模板 //详细说明请到: www.dedecms.com 官方网站阅读介绍 //节点的基本信息 <dede:item></dede:item> //被采采集的列表配置 <dede:list></dede:list> //被采集的文章配置 <dede:art></dede:art> //枚举类别 <dede:typeEnum></dede:typeEnum> --> </dede:comments> ~templets~
zyyhong
trunk/jiaju001/news/lic/templets/co_config.htm
HTML
asf20
384
<!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 language="javascript" src="../include/dedeajax2.js"></script> <script language="javascript"> function LoadSuns(ctid,tid) { if(document.getElementById(ctid).innerHTML.length < 10){ var myajax = new DedeAjax($DE(ctid),false,true,'-','-','...'); myajax.SendGet('catalog_do.php?dopost=GetSunLists&cid='+tid); //DedeXHTTP = null; } else{ showHide(ctid); } } function showHide(objname) { if(document.getElementById(objname).style.display=="none") document.getElementById(objname).style.display = "block"; else document.getElementById(objname).style.display="none"; } if(moz) { extendEventObject(); extendElementModel(); emulateAttachEvent(); } //普通栏目 function CommonMenu(obj,tid,tname) { var eobj,popupoptions popupoptions = [ new ContextItem("增加内容",function(){ location="catalog_do.php?cid="+tid+"&dopost=addArchives"; }), new ContextItem("管理内容",function(){ location="catalog_do.php?cid="+tid+"&dopost=listArchives"; }), new ContextSeperator(), new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_plus_dir?>/list.php?tid="+tid); }), new ContextItem("更新HTML",function(){ location="makehtml_list.php?cid="+tid; }), new ContextItem("获取JS文件",function(){ location="catalog_do.php?cid="+tid+"&dopost=GetJs"; }), new ContextSeperator(), new ContextItem("增加子类",function(){ location="catalog_add.php?ID="+tid; }), new ContextItem("更改栏目",function(){ location="catalog_edit.php?ID="+tid; }), new ContextSeperator(), new ContextItem("移动栏目",function(){ location='catalog_move.php?job=movelist&typeid='+tid }), new ContextItem("删除栏目",function(){ location="catalog_del.php?ID="+tid+"&typeoldname="+tname; }), new ContextSeperator(), new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }) ] ContextMenu.display(popupoptions) } //互动栏目 function CommonMenuWd(obj,tid,tname) { var eobj,popupoptions popupoptions = [ new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_plus_dir?>/list.php?tid="+tid); } ), new ContextSeperator(), new ContextItem("增加内容",function(){location="catalog_do.php?cid="+tid+"&dopost=addArchives";}), new ContextItem("管理内容",function(){location="catalog_do.php?cid="+tid+"&dopost=listArchives";}), new ContextSeperator(), new ContextItem("增加子类",function(){location="catalog_add.php?ID="+tid;}), new ContextItem("更改栏目",function(){location="catalog_edit.php?ID="+tid;}), new ContextSeperator(), new ContextItem("移动栏目",function(){location='catalog_move.php?job=movelist&typeid='+tid}), new ContextItem("删除栏目",function(){location="catalog_del.php?ID="+tid+"&typeoldname="+tname;}), new ContextSeperator(), new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }) ] ContextMenu.display(popupoptions) } //封面模板 function CommonMenuPart(obj,tid,tname) { var eobj,popupoptions popupoptions = [ new ContextItem("增加内容",function(){top.document.frames['main'].location="catalog_do.php?cid="+tid+"&dopost=addArchives";}), new ContextItem("管理内容",function(){location="catalog_do.php?cid="+tid+"&dopost=listArchives";}), new ContextSeperator(), new ContextItem("预览分类",function(){ window.open("<?php echo $cfg_plus_dir?>/list.php?tid="+tid); }), new ContextItem("更新HTML",function(){ location="makehtml_list.php?cid="+tid; }), new ContextItem("获取JS文件",function(){ location="catalog_do.php?cid="+tid+"&dopost=GetJs"; }), new ContextSeperator(), new ContextItem("增加子类",function(){location="catalog_add.php?ID="+tid;}), new ContextItem("更改栏目",function(){location="catalog_edit.php?ID="+tid;}), new ContextSeperator(), new ContextItem("移动栏目",function(){location='catalog_move.php?job=movelist&typeid='+tid}), new ContextItem("删除栏目",function(){location="catalog_del.php?ID="+tid+"&typeoldname="+tname;}), new ContextSeperator(), new ContextItem("向上排前一级",function(){ location="catalog_do.php?cid="+tid+"&dopost=upRank"; }) ] ContextMenu.display(popupoptions) } //单个页面 function SingleMenu(obj,tid,tname) { var eobj,popupoptions popupoptions = [ new ContextItem("预览页面",function(){ window.open("catalog_do.php?cid="+tid+"&dopost=viewSgPage"); }), new ContextItem("编辑页面",function(){ location="catalog_do.php?cid="+tid+"&dopost=editSgPage"; }), new ContextItem("编辑模板",function(){ location="catalog_do.php?cid="+tid+"&dopost=editSgTemplet"; }), new ContextSeperator(), new ContextItem("更改栏目",function(){location="catalog_edit.php?ID="+tid;}), new ContextSeperator(), new ContextItem("移动栏目",function(){location='catalog_move.php?job=movelist&typeid='+tid}), new ContextItem("删除栏目",function(){location="catalog_del.php?ID="+tid+"&typeoldname="+tname;}), new ContextSeperator(), new ContextItem("向上排前一级",function(){ window.location="catalog_do.php?cid="+tid+"&dopost=upRank"; }) ] ContextMenu.display(popupoptions) } </script> <style> .coolbg2 { border: 1px solid #000000; background-color: #F2F5E9; height:18px } .coolbt2 { border-left: 2px solid #EFEFEF; border-top: 2px solid #EFEFEF; border-right: 2px solid #ACACAC; border-bottom: 2px solid #ACACAC; background-color: #F7FCDA } .bline {border-bottom: 1px solid #BCBCBC;background-color:#F3F6FA;} .nbline {border-bottom: 1px solid #DEDEDE;background-color:#FFFFFF;} .bline2 {border-bottom: 1px solid #BCBCBC;background-color:#F8F8F8;} .bline3 {border-bottom: 1px solid #A3B3BE;background-color:#FFFFF0;} </style> </head> <body leftmargin='8' topmargin='8' onLoad="ContextMenu.intializeContextMenu()"> <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"> <div style='float:left'><strong>网站栏目管理</strong>(在IE浏览器中可使用右键菜单进行操作。)</div> <div style='float:right;padding-right:30px'><a href='catalog_add.php?listtype=all'><b>↑创建顶级栏目</b></a></div> </td> </tr> </table> <form name="form1" action="catalog_do.php?dopost=upRankAll" method="post"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr align="center"> <td width="7%" class="tbsname">选择</td> <td width="6%" class="tbsname">ID</td> <td width="27%" class="tbsname">名称</td> <td width="10%" class="tbsname">记录数</td> <td width="8%" class="tbsname">内容模型</td> <td width="34%" class="tbsname">管理</td> <td width="8%" class="tbsname">排序</td> </tr> </table> <?php if(empty($opendir)) $opendir=-1; $tu = new TypeUnit($userChannel); $tu->ListAllType($userChannel,$opendir); $tu->Close(); ?> </form> <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="button" value="增加顶级栏目" class="inputbut" onClick="location='catalog_add.php?listtype=all';"/> <input type="button" value="更新排序" class="inputbut" onClick="document.form1.submit();"/> <input type="button" value="获取JS" class="inputbut" onClick="location='makehtml_js.php';"/> <input type="button" value="更新栏目HTML" class="inputbut" onClick="location='makehtml_list.php';"/> <input type="button" value="更新文档HTML" class="inputbut" onClick="location='makehtml_archives.php';"/> </p></td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/catalog_main.htm
HTML
asf20
8,660
<!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> <form name="form1" action="article_source_edit.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></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="30" align="left"> 每行保存一个来源,更改结果后需重载档案发布页面。</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="80" align="left"><textarea name="allsource" rows="10" id="allsource" style="width:100%;height:300"><?php echo $allsource?></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="Submit" value="保存数据" class="inputbut"/></td> </tr> </table></form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_source_edit.htm
HTML
asf20
1,801
<!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 type="text/javascript" src="main.js"></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='form2' action='content_list.php' method="get" target='stafrm'> <input type='hidden' name='nullfield' value='ok'> </form> <form name="form1" action="makehtml_archives_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;更新文档HTML:</strong></td> <td width="70%" align="right">&nbsp; </td> </tr> </table></td> </tr> <tr> <td width="108" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>选择栏目:</td> <td width="377" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong> <?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,'请选择...'); } ?></td> </tr> <tr> <td height="20" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>起始ID:</td> <td height="20" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong> <input name="startid" type="text" id="startid" size="10"> (空或0表示从头开始)</td> </tr> <tr> <td height="20" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>结束ID:</td> <td height="20" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong> <input name="endid" type="text" id="endid" size="10"> (空或0表示直到结束ID) </td> </tr> <tr> <td height="20" bgcolor="#FFFFFF"><strong>&nbsp;&nbsp;</strong>每页生成:</td> <td height="20" bgcolor="#FFFFFF"> <strong>&nbsp;&nbsp;</strong> <input name="pagesize" type="text" id="pagesize" value="20" size="8"> 个文件 <input type="checkbox" name="onlymake" value="1" />仅更新未生成html的文档 </td> </tr> <tr> <td height="35" colspan="2" align="center" valign="middle" bgcolor="#F8FBFB" style="padding-top:6px"> <input name="b112" type="button" value="开始生成HTML" 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" 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 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_archives.htm
HTML
asf20
4,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" /> <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/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"> <!-- td{ padding:3px; } --> </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 name="form1" action="tag_test_action.php" target="stafrm" method="post"> <input type="hidden" name="dopost" value="make"> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="30%"><strong>&nbsp;全局标记测试:</strong></td> <td width="70%" align="right">&nbsp;</td> </tr> </table></td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#FFFFFF">   全局标记指的是应用在网站主页、单独页面、频道封面使用的单独的模板标记,在列表或文章模板中,一般只允许调用channel、arclist标记(hotart、coolart、imglist等都是这个标记延伸出来的标记),但是环境变量限定为文章或列表所在的栏目,如果你要测试的标记是在列表或文章中使用,请指定环境变量(栏目ID)。<br/>   各标记的具体含义和用途,请在<a href="http://www.dedecms.com/archives/templethelp/help/index.htm" target="_blank"><u>模板标记参考</u></a>一章查阅。 </td> </tr> <tr> <td colspan="2" valign="top" bgcolor="#FFFFFF">输入要测试的局部代码: </td> </tr> <tr> <td colspan="2" bgcolor="#FFFFFF"> <textarea name="partcode" id="partcode" style="width:98%;height:150px"></textarea> </td> </tr> <tr> <td width="103" height="20" valign="top" bgcolor="#FFFFFF">环境变量:</td> <td width="865" height="20" valign="top" bgcolor="#FFFFFF">&nbsp; <?php if(empty($cid)) $cid="0"; $tl = new TypeLink($cid); $typeOptions = $tl->GetOptionArray($cid,$cuserLogin->getUserChannel(),0); echo "<select name='typeid' style='width:300px'>\r\n"; if($cid=="0") echo "<option value='0' selected>不使用环境ID...</option>\r\n"; echo $typeOptions; echo "</select>"; $tl->Close(); ?> </td> </tr> <tr> <td height="31" colspan="2" bgcolor="#F8FBFB" align="center"> <input type="submit" name="Submit" value="提交测试" 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 height="50" colspan="2" id="mtd"> <div id='mdv' style='width:100%;height:300px;'> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </div> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/tag_test.htm
HTML
asf20
4,527
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <title>SQL命令行工具</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript"> function getObject(objectId) { return document.getElementById(objectId); } </script> </head> <body> <center> <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="19" bgcolor="#EDF9D5" > <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><strong>SQL命令运行器:</strong></td> <td width="76%" align="right"> <b><a href="sys_data.php"><u>数据备份</u></a></b> | <b><a href="sys_data_revert.php"><strong><u>数据还原</u></strong></a></b> </td> </tr> </table></td> </tr> <tr> <td height="200" bgcolor="#FFFFFF" valign="top"> <table width="100%" border="0" cellspacing="4" cellpadding="2"> <form action="sys_sql_query.php" method="post" name="infoform" id="infoform" target="stafrm"> <input type='hidden' name='dopost' value='viewinfo'> <tr bgcolor="#F3FBEC"> <td width="15%" height="24" align="center">系统的表信息:</td> <td> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="45%"> <select name="tablename" id="tablename" style="width:100%" size="6"> <?php $dsql->SetQuery("Show Tables"); $dsql->Execute('t'); while($row = $dsql->GetArray('t')) { $dsql->SetQuery("Select count(*) From ".$row[0]); $dsql->Execute('n'); $row2 = $dsql->GetArray('n'); $dd = $row2[0]; echo " <option value='".$row[0]."'>".$row[0]."(".$dd.")</option>\r\n"; } ?> </select></td> <td width="2%">&nbsp;</td> <td width="53%" valign="bottom"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30"> <input type="Submit" name="Submit1" value="优化表" onClick="getObject('dopost').value='opimize';" class="inputbut"/></td> </tr> <tr> <td height="30"> <input type="Submit" name="Submit2" value="修复表" onClick="getObject('dopost').value='repair';" class="inputbut"/></td> </tr> <tr> <td height="30"> <input type="Submit" name="Submit3" value="查看表结构" onClick="getObject('dopost').value='viewinfo';" class="inputbut"/></td> </tr> </table></td> </tr> </table></td> </tr> <tr> <td height="200" align="center">返回信息:</td> <td> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </td> </tr> </form> <form action="sys_sql_query.php" method="post" name="form1" target="stafrm"> <input type='hidden' name='dopost' id='dopost' value='query'> <tr> <td height="24" colspan="2" bgcolor="#F3FBEC"><strong>运行SQL命令行: <input name="querytype" type="radio" value="0"> 单行命令(支持简单查询) <input name="querytype" type="radio" value="2" checked> 多行命令</strong></td> </tr> <tr> <td height="118" colspan="2"> <textarea name="sqlquery" cols="60" rows="10" id="sqlquery" style="width:90%"></textarea> </td> </tr> <tr> <td height="53" align="center">&nbsp;</td> <td><input name="imageField" type="Submit" class="inputbut" value="确定"/></td> </tr> </form> </table> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_sql_query.htm
HTML
asf20
4,274
1227667321
zyyhong
trunk/jiaju001/news/lic/templets/mytag_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>增加图片集</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' src='album.js'></script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/album_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" id="imagebody" name="imagebody" value=""> <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" bgcolor="#E2F5BC" class="htable" id="head1"> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table width="168" 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" bgcolor="#E2F5BC" id="head2" style="display:none"> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table width="168" 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="28" colspan="4" 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> <select name='arcatt' style='width:150'> <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 height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;图集来源:</td> <td width="250"> <input name="source" type="text" id="source" style="width:160px" /> <input name="selsource" type="button" id="selsource" value="选择" class="inputbut" /> <script language='JavaScript' type="text/javascript">InitPage();</script> </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()" /> 跳转网址 <input name="shorttitle" type="hidden" id="shorttitle" value="" /> </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" 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="28" colspan="4" 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 id="pictable"> <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 /> &nbsp; <input type='checkbox' class='np' name='ddisfirst' value='1' /> 图集第一幅图 </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" class="inputbut" onclick="SelectImage('form1.picname','small');" /> </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="28" colspan="4" 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 height="28" colspan="4" 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="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 width="159"><input name="color" type="text" id="color" style="width:120px" /> </td> <td><input name="modcolor" type="button" id="modcolor" value="选取" onclick="ShowColor()" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" 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="checked" /> 生成HTML <input type="radio" name="ishtml" value="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="240"><?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="90" align="center">消费点数:</td> <td><input name="money" type="text" id="money" value="0" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" bgcolor="#FFFFFF" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;图集副栏目:</td> <td> <?php if(empty($cid) && empty($cfg_cat_seltype)) echo GetTypeidSel('form1','typeid2','selbt2',$channelid); else{ $typeOptions = GetOptionList($cid,$cuserLogin->getUserChannel(),$channelid); echo "<select name='typeid2' style='width:300px'>\r\n"; echo "<option value='0'>请选择主分类...</option>\r\n"; echo $typeOptions; echo "</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" height="51">&nbsp;文章摘要:</td> <td width="240"><textarea name="description" rows="3" id="description" style="width:200px"></textarea> </td> <td width="90">关键字:</td> <td width="234"><textarea name="keywords" rows="3" id="keywords" style="width:200px"></textarea> </td> <td width="146" align="center"> 用空格分开<br/> <input type="button" name="Submit" value="浏览..." style="width:56px;height:20px" onclick="SelectKeywords('form1.keywords');" 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">&nbsp;相关图集:</td> <td width="320"><textarea name="likeid" cols="50" rows="6" id="likeid" style="width:300px;height:45px;float:left;margin-right:10px"></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="SelectArcListB('form1.likeid','&channelid=<?php echo $channelid; ?>');" /> </span> </td> </tr> </table></td> </tr> <tr> <td style="padding:0px;"> <?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none;"> <tr> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;表现方式:</td> <td> <input name="pagestyle" id='pagestyle2' type="radio" onclick="checkMuList('pagestyle3','cfgmulist')" value="2" class="np" checked='checked' /> 幻灯显示 <input name="pagestyle" id='pagestyle3' type="radio" onclick="checkMuList('pagestyle3','cfgmulist')" value="3" class="np" /> 多行多列(系统仅输出“行x列”个缩略图,实现需自行控制CSS) </td> </tr> </table></td> </tr> <tr id='cfgmulist' style='display:none'> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;多列式参数:</td> <td>行 <input name="row" type="text" id="row" value="3" size="6">  列 <input name="col" type="text" id="col" value="4" size="6">  小图片宽度限制: <input name="ddmaxwidth" type="text" id="ddmaxwidth" value="150" size="6"> 像素</td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;大图宽度:</td> <td><input name="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $cfg_album_width?>"> 像素(防止图片太宽在模板页中溢出) </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;特殊选项:</td> <td> <input name="isrm" type="checkbox" id="isrm" value="1" checked> 下载远程图片 <input name="formzip" type="checkbox" id="formzip" value="1" onclick="ShowZipField(this,'zipff','upff');" /> 从ZIP压缩包中解压图片 <input name="formhtml" type="checkbox" id="formhtml" value="1" onclick="ShowHtmlField(this,'htmlfield','upff');" /> 网上复制图片 </td> </tr> </table></td> </tr> <tr id="zipff" style="display:none"> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;压缩包文件:</td> <td> <input type='text' name='zipfile' id='zipfile' style='width:300px'> <input name='addon_bt' type='button' class='inputbut' value='浏览...' onClick="SelectSoft('form1.zipfile')"> <input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> 处理后删除压缩文件 </td> </tr> </table> </td> </tr> <tr id="htmlfield" style="display:none"> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;网上复制:</td> <td> 复制的源网址:<input name='copysource' type='text' value='' style='width:250px'/>(防盗链网站需填写你复制图片的其中一个网页网址) <br /> 把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片。<!--input type='button' name='testbt' value='测试' style='width:60px;height:24px' onClick='TestGet()' /--> <br /> <span id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:450px' contenteditable="true">粘贴到这里...</span> </td> </tr> </table> </td> </tr> <tr id='upff' style="display:block"> <td height="24" colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline"> <tr width="800"> <td width="90" height="33">&nbsp;图片:</td> <td height="33"> <input name="picnum" type="text" id="picnum" size="8" value="10"> <input name='kkkup' type='button' id='kkkup2' value='增加表单' onClick="MakeUpload(0);" class="inputbut"> ( 注:最大120幅,手工指定的图片链接允许填写远程网址) </td> </tr> </table> <span id="uploadfield"></span> <script language="JavaScript"> MakeUpload(13); </script> </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%" height="35">&nbsp;</td> <td width="83%" height="35"><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> <script language='javascript'>if($Nav()!="IE") ShowObj('adset');</script> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/album_add.htm
HTML
asf20
19,010
<!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 bgcolor="#EDF9D5" class="tbtitletxt"><strong>文档自定义属性管理</strong></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="0" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td align="left" class="hg">  <b>自定义属性的意义和使用说明:</b><br />   在以往的版本中,网站主页、频道封面的设计,都只能单调的用 arclist 标记把某栏目最新或按特定排序方式的文档无选择的读出来,这样做法存在很大的不足,例如,我希望在最顶部的地方显示我想要的文档,在以往的版本中是无法做到的,但使用自定义属性之后,只要给arclist 标记加上 att='ID' 的属性,然后在发布的时候对适合的文档选择专门的属性,那么使用arclist的地方就会按你的意愿显示指定的文档。<br />   <b>注意事项:</b>当 att='' 时,系统会调用所有文档(考虑与旧版兼容的原因),因此如果你在网页中使用了att属性,那么普通文档的arclist也应该加上att='0'的属性,防止在网页中重复出现某些文章的链接。 </td> </tr> </table><form name="form1" action="content_att.php" method="post"> <input type="hidden" name="dopost" value="save"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr align="center"> <td width="20%" class="tbsname">ID</td> <td class="tbsname">属性名称</td> <td width="30%" class="tbsname">处理</td> </tr> </table> <?php $dsql->SetQuery("Select * From #@__arcatt"); $dsql->Execute(); $k=0; while($row = $dsql->GetObject()) { $k++; ?> <input type="hidden" name="att_<?php echo $k?>" value="<?php echo $row->att?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist2"> <tr align="center"> <td width="20%" class="tbsname"> <?php echo $row->att?></td> <td class="tbsname"> <input name="attname_<?php echo $k?>" value="<?php echo $row->attname?>" type="text" id="attname_<?php echo $k?>" size="30"></td> <td width="30%" class="tbsname"><input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked> 继续使用</td> </tr></table> <?php } ?> <input type="hidden" name="idend" value="<?php echo $k?>"> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist"> <tr> <td colspan="3" align="left" valign="top"><strong>新增一个属性类型:</strong></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="20%" class="tbsname">ID</td> <td class="tbsname">属性名称</td> <td width="30%" class="tbsname">处理</td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" style="margin:0px auto" class="tblist2"> <tr> <td width="20%" align="center" valign="top"> <input name="att_new" type="text" id="att_new" size="10"> </td> <td align="center" valign="top"> <input name="attname_new" type="text" id="attname_new" size="30"> </td> <td width="30%" align="center"> <input name="check_new" type="checkbox" id="check_new" value="1" checked> 增加新属性 </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="button" id="button" value="确定" class="inputbut"/></td> </tr> </table></form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/content_att.htm
HTML
asf20
4,576
<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="edit"> <input type="hidden" name="backurl" value="{dede:global name='backurl' function='urlencode("@me")'/}"> <tr> <td width=78% 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=editview&activepath={dede:global name='activepath'/}&filename={dede:global name='filename'/}';" class='nbt'> </td> </tr> </table> </td> </tr> <tr> <td width=78% height="31" valign="top"> {dede:global name='contentView'/} </td> </tr> <tr> <td width=78% valign="top"> <p align=center> <input type=submit value=" 保 存 " name=B1 class='nbt'> &nbsp; <input type=reset value="取消修改" name=B2 class='nbt'> &nbsp; <input type=button value="不理返回" name=B4 onClick="javascript:history.go(-1);" class='nbt'> <br></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/file_edit.htm
HTML
asf20
2,346
<!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" style="padding-left:6px"> <strong><a href="<?php echo $ENV_GOBACK_URL?>"><u>评论管理</u></a>&gt;&gt;编辑评论:</strong> </td> </tr> <tr> <td height="187" colspan="2" align="center" bgcolor="#FFFFFF"> <form name="form1" method="post" action="feedback_edit.php"> <input type="hidden" name="dopost" value="edit"> <input type="hidden" name="ID" value="<?php echo $row->ID?>"> <table width="100%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <tr bgcolor="#FFFFFF"> <td width="21%" height="24">评论所属文章:</td> <td width="79%" align="left"> <?php echo $row->arctitle?> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="24">评论人:</td> <td align="left"> <input name="username" type="text" id="username" size="20" value="<?php echo $row->username?>"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="24">评论发布时间:</td> <td align="left"> <?php echo GetDateTimeMK($row->dtime)?> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="24">IP地址:</td> <td align="left"> <?php echo $row->ip?> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="24">评论内容:</td> <td align="left">更改的评论内容HTML代码不会被屏蔽,可用HTML语法编辑。</td> </tr> <tr bgcolor="#FFFFFF"> <td height="62" align="center">&nbsp; </td> <td height="62" align="left"> <textarea name="msg" cols="60" rows="5" id="textarea"><?php echo $row->msg?></textarea></td> </tr> <tr bgcolor="#FFFFFF"> <td height="24">管理员回复:</td> <td align="left">回复内容的HTML代码会被屏蔽。</td> </tr> <tr bgcolor="#FFFFFF"> <td height="24" align="center">&nbsp; </td> <td height="24" align="left"> <textarea name="adminmsg" cols="60" rows="5" id="textarea2"></textarea></td> </tr> <tr bgcolor="#FFFFFF"> <td height="40" colspan="2" align="center"> <input type="submit" name="Submit" value="保存更改" class="inputbut">   <input type="button" name="Submit2" value="不理返回" onClick="location='<?php echo $ENV_GOBACK_URL?>';" class="inputbut"></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/feedback_edit.htm
HTML
asf20
3,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>专题发布向导</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <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; } } function SelectTemplets(fname){ var posLeft = window.event.clientY-200; var posTop = window.event.clientX-300; window.open("dialog/select_templets.php?f="+fname, "poptempWin", "scrollbars=yes,resizable=yes,statebar=no,width=600,height=400,left="+posLeft+", top="+posTop); } function SelectArcList(fname){ var posLeft = 10; var posTop = 10; window.open("content_select_list.php?f="+fname, "selArcList", "scrollbars=yes,resizable=yes,statebar=no,width=700,height=500,left="+posLeft+", top="+posTop); } function SelectImage(fname,vlist){ var posLeft = window.event.clientY-100; var posTop = window.event.clientX-400; window.open("dialog/select_images.php?f="+fname+"&imgstick="+vlist, "popUpImagesWin", "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"> <div class="bodytitle" style="margin-bottom:8px;"> <div class="bodytitleleft"></div> <div class="bodytitletxt">创建专题</div> <div style="float:right;padding:4px 15px 0 0"> <strong> <a href="content_s_list.php"><strong><u>●专题列表</u></strong></a> &nbsp; <a href="makehtml_spec.php"><u>更新HTML</u></a> </strong> </div> </div> <form name="form1" action="action/spec_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="arcrank" value="0"> <input type="hidden" name="source" value="本站"> <input type="hidden" name="typeid2" value="0"> <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" align="left" 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>&nbsp;</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" align="left" 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">专题文档</td> </tr> </table></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="needset"> <tr> <td width="400%" height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">专题名称:</td> <td width="250"><input name="title" type="text" id="title" style="width:200px" /> </td> <td width="90">附加参数:</td> <td><input name="iscommend" type="checkbox" id="iscommend" value="11" /> 推荐 <input name="isbold" type="checkbox" id="isbold" value="5" /> 加粗 </td> </tr> </table></td> </tr> <tr> <td height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">小标题:</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 id="pictable"> <td height="28" align="left" 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 id="pictable"> <td height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="81">缩 略 图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' /> 远程 </td> <td width="441"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td height="33"> 本地上传请点击“浏览”按钮 <input name="litpic" type="file" id="litpic" style="width:200px" onchange="SeePic(document.picview,document.form1.litpic);" /> </td> </tr> <tr> <td height="33"><input name="picname" type="text" id="picname" style="width:250px" value="" onchange="SeePic(document.picview,this.value);" /> <input type="button" name="Submitss" value="在网站内选择" style="width:120px" onclick="SelectImage('form1.picname','');" class="inputbut" /> </td> </tr> </table></td> <td width="269" align="center"><img src="img/pview.gif" width="150" id="picview" name="picview" /></td> </tr> </table></td> </tr> <tr> <td height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">专题模板:</td> <td height="33"><input name="templet" type="text" id="templet" size="30" value="{style}/article_spec.htm" style="width:250px" /> <input type="button" name="set3" value="浏览..." style="width:60px" onclick="SelectTemplets('form1.templet');" class="inputbut" /> </td> </tr> </table></td> </tr> <tr> <td height="28" align="left" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">专题分类:</td> <td><?php echo GetTypeidSel('form1','typeid','selbt',0)?></td> </tr> </table></td> </tr> <tr> <td height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">责任编辑:</td> <td width="240"><input name="writer" type="text" id="writer" /> </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="28" align="left" 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"> <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 width="159" height="33"><input name="color" type="text" id="color" style="width:120px" /> </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" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="78">专题说明:</td> <td><textarea name="description" cols="60" rows="3" id="textarea" style="width:350px"></textarea> </td> </tr> <tr> <td width="90" height="51">关键字:</td> <td> <input name="keywords" type="text" id="keywords" style="width:250px" size="60" /> (用空格分开) </td> </tr> </table></td> </tr> <tr> <td height="28" align="left" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="33">发布时间:</td> <td height="33"> <?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> </tr> </table></td> </tr> <tr> <td style="padding:0px;"> <?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?> </td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" style="display:none" id="adset"> <tr> <td height="28" bgcolor="#F1F5F2" class="bline2"> <strong>专题节点列表:</strong> <br> 1、文章列表用ID1,ID2,ID3这样形式分开,系统会自动排除不同节点的相同文章;<br/> 2、关于单条记录模板里的[field:fieldname /]标记的使用,请参考关于系统帮助关于 arclist 标记的说明;<br> 3、节点ID是节点的唯一标识,允许在专题模板中用{dede:spnote noteid='标识'/}这样来表示单个节点。<br> 4、正常的情况下,每个节点显示的是“节点文章列表”里的文档,如果你指定为“自动获取模式”,那么必须指定关键字和栏目ID。 </td> </tr> <tr> <td height="28" valign="top" class="bline"> <table width="800" border="0" cellspacing="2" cellpadding="2"> <?php $speclisttmp = GetSysTemplets("spec_arclist.htm"); for($i=1;$i<=$cfg_specnote;$i++) { ?> <tr bgcolor="#EEF8E0"> <td width="113">节点 <?php echo $i?> 名称:</td> <td colspan="2"> <table width="600" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="310"><input name="notename<?php echo $i?>" type="text" id="notename<?php echo $i?>" style="width:300px"> </td> <td width="90" align="center">节点标识:</td> <td width="200"><input name="noteid<?php echo $i?>" type="text" id="noteid<?php echo $i?>" style="width:100px"></td> </tr> </table></td> </tr> <tr> <td>节点文章列表:</td> <td width="479"><textarea name="arcid<?php echo $i?>" rows="3" id="arcid<?php echo $i?>" style="width:90%"></textarea></td> <td width="188"> <input name="selarc<?php echo $i?>" type="button" id="selarc<?php echo $i?>2" value="选择节点文章" style="width:100px" onClick="SelectArcList('form1.arcid<?php echo $i?>');" class="inputbut"></td> </tr> <tr> <td>文档来源:</td> <td colspan="2"> <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="0" checked> 按文章列表 <input name="isauto<?php echo $i?>" type="radio" id="isauto<?php echo $i?>" value="1" > 自动获取文档 &nbsp; 关键字: <input name="keywords<?php echo $i?>" type="text" id="keywords<?php echo $i?>" value="" size="16">(逗号分开) 栏目ID: <input name="typeid<?php echo $i?>" type="text" id="typeid<?php echo $i?>" value="0" size="4"> </td> </tr> <tr> <td height="51" rowspan="2" valign="top">节点布局: </td> <td colspan="2"> 列数: <input name="col<?php echo $i?>" type="text" id="col<?php echo $i?>" value="1" size="3"> 图片高: <input name="imgheight<?php echo $i?>" type="text" id="imgheight<?php echo $i?>" value="90" size="3"> 图片宽: <input name="imgwidth<?php echo $i?>" type="text" id="imgwidth<?php echo $i?>" value="120" size="3"> 标题长: <input name="titlelen<?php echo $i?>" type="text" id="titlelen<?php echo $i?>" value="60" size="3"> 简介长: <input name="infolen<?php echo $i?>" type="text" id="infolen<?php echo $i?>" value="160" size="3"> 文档数: <input name="rownum<?php echo $i?>" type="text" id="rownum<?php echo $i?>" value="40" size="3"> </td> </tr> <tr> <td colspan="2">单条记录的模板:<br/> <textarea name="listtmp<?php echo $i?>" rows="3" id="listtmp<?php echo $i?>" style="width:60%"><?php echo $speclisttmp?></textarea></td> </tr> <tr> <td height="33">节点容器模板:</td> <td height="33" colspan="2"><input name="notetemplet<?php echo $i?>" type="text" id="notetemplet<?php echo $i?>" value="system/channel/channel_spec_note.htm" style="width:300px"> <input type="button" name="selno<?php echo $i?>" value="浏览..." style="width:70px" onClick="SelectTemplets('form1.notetemplet<?php echo $i?>');" class="inputbut"></td> </tr> <?php } ?> </table> </td> </tr> <tr> <td height="28" bgcolor="#F1F5F2" class="bline2">&nbsp;</td> </tr> </table> <table width="96%" 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%" height="35">&nbsp;</td> <td width="83%" height="35"><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/spec_add.htm
HTML
asf20
16,547
<!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="5" bgcolor="#EDF9D5"> <b>&nbsp;模块管理 &gt; 模块列表:</b> </td> </tr> <tr> <td align="center" bgcolor="#FBFCE2">模块名称</td> <td align="center" bgcolor="#FBFCE2">发布时间</td> <td align="center" bgcolor="#FBFCE2">开发团队</td> <td align="center" bgcolor="#FBFCE2">模块状态</td> <td align="center" bgcolor="#FBFCE2">管理</td> </tr> <?php if(count($modules)>0) foreach($modules as $k=>$v) { ?> <tr bgcolor="#FFFFFF" align="center"> <td><?php echo $v['name']; ?></td> <td><?php echo $v['time']; ?></td> <td><?php echo $v['team']; ?></td> <td> <?php if(file_exists(dirname(__FILE__)."/../module/{$v['hash']}-readme.php")){ echo "已安装 <a href='module_main.php?action=uninstall&hash={$v['hash']}'>卸载</a>"; }else{ echo "未安装 <a href='module_main.php?action=setup&hash={$v['hash']}'>安装</a>"; } ?> </td> <td> <a href='module_main.php?action=showreadme&hash=<?php echo $v['hash']; ?>'>使用协议</a> | <a href='module_main.php?action=view&hash=<?php echo $v['hash']; ?>'>详细</a> | <a href='module_main.php?action=edit&hash=<?php echo $v['hash']; ?>'>修改</a> | <a href='module_main.php?action=del&hash=<?php echo $v['hash']; ?>'>删除</a> </td> </tr> <?php } ?> <tr> <td colspan="5" align="center" bgcolor="#F2F9E6">&nbsp;</td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/module_main.htm
HTML
asf20
2,329
<!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' style="padding-right:30px"><strong><a href="search_rule_new.php">↑新增一个搜索规则</a></strong></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='5%' class='tbsname'></td> <td width='20%' class='tbsname'>规则名称</td> <td width='20%' class='tbsname'>模板文件</td> <td width='15%' class='tbsname'>创建时间</td> <td class='tbsname'>管理</td> </tr> <tr align='center' onMouseMove="javascript:this.bgColor='#FCFEDA';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td>ok</td> <td></td> <td></td> <td></td> <td></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="24" align="center" style="background:#F9FFE6;">&nbsp;</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/search_rule.htm
HTML
asf20
1,951
<!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;<b><a href="ad_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="ad_edit.php" method="post" enctype="multipart/form-data" name="form1"> <input type='hidden' name='aid' value='<?php echo $aid?>'> <input type='hidden' name='dopost' value='saveedit'> <tr> <td height="25" align="center">广告位标识:</td> <td colspan="2"><?php echo $row['tagname']?></td> </tr> <tr> <td width="15%" height="25" align="center">广告投放范围:</td> <td colspan="2"> <?php $tl = new TypeLink(0); $typeOptions = $tl->GetOptionArray($row['typeid'],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(); ?> <br> (如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目) </td> </tr> <tr> <td height="25" align="center">广告位名称:</td> <td colspan="2"><input name="adname" type="text" id="adname" size="30" value="<?php echo $row['adname']?>"></td> </tr> <tr> <td height="25" align="center">时间限制:</td> <td colspan="2"><input name="timeset" type="radio" value="0"<?php if($row['timeset']==0) echo " checked"; ?>> 永不过期 <input type="radio" name="timeset" value="1" <?php if($row['timeset']==1) echo " checked"; ?>> 在设内时间内有效</td> </tr> <tr> <td height="25" align="center">开始时间:</td> <td colspan="2"><input name="starttime" type="text" id="starttime" value="<?php echo GetDateTimeMk($row['starttime'])?>"></td> </tr> <tr> <td height="25" align="center">结束时间:</td> <td colspan="2"><input name="endtime" type="text" id="endtime" value="<?php echo GetDateTimeMk($row['endtime'])?>"></td> </tr> <tr> <td height="80" align="center">正常显示内容:</td> <td width="76%"> <textarea name="normbody" rows="6" id="normbody" style="width:80%;height:100"><?php echo $row['normbody']?></textarea> </td> <td width="9%">&nbsp;</td> </tr> <tr> <td height="80" align="center">过期显示内容:</td> <td> <textarea name="expbody" rows="6" id="expbody" style="width:80%;height:100"><?php echo $row['expbody']?></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/ad_edit.htm
HTML
asf20
3,899
<!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="base.css" rel="stylesheet" type="text/css" /> <style> .bodytitle{ width:96%; height:33px; background:url(../plus/img/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(../plus/img/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(../plus/img/body_title_right.gif) right bottom no-repeat; } .np { border:0px } </style> <script language='javascript'> var selCheckbox = ''; function ResetBox(selid) { var selobj = document.getElementById(selid); var preobj = null; if(selCheckbox!='') preobj = document.getElementById(selCheckbox); if(selobj.checked){ if(preobj!=null && selid != selCheckbox) preobj.checked = false; selCheckbox = selid; }else{ if(selCheckbox == selid) selCheckbox = ''; } } function SetDefault() { if(selCheckbox==''){ alert("你没有选中需要设置为默认的栏目!"); }else{ var selobj = document.getElementById(selCheckbox); location="public_guide.php?action=setdefault&cid="+selobj.value; } } function ResetDefault(){ location="public_guide.php?action=setdefault&cid=0"; } </script> </head> <body> <div class='bodytitle'> <div class='bodytitleleft'></div> <div class='bodytitletxt'>内容发布向导</div> </div> <table width="96%" height="31" border="0" align="center" cellpadding="1" cellspacing="1" class="tbtitle" style="background:#E2F5BC;margin-top:6px;"> <tr> <td class="tbtitletxt"><strong>&nbsp;请选择发布的频道:</strong></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tblist" style="margin:0px 0px 6px 0px;border:1px solid #e2f5bc;"> <tr align="center"> <td height="120" align="left" valign="top" class="tbsname" style="padding:6px;padding-bottom:20px"> <table width="90%" border="0" cellspacing="0" cellpadding="6"> <tr> <td><strong>内容发布说明:</strong><br /> 1、必须先建立与频道内容模型关连的栏目才能发布内容(<a href="catalog_main.php"><u>栏目管理</u></a>);<br /> 2、如果你设置了某频道为默认发布表单,以后将不再显示此向导,而是直接显示你所选的频道的发布表单,如果想要发布其它频道的内容,可以从左边的目录树中选择,如果以后你想要修改默认发布表单,请点击目录树上方的“发布向导”图标;</td> </tr> </table> <table width="98%" border="0" cellpadding="3" cellspacing="1" bgcolor="#CAE886"> <tr height="20" align="center"> <td width="8%" bgcolor="#DCF4BD"><strong>选择</strong></td> <td width="8%" bgcolor="#DCF4BD"><strong>频道ID</strong></td> <td width="20%" bgcolor="#DCF4BD"><strong>频道内容模型</strong></td> <td width="23%" bgcolor="#DCF4BD"><strong>主表</strong></td> <td width="10%" bgcolor="#DCF4BD"><strong>栏目数</strong></td> <td bgcolor="#DCF4BD"><strong>操作选项</strong></td> </tr> <?php $i=0; while($row = $dsql->GetArray()){ $i++; $row['mancon'] = ($row['mancon']=='' ? 'content_list.php?channelid='.$row['ID'] : $row['mancon'].'?channelid='.$row['ID']); $checkbox = ($row['isdefault']==0 ? '' : ' checked'); if($checkbox!=''){ echo "<script language='javascript'>selCheckbox='cid{$i}';</script>\r\n"; } $catnum = GetCatalogs($dsql,$row['ID']); $maintable = ($row['maintable']=='' ? '#@__archives' : $row['maintable']); ?> <tr align="center" bgcolor="#FFFFFF" height="20" onMouseMove="javascript:this.bgColor='#FCFDEE';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td><input type="checkbox" name="cid<?php echo $i; ?>" id="cid<?php echo $i; ?>" onclick="ResetBox('cid<?php echo $i; ?>')" value="<?php echo $row['ID']; ?>" class="np" <?php echo $checkbox; ?>/></td> <td><?php echo $row['ID']; ?></td> <td><?php echo $row['typename']; ?></td> <td><?php echo $maintable; ?></td> <td><?php echo $catnum; ?></td> <td> <a href="catalog_main.php">管理栏目</a> <?php if($catnum>0){ ?> | <a href="<?php echo $row['mancon']; ?>">管理内容</a> | <a href="catalog_do.php?channelid=<?php echo $row['ID'];?>&cid=0&dopost=addArchives">发布内容</a> <?php }else{ ?> | <font color='#cccccc'>管理内容</font> | <font color='#cccccc'>发布内容</font> <?php } ?> </td> </tr> <?php } ?> </table> <table width="90%" border="0" cellspacing="0" cellpadding="0"> <tr> <td>&nbsp;</td> </tr> <tr> <td> <input name="b1" type="button" id="b1" value="把所选的频道表单设为默认表单" onclick="SetDefault()" class="coolbg" /> &nbsp;&nbsp; <input name="b2" type="button" id="b2" value="取消默认表单" onclick="ResetDefault()" class="coolbg" /> </td> </tr> </table></td> </tr> </table> <div align="center">&nbsp;</div> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/public_guide.htm
HTML
asf20
5,784
<!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="0" topmargin="6"> <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" colspan="2" bgcolor="#EDF9D5">&nbsp;&nbsp;<strong>正则规则测试器:</strong></td> </tr> <form action="ruletest.php" method="post" name="form1" target="stafrm"> <input type="hidden" name="action" value="go"> <tr bgcolor="#FFFFFF"> <td width="23%" height="110">&nbsp;输入内容:</td> <td width="77%"><textarea name="testtext" id="testtext" style="width:98%;height:90px"></textarea></td> </tr> <tr bgcolor="#FFFFFF"> <td height="30">&nbsp;测试规则:(不需加/)</td> <td><input name="testrule" type="text" id="testrule" style="width:98%"></td> </tr> <tr bgcolor="#FFFFFF"> <td height="30">&nbsp;匹配模式:</td> <td><input name="testmode" type="text" id="testmode" value="isU"> <input name="reggo" type="radio" value="0" checked> 替换为 <input name="rpvalue" type="text" id="rpvalue" size="10"> <input type="radio" name="reggo" value="1"> 返回匹配结果</td> </tr> <tr align="center" bgcolor="#FFFFFF"> <td height="35" colspan="2"> <table width="80%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="23%" align="right"> <input type="submit" name="Submit" value="提交测试"class="inputbut"/> </td> <td width="77%">&nbsp;</td> </tr> </table></td> </tr> </form> <tr> <td colspan="2" bgcolor="#EDF9D5"> <table width="100%" cellpadding="0" cellspacing="0"> <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 align="center" valign="top" bgcolor="#FFFFFF"> <td colspan="2"> <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 - 450; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/ruletest.htm
HTML
asf20
3,238
<!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"> var myajax; var newobj; var posLeft = 200; var posTop = 150; function LoadUrl(surl){ newobj = document.getElementById('_mydatainfo'); if(!newobj){ newobj = document.createElement("DIV"); newobj.id = '_mydatainfo'; newobj.style.position='absolute'; newobj.className = "dlg"; newobj.style.top = posTop; newobj.style.left = posLeft; document.body.appendChild(newobj); }else{ newobj.style.display = "block"; } myajax = new DedeAjax(newobj); myajax.SendGet("sys_sql_query_lit.php?"+surl); } function HideObj(objname){ var obj = document.getElementById(objname); obj.style.display = "none"; } //获得选中文件的数据表 function getCheckboxItem(){ var myform = document.form1; var allSel=""; if(myform.tables.value) return myform.tables.value; for(i=0;i<myform.tables.length;i++) { if(myform.tables[i].checked){ if(allSel=="") allSel=myform.tables[i].value; else allSel=allSel+","+myform.tables[i].value; } } return allSel; } //反选 function ReSel(){ var myform = document.form1; for(i=0;i<myform.tables.length;i++){ if(myform.tables[i].checked) myform.tables[i].checked = false; else myform.tables[i].checked = true; } } //全选 function SelAll(){ var myform = document.form1; for(i=0;i<myform.tables.length;i++){ myform.tables[i].checked = true; } } //取消 function NoneSel(){ var myform = document.form1; for(i=0;i<myform.tables.length;i++){ myform.tables[i].checked = false; } } function checkSubmit() { var myform = document.form1; myform.tablearr.value = getCheckboxItem(); return true; } </script> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">数据库管理</div> </div> <form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php?dopost=bak" method="post" target="stafrm"> <input type='hidden' name='tablearr' value=''> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr> <td height="19" colspan="4" bgcolor="#EDF9D5"> <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><strong>&nbsp;&nbsp;数据库管理</strong></td> <td width="76%" align="right"> <b><a href="sys_data_revert.php"><u>数据还原</u></a></b> | <b><a href="sys_sql_query.php"><u>SQL命令行工具</u></a></b> </td> </tr> </table> </td> </tr> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" valign="top"><strong>&nbsp;DedeCms默认系统表:</strong></td> </tr> <tr bgcolor="#F9FEE2"> <td width="9%" height="24" align="center" valign="top" bgcolor="#F9FEE2">选择</td> <td width="41%" align="center" valign="top" bgcolor="#F9FEE2">表名</td> <td width="25%" align="center" valign="top" bgcolor="#F9FEE2">记录数</td> <td width="25%" align="center" valign="top" bgcolor="#F9FEE2">操作</td> </tr></table> <?php foreach($dedeSysTables as $t){ ?><table width="96%" border="0" align="center" cellpadding="0" cellspacing="1" class="tblist" > <tr align="center"> <td width="9%" height="24" class="data"> <input type="checkbox" name="tables" value="<?php echo $t?>" checked> </td> <td width="41%" class="data" > <?php echo $t?> </td> <td width="25%" class="data"> <?php echo TjCount($t,$dsql)?> </td> <td width="25%" class="data"> <a href="#" onClick="LoadUrl('dopost=opimize&tablename=<?php echo $t?>');">优化</a> | <a href="#" onClick="LoadUrl('dopost=repair&tablename=<?php echo $t?>');">修复</a> | <a href="#" onClick="LoadUrl('dopost=viewinfo&tablename=<?php echo $t?>');">结构</a> </td> </tr> </table> <?php } ?> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style="background:#E2F5BC;"> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" valign="top"><strong>其它数据表:</strong></td> </tr> <tr bgcolor="#F9FEE2" align="center"> <td height="24">选择</td> <td bgcolor="#F9FEE2">表名</td> <td>记录数</td> <td>操作</td> </tr> <?php foreach($otherTables as $t){ ?> <tr align="center" bgcolor="#FFFFFF"> <td width="9%" height="24"> <input type="checkbox" name="tables" value="<?php echo $t?>" > </td> <td width="41%" > <?php echo $t?> </td> <td width="25%"> <?php echo TjCount($t,$dsql)?> </td> <td width="25%"> <a href="#" onClick="LoadUrl('dopost=opimize&tablename=<?php echo $t?>');">优化</a> | <a href="#" onClick="LoadUrl('dopost=repair&tablename=<?php echo $t?>');">修复</a> | <a href="#" onClick="LoadUrl('dopost=viewinfo&tablename=<?php echo $t?>');">结构</a> </td> </tr> <?php } ?> <tr bgcolor="#FDFDEA"> <td height="35" colspan="4" bgcolor="#FDFDEA">&nbsp; <input name="b1" type="button" id="b1" onClick="SelAll()" value="全选" class="inputbut"/> &nbsp; <input name="b2" type="button" id="b2" onClick="ReSel()" value="反选" class="inputbut"/> &nbsp; <input name="b3" type="button" id="b3" onClick="NoneSel()" value="取消" class="inputbut"/> </td> </tr> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" bgcolor="#EDF9D5"><strong>数据备份选项:</strong></td> </tr> <tr align="center" bgcolor="#FFFFFF"> <td height="50" colspan="4"> <table width="90%" border="0" cellpadding="0" cellspacing="1" class="tblist"> <tr> <td height="30">当前数据库版本: <?php echo $mysql_version?></td> </tr> <tr> <td height="30"> 指定备份数据格式: <input name="datatype" type="radio" value="4.0"<?php if($mysql_version<4.1) echo " checked";?>> MySQL3.x/4.0.x 版本 <input type="radio" name="datatype" value="4.1" <?php if($mysql_version>=4.1) echo " checked";?>> MySQL4.1.x/5.x 版本 </td> </tr> <tr> <td height="30">分卷大小: <input name="fsize" type="text" id="fsize" value="1024" size="6"> K&nbsp;, <input name="isstruct" type="checkbox" id="isstruct" value="1" checked> 备份表结构信息 <input type="submit" name="Submit" value="提交" class="inputbut"/></td> </tr> </table></td> </tr> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" bgcolor="#EDF9D5"><strong>进行状态:</strong></td> </tr> <tr bgcolor="#FFFFFF"> <td height="180" colspan="4"> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_data.htm
HTML
asf20
7,420
<!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' src='main.js'></script> <script type="text/javascript"> function CheckAll(form, prefix, checkall) { var checkall = checkall ? checkall : 'chkall'; for(var i = 0; i < form.elements.length; i++) { var e = form.elements[i]; if(e.name && e.name != checkall && (!prefix || (prefix && e.name.match(prefix)))) { e.checked = form.elements[checkall].checked; } } } </script> <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> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">积分头衔设置</div> </div> <form action="member_scores.php" method="post" > <input name="action" type="hidden" value="save" /> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td width="100%" height="24" bgcolor="#EDF9D5"> <strong><a href="co_main.php"><U>会员管理</U></a> &gt; 积分头衔设置:</strong></td> </tr> <tr > <td height="26" align="left" bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#E2F5BC"> <tr> <td width="5%" height="30" align="center" valign="middle" bgcolor="#FEFCEF"><input type="checkbox" name="chkall" id="chkall" onClick="CheckAll(this.form)" /> 删?</td> <td width="24%" height="30" align="left" bgcolor="#FEFCEF">积分大于</td> <td width="24%" height="30" align="left" bgcolor="#FEFCEF">星星数</td> <td width="23%" height="30" align="left" bgcolor="#FEFCEF">级别头衔</td> <td width="24%" height="30" align="left" bgcolor="#FEFCEF">是否默认</td> </tr> <?php foreach($Scores as $v){ ?> <tr height="28" bgcolor="#FFFFFF" onMouseMove="javascript:this.bgColor='#EDF7D0';" onMouseOut="javascript:this.bgColor='#FFFFFF';"> <td height="28" align="center" ><input name="Ids-<?php echo $v['id']; ?>" type="checkbox" id="Ids-<?php echo $v['id']; ?>" value="1" /></td> <td height="28" align="left" > <input name="integral-<?php echo $v['id']; ?>" type="text" id="integral-<?php echo $v['id']; ?>" value="<?php echo $v['integral']; ?>" size="10" /></td> <td height="28" align="left" > <input name="icon-<?php echo $v['id']; ?>" type="text" id="icon-<?php echo $v['id']; ?>" value="<?php echo $v['icon']; ?>" size="3" /></td> <td height="28" align="left" > <input name="titles-<?php echo $v['id']; ?>" type="text" id="titles-<?php echo $v['id']; ?>" value="<?php echo $v['titles']; ?>" size="20" /></td> <td height="28" align="left" > <select name="isdefault-<?php echo $v['id']; ?>" id="isdefault-<?php echo $v['id']; ?>"> <option value="1" <?php if($v['isdefault']) echo " selected='selected'";?>>是</option> <option value="0" <?php if(!$v['isdefault']) echo " selected='selected'";?>>否</option> </select> </td> </tr> <?php } ?> <tr> <td height="28" bgcolor="#EDF9D5">&nbsp;&nbsp;新增:</td> <td height="28" bgcolor="#EDF9D5"><input name="add_integral" type="text" id="add_integral" size="10" /></td> <td height="28" bgcolor="#EDF9D5"><input name="add_icon" type="text" id="add_icon" size="3" /></td> <td height="28" bgcolor="#EDF9D5"><input name="add_titles" type="text" id="add_titles" size="20" /></td> <td height="28" bgcolor="#EDF9D5"> <select name="add_isdefault" id="add_isdefault"> <option value="1" >是</option> <option value="0" >否</option> </select></td> </tr> </table> </td> </tr> </table> <br> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td height="40" align="center"><input name="imageField" type="submit" class="inputbut" value="提交" id="imageField"/></td> </tr> </table> </form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_scores.htm
HTML
asf20
4,515
<!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 ShowConfig(em,allgr){ for(var i=1;i<=allgr;i++){ if(i==em) document.getElementById('td'+i).style.display = 'block'; else document.getElementById('td'+i).style.display = 'none'; } } function $Obj(objname){ return document.getElementById(objname); } function ShowHide(objname){ var obj = $Obj(objname); if(obj.style.display == "block" || obj.style.display == ""){ obj.style.display = "none"; } else{ obj.style.display = "block"; } } </script> </head> <style> .npvar { width:90% } </style> <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="24" align="left" bgcolor="#EDF9D5"> &nbsp;<b>DedeCms系统配置参数:</b> </td> </tr> <tr> <td height="24" bgcolor="#ffffff" align="center"> <?php $ds = file(dirname(__FILE__)."/../inc/configgroup.txt"); $totalGroup = count($ds); $i = 0; foreach($ds as $dl) { $dl = trim($dl); if(empty($dl)) continue; $dls = explode(',',$dl); $i++; if($i>1) echo " | <a href='javascript:ShowConfig($i,$totalGroup)'>{$dls[1]}</a> "; else{ echo " <a href='javascript:ShowConfig($i,$totalGroup)'>{$dls[1]}</a> "; } } ?> | <a href="#" onClick="ShowHide('addvar')">添加新变量</a></td> </tr> <tr id="addvar" style="display:none"> <td height="24" bgcolor="#ffffff" align="center"> <form name="fadd" action="sys_info_add.php" method="post"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="10%" height="26">变量名称:</td> <td width="23%"> <input name="varname" type="text" id="varname" class="npvar"> </td> <td width="10%" align="center">变量值:</td> <td width="23%"> <input name="varvalue" type="text" id="varvalue" class="npvar"> </td> <td width="10%" align="center">变量类型:</td> <td><input name="vartype" type="radio" class='np' value="string" checked> 字串/数字 <input type="radio" name="vartype" value="bool" > 布尔(Y/N)</td> </tr> <tr> <td height="26">参数说明:</td> <td><input type="text" name="varmsg" id="varmsg" class="npvar"></td> <td width="10%" align="center">所属组:</td> <td width="23%"> <?php echo "<select name='vargroup' class='npvar'>\r\n"; foreach($ds as $dl){ $dl = trim($dl); if(empty($dl)) continue; $dls = explode(',',$dl); echo "<option value='{$dls[0]}'>{$dls[1]}</option>\r\n"; } echo "</select>\r\n"; ?> </td> <td colspan="2"><input type="submit" name="Submit" value="保存变量" class="inputbut" /></td> </tr> </table> </form> </td> </tr> </table> <br /> <form action="sys_info.php" method="post" name="form1"> <input type="hidden" name="dopost" value="save"> <?php $dsql = new DedeSql(false); $n = 0; foreach($ds as $dl) { $dl = trim($dl); if(empty($dl)) continue; $dls = explode(',',$dl); $n++; ?> <a name='#<?php echo $dls[1]?>'></a> <table width="96%" border="0" cellpadding="0" cellspacing="0" align="center" style="margin-bottom:8px;<?php if($n==$gp) echo "display:block"; else echo "display:none"; ?>" id="td<?php echo $n?>" > <tr> <td> <table width="100%" border="0" cellpadding="1" cellspacing="1" bgcolor="#E2F5BC" class="sysinfo"> <tr align="center" height="24"> <td height="30" colspan="3" align="left" bgcolor="#EDF9D5"><b>&nbsp;<?php echo $dls[1]?></b><?php if($dls[0]==-1) echo "(本组参数不支持在此更改)"; ?> &nbsp;&nbsp;[此处的所有变量都可以在模板中使用“{dede:global name='变量名'/}”的方式调用!]</td> </tr> <tr align="center"> <td width="35%" height="25" bgcolor="#FFFFFF">参数说明</td> <td bgcolor="#FFFFFF">参数值</td> <td width="20%" bgcolor="#FFFFFF"><a title="此处的所有变量都额可以在模板中使用“{dede:global name='变量名'/}”的方式调用!">变量名?</a> </td> </tr> <?php $dsql->SetQuery("Select * From #@__sysconfig where `group`='".$dls[0]."' order by aid asc"); $dsql->Execute(); $i = 1; while($row = $dsql->GetArray()) { if($i%2==0) $bgcolor = "#FFFFFF"; else $bgcolor = "#ECF8FF"; $i++; ?> <tr align="center" height="24" bgcolor="<?php echo $bgcolor?>" onMouseMove="javascript:this.bgColor='#D0EEFD';" onMouseOut="javascript:this.bgColor='<?php echo $bgcolor?>';"> <td height="30" align="left" bgcolor="#FFFFFF"> &nbsp;&nbsp;<?php echo $row['info']?>:</td> <td align="left" bgcolor="#FFFFFF"> <?php if($row['type']=='bool'){ $c1=""; $c2 = ""; $row['value']=='Y' ? $c1=" checked" : $c2=" checked"; echo "<input type='radio' class='np' name='edit___{$row['varname']}' value='Y'$c1>是 "; echo "<input type='radio' class='np' name='edit___{$row['varname']}' value='N'$c2>否 "; }else if(strlen($row['value'])>50){ echo "<textarea name='edit___{$row['varname']}' row='4' id='edit___{$row['varname']}' style='width:300px;height:80px'>{$row['value']}</textarea>"; }else{ echo "<input type='text' name='edit___{$row['varname']}' id='edit___{$row['varname']}' value='{$row['value']}' style='width:80%'>"; } ?></td> <td align="left" bgcolor="#FFFFFF">&nbsp;&nbsp;<?php echo $row['varname']?></td> </tr> <?php } ?> </table> </td> </tr> </table> <?php } $dsql->Close(); ?> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td height="26" colspan="3" align="left" bgcolor="#EDF9D5"> <strong>&nbsp;修改配置后系统会更新 ../include/config_hand.php 文件缓冲,如果发生意外,请用 config_hand_bak.php 还原。<strong> </strong></strong></td> </tr> <tr bgcolor="#F3FFDD"> <td height="50" colspan="3" align="center" bgcolor="#FFFFFF"> <table width="200" border="0" cellspacing="1" cellpadding="1"> <tr> <td align="center" valign="middle"><input name="imageField" type="submit" class="inputbut" value="确认" /></td> <td align="center" valign="middle"><input type="reset" name="button" value="重置" class="inputbut" /></td> </tr> </table></td> </tr> </table> </form> </center> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_info.htm
HTML
asf20
7,228
1227667371
zyyhong
trunk/jiaju001/news/lic/templets/vote_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>栏目管理</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript"> var channelArray = new Array(); <?php $i = 0; foreach($channelArray as $k=>$arr){ echo "channelArray[$k] = \"{$arr['nid']}\";\r\n"; } ?> 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); } 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 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('head1'); ShowObj('needset'); HideObj('head2'); HideObj('adset'); } function ShowItem2(){ ShowObj('head2'); ShowObj('adset'); HideObj('head1'); HideObj('needset'); } function CheckTypeDir(){ var upinyin = document.getElementById('upinyin'); var tpobj = document.getElementById('typedir'); if(upinyin.checked) tpobj.style.display = "none"; else tpobj.style.display = "block"; } function ParTemplet(obj) { var sevvalue = channelArray[obj.value]; var tempindex = document.getElementsByName('tempindex'); var templist = document.getElementsByName('templist'); var temparticle = document.getElementsByName('temparticle'); //var dfstyle = document.getElementsByName('dfstyle'); //var dfstyleValue = dfstyle[0].value; tempindex[0].value = "{style}/index_"+sevvalue+".htm"; templist[0].value = "{style}/list_"+sevvalue+".htm"; temparticle[0].value = "{style}/article_"+sevvalue+".htm"; } function checkSubmit() { if(document.form1.typename.value==""){ alert("栏目名称不能为空!"); return false; } return true; } function ShowSonList(){ if(document.form1.needson.checked){ ShowObj('sonlist'); }else{ HideObj('sonlist'); } } </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body leftmargin='15' topmargin='10'> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <td width="100%" height="20" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="30">&nbsp;<a href="catalog_main.php"><u>栏目管理</u></a>&gt;&gt;修改栏目</td> </tr> </table></td> </tr> </table> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <tr> <form name="form1" action="catalog_edit.php" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="dopost" value="save"> <input type="hidden" name="ID" value="<?php echo $ID?>"> <input type="hidden" name="topID" value="<?php echo $myrow['topID']?>"> <td height="95" align="center" bgcolor="#FFFFFF"> <table width="100%" border="0" cellspacing="0" id="head1" cellpadding="0" class="htable"> <tr> <td colspan="2" align="left" bgcolor="#EDF9D5"> <table width="168" 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>&nbsp;</td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellspacing="0" id="head2" cellpadding="0" style="border-bottom:1px solid #CCCCCC;display:none"> <tr> <td colspan="2" align="left" bgcolor="#EDF9D5"> <table width="168" 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" id="needset" cellspacing="0" cellpadding="0"> <tr> <td width="120" height="26" align="left" class='bline'>是否支持投稿:</td> <td align="left" class='bline'> <input type='radio' name='issend' value='0' class='np' <?php if($myrow['issend']=="0") echo " checked";?>> 不支持&nbsp; <input type='radio' name='issend' value='1' class='np' <?php if($myrow['issend']=="1") echo " checked";?>> 支持 </td> </tr> <tr> <td width="120" height="26" align="left" class='bline'>是否隐藏栏目:</td> <td align="left" class='bline'> <input type='radio' name='ishidden' value='0' class='np'<?php if($myrow['ishidden']=="0") echo " checked";?>> 显示 &nbsp; <input type='radio' name='ishidden' value='1' class='np'<?php if($myrow['ishidden']=="1") echo " checked";?>> 隐藏 </td> </tr> <tr> <td height="26" align="left" class='bline'>栏目名称:</td> <td align="left" class='bline'><input name="typename" type="text" id="typename" size="30" value="<?php echo $myrow['typename']?>"></td> </tr> <tr> <td height="26" align="left" class='bline'> 排列顺序: </td> <td align="left" class='bline'> <input name="sortrank" size="6" type="text" value="<?php echo $myrow['sortrank']?>"> (由低 -&gt; 高) </td> </tr> <tr> <td height="26" align="left" class='bline'>浏览权限:</td> <td align="left" class='bline'> <input type="hidden" name="corank_old" value="<?php echo $myrow['corank']?>"> <select name="corank" id="corank" style="width:100px"> <?php $dsql->SetQuery("Select * from #@__arcrank where rank >= 0"); $dsql->Execute(); while($row = $dsql->GetObject()) { if($myrow['corank']==$row->rank) echo "<option value='".$row->rank."' selected>".$row->membername."</option>\r\n"; else echo "<option value='".$row->rank."'>".$row->membername."</option>\r\n"; } ?> </select> (本权限仅对<font color="#0000FF"><strong>最终列表栏目</strong></font>有效,设置后本栏目发布或审核后的所有文档将使用此权限) </td> </tr> <tr> <td height="26" align="left" class='bline'>文件保存目录:</td> <td align="left" class='bline'> <input name="typedir" type="text" id="typedir" value="<?php echo $myrow['typedir']?>" style="width:300px"> </td> </tr> <tr> <td height="26" align="left" class='bline'>内容模型: &nbsp; </td> <td align="left" class='bline'> <select name="channeltype" id="channeltype" style="width:200px" onChange="ParTemplet(this)"> <?php foreach($channelArray as $k=>$arr) { if($k==$channelid) echo " <option value='{$k}' selected>{$arr['typename']}|{$arr['nid']}</option>\r\n"; else echo " <option value='{$k}'>{$arr['typename']}|{$arr['nid']}</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="26" align="left" class='bline'>栏目列表选项:</td> <td align="left" class='bline'> <input type='radio' name='isdefault' value='1' class='np'<?php if($myrow['isdefault']==1) echo" checked";?>> 链接到默认页 <input type='radio' name='isdefault' value='0' class='np'<?php if($myrow['isdefault']==0) echo" checked";?>> 链接到列表第一页 <input type='radio' name='isdefault' value='-1' class='np'<?php if($myrow['isdefault']==-1) echo" checked";?>> 使用动态页 </td> </tr> <tr> <td height="26" align="left" class='bline'>默认页的名称: </td> <td align="left" class='bline'><input name="defaultname" type="text" value="<?php echo $myrow['defaultname']?>"></td> </tr> <tr> <td height="26" align="left" class='bline'>栏目属性:</td> <td align="left" class='bline'> <input name="ispart" type="radio" id="radio" value="0" class='np'<?php if($myrow['ispart']==0) echo" checked";?>> 最终列表栏目(允许在本栏目发布文档,并生成文档列表)<br> <input name="ispart" type="radio" id="radio2" value="1" class='np'<?php if($myrow['ispart']==1) echo" checked";?>> 频道封面(栏目本身不允许发布文档)<br> <input name="ispart" type="radio" id="radio3" value="2" class='np'<?php if($myrow['ispart']==2) echo" checked";?>> 单独页面(栏目本身不允许发布文档) <br> <input name="ispart" type="radio" id="radio" value="3" class='np'<?php if($myrow['ispart']==3) echo" checked";?>> 跳转网址(在文件保存目录处填写完整网址) </td> </tr> <?php $needcheckS = ""; $needshowS = "none"; if(!empty($myrow['smalltypes'])){ $needcheckS = " checked"; $needshowS = "block"; $smalltypes = explode(',',$myrow['smalltypes']); } ?> <tr> <td height="26" align="left" class='bline'>启用小分类:</td> <td align="left" class='bline'> <input name="needson" type="checkbox" id="needson" value="1" onClick="ShowSonList()"<?php echo $needcheckS; ?>> 启用 (仅适用于分类信息等互动模型)</td> </tr> <tr id="sonlist" style="display:<?php echo $needshowS; ?>"> <td height="26" align="left" class='bline'>小分类:</td> <td align="left" class='bline' style='padding-top:5px;padding-bottom:5px;'> <select name="sonlists[]" id="sonlists" style="width:200px" size="6" multiple="multiple"> <?php $dsql->SetQuery("select id,name from #@__smalltypes order by disorder asc"); $dsql->Execute(); while($row = $dsql->GetObject()) { if(!empty($smalltypes) && in_array($row->id,$smalltypes)) echo " <option value='{$row->id}' selected>{$row->name}</option>\r\n"; else echo " <option value='{$row->id}'>{$row->name}</option>\r\n"; } ?> </select> (按Ctrl多选) </td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0" style="display:none" id="adset"> <tr> <td width="120" height="24" align="left" class='bline'>多站点支持:</td> <td align="left" class='bline'> <input name="moresite" type="radio" value="0"<?php if($myrow['moresite']==0) echo" checked";?>> 不启用 <input type="radio" name="moresite" value="1"<?php if($myrow['moresite']==1) echo" checked";?>> 启用 </td> </tr> <tr> <td height="24" align="left" bgcolor="#F3F7EA">说明:</td> <td align="left" bgcolor="#F3F7EA">绑名绑定仅需要在顶级栏目设定,下级栏目更改无效。</td> </tr> <tr> <td height="24" align="left" class='bline'>绑定域名:</td> <td align="left" class='bline'> <input name="siteurl" type="text" id="siteurl" size="35" value="<?php echo $myrow['siteurl']?>"> (需加 http://,一级或二级域名的根网址) </td> </tr> <tr> <td height="24" align="left" class='bline'>站点根目录:</td> <td align="left" class='bline'> <input name="sitepath" type="text" id="sitepath" size="35" value="<?php echo $myrow['sitepath']?>"> <input name="siterefer" type="radio" id="siterefer1" value="1"<?php if($myrow['siterefer']==1) echo" checked";?>> 相对于当前站点根目录 <input name="siterefer" type="radio" id="siterefer2" value="2"<?php if($myrow['siterefer']==2) echo" checked";?>> 绝对路径 </td> </tr> <tr id='helpvar1' style='display:none'> <td height="24" align="left" bgcolor="#F3F7EA">支持变量: </td> <td align="left" bgcolor="#F3F7EA"> {tid}表示栏目ID,<br> {cid}表示频道模型的'名字ID' <font color='#888888'> ( <?php foreach($channelArray as $k=>$arr) { echo "{$arr['typename']}({$arr['nid']})、"; } ?> ) </font> <br/> 模板文件的默认位置是放在模板目录 "cms安装目录 <?php echo $cfg_templets_dir ?> " 内。 <input type='hidden' value='{style}' name='dfstyle'> </td> </tr> <tr> <td height="33" align="left">封面模板:</td> <td height="33" align="left"> <input name="tempindex" type="text" value="<?php echo $myrow['tempindex']?>" style="width:300px"> <input type="button" name="set1" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.tempindex');" class="inputbut"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar1')"> </td> </tr> <tr> <td height="33" align="left">列表模板:</td> <td height="33" align="left"> <input name="templist" type="text" value="<?php echo $myrow['templist']?>" style="width:300px"> <input type="button" name="set3" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.templist');" class="inputbut"> </td> </tr> <tr> <td height="33" align="left">文章模板:</td> <td height="33" align="left"><input name="temparticle" type="text" value="<?php echo $myrow['temparticle']?>" style="width:300px"> <input type="button" name="set4" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.temparticle');" class="inputbut"> </td> </tr> <tr> <td height="33" align="left">单独页面模板:</td> <td height="33" align="left"><input name="tempone" type="text" value="<?php echo $myrow['tempone']?>" style="width:300px"> <input type="button" name="set2" value="浏览..." style="width:60px" onClick="SelectTemplets('form1.tempone');" class="inputbut"> </td> </tr> <tr id='helpvar2' style='display:none'> <td height="24" align="left" bgcolor="#F3F7EA">支持变量: </td> <td height="24" align="left" bgcolor="#F3F7EA"> {Y}、{M}、{D} 年月日<br/> {timestamp} INT类型的UNIX时间戳<br/> {aid} 文章ID<br/> {pinyin} 拼音+文章ID<br/> {py} 拼音部首+文章ID<br/> {typedir} 栏目目录 <br/> {cc} 日期+ID混编后用转换为适合的字母 <br/> </td> </tr> <tr> <td height="26" align="left">文章命名规则:</td> <td align="left"> <input name="namerule" type="text" id="namerule" value="<?php echo $myrow['namerule']?>" size="40"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar2')"> </td> </tr> <tr id='helpvar3' style='display:none'> <td height="24" align="left" bgcolor="#F3F7EA">支持变量: </td> <td align="left" bgcolor="#F3F7EA">{page} 列表的页码</td> </tr> <tr> <td height="26" align="left">列表命名规则:</td> <td align="left"> <input name="namerule2" type="text" id="namerule2" value="<?php echo $myrow['namerule2']?>" size="40"> <img src="img/help.gif" alt="帮助" width="16" height="16" border="0" style="cursor:hand" onClick="ShowHide('helpvar3')"></td> </tr> <tr> <td height="65" align="left">关键字:</td> <td align="left"> <textarea name="keywords" cols="40" rows="3" id="keywords"><?php echo $myrow['keywords']?></textarea> </td> </tr> <tr> <td height="65" align="left">栏目描述:</td> <td height="65" align="left"><textarea name="description" cols="40" rows="3" id="textarea"><?php echo $myrow['description']?></textarea></td> </tr> <tr> <td height="45" align="left">继承选项:</td> <td align="left"> <input name="upnext" type="checkbox" id="upnext" value="1" > 同时更改下级栏目的内容类型、模板风格、命名规则等通用属性 </td> </tr> </table> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="50" align="center"><input name="imageField" type="submit" class="inputbut" value="确定" />&nbsp;&nbsp;&nbsp; <a href="catalog_main.php"> <input type="button" name="button" id="button" value="返回" class="inputbut"/> </a> </td> </tr> </table></td> </form> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/catalog_edit.htm
HTML
asf20
18,666
<!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' src='main.js'></script> <script language='javascript' src='../include/dedeajax2.js'></script> <script language='javascript'> function ShowFields(){ var exptable = $DE('exptable').options[$DE('exptable').selectedIndex].value; var queryUrl = "sys_data_replace_action.php?exptable="+exptable+"&action=getfields"; var myajax = new DedeAjax($DE('fields'),true,true,'','x','...'); myajax.SendGet(queryUrl); } function CheckSubmit(){ if($DE('rpfield').value==""){ alert("你选择的操作为手工指定字段,但你并没指定!"); return false; } if($DE('rpstring').value==""){ alert("你没指定要替换的字符串!"); return false; } return true; } function pf(v){ $DE('rpfield').value = v; } </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;"> <form action="sys_data_replace_action.php" name="form1" method="post" target="stafrm" onSubmit="return CheckSubmit()"> <input type='hidden' name='action' value='apply'> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong>&nbsp;数据库内容替换:</strong> </td> <td>&nbsp;</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#FFFFFF"> <td colspan="2" style="line-height:180%"><img src="img/help.gif" width="16" height="16">程序用于批量替换数据库中某字段的内容。</td> </tr> <tr id='datasel'> <td width="15%" height="66">&nbsp;选择数据表与字段:</td> <td> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td id="tables"> <?php $dsql = new DedeSql(false); if(!$dsql->linkID){ echo "<font color='red'>连接数据库失败!</font><br>"; echo $qbutton; exit(); } $dsql->SetQuery("Show Tables"); $dsql->Execute('t'); if($dsql->GetError()!=""){ echo "<font color='red'>找不到你所指定的数据库! $dbname</font><br>"; echo $qbutton; } echo "<select name='exptable' id='exptable' size='10' style='width:60%' onchange='ShowFields()'>\r\n"; while($row = $dsql->GetArray('t')){ echo "<option value='{$row[0]}'>{$row[0]}</option>\r\n"; } echo "</select>\r\n"; $dsql->Close(); ?> </td> </tr> <tr> <td id='fields'></td> </tr> <tr> <td height="28"> 要替换的字段: <input name="rpfield" type="text" id="rpfield"></td> </tr> </table></td> </tr> <tr bgcolor="#EFFAFE"> <td bgcolor="#EFFAFE">&nbsp;替换方式:</td> <td bgcolor="#EFFAFE"> <input name="rptype" type="radio" id="ot1" value="replace" checked> 普通替换 <input type="radio" name="rptype" id="ot2" value="regex"> 正则表达式 主键字段: <input name="keyfield" type="text" id="keyfield" size="12"> (正则模式必须指定)</td> </tr> <tr> <td>&nbsp;被替换内容:</td> <td><textarea name="rpstring" id="rpstring" style="width:60%;height:50px"></textarea></td> </tr> <tr> <td>&nbsp;替换为:</td> <td><textarea name="tostring" id="tostring" style="width:60%;height:50px"></textarea></td> </tr> <tr> <td height="29">&nbsp;替换条件:</td> <td><input name="condition" type="text" id="condition" style="width:45%"> (空完全替换)</td> </tr> <tr> <td height="29">&nbsp;安全确认码:</td> <td><table width="300" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90"><input type="text" name="validate" style="width:80;height:20"></td> <td><img src='../include/vdimgck.php' width='50' height='20'></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 - 520; </script> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_data_replace.htm
HTML
asf20
6,284
<!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 UpSel() { var nid = getCheckboxItem(); if(nid==""){ alert("请选择要更改诉业务记录!\r\n"); return ; } location.href = "member_do.php?dopost=upoperations&nid="+nid; } function OkSel() { var nid = getCheckboxItem(); if(nid==""){ alert("请选择要更改诉业务记录!\r\n"); return ; } location.href = "member_do.php?dopost=okoperations&nid="+nid; } </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="30" align="center" bgcolor="#FAFCEF"> <form name="form2" method="get" action="member_operations.php"> <table border="0" cellspacing="0" cellpadding="0"> <tr> <td>输入订单号:</td> <td> <input name="buyid" type="text" id="buyid"></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="20" colspan="8" bgcolor="#EDF9D5"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong><a href="co_main.php"><u>会员管理</u></a> &gt; 会员业务管理:</strong> </td> <td width="45%" align="right" > <input type="button" name="ss13" value="未付款" style="width:50px;margin-right:6px" onClick="location='member_operations.php?sta=0';" class='inputbut'> <input type="button" name="ss14" value="已付款" style="width:50px;margin-right:6px" onClick="location='member_operations.php?sta=1';" class='inputbut'> <input type="button" name="ss142" value="已完成" style="width:50px;margin-right:6px" onClick="location='member_operations.php?sta=2';" class='inputbut'> <input type="button" name="ss16" value="全部" style="width:40px;margin-right:6px" onClick="location='member_operations.php';" class='inputbut'> </td> <td width="25%" align="right"> <input type="button" name="ss12" value="会员管理" style="width:90px;margin-right:6px" onClick="location='member_main.php';" class='inputbut'> </td> </tr> </table></td> </tr> <tr bgcolor="#F8FBFB"> <td width="8%" align="center">选择</td> <td width="30%" align="center">订单号</td> <td width="13%" align="center">产品名称</td> <td width="10%" align="center">产品类型</td> <td width="10%" align="center">生成日期</td> <td width="8%" align="center">金额</td> <td width="8%" align="center">状态</td> <td width="13%" align="center">会员</td> </tr> <form name="form1"> <?php $mylist = $dlist->GetDataList(); while($row = $mylist->GetArray('dm')) { ?> <tr bgcolor="#FFFFFF"> <td align="center"> <input type='checkbox' name='aids' value='<?php echo $row['aid']?>' class='np'></td> <td align="center"> <?php echo $row['buyid']?> </td> <td align="center"> <?php echo $row['pname']?> </td> <td align="center"> <?php echo GetPType($row['product'])?> </td> <td align="center"> <?php echo GetDateMk($row['mtime'])?> </td> <td align="center"> <?php echo $row['money']?> </td> <td align="center"> <?php echo GetSta($row['sta'])?> </td> <td align="center"> <?php echo GetMemberID($dlist->dsql,$row['mid'])?> </td> </tr> <?php } ?> </form> <tr> <td height="28" colspan="8" 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="UpSel();"> <input type="button" name="b9" value="设为已完成状态" class="inputbut" style="width:100" onClick="OkSel();"> </td> </tr> <tr> <td height="24" colspan="8" bgcolor="#FCFDF7" align="center"> <?php $dlist->GetPageList(7); ?> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_operations.htm
HTML
asf20
5,493
1227667087
zyyhong
trunk/jiaju001/news/lic/templets/file_upload.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 language="javascript"> var notAllow = " <?php echo $f; ?> "; function GetFields() { var theform = document.form1; var fieldname = theform.fieldname.value; var itemname = theform.itemname.value; var dtype = theform.dtype.value; var isnull = theform.isnull.value; var vdefault = theform.vdefault.value; var maxlength = theform.maxlength.value; var vfunction = theform.vfunction.value; var vinnertext = theform.vinnertext.value; var spage = (theform.spage[0].checked ? theform.spage[0].value : theform.spage[1].value); var sisnull = (isnull==0 ? "false" : "true"); var autofield = (theform.autofield[0].checked ? theform.autofield[0].value : theform.autofield[1].value); var islist = (theform.islist.checked ? 1 : 0); var notsend = (theform.notsend.checked ? 1 : 0); if(itemname=="") { alert("表单提示名称不能为空!"); theform.itemname.focus(); return false; } if(fieldname=="") { alert("字段名称不能为空!"); theform.fieldname.focus(); return false; } if(notAllow.indexOf(" "+fieldname+" ") >-1 ) { alert("字段名称不合法,如下字段名已经存在,建议在名称后加上数字以区分:\n"+notAllow); return false; } if((dtype=="radio"||dtype=="select"||dtype=="checkbox") && vinnertext=="") { alert("你选择的select或radio、checkbox类型,必须在表单HTML里设置选择的项目(用逗号[,]分开)!"); return false; } if(spage=="no") spage = ""; revalue = "<field:"+fieldname+" itemname=\""+itemname+"\" autofield=\""+autofield+"\" notsend=\""+notsend+"\" type=\""+dtype+"\""; revalue += " isnull=\""+sisnull+"\" islist=\""+islist+"\" default=\""+vdefault+"\" function=\""+vfunction+"\""; revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n"; document.form1.fieldstring.value = revalue; return true; } </script> <style type="text/css"> <!-- td{ padding:2px; padding-left:6px; line-height:150%; } .STYLE1 {color: #FF3300} --> </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 name="form1" action="mychannel_field_add.php" method="post" onSubmit="return GetFields();"> <input type='hidden' name='action' value='save'> <input type='hidden' name='ID' value='<?php echo $ID?>'> <input type='hidden' name='fieldstring' value=''> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%">&nbsp;<b><a href="mychannel_main.php">频道管理</a>&gt;&gt;增加新字段:</b> </td> <td align="right" style="padding-top:6px;"> <input type="button" name="ss1" value="当前模型信息" onClick="location='mychannel_edit.php?ID=<?php echo $ID?>&dopost=edit';" class="inputbut"/> <input type="button" name="ss12" value="频道模型管理" onClick="location='mychannel_main.php';" class="inputbut"/> </td> </tr> </table> </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF"><span class="STYLE1">所有填写的内容不允许包含双引号[<strong>&quot;</strong>],否则配置将无法写入。</span></td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">表单提示文字:</td> <td bgcolor="#FFFFFF"> <input name="itemname" type="text" id="itemname" style="width:150px"> *(发布内容时显示的提示文字) </td> </tr> <tr> <td width="28%" align="center" bgcolor="#FFFFFF">字段名称:</td> <td width="72%" bgcolor="#FFFFFF" style="table-layout:fixed;word-break:break-all"> <input name="fieldname" type="text" id="fieldname" style="width:150px"> *(必须为小写英文字母,表示数据库的真实字段名) </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">字段类型:</td> <td bgcolor="#FFFFFF"> <input name="autofield" type="radio" value="1" class="np" checked="checked" /> 系统自动生成表单字段 <input type="radio" name="autofield" class="np" value="0" /> 已经固化在发布表单中字段 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">前台参数:</td> <td bgcolor="#FFFFFF"> <input name="islist" type="checkbox" class="np" id="islist" value="1" /> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择)<br /> <input name="notsend" type="checkbox" class="np" id="notsend" value="1" /> 前台投稿及采集规则禁用本字段 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">数据类型:</td> <td bgcolor="#FFFFFF"> <select name="dtype" id="type" style="width:200px"> <option value="text">单行文本(varchar)</option> <option value="textchar">单行文本(char)</option> <option value="multitext">多行文本</option> <option value="htmltext">HTML文本</option> <option value="textdata">文本保存HTML数据</option> <option value="int">整数类型</option> <option value="float">小数类型</option> <option value="datetime">时间类型</option> <option value="img">图片</option> <option value="imgfile">图片(仅网址)</option> <option value="media">多媒体文件</option> <option value="addon">附件类型</option> <option value="select">使用option下拉框</option> <option value="radio">使用radio选项卡</option> <option value="checkbox">Checkbox多选框</option> </select> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">是否分页:</td> <td bgcolor="#FFFFFF"> <input name="isnull" type="hidden" value="1"> <input name="spage" type="radio" value="split"> 是 &nbsp; <input name="spage" type="radio" value="no" checked> 否 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">默认值:</td> <td bgcolor="#FFFFFF"> <input name="vdefault" type="text" id="vdefault" style="width:200px" value="0"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">最大长度:</td> <td bgcolor="#FFFFFF"> <input name="maxlength" type="text" id="maxlength" value="250" style="width:80px"> (文本数据必须填写,大于255为text类型) </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">处理函数:</td> <td bgcolor="#FFFFFF"> <input name="vfunction" type="text" id="vfunction" style="width:35%"> (可选,用'@me'表示当前项目值参数) </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">自定义表单HTML:</td> <td bgcolor="#FFFFFF"> ◆自定义表单HTML时,表单名(name)必须为“字段名称”,值(value)为:'@value'。<br> ◆如果定义数据类型为select、radio、checkbox时,此处填写被选择的项目,用“,”分开,如“男,女,人妖”。 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF"><br> </td> <td bgcolor="#FFFFFF"> <textarea name="vinnertext" cols="45" rows="5" id="vinnertext"></textarea> </td> </tr> <tr> <td height="28" colspan="2" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%" height="45">&nbsp;</td> <td width="20%"><input type="submit" name="button1" id="button1" value="确定" class="inputbut" /></td> <td width="54%"><input type="reset" name="button2" id="button2" value="重置" class="inputbut" /></td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mychannel_field_add.htm
HTML
asf20
8,679
<!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"> <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_edit.php" method="post" enctype="multipart/form-data" name="form1"> <input type="hidden" name="ID" value="<?php echo $myLink['ID']?>"> <input type="hidden" name="dopost" value="saveedit"> <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="<?php echo $myLink['url']?>" size="30"> </td> </tr> <tr> <td width="19%" height="25">排列位置:</td> <td width="81%"> <input name="sortrank" type="text" id="sortrank" value="<?php echo $myLink['sortrank']?>" size="10"> (由小到大排列) </td> </tr> <tr> <td height="25">网站名称:</td> <td><input name="webname" type="text" id="webname" size="30" value="<?php echo $myLink['webname']?>"></td> </tr> <tr> <td height="25">网站Logo:</td> <td><input name="logo" type="text" id="logo" size="40" value="<?php echo $myLink['logo']?>"> (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"><?php echo $myLink['msg']?></textarea></td> </tr> <tr> <td height="25">站长Email:</td> <td><input name="email" type="text" id="email" size="30" value="<?php echo $myLink['email']?>"></td> </tr> <tr> <td height="25">链接位置:</td> <td> <select name="ischeck"> <option value="0"<?php if($myLink['ischeck']==0) echo " selected"?>>未审核</option> <option value="1"<?php if($myLink['ischeck']==1) echo " selected"?>>内页</option> <option value="2"<?php if($myLink['ischeck']==2) echo " selected"?>>首页</option> </select> </td> </tr> <tr> <td height="25">网站类型:</td> <td> <select name="typeid" id="typeid"> <?php echo " <option value='".$myLink['typeid']."'>".$myLink['typename']."</option>\r\n"; $dsql->SetQuery("select * from #@__flinktype where ID<>'".$myLink['typeid']."'"); $dsql->Execute(); while($row=$dsql->GetObject()){ echo " <option value='".$row->ID."'>".$row->typename."</option>\r\n"; } ?> </select> </td> </tr> <tr> <td height="51">&nbsp;</td> <td><input type="submit" name="Submit" value=" 提 交 " class="inputbut">    <input type="reset" name="Submit" value=" 返 回 " onClick="location.href='<?php echo $ENV_GOBACK_URL?>';" class="inputbut"></td> </tr> </table> </form> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/friendlink_edit.htm
HTML
asf20
3,805
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>图片浏览器</title> <link href="base.css" rel="stylesheet" type="text/css"> <script language="javascript"> function getPic(str) { var ss = new Array(3); ss = str.split("@"); window.opener.document.form1.imgsrc.value=ss[0]; window.opener.document.form1.imgwidth.value=ss[1]; window.opener.document.form1.imgheight.value=ss[2]; window.opener.document.form1.picview.src=ss[0]; window.opener=true; window.close(); } </script> </head> <body leftmargin="0" topmargin="0"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <form name="form1"> <tr> <td height="10" colspan="<?php echo $listSize?>"></td> </tr> <tr> <td colspan="<?php echo $listSize?>"> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC"> <tr> <td width="4%" align="center" bgcolor="#F9F9F7" height="24"><img src="img/file_dir.gif" width="16" height="16"></td> <td width="55%" align="center" bgcolor="#F9F9F7"><input name="activepath" type="text" id="path" size="30" style="height:15pt" value="<?php echo $activepath?>"></td> <td width="20%" bgcolor="#F9F9F7"> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td width="6%">&nbsp;</td> <td width="44%"><input name="imageField" type="image" src="img/next.gif" width="52" height="20" border="0" style="border:0;height:20"></td> <td width="50%"><a href="file_manage_main.php?activepath=<?php echo $activepath?>"><img src="img/file_view.gif" width="60" height="20" border="0"></a></td> </tr> </table></td> <td width="22%" bgcolor="#F9F9F7"> <table width="100%" border="0" cellspacing="1" cellpadding="0"> <tr> <td width="18%" align="right"><img src="img/file_topdir.gif" width="18" height="17"></td> <td width="82%"><?php GetPrePath($activepath); ?></td> </tr> </table></td> </tr> </table></td> </tr> <tr><td height="4" colspan="<?php echo $listSize?>"></td></tr> <?php ListPic($truePath,$activepath); ?> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/file_pic_view.htm
HTML
asf20
2,384
1227667070
zyyhong
trunk/jiaju001/news/lic/templets/company_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> 数据转换与导入</title> <script language='javascript' src='main.js'></script> <script language='javascript' src='../include/dedeajax2.js'></script> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language='javascript'> function selDbset(){ if($DE('db2').checked){ $DE('dbinfo1').style.display = 'block'; $DE('dbinfo2').style.display = 'none'; $DE('dbhostc').style.display = 'none'; }else if($DE('db3').checked){ $DE('dbinfo1').style.display = 'block'; $DE('dbinfo2').style.display = 'block'; $DE('dbhostc').style.display = 'block'; }else{ $DE('dbinfo1').style.display = 'none'; $DE('dbinfo2').style.display = 'none'; } } function ShowChangeType(){ if($DE('tg2').checked){ $DE('ot1').checked = false; $DE('ot2').checked = true; $DE('ot3').checked = false; $DE('ot4').checked = false; } if($DE('tg3').checked){ $DE('ot1').checked = false; $DE('ot2').checked = false; $DE('ot3').checked = false; $DE('ot4').checked = true; } } function SelectedTable(){ var dbhost = $DE('dbhost').value; var dbname = $DE('dbname').value; var dbuser = $DE('dbuser').value; var dbpwd = $DE('dbpwd').value; var dbptype = 1; if($DE('db2').checked) dbptype = 2; else if($DE('db3').checked) dbptype = 3; var queryUrl = "member_data_action.php?action=gettables&dbptype="+dbptype+"&dbhost="+dbhost+"&dbname="+dbname+"&dbuser="+dbuser+"&dbpwd="+dbpwd; var myajax = new DedeAjax($DE('tblist'),true,true,'','x','...'); myajax.SendGet(queryUrl); } function ShowFields(){ var dbhost = $DE('dbhost').value; var dbname = $DE('dbname').value; var dbuser = $DE('dbuser').value; var dbpwd = $DE('dbpwd').value; var dbptype = 1; var exptable = $DE('exptable').options[$DE('exptable').selectedIndex].value; if($DE('db2').checked) dbptype = 2; else if($DE('db3').checked) dbptype = 3; var queryUrl = "member_data_action.php?exptable="+exptable+"&action=getfields&dbptype="+dbptype+"&dbhost="+dbhost+"&dbname="+dbname+"&dbuser="+dbuser+"&dbpwd="+dbpwd; var myajax = new DedeAjax($DE('fields'),true,true,'','x','...'); myajax.SendGet(queryUrl); } function CheckSubmit(){ if(!$DE('tg1').checked && !$DE('tg2').checked){ alert("请选择数据源的密码类型!"); 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;"> <form action="member_data_action.php" name="form1" method="get" target="stafrm" onSubmit="return CheckSubmit()"> <input type='hidden' name='action' value='savesetting'> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong><a href="co_main.php"><u>会员管理</u></a> &gt;<A href="member_password.php" target="main">数据转换与导入</A>:</strong> </td> <td>&nbsp;</td> </tr> </table> </td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="100%" border="0" cellpadding="2" cellspacing="2"> <tr bgcolor="#FFFFFF"> <td colspan="4" style="line-height:180%"><img src="img/help.gif" width="16" height="16">本向导入于导入并转换第三方的用户数据,本程序会强制清空现有的DedeCms会员数据,请小心使用。<br> 如果你只想转换本地的数据的密码类型,请在[<a href="member_password.php"><u>密码类型变换</u></a>]的地方转换。</td> </tr> <tr bgcolor="#EFFAFE"> <td width="18%" bgcolor="#EDF9D5">数据源密码类型:</td> <td width="82%" colspan="3" bgcolor="#EDF9D5"> <input type="radio" class='np' name="tgtype" id="tg1" onClick="ShowChangeType()" value="none"> 明文(不加密) <input type="radio" class='np' name="tgtype" id="tg2" onClick="ShowChangeType()" value="md5"> MD5加密 <input type="radio" class='np' name="tgtype" id="tg3" onClick="ShowChangeType()" value="md5m16"> MD5中间16位 &nbsp; MD5长度: <input name="tgmd5len" type="text" id="tgmd5len" size="10"> (空或32表示全长度) </td> </tr> <tr> <td height="66">数据源信息:</td> <td colspan="3"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="24"> <input name="dbptype" type="radio" class='np' onClick="selDbset()" id="db1" value="1" checked> 使用与本系统相同的数据库主机、数据库名、用户、密码<br> <input type="radio" class='np' name="dbptype" onClick="selDbset()" id="db2" value="2"> 使用与本系统相同的数据库主机、用户、密码 <br> <input type="radio" class='np' name="dbptype" onClick="selDbset()" id="db3" value="3"> 指定新的登录信息 </td> </tr> <tr> <td height="28" id="dbinfo1" style="display:none"> <span id='dbhostc' style='float:left;display:none'>数据库主机: <input name="dbhost" type="text" id="dbhost"> </span> <span id='dbnamec' style='float:left'>&nbsp;&nbsp;数据库名称: <input name="dbname" type="text" id="dbname"> </span> </td> </tr> <tr> <td height="28" id="dbinfo2" style="display:none"> 数据库用户: <input name="dbuser" type="text" id="dbuser"> &nbsp;&nbsp;数据库密码: <input name="dbpwd" type="text" id="dbpwd"> </td> </tr> <tr> <td height="32"> <span id='tblist'> <input type="button" name="Submit2" value="选择数据表" class="inputbut" onClick="SelectedTable()"> </span> <span id='fields'></span> </td> </tr> <tr> <td height="32">数据表编码: <input type="radio" class='np' name="dbchar" value="gbk" checked> GBK <input type="radio" class='np' name="dbchar" value="latin1" > Iatin1</td> </tr> <tr> <td height="32">用户名字段名: <input name="userfield" type="text" id="userfield" size="12"> 密码字段名: <input name="pwdfield" type="text" id="pwdfield" size="12"> Email字段名: <input name="emailfield" type="text" id="emailfield" value="email" size="12"></td> </tr> <tr> <td height="32">用户昵称字段: <input name="unamefield" type="text" id="unamefield" size="10"> (空同用户名) 性别: <input name="sexfield" type="text" id="sexfield" value="sex" size="10"> 性别转换:男 <input name="sexman" type="text" id="sexman" size="4"> 女 <input name="sexwoman" type="text" id="sexwoman" size="4"> (填写代号码)</td> </tr> </table></td> </tr> <tr bgcolor="#EFFAFE"> <td bgcolor="#EDF9D5">转换为:</td> <td colspan="3" bgcolor="#EDF9D5"> <input type="radio" class='np' name="oldtype" onClick="ShowChangeType()" id="ot1" value="none"<?php if($cfg_pwdtype=='none') echo ' checked';?>> 明文(不加密) <input type="radio" class='np' name="oldtype" onClick="ShowChangeType()" id="ot2" value="md5"<?php if($cfg_pwdtype=='md5') echo ' checked';?>> MD5加密 <input type="radio" class='np' name="oldtype" onClick="ShowChangeType()" id="ot4" value="md5m16"<?php if($cfg_pwdtype=='md5m16') echo ' checked';?>> MD5中间16位 <input type="radio" class='np' name="oldtype" onClick="ShowChangeType()" id="ot3" value="dd"<?php if($cfg_pwdtype=='dd') echo ' checked';?>> Dede算法 </td> </tr> <tr> <td>MD5长度:</td> <td><input name="oldmd5len" type="text" id="oldmd5len2" value="<?php echo $cfg_md5len?>"> </td> <td>Dede密钥:</td> <td><input name="oldsign" type="text" id="oldsign2" value="<?php echo $cfg_ddsign?>"></td> </tr> <tr> <td height="29">安全确认码:</td> <td colspan="3"><table width="300" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90"><input type="text" name="validate" style="width:80;height:20"></td> <td><img src='../include/vdimgck.php' width='50' height='20'></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/member_data.htm
HTML
asf20
11,226
<!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 SubmitNew() { document.form1.totalnum.value = "0"; document.form1.submit(); } </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="30" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellpadding="0" cellspacing="0"> <form name='form2' action='co_url.php' target='stafrm'> <input type='hidden' name='small' value='1'> <input type='hidden' name='nid' value='<?php echo $nid?>'> </form> <tr> <td width="30%" height="18">&nbsp;<strong>采集指定节点:</strong></td> <td width="70%" align="right" style="padding:6px 6px 0px 0px"> <input type="button" name="b11" value="查看已下载" class='inputbut' onClick="document.form2.submit();" style="width:90"> <input type="button" name="b12" value="采集节点管理" class='inputbut' style="width:90" onClick="location.href='co_main.php';"> <input type="button" name="b13" value="导出数据" class='inputbut' style="width:90" onClick="location.href='co_export.php?nid=<?php echo $nid?>';"> </td> </tr> </table></td> </tr> <tr> <td width="108" valign="top" bgcolor="#FFFFFF">节点名称:</td> <td width="377" valign="top" bgcolor="#FFFFFF"> <?php echo $co->Item["name"]?> </td> </tr> <tr> <td height="20" valign="top" bgcolor="#FFFFFF">种子网址数:</td> <td height="20" valign="top" bgcolor="#FFFFFF"> <?php echo $unum?> </td> </tr> <form name="form1" action="co_getsource_url_action.php" method="get" target='stafrm'> <input type='hidden' name='nid' value='<?php echo $nid?>'> <input type='hidden' name='totalnum' value='<?php echo $dd?>'> <input type='hidden' name='startdd' value='0'> <tr> <td height="20" bgcolor="#FFFFFF">每页采集:</td> <td height="20" bgcolor="#FFFFFF"> <input name="pagesize" type="text" id="pagesize" value="5" size="3"> 条,线程数: <input name="threadnum" type="text" id="threadnum" value="1" size="3"> 间隔时间: <input name="sptime" type="text" id="sptime" value="0" size="3"> 秒(防刷新的站点需设置)</td> </tr> <tr> <td height="20" bgcolor="#FFFFFF">附加选项:</td> <td height="20" bgcolor="#FFFFFF"> <input name="islisten" type="radio" value="0" checked> 不下载曾下载的网址 <input name="islisten" type="radio" value="-1"> 仅下载未下载内容 <input name="islisten" type="radio" value="1"> 重新下载所有内容 </td> </tr> <tr> <td height="30" colspan="2" bgcolor="#F8FBFB" align="center" style="padding:6px 0px 0px 0px"> <input name="b112" type="button" class='inputbut' value="开始采集网页" onClick="document.form1.submit();" style="width:100">  <input type="button" name="b113" value="查看种子网址" class='inputbut' onClick="document.form2.submit();" style="width:100"> </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%"<?php if($dd>0) echo " src=co_url.php?nid=$nid&small=1";?>></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/co_gather_start.htm
HTML
asf20
4,976
<!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;<b><a href="ad_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="ad_add.php" method="post" name="form1" onSubmit="return checkSubmit()"> <input type='hidden' name='dopost' value='save'> <tr> <td height="25" colspan="3">广告代码的调用方法:{dede:myad name='广告位标识'/} </td> </tr> <tr> <td height="25" align="center">广告位标识:</td> <td colspan="2"><input name="tagname" type="text" id="tagname"> (使用英文或数字表示的简洁标识)</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(); ?> <br> (如果在所选栏目找不到指定标识的广告内容,系统会自动搜索父栏目)</td> </tr> <tr> <td height="25" align="center">广告位名称:</td> <td colspan="2"><input name="adname" type="text" id="adname" size="30"></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" rows="6" 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" rows="6" 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/ad_add.htm
HTML
asf20
4,092
1227667063
zyyhong
trunk/jiaju001/news/lic/templets/co_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>数据库维护--数据还原</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript"> //获得选中文件的数据表 function getCheckboxItem(){ var myform = document.form1; var allSel=""; if(myform.bakfile.value) return myform.bakfile.value; for(i=0;i<myform.bakfile.length;i++) { if(myform.bakfile[i].checked){ if(allSel=="") allSel=myform.bakfile[i].value; else allSel=allSel+","+myform.bakfile[i].value; } } return allSel; } //反选 function ReSel(){ var myform = document.form1; for(i=0;i<myform.bakfile.length;i++){ if(myform.bakfile[i].checked) myform.bakfile[i].checked = false; else myform.bakfile[i].checked = true; } } //全选 function SelAll(){ var myform = document.form1; for(i=0;i<myform.bakfile.length;i++){ myform.bakfile[i].checked = true; } } //取消 function NoneSel(){ var myform = document.form1; for(i=0;i<myform.bakfile.length;i++){ myform.bakfile[i].checked = false; } } // function checkSubmit() { var myform = document.form1; myform.bakfiles.value = getCheckboxItem(); 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" colspan="4" bgcolor="#EDF9D5"> <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><strong>&nbsp;&nbsp;数据还原</strong></td> <td width="76%" align="right"> <b><a href="sys_data.php"><u>数据备份</u></a></b> | <b><a href="sys_sql_query.php"><u>SQL命令行工具</u></a></b> </td> </tr> </table></td> </tr> <form name="form1" onSubmit="checkSubmit()" action="sys_data_done.php?dopost=redat" method="post" target="stafrm"> <input type='hidden' name='bakfiles' value=''> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" valign="top"> <strong>&nbsp;&nbsp;发现的备份文件:</strong> <?php if(count($filelists)==0) echo " 没找到任何备份文件... "; ?> </td> </tr> <?php for($i=0;$i<count($filelists);$i++) { echo "<tr bgcolor='#FFFFFF' align='center' height='24'>\r\n"; $mtd = "<td width='10%'> <input name='bakfile' id='bakfile' type='checkbox' class='np' value='".$filelists[$i]."' checked> </td> <td width='40%'>".$filelists[$i]."</td>"; echo $mtd; if(isset($filelists[$i+1])){ $i++; $mtd = "<td width='10%'> <input name='bakfile' id='bakfile' type='checkbox' class='np' value='".$filelists[$i]."' checked> </td> <td width='40%'>".$filelists[$i]."</td>"; echo $mtd; }else{ echo "<td></td><td></td>"; } echo "</tr>\r\n"; } ?> <tr align="center" bgcolor="#FDFDEA"> <td height="35" colspan="4"> &nbsp; <input name="b1" type="button" id="b1" onClick="SelAll()" value="全选" class="inputbut"/> &nbsp; <input name="b2" type="button" id="b2" onClick="ReSel()" value="反选" class="inputbut"/> &nbsp; <input name="b3" type="button" id="b3" onClick="NoneSel()" value="取消" class="inputbut"/> &nbsp; </td> </tr> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4" valign="top"><strong>&nbsp;&nbsp;附加参数:</strong></td> </tr> <tr bgcolor="#FFFFFF"> <td height="24" colspan="4"> <strong>&nbsp;&nbsp;</strong> <input name="structfile" type="checkbox" id="structfile" value="<?php echo $structfile?>" checked> 还原表结构信息(<?php echo $structfile?>) <input name="delfile" type="checkbox" id="delfile" value="1"> 还原后删除备份文件 </td> </tr> <tr bgcolor="#E3F4BB"> <td height="33" colspan="4" bgcolor="#EDF9D5"> &nbsp;<strong>&nbsp;&nbsp;</strong> <input type="submit" name="Submit" value="开始还原数据" class="inputbut"/> </td> </tr> </form> <tr bgcolor="#F7F8ED"> <td height="24" colspan="4"><strong>&nbsp;&nbsp;进行状态: </strong></td> </tr> <tr bgcolor="#FFFFFF"> <td height="180" colspan="4"> <iframe name="stafrm" frameborder="0" id="stafrm" width="100%" height="100%"></iframe> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_data_revert.htm
HTML
asf20
4,775
<!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"> <?php if($adminid>0){ ?> <input type='button' onClick="location='full_list.php?channelid=<?php echo $channelid?>&cid=<?php echo $cid?>&adminid=0';" value='全部文档' class='inputbut'> <?php }else{ ?> <input type='button' onClick="location='full_list.php?channelid=<?php echo $channelid?>&cid=<?php echo $cid?>&adminid=<?php echo $cuserLogin->getUserID()?>';" value='我的文档' class='inputbut'> <?php } echo $CheckUserSend ?> </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="9" 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="30%">文章标题</td> <td width="10%">录入时间</td> <td width="10%">类目</td> <td width="8%">点击</td> <td width="10%">权限</td> <td width="10%">管理员</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['aid']?>,'<?php echo urlencode($row['title'])?>')"> <td><?php echo $row['aid']?></td> <td><input name="arcID" type="checkbox" id="arcID" value="<?php echo $row['aid']?>" ></td> <td align='left'> <a href='archives_do.php?aid=<?php echo $row['aid']?>&dopost=editArchives' oncontextmenu="ShowMenu(this,<?php echo $row['aid']?>,'<?php echo urlencode($row['title'])?>')"> <u><?php echo $row['title']?><?php echo IsPicArchives($row['litpic'])?></u> </a> </td> <td><?php echo GetDateMk($row['uptime'])?></td> <td><?php echo $row['typename']?></td> <td><?php echo $row['click']?></td> <td><?php echo GetRankName($row['arcrank'])?></td> <td><?php echo $row['adminname']?></td> <td> <a href="javascript:editArc(<?php echo $row['aid']?>)">编辑</a> | <a href="javascript:viewArc(<?php echo $row['aid']?>)">预览</a> </td> </tr> <?php } ?> <tr bgcolor="#F8FBFB"> <td height="28" colspan="9" 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="9" 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'> <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/full_list.htm
HTML
asf20
6,147
<!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/common.js'></script> <script language="javascript"> <!-- <?php echo $areacache; echo $sectorcache; ?> function checkSubmit() { if(document.form1.title.value==""){ alert("标题不能为空!"); document.form1.title.focus(); return false; } if(document.form1.typeid.value==0){ alert("请选择档案的主类别!"); return false; } if(document.form1.sectorchange.checked || document.form1.areachange.checked) { if (!confirm("您选择了更改行业或者地区,请确认吗?")) return false; } } --> </script> </head> <body topmargin="8"> <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 $info['typeid']?>&dopost=listArchives"><strong><u>●信息列表</u></strong></a>&gt;&gt;更改信息</td> <td align="right">&nbsp; <a href="catalog_main.php">[<u>栏目管理</u>]</a> </td> </tr> </table> <form name="form1" action="action/info_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="step" value="2"> <input type="hidden" name="ID" value="<?php echo $aid?>"> <input type="hidden" name="edadminid" value="<?php echo $adminid?>" > <input type="hidden" name="senddate" value="<?php echo $info['senddate']?>"> <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" bgcolor="#E2F5BC" class="htable" id="head1"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table width="84" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" height="24" align="center" bgcolor="#FFFFFF">&nbsp;<strong>常规参数</strong>&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="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">标题:</td> <td><input name=title type=text value="<?php echo $info['title']?>" size="50" />  推荐 <input name="iscommend" type="checkbox" id="iscommend" value="11" <?php if($info["iscommend"]>10) echo " checked";?> /> 加粗 <input name="isbold" type="checkbox" id="isbold" value="5" <?php if($info["iscommend"]==5||$info["iscommend"]==16) echo " checked";?> /></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">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> <td height="28" colspan="4" class="bline" id="redirecturltr" style="display:none"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">文章排序:</td> <td width="240"><select name="sortup" id="sortup" style="width:150"> <?php $subday = SubDay($info["sortrank"],$info["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 type=text name=endtime value="<?php echo $info['endtime']?>" style="width:100px" /> 天</td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellpadding="0" cellspacing="0" id="pictable"> <tr> <td width="100" height="81">缩 略 图:</td> <td width="410"><input name="picname" type="text" id="picname" style="width:280px" value="<?php echo $info["litpic"]?>" /> <input type="button" name="Submit" value="浏览..." style="width:60" onclick="SelectImage('form1.picname','');" class="inputbut" /> </td> <td width="290"><img src="<?php if($info["litpic"]!="") echo $info["litpic"]; else echo "img/pview.gif";?>" width="150" height="100" id="picview" name="picview" /> </td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">关键词:</td> <td width="240"><input type=text name=keywords value="<?php echo $info['keywords']?>" style="width:200px" /></td> <td width="90">文章摘要:</td> <td><textarea name="description" rows="3" id="description" style="width:200px"><?php echo $info['description']; ?></textarea></td> </tr> </table></td> </tr> <tr id="pictable"> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">选择栏目:</td> <td width="240"><?php $dsql = new DedeSql(false); $seltypeids = $dsql->GetOne("Select ID,typename From #@__arctype where ID='".$info["typeid"]."' "); if(is_array($seltypeids)) { echo GetTypeidSel('form1','typeid','selbt1',-2, $info['typeid'], $info['typename']); } ?></td> <td width="90">小分类:</td> <td><select name="smalltypeid"> <option value="0">-不限-</option> <?php echo $smalltypes;?> </select></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">选择地区:</td> <td width="240"><?php echo $areaidname; ?> - <?php echo $areaid2name; ?> <input type="checkbox" name="areachange" onclick="javascript:showonobj('area',this.name)" /> 更改地区 <input type="hidden" name="oldareaid" value="<?php echo $info[areaid]; ?>" /> <input type="hidden" name="oldareaid2" value="<?php echo $info[areaid2]; ?>" /> <div id="area" style="display:none;"> <select name="areaid" id="areaid" onchange="javascript:selNext(this.document.form1.areaid2,this.value,'subareas')"> <option value="0">--不限--</option> <?php $dsql->SetQuery("Select * From #@__area where reid=0"); $dsql->Execute(); while($area = $dsql->GetArray()) { echo "<option value='".$area['id']."'>".$area['name']."</option>\r\n"; } ?> </select> <select name="areaid2" id="areaid2"> <option value="0">--不限--</option> </select> </div></td> <td width="90">选择行业:</td> <td><?php echo $sectoridname; ?> - <?php echo $sectorid2name; ?> <input type="checkbox" name="sectorchange" onclick="javascript:showonobj('sector',this.name)" /> 更改主营行业 <input type="hidden" name="oldsectorid" value="<?php echo $info[sectorid]; ?>" /> <input type="hidden" name="oldsectorid2" value="<?php echo $info[sectorid2]; ?>" /> <div id="sector" style="display:none;"> <select name="sectorid" id="sectorid" onchange="javascript:selNext(this.document.form1.sectorid2,this.value,'subsectors')"> <option value="0">--不限--</option> <?php $dsql->SetQuery("Select * From #@__sectors where reid=0"); $dsql->Execute(); while($sector = $dsql->GetArray()) { echo "<option value='".$sector['id']."'>".$sector['name']."</option>\r\n"; } ?> </select> <select name="sectorid2" id="sectorid2"> <option value="0">--不限--</option> </select> </div></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">自定义属性:</td> <td width="240"><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($info["arcatt"]==$trow->att) echo "<option value='{$trow->att}' selected>{$trow->attname}</option>"; else echo "<option value='{$trow->att}'>{$trow->attname}</option>"; } ?> </select></td> <td width="90">发布时间:</td> <td><?php $nowtime = GetDateTimeMk($info["pubdate"]); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\" />"; ?></td> </tr> </table></td> </tr> <tr> <td height="28" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">联系人:</td> <td width="240"><input type=text name=contact value="<?php echo $info['contact']?>" style="width:200px" /></td> <td width="90">传真:</td> <td><input type=text name=fax value="<?php echo $info['fax']?>" style="width:200px" /></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" height="22">电话:</td> <td width="240"><input type=text name=phone value="<?php echo $info['phone']?>" style="width:200px" /></td> <td width="90">地址:</td> <td><input type=text name=address value="<?php echo $info['address']?>" style="width:200px" /></td> </tr> </table> </td> </tr> <tr> <td height="28" colspan="4" bgcolor="#FFFFFF" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="22">Email:</td> <td width="240"><input type=text name=email value="<?php echo $info['email']?>" style="width:200px" /></td> <td width="90">QQ:</td> <td><input type=text name=qq value="<?php echo $info['qq']?>" /></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" height="22">MSN:</td> <td width="240"><input type=text name=msn value="<?php echo $info['msn']?>" style="width:200px" /></td> <td width="90">&nbsp;</td> <td>&nbsp;</td> </tr> </table></td> </tr> <tr> <td> <?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?> </td> </tr> </table> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#E2F5BC" id="head2" style="border-top:1px solid #E2F5BC;"> <tr> <td colspan="2" bgcolor="#EDF9D5"><table width="84" height="24" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="84" align="center" bgcolor="#FFFFFF"><strong>信息内容</strong></td> </tr> </table></td> </tr> </table> <table width="98%" border="0"> <tr> <td><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" /> 下载远程图片和资源 <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><?php GetEditor("body",$body,450); ?></td> </tr> <tr> <td height="35" align="center"><input name="imageField" type="submit" class="inputbut" value="确定" /> &nbsp;&nbsp; <input name="button" type="reset" class="inputbut" id="button" value="重置"/></td> </tr> </table></td> </tr> </table> </form> <?php $dsql->Close(); ?> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/info_edit.htm
HTML
asf20
14,594
<!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> <center> <table width="96%" border="0" cellpadding="1" cellspacing="1" align="center" class="tbtitle" style=" background:#E2F5BC;"> <form name='form1' action='sys_group_add.php' method='post'> <input type='hidden' name='dopost' value='save'> <tr> <td height="23" bgcolor="#EDF9D5"><b><a href='sys_group.php'>系统用户组管理</a>&gt;&gt;增加用户组:</b></td> </tr> <td bgcolor="#FFFFFF"><td bgcolor="#FFFFFF"><tr> <td bgcolor="#FFFFFF"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="9%" height="30" align="left">组名称:</td> <td width="91%" align="left"> <input name="groupname" type="text" id="groupname"> </td> </tr> <tr> <td width="9%" height="30" align="left">级别值:</td> <td width="91%" align="left"> <input name="rankid" type="text" id="rankid" size="6"> (数字,系统已占用的级别值: <?php $dsql = new DedeSql(false); $dsql->SetQuery("Select rank From #@__admintype"); $dsql->Execute(); while($row = $dsql->GetObject()) echo '<font color=red>'.$row->rank.'</font>、'; $dsql->Close(); ?> ) </td> </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='#F9FAF3' align='left'>{$start}、".str_replace('>>','',$line)."</td></tr> <tr><td height='25' colspan='2' align='left'> "; 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' class='np' id='purviews$k' value='$tag'>$tagname\r\n"; $k++; } } $start++; ?> <tr> <td height='25' colspan='2' align="left"><?php echo $start?>、插件权限</td> </tr> <tr> <td height='25' colspan='2' align="left"> <?php $l = 0; $dsql = new DedeSql(false); $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}'>{$row->plusname}\r\n"; $k++; $l++; if($l%4==0) echo "<br>"; } $dsql->Close(); ?> </td> </tr> <tr> <td height="50" align="center">&nbsp;</td> <td height="50"> <input name="imageField" type="submit" class="inputbut" value="确定" /> </td> </tr> </table> </td> </tr> </form> </table> </center> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_group_add.htm
HTML
asf20
3,645
<!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 action="member_card_make_action.php" name="form1" target="stafrm"> <tr> <td height="20" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><strong><a href="co_main.php"><u>会员管理</u></a> &gt; 点卡生成向导:</strong> </td> <td align="right"><input type="button" name="ss1" value="点卡产品分类" style="width:90px;margin-right:6px" onClick="location='member_card_type.php';" class='inputbut'> <input type="button" name="ss2" value="点卡使用记录" style="width:90px" onClick="location='member_card.php';" class='inputbut'> </td> </tr> </table></td> </tr> <tr> <td bgcolor="#FFFFFF"> <table width="90%" border="0" cellpadding="2" cellspacing="2"> <tr> <td width="13%">点卡类型:</td> <td width="32%"> <select name='cardtype' style='width:120px'> <?php $dsql = new DedeSql(false); $dsql->SetQuery("Select * From #@__moneycard_type"); $dsql->Execute(); while($row=$dsql->GetArray()){ echo " <option value='{$row['tid']}'>{$row['pname']}</option>\r\n"; } $dsql->Close(); ?> </select> </td> <td width="14%">生成数量:</td> <td width="41%"> <input name="mnum" type="text" id="mnum" style='width:120px' value="100"> </td> </tr> <tr> <td>点卡前缀:</td> <td> <input name="snprefix" type="text" id="snprefix" style='width:120px' value="SN"> </td> <td>密码长度:</td> <td><input name="pwdlen" type="text" id="pwdlen2" style='width:120px' value="4"> </td> </tr> <tr> <td>密码类型:</td> <td><input type="radio" name="ctype" value="1" > 纯数字 <input name="ctype" type="radio" value="2" checked> 大写字母</td> <td>密码组数:</td> <td><input name="pwdgr" type="text" id="pwdlen3" style='width:120px' value="3"> </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/member_card_make.htm
HTML
asf20
4,137
1227667300
zyyhong
trunk/jiaju001/news/lic/templets/member_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>文件管理器</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <style> .linerow{border-bottom: 1px solid #A5D0F1;} 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;"> <tr height='24'> <td width="28%" align="center" bgcolor="#EDF9D5"><strong>文件名</strong></td> <td width="16%" align="center" bgcolor="#EDF9D5"><strong>文件大小</strong></td> <td width="22%" align="center" bgcolor="#EDF9D5"><strong>最后修改时间</strong></td> <td width="34%" align="center" bgcolor="#EDF9D5"><strong>操作</strong></td> </tr> <?php $dh = dir($inpath); $ty1=""; $ty2=""; while($file = $dh->read()) { if($file!="." && $file!=".." && !is_dir("$inpath/$file")) { @$filesize = filesize("$inpath/$file"); @$filesize=$filesize/1024; @$filetime = filemtime("$inpath/$file"); @$filetime = strftime("%y-%m-%d %H:%M:%S",$filetime); if($filesize!="") if($filesize<0.1) { @list($ty1,$ty2)=explode(".",$filesize); $filesize=$ty1.".".substr($ty2,0,2); } else { @list($ty1,$ty2)=explode(".",$filesize); $filesize=$ty1.".".substr($ty2,0,1); } } if($file == ".") continue; else if($file == ".."){ if($activepath == "") continue; $tmp = eregi_replace("[/][^/]*$","",$activepath); $line = "\n<tr height='22' bgcolor='#FFFFFF'> <td> <a href=file_manage_main.php?activepath=".urlencode($tmp)."><img src=img/dir2.gif border=0 width=16 height=16 align=absmiddle>上级目录</a> </td> <td colspan='3' > 当前目录:$activepath &nbsp; <a href='file_pic_view.php?activepath=".urlencode($activepath)."' style='color:red'>[图片浏览器]</a> </td> </tr>"; echo $line; } else if(is_dir("$inpath/$file")){ if(eregi("^_(.*)$",$file)) continue; #屏蔽FrontPage扩展目录和linux隐蔽目录 if(eregi("^\.(.*)$",$file)) continue; $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=file_manage_main.php?activepath=".urlencode("$activepath/$file")."><img src=img/dir.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td> </td> <td> </td> <td> <a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&fmdo=rename>[改名]</a> &nbsp; <a href=file_manage_view.php?filename=".urlencode($file)."&activepath=".urlencode($activepath)."&type=dir&fmdo=del>[删除]</a> </td> </td> </tr>"; echo "$line"; } else if(eregi("\.(gif|png)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/gif.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(jpg)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/jpg.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(swf|fla|fly)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/flash.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(zip|rar|tar.gz)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/zip.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(exe)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/exe.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(mp3|wma)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/mp3.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(wmv|api)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/wmv.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(rm|rmvb)",$file)){ $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/rm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(txt|inc|pl|cgi|asp|xml|xsl|aspx|cfm)",$file)) { /*if($istemplets) $edurl = "file_manage_view.php?fmdo=editview&filename=".urlencode($file)."&activepath=".urlencode($activepath); else */ $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/txt.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='$edurl'>[编辑]</a> &nbsp; <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(htm|html)",$file)) { /*if($istemplets) $edurl = "file_manage_view.php?fmdo=editview&filename=".urlencode($file)."&activepath=".urlencode($activepath); else */ $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/htm.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='$edurl'>[编辑]</a> &nbsp; <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(php)",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/php.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='$edurl'>[编辑]</a> &nbsp; <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(js)",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n<tr onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/js.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='$edurl'>[编辑]</a> &nbsp; <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else if(eregi("\.(css)",$file)) { $edurl = "file_manage_view.php?fmdo=edit&filename=".urlencode($file)."&activepath=".urlencode($activepath); $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td> <a href=$activeurl/$file target=_blank><img src=img/css.gif border=0 width=16 height=16 align=absmiddle>$file</a></td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='$edurl'>[编辑]</a> &nbsp; <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } else { $line = "\n<tr height='22' onMouseMove=\"javascript:this.bgColor='#F9FBF0';\" onMouseOut=\"javascript:this.bgColor='#FFFFFF';\" bgcolor='#FFFFFF'> <td><a href=$activeurl/$file target=_blank>$file</td> <td>$filesize KB</td> <td align='center'>$filetime</td> <td> <a href='file_manage_view.php?fmdo=rename&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[改名]</a> &nbsp; <a href='file_manage_view.php?fmdo=del&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[删除]</a> &nbsp; <a href='file_manage_view.php?fmdo=move&filename=".urlencode($file)."&activepath=".urlencode($activepath)."'>[移动]</a> </td> </tr>"; echo "$line"; } } $dh->close(); ?> <tr> <td height='24' colspan="4" align="left" bgcolor='#BEE8FC'> <a href='file_manage_main.php'>[根目录]</a> &nbsp; <a href='file_manage_view.php?fmdo=newfile&activepath=<?php echo urlencode($activepath)?>'>[新建文件]</a> &nbsp; <a href='file_manage_view.php?fmdo=newdir&activepath=<?php echo urlencode($activepath)?>'>[新建目录]</a> &nbsp; <a href='file_manage_view.php?fmdo=upload&activepath=<?php echo urlencode($activepath)?>'>[文件上传]</a> &nbsp; <a href='file_manage_control.php?fmdo=space&activepath=<?php echo urlencode($activepath)?>'>[空间检查]</a> &nbsp;&nbsp;</td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/file_manage_main.htm
HTML
asf20
19,529
{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="27" colspan="5" bgcolor="#EDF9D5"> <table width="96%" border="0" cellspacing="1" cellpadding="1"> <tr> <td width="24%"><b>&nbsp;管理员帐号</b> </td> <td width="76%" align="right"><b> <a href="sys_admin_user_add.php"><u>增加管理员</u></a> | <a href="sys_group.php"><u>用户组管理</u></a> </b> </td> </tr> </table> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="24" colspan="5"> §为了防止错误操作,系统不允许在管理界面删除超级管理员,如果确实要删除,请自行在数据表dede_admin中删除。</td> </tr> <tr bgcolor="#ECF8FF"> <td width="14%" height="24" align="center" bgcolor="#EEF5D3">登录ID</td> <td width="12%" align="center" bgcolor="#EEF5D3">笔名</td> <td width="16%" align="center" bgcolor="#EEF5D3">级别</td> <td width="16%" align="center" bgcolor="#EEF5D3">频道</td> <td align="center" bgcolor="#EEF5D3">管理项</td> </tr> {dede:datalist} <tr bgcolor="#FFFFFF" align="center"> <td rowspan="2">[field:userid /]</td> <td rowspan="2">[field:uname /]<br> </td> <td>[field:usertype function="GetUserType('@me')"/]</td> <td>请查看详细</td> <td rowspan="2"> <a href='sys_admin_user_edit.php?ID=[field:ID/]&dopost=edit'><u>更改</u></a> | <a href='sys_admin_user_edit.php?ID=[field:ID/]&userid=[field:userid/]&dopost=delete'><u>删除</u></a> | <a href='content_list.php?adminid=[field:ID/]'><u>文档</u></a> | <a href='sys_admin_user_tj.php?ID=[field:ID/]'><u>详细统计</u></a>   </td> </tr> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF"> 登录时间:[field:logintime /] IP:[field:loginip /] </td> </tr> {/dede:datalist} <tr bgcolor="#ECF8FF"> <td height="30" colspan="5" align="center" valign="top" bgcolor="#EEF5D3"> {dede:pagelist listsize='7' /} </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_admin_user.htm
HTML
asf20
2,709
<!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="member_card_type.php" method="post"> <input type="hidden" name="dopost" value="save"> <tr> <td height="24" colspan="4" bgcolor="#EDF9D5"> &nbsp;<strong><a href="member_main.php"><u>会员管理</u></a> > 点卡产品分类: </strong></td> </tr> <tr bgcolor="#FDFEE9"> <td width="26%" height="24" align="center" valign="top">产品名称</td> <td width="27%" align="center" valign="top">点数</td> <td width="30%" align="center">价格</td> <td width="17%" align="center">状态</td> </tr> <?php $dsql->SetQuery("Select * From #@__moneycard_type"); $dsql->Execute(); $k=0; while($row = $dsql->GetObject()) { $k++; ?> <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->tid?>"> <tr align="center" bgcolor="#FFFFFF"> <td height="24" valign="top"> <input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%"> </td> <td height="24" valign="top"> <input name="num_<?php echo $k?>" value="<?php echo $row->num?>" type="text" id="num_<?php echo $k?>" style="width:80%"></td> <td><input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%"> (元) </td> <td> <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked> 保留 </td> </tr> <?php } ?> <input type="hidden" name="idend" value="<?php echo $k?>"> <tr bgcolor="#F8FCF1"> <td height="24" colspan="4" valign="top" bgcolor="#EDF9D5"><strong>新增一个会员产品类型:</strong></td> </tr> <tr height="24" align="center" bgcolor="#FFFFFF"> <td valign="top"> <input name="pname_new" type="text" id="pname_new" style="width:90%"> </td> <td valign="top"> <input name="num_new" value="100" type="text" id="num_new" style="width:80%"></td> <td valign="top"> <input name="money_new" type="text" id="money_new" style='width:80%' value="30"> (元) </td> <td align="center" bgcolor="#FFFFFF"> <input name="check_new" type="checkbox" id="check_new" value="1" checked> 新增 </td> </tr> <tr></tr> <tr> <td height="34" colspan="4" align="center" bgcolor="#FFFFFF"> <input name="imageField" type="submit" class="inputbut" value="确定"> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_card_type.htm
HTML
asf20
3,164
<!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> <form name="form1" action="article_writer_edit.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></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="30" align="left"> 把作者姓名用半角逗号“,”分开,更改结果后需重载档案发布页面。</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="80" align="left"> <textarea name="allwriter" rows="5" id="allwriter" style="width:100%;height:300"><?php echo $allwriter?></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="Submit" value="保存数据" class="inputbut"/></td> </tr> </table></form> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/article_writer_edit.htm
HTML
asf20
1,825
1227667364
zyyhong
trunk/jiaju001/news/lic/templets/templets_one.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> <title>小分类管理</title> <meta http-equiv='Content-Type' content='text/html; charset=utf-8'> <link href="css_body.css" rel="stylesheet" type="text/css" /> </head> <body> <div class="bodytitle"> <div class="bodytitleleft"></div> <div class="bodytitletxt">互动模块</div> </div> <?php if(empty($action)) { ?> <form name="form1" action="smalltype.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> <input type="hidden" name="action" value="add" /></td> </tr> <tr> <td width="150" height="20" align="right" bgcolor="#FFFFFF">小分类名称:</td> <td height="20" bgcolor="#FFFFFF"><input type="text" name="name" value="" /></td> </tr> <tr> <td height="20" align="right" bgcolor="#FFFFFF">显示顺序:</td> <td height="20" bgcolor="#FFFFFF"><input type="text" name="disorder" value="0" /></td> </tr> <tr> <td height="20" align="right" bgcolor="#FFFFFF">说明:</td> <td height="20" bgcolor="#FFFFFF"><input type="text" name="description" value="" /></td> </tr> <tr> <td height="35" bgcolor="#FFFFFF">&nbsp;</td> <td height="20" bgcolor="#FFFFFF"><input type="submit" name="submit1" value="提交" class="inputbut"/>(说明:增加小分类后并没有任何栏目立即启用小分类,还需要在相应的栏目选择启用您需要的小分类才行)</td> </tr> </table> </form> <form name="form3" action="smalltype.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"><strong>&nbsp;编辑小分类</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">id</td> <td height="20">name</td> <td height="20">排序</td> <td height="20">说明</td> <td height="20">管理操作</td> <td height="20">关联栏目</td> </tr> <?php foreach($smalltypes as $smalltype) { echo "<tr><td>$smalltype[id]</td><td><input type=\"text\" name=\"names[$smalltype[id]]\" value=\"$smalltype[name]\" /></td><td><input type=\"text\" name=\"disorders[$smalltype[id]]\" value=\"$smalltype[disorder]\" /></td><td><input type=\"text\" name=\"descriptions[$smalltype[id]]\" value=\"$smalltype[description]\" /></td><td><a href=\"smalltype.php?action=delete&amp;id=$smalltype[id]&amp;types=$smalltype[types]\">删除</a></td><td>$smalltype[relatetype]</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 } ?> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/smalltype.htm
HTML
asf20
3,429
<!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="member_type.php" method="post"> <input type="hidden" name="dopost" value="save"> <tr> <td height="24" colspan="5" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong><a href="co_main.php"><u>会员管理</u></a> &gt; 会员产品分类:</strong> </td> <td align="right"> <input type="button" name="ss1" value="会员级别管理" style="width:90px;margin-right:6px" onClick="location='member_rank.php';" class='inputbut'> <input type="button" name="ss2" value="会员业务记录" style="width:90px" onClick="location='member_operations.php';" class='inputbut'> </td> </tr> </table> </td> </tr> <tr bgcolor="#FDFEE9"> <td width="22%" height="24" align="center" valign="top">产品名称</td> <td width="23%" align="center" valign="top">会员级别</td> <td width="21%" align="center">产品价格</td> <td width="18%" align="center">会员期限(天)</td> <td width="16%" align="center">状态</td> </tr> <?php $dsql->SetQuery("Select * From #@__member_type"); $dsql->Execute(); $k=0; while($row = $dsql->GetObject()) { $k++; ?> <input type="hidden" name="ID_<?php echo $k?>" value="<?php echo $row->aid?>"> <tr align="center" bgcolor="#FFFFFF"> <td height="24" valign="top"> <input name="pname_<?php echo $k?>" value="<?php echo $row->pname?>" type="text" id="pname_<?php echo $k?>" style="width:90%"> </td> <td height="24" valign="top"> <select name='rank_<?php echo $k?>' id='rank_<?php echo $k?>' style='width:90%'> <?php foreach($arcranks as $kkk=>$vvv){ if($row->rank==$kkk) echo " <option value='{$kkk}' selected>{$vvv}</option>\r\n"; else echo " <option value='{$kkk}'>{$vvv}</option>\r\n"; } ?> </select> </td> <td> <input name="money_<?php echo $k?>" value="<?php echo $row->money?>" type="text" id="money_<?php echo $k?>" style="width:80%"> (元) </td> <td> <select name='exptime_<?php echo $k?>' id='exptime_<?php echo $k?>' style='width:90%'> <?php foreach($times as $kkk=>$vvv){ if($row->exptime==$kkk) echo " <option value='{$kkk}' selected>{$vvv}</option>\r\n"; else echo " <option value='{$kkk}'>{$vvv}</option>\r\n"; } ?> </select> </td> <td> <input name="check_<?php echo $k?>" type="checkbox" id="check_<?php echo $k?>" value="1" checked> 保留 </td> </tr> <?php } ?> <input type="hidden" name="idend" value="<?php echo $k?>"> <tr bgcolor="#F8FCF1"> <td height="24" colspan="5" valign="top"><strong>新增一个会员产品类型:</strong></td> </tr> <tr height="24" align="center" bgcolor="#FFFFFF"> <td valign="top"> <input name="pname_new" type="text" id="pname_new" style="width:90%"> </td> <td valign="top"> <select name='rank_new' id='rank_new' style='width:90%'> <?php foreach($arcranks as $kkk=>$vvv){ echo " <option value='{$kkk}'>{$vvv}</option>\r\n"; } ?> </select> </td> <td valign="top"> <input name="money_new" type="text" id="money_new" style='width:80%' value="100"> (元) </td> <td valign="top"> <select name='exptime_new' id='exptime_new' style='width:90%'> <?php foreach($times as $kkk=>$vvv){ echo " <option value='{$kkk}'>{$vvv}</option>\r\n"; } ?> </select> </td> <td align="center" bgcolor="#FFFFFF"> <input name="check_new" type="checkbox" id="check_new" value="1" checked> 新增 </td> </tr> <tr> <td height="24" colspan="5" bgcolor="#F8FCF1">&nbsp;</td> </tr> <tr> <td height="34" colspan="5" align="center" bgcolor="#FFFFFF"> <input name="imageField" type="submit" class="inputbut" value="确定"> </td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_type.htm
HTML
asf20
4,737
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset={dede:cfg_language/}"> <title>{dede:wintitle/}</title> <link rel="stylesheet" type="text/css" href="base.css"> </head> <body topmargin="2" leftmargin="2"> {dede:winform/} </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/winmodesmall.htm
HTML
asf20
269
1227667091
zyyhong
trunk/jiaju001/news/lic/templets/friendlink_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>更改字段</title> <link href="css_body.css" rel="stylesheet" type="text/css" /> <script language="javascript"> function GetFields() { var theform = document.form1; var itemname = theform.itemname.value; var fieldname = theform.fname.value; var dtype = theform.dtype.value; var isnull = theform.isnull.value; var vdefault = theform.vdefault.value; var maxlength = theform.maxlength.value; var vfunction = theform.vfunction.value; var vinnertext = theform.vinnertext.value; var spage = (theform.spage[0].checked ? theform.spage[0].value : theform.spage[1].value); var sisnull = (isnull==0 ? "false" : "true"); var autofield = (theform.autofield[0].checked ? theform.autofield[0].value : theform.autofield[1].value); var islist = (theform.islist.checked ? 1 : 0); var notsend = (theform.notsend.checked ? 1 : 0); if(itemname=="") { alert("表单提示名称不能为空!"); theform.itemname.focus(); return false; } if((dtype=="radio"||dtype=="select"||dtype=="checkbox") && vinnertext=="") { alert("你选择的select或radio、checkbox类型,必须在表单HTML里设置选择的项目(用逗号[,]分开)!"); return false; } if(spage=="no") spage = ""; revalue = "<field:"+fieldname+" itemname=\""+itemname+"\" autofield=\""+autofield+"\" notsend=\""+notsend+"\" type=\""+dtype+"\""; revalue += " isnull=\""+sisnull+"\" islist=\""+islist+"\" default=\""+vdefault+"\" function=\""+vfunction+"\""; revalue += " maxlength=\""+maxlength+"\" page=\""+spage+"\">\r\n"+vinnertext+"</field:"+fieldname+">\r\n"; document.form1.fieldstring.value = revalue; return true; } </script> <style type="text/css"> <!-- td{ padding:2px; padding-left:6px; line-height:150%; } .STYLE1 {color: #FF3300} --> </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 name="form1" action="mychannel_field_edit.php" method="post" onSubmit="return GetFields();"> <input type='hidden' name='action' value='save'> <input type='hidden' name='ID' value='<?php echo $ID?>'> <input type='hidden' name='fname' value='<?php echo $fname?>'> <input type='hidden' name='issystem' value='<?php echo $issystem?>'> <input type='hidden' name='fieldstring' value=''> <tr> <td height="20" colspan="2" bgcolor="#EDF9D5"> <table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"><b><a href="mychannel_main.php">频道管理</a>&gt;&gt;查看/修改字段:</b> </td> <td align="right" style="padding-top:6px;"> <input type="button" name="ss1" value="当前模型信息" onClick="location='mychannel_edit.php?ID=<?php echo $ID?>&dopost=edit';" class="inputbut" /> <input type="button" name="ss12" value="频道模型管理" onClick="location='mychannel_main.php';" class="inputbut" /> </td> </tr> </table> </td> </tr> <?php if($row['issystem']==1){ ?> <tr> <td colspan="2" align="center" bgcolor="#FFFFFF"> <span class="STYLE1">你当前操作的字段属于系统模型字段:修改系统模型有风险,请不要随便改动系统模型的字段相关的属性。</span> </td> </tr> <?php } ?> <tr> <td align="center" bgcolor="#FFFFFF">表单提示文字:</td> <td bgcolor="#FFFFFF"> <input name="itemname" type="text" id="itemname" value="<?php echo $ctag->GetAtt('itemname')?>" style="width:150px"> *(发布内容时显示的项名字) </td> </tr> <tr> <td width="28%" align="center" bgcolor="#FFFFFF">字段名称:</td> <td width="72%" bgcolor="#FFFFFF" style="table-layout:fixed;word-break:break-all"> <?php echo $fname?> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">字段类型:</td> <td bgcolor="#FFFFFF"> <input name="autofield" type="radio" class="np" value="1" checked="checked"<?php echo ($ctag->GetAtt('autofield')==1 ? " checked":""); ?>/> 系统自动生成表单字段 <input name="autofield" type="radio" class="np" value="0"<?php echo ( ($ctag->GetAtt('autofield')==''||$ctag->GetAtt('autofield')=='0') ? " checked":""); ?>/> 已经固化在发布表单中字段 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">列表处理:</td> <td bgcolor="#FFFFFF"> <input name="islist" type="checkbox" class="np" id="islist" value="1"<?php echo ($ctag->GetAtt('islist')==1 ? " checked":""); ?>/> 使字段可以在列表的底层模板中获得(自定义字段默认仅能在文档模板显示,启用此选项将使列表查询变慢,如无必要请不要选择) <br /> <input name="notsend" type="checkbox" class="np" id="notsend" value="1"<?php echo ($ctag->GetAtt('notsend')==1 ? " checked":""); ?>/> 前台投稿及采集规则禁用本字段 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">数据类型:</td> <td bgcolor="#FFFFFF"> <select name="dtype" id="type" style="width:200px"> <?php $dtype = $ctag->GetAtt('type'); if($dtype!='' && isset($fieldtypes[$dtype])) { echo " <option value='{$dtype}'>{$fieldtypes[$dtype]}</option>\r\n"; $canchange = true; } else { echo " <option value='{$dtype}'>系统专用类型</option>\r\n"; $canchange = false; } if($canchange) { ?> <option value="text">单行文本(varchar)</option> <option value="textchar">单行文本(char)</option> <option value="multitext">多行文本</option> <option value="htmltext">HTML文本</option> <option value="textdata">文本保存HTML数据</option> <option value="int">整数类型</option> <option value="float">小数类型</option> <option value="datetime">时间类型</option> <option value="img">图片</option> <option value="imgfile">图片(仅网址)</option> <option value="media">多媒体文件</option> <option value="addon">附件类型</option> <option value="select">使用option下拉框</option> <option value="radio">使用radio选项卡</option> <option value="checkbox">Checkbox多选框</option> <?php } ?> </select> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">是否分页:</td> <td bgcolor="#FFFFFF"> <input name="isnull" type="hidden" value="1"> <input name="spage" type="radio" value="split"<?php if($ctag->GetAtt('page')=='split') echo " checked";?>> 是 &nbsp; <input name="spage" type="radio" value="no"<?php if($ctag->GetAtt('page')=='no'||$ctag->GetAtt('page')=='') echo " checked";?>> 否 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">默认值:</td> <td bgcolor="#FFFFFF"> <input name="vdefault" type="text" id="vdefault" value="<?php echo $ctag->GetAtt('default')?>" style="width:200px"> </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">最大长度:</td> <td bgcolor="#FFFFFF"> <input name="maxlength" type="text" id="maxlength" value="<?php echo $ctag->GetAtt('maxlength')?>" style="width:80px"> (文本数据必须填写,大于255为text类型) </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">处理函数:</td> <td bgcolor="#FFFFFF"> <input name="vfunction" type="text" id="vfunction" value="<?php echo $ctag->GetAtt('function')?>" style="width:150px"> (可选,用'@me'表示当前项目值参数) </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF">自定义表单HTML:</td> <td bgcolor="#FFFFFF"> ◆自定义表单HTML时,表单名必须为“字段名称”,value='@value',<br> ◆如果定义数据类型为select或radio时,此处填写被选择的项目,用“,”分开,如“男,女,人妖”。 </td> </tr> <tr> <td align="center" bgcolor="#FFFFFF"><br> </td> <td bgcolor="#FFFFFF"> <textarea name="vinnertext" cols="45" rows="5" id="vinnertext"><?php echo $ctag->GetInnerText()?></textarea> </td> </tr> <tr> <td height="28" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="26%" height="45">&nbsp;</td> <td width="20%"><input type="submit" name="button" id="button" value="确定" class="inputbut" /></td> <td width="54%"><input type="reset" name="button2" id="button2" value="重置" class="inputbut" /></td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/mychannel_field_edit.htm
HTML
asf20
9,541
<!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>增加Flash</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <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() { mflash = document.getElementById("myflash"); document.form1.remoteflash.value = mflash.innerHTML; if(document.form1.title.value==""){ alert("文章标题不能为空!"); return false; } if(document.form1.typeid.value==0){ alert("请选择档案的主类别!"); return false; } return true; } --> </script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/flash_add_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmit();"> <input type="hidden" name="channelid" value="<?php echo $channelid?>"> <input type="hidden" name="remoteflash" value=""> <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>Flash列表</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"> <!-- Tab1 --> <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>Flash内容</u></a></td> </tr> </table></td> </tr> </table> <!-- Tab2 --> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" id="head2" style="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">Flash内容&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">&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="28" 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="28" 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 id="pictable"> <td height="28" 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:120" onclick="SelectImage('form1.picname','small');" class="inputbut" /> </td> </tr> </table> </td> <td width="201" align="left"><img src="img/pview.gif" width="150" 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">&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 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: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 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:150px"> <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:120px" /> <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" height="33">&nbsp;阅读权限:</td> <td width="240" height="33"><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" height="33">发布选项:</td> <td height="33"><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="240"><textarea name="description" rows="3" id="description" style="width:200px"></textarea> </td> <td width="90">关键字:</td> <td width="160"><textarea name="keywords" rows="3" id="keywords" style="width:200px"></textarea> </td> <td width="220" align="left"> <input type="button" name="Submit" value="浏览..." style="width:56px;height:20px" onclick="SelectKeywords('form1.keywords');" 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"><?php $nowtime = GetDateTimeMk(mytime()); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="90" align="center">消费点数:</td> <td><input name="money" type="text" id="money" value="0" size="10" /> </td> </tr> </table></td> </tr> <tr> <td height="28" bgcolor="#FFFFFF" class="bline2"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;副栏目:</td> <td><?php echo GetTypeidSel('form1','typeid2','selbt2',$channelid)?></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:45px;float:left;margin-right:10px"></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> <tr> <td height="28" bgcolor="#FFFFFF" class="bline2">&nbsp;</td> </tr> </table> <!-- adset --> <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" style="display:none" id="adset"> <tr> <td width="100%" 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"><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> <td height="28" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">文件大小:</td> <td width="178"><input name="filesize" type="text" id="softsize2" style="width:100px" value="1" /> <select name="unit" id="unit"> <option value="MB" selected="selected">MB</option> <option value="KB">KB</option> </select> </td> <td width="75">播放时间:</td> <td><input name="tm" type="text" id="tm" size="5" value="3" /> 分 <input name="ts" type="text" id="ts" size="5" value="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">作品类型:</td> <td width="180"><select name="flashtype" id="flashtype"> <option value="短篇剧场">短篇剧场</option> <option value="长篇剧场">长篇剧场</option> <option value="MTV">MTV</option> <option value="搞笑动画" selected="selected">搞笑动画</option> <option value="小游戏">小游戏</option> </select> </td> <td width="72">作品等级:</td> <td><select name="flashrank" id="flashrank" style="width:100px"> <option value="1">一星</option> <option value="2">二星</option> <option value="3" selected="selected">三星 </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><input name="width" type="text" id="width" size="10" value="500" /> 高度: <input name="height" type="text" id="height" size="10" value="400" /> </td> </tr> </table></td> </tr> <tr> <td height="28" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">FLASH地址:</td> <td width="320"><input name="flashurl" type="text" id="flashurl" size="40" style="width:300px" /></td> <td width="100"><input name="selflash" type="button" id="selflash" value="浏览..." onclick="SelectFlash()" class="inputbut" /> <td> <input name="downremote" type="checkbox" id="downremote" value="1" />远程文件本地化 </td> </td> </tr> </table></td> </tr> <tr> <td>&nbsp;&nbsp;把Flash从别的网页复制(选中内容然后用Ctrl+C,到这里用Ctrl+V),粘贴到这里后程序可直接获取网址或上传到服务器(需选择&quot;远程文件本地化&quot;)。<br /> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">粘贴位置:</td> <td><span id='myflash' style='border:solid 1px #CCCCCC;width:600px;height:220px' contenteditable="true"></span></td> </tr> </table> </td> </tr> <td style="padding:0px;"> <table width="700" border="0" cellspacing="0" cellpadding="0"> <tr> <td><!-- 自定义字段 --><?php PrintAutoFieldsAdd($cInfos['fieldset'],'autofield','90'); ?></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"><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/flash_add.htm
HTML
asf20
19,963
<!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 = ""; } </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="20" colspan="7" bgcolor="#EDF9D5"><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="30%"> <strong><a href="co_main.php"><u>会员管理</u></a> &gt; 点卡业务管理:</strong> </td> <td width="45%" align="right" > <input type="button" name="ss13" value="未使用" style="width:50px;margin-right:6px" onClick="location='member_card.php?isexp=0';" class='inputbut'> <input type="button" name="ss14" value="已售出" style="width:50px;margin-right:6px" onClick="location='member_card.php?isexp=1';" class='inputbut'> <input type="button" name="ss15" value="已使用" style="width:50px;margin-right:6px" onClick="location='member_card.php?isexp=-1';" class='inputbut'> <input type="button" name="ss16" value="全部" style="width:40px;margin-right:6px" onClick="location='member_card.php';" class='inputbut'> </td> <td width="25%" align="right"> <input type="button" name="ss1" value="生成点卡" style="width:70px;margin-right:6px" onClick="location='member_card_make.php';" class='inputbut'> <input type="button" name="ss12" value="点卡产品分类" style="width:90px;margin-right:6px" onClick="location='member_card_type.php';" class='inputbut'> </td> </tr> </table></td> </tr> <tr align="center" bgcolor="#F8FBFB"> <td width="8%">选择</td> <td width="28%">卡号</td> <td width="18%">点卡类型</td> <td width="12%">生成日期</td> <td width="12%">使用日期</td> <td width="8%">状态</td> <td width="14%">使用会员</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><?php echo $row['cardid']?></td> <td><?php echo $TypeNames[$row['ctid']]?></td> <td><?php echo GetDateMk($row['mtime'])?></td> <td> <?php if(!empty($row['utime'])) echo GetDateMk($row['utime']); else echo "0"; ?> </td> <td><?php echo GetSta($row['isexp'])?></td> <td><?php echo GetMemberID($dlist->dsql,$row['uid'])?></td> </tr> <?php } ?> </form> <tr> <td height="30" colspan="7" bgcolor="#FCFDF7">&nbsp; <input type="button" name="b7" value="反选" style="width:40" onClick="ReSel();" class='inputbut'>      </td> </tr> <tr> <td height="24" colspan="7" bgcolor="#FCFDF7" align="center"> <?php echo $dlist->GetPageList(7);?> </td> </tr> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/member_card.htm
HTML
asf20
4,125
<!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"> td{ padding-left:6px; } </style> </head> <body > <script language='javascript' src='main.js'></script> <script language="JavaScript"> var basehost = "<?php echo $cfg_basehost?>"; templets = new Array(); templets[0] = '__dz55;论坛;/bbs;/bbs/logging.php?action=login;'; templets[0] += '/bbs/logging.php?action=logout;/bbs/register.php;/bbs/memcp.php?action=profile'; templets[1] = '__pw6;论坛;/bbs;/bbs/login.php;'; templets[1] += '/bbs/login.php?action=quit;/bbs/register.php;/bbs/profile.php?action=modify'; templets[2] = '__dvbbs71;论坛;/bbs;/bbs/login.asp;'; templets[2] += '/bbs/logout.asp;/bbs/reg.asp;/bbs/modifyadd.asp'; function ShowTemplet(sysname){ var tmppos = 0; for(var i=0;i<templets.length;i++){ if(templets[i].indexOf(sysname)>0){ tmppos = i; break; } } stemplets = templets[tmppos].split(';'); //alert(stemplets[2]); $Obj('pp_name').value = stemplets[1]; $Obj('pp_indexurl').value = basehost+stemplets[2]; } function _SelType(_v){ if(_v == 0){ $Obj('typename').innerHTML = "正向接口"; $Obj('pp_c').style.display = "none"; $Obj('pp_s').style.display = "block"; }else{ $Obj('typename').innerHTML = "反向接口"; $Obj('pp_c').style.display = "block"; $Obj('pp_s').style.display = "none"; } } </script> <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_passport.php" method="post"> <input type="hidden" name="action" value="save"> <tr> <td height="26" colspan="2" bgcolor="#EDF9D5"> <b>&nbsp;&nbsp;DedeCms系统配置参数</b> - <strong>通行证设置</strong></td> </tr> <tr bgcolor="#FFFFFF"> <td height="30" colspan="2"><img src="img/help.gif" width="16" height="16"> 通行证系统是为解决多个系统之间会员数据共享问题而开发的,是一套跨服务器,跨域名,跨语言的会员共享系统,实现了不同系统之间共享会员数据和同步会员基本信息,支持不同域名下同步登录,同步退出功能。 <br /> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="30" bgcolor="#FFFFFF">是否启用通行证:<br> </td> <td bgcolor="#FFFFFF"> <input name="pp_isopen" type="radio" value="1" <?php if($cfg_pp_isopen==1) echo " checked"; ?>> 启用 <input name="pp_isopen" type="radio" value="0"<?php if($cfg_pp_isopen==0) echo " checked"; ?>> 不启用 </td> </tr> <tr bgcolor="#FFFFFF"> <td height="30" bgcolor="#FFFFFF">选择通行证方式:<br> </td> <td bgcolor="#FFFFFF" style="padding-left:6px;"> <label> <select name="pp_type" Onchange="_SelType(this.value)"> <option value="0">选择通行证方式</option> <option value="0">正向整合接口</option> <option value="1">返向整合接口</option> </select> </label></td> </tr> <tr> <td height="25" colspan="2"><strong><b>&nbsp;&nbsp;现进行通行证方式: <span id="typename">正向接口</span></b></td> </tr> <tr bgcolor="#CCEDFD" style="display:none;" id="pp_c"> <td height="30" colspan="2" bgcolor="#EDF9D5" style="padding-left:0px;"> <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr bgcolor="#FFFFFF" class="tbtitle"> <td height="30">整合系统的主页:</td> <td><input name="pp_indexurl" type="text" id="pp_indexurl" style="width:60%" value="<?php echo $cfg_pp_indexurl?>" /> </td> </tr> <tr bgcolor="#FFFFFF" class="tbtitle"> <td height="30">会员注册网址:</td> <td><input name="pp_regurl" type="text" id="pp_regurl" style="width:60%" value="<?php echo $cfg_pp_regurl?>" /> </td> </tr> <tr bgcolor="#FFFFFF" class="tbtitle"> <td height="30">会员登陆网址:</td> <td><input name="pp_loginurl" type="text" id="pp_loginurl" style="width:60%" value="<?php echo $cfg_pp_loginurl?>" /> </td> </tr> <tr bgcolor="#FFFFFF" class="tbtitle"> <td height="30">会员退出网址:</td> <td><input name="pp_exiturl" type="text" id="pp_exiturl" style="width:60%" value="<?php echo $cfg_pp_exiturl?>" /> </td> </tr> <tr> <td height="25" bgcolor="#FFFFFF">通行证密钥:</td> <td height="25" bgcolor="#FFFFFF"><?php echo $cfg_cookie_encode?> </td> </tr> </table></td> </tr> <tr bgcolor="#CCEDFD" style="display:block;" id="pp_s"> <td height="30" colspan="2" bgcolor="#EDF9D5" style="padding-left:0px;"><table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr bgcolor="#FFFFFF"> <td height="30">通行证密钥:</td> <td> <?php echo $cfg_cookie_encode?></td> </tr> <tr bgcolor="#FFFFFF"> <td height="30">指定系统:</td> <td> ·<a href="javascript:ShowTemplet('_pw6')"><u>PHPWIND6.*</u></a> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="30">整合系统名称:</td> <td> <input name="pp_name" type="text" id="pp_name" style="width:60%" value="<?php echo $cfg_pp_name?>"> </td> </tr> <tr bgcolor="#FFFFFF"> <td height="30">整合系统的主页:</td> <td> <input name="pp_indexurl" type="text" id="pp_indexurl" style="width:60%" value="<?php echo $cfg_pp_indexurl?>"> </td> </tr> </table> <table width="100%" border="0" cellspacing="1" cellpadding="1"> <tr> <td bgcolor="#FFFFFF">通行证设置: <br /> </td> <td bgcolor="#FFFFFF">客户器端设置:</td> </tr> <tr> <td bgcolor="#FFFFFF">1、是否开启通行证:是 </td> <td bgcolor="#FFFFFF">1、通行证服务器地址:<?php echo $cfg_basehost?> </td> </tr> <tr> <td bgcolor="#FFFFFF">2、通行证私有密钥:<?php echo $cfg_cookie_encode?> </td> <td bgcolor="#FFFFFF">2、通行证登录地址:member/login.php </td> </tr> <tr> <td bgcolor="#FFFFFF">3、将该网站做为通行证的:<span style="color:red">客户端</span>.</td> <td bgcolor="#FFFFFF">3、通行证退出地址:member/index_do.php?fmdo=login&amp;dopost=exit</td> </tr> <tr> <td bgcolor="#FFFFFF">&nbsp;</td> <td bgcolor="#FFFFFF">4、通行证注册地址:member/index_do.php?fmdo=user&amp;dopost=regnew </td> </tr> </table> </td> </tr> <tr bgcolor="#CCEDFD"> <td height="37" colspan="2"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="left" style="background:#F9FFE6;padding:7px 6px 6px 30px;" > <input type="submit" name="Submit" value="保存设置" class="inputbut" /> &nbsp; <input type="reset" name="Submit2" value="重置" class="inputbut" /> </td> </tr> </table></td> </tr> </form> </table> </body> </html>
zyyhong
trunk/jiaju001/news/lic/templets/sys_passport.htm
HTML
asf20
7,859
<!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' src='album.js'></script> <style type="text/css"> <!-- .STYLE1 {color: #FFFFFF} --> </style> </head> <body topmargin="8"> <form name="form1" action="action/album_edit_action.php" enctype="multipart/form-data" method="post" onSubmit="return checkSubmitAlb();"> <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']; ?>"> <input type="hidden" id="imagebody" name="imagebody" value=""> <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"><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="24" align="center" bgcolor="#FFFFFF">&nbsp;常规参数&nbsp;</td> <td width="84" align="center" bgcolor="#006600"><a href="#" class="STYLE1" onClick="ShowItem2()"><u>图集内容</u></a>&nbsp;</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 width="168" 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 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="shorttitle" type="hidden" value="<?php echo $arcRow["shorttitle"]?>" id="shorttitle" /></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"]?>" /> </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> <td 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="source" type="text" id="source" style="width:200px" value="<?php echo $arcRow["source"]?>" /></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 id="pictable"> <td height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="40">&nbsp;缩 略 图:<br/> &nbsp; <input type='checkbox' class='np' name='ddisremote' value='1' /> 远程 </td> <td><table width="98%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="56%" height="107"><input name="picname" type="text" id="picname" style="width:300px" value="<?php echo $arcRow["litpic"]?>" /> <input type="button" name="Submit" value="浏览..." style="width:60" onclick="SelectImage('form1.picname','');" class="inputbut" /></td> <td width="44%"><img src="<?php echo $arcRow["litpic"]?>" width="120" height="100" id="picview" name="picview" /></td> </tr> </table></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 height="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;内容排序:</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 width="159"><input name="color" type="text" id="color" style="width:120px" value="<?php echo $arcRow["color"]?>" /> </td> <td><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">&nbsp;阅读权限:</td> <td width="240"><select name="arcrank" id="arcrank" style="width:150px"> <option value='<?php echo $arcRow["arcrank"]?>'> <?php echo $arcRow["rankname"]?> </option> <?php $urank = $cuserLogin->getUserRank(); $dsql->SetQuery("Select * from #@__arcrank where adminrank<='$urank'"); $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" value="0"<?php if($arcRow["ismake"]==-1) echo " checked";?> /> 仅动态浏览</td> </tr> </table></td> </tr> <tr> <td height="75" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90" height="51">&nbsp;图集说明:</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="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;录入时间:</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="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;发布时间:</td> <td width="240"><?php $nowtime = GetDateTimeMk($arcRow["pubdate"]); echo "<input name=\"pubdate\" value=\"$nowtime\" type=\"text\" id=\"pubdate\" style=\"width:200px\">"; ?> </td> <td width="90" align="center">消费点数:</td> <td><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" bgcolor="#FFFFFF" class="bline2"><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["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="24" colspan="4" class="bline"><table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;相关文档:</td> <td width="360"><textarea name="likeid" cols="50" rows="6" id="likeid" style="width:350px;height:45px;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="SelectArcListB('form1.likeid','&channelid=<?php echo $channelid; ?>');" /> </span> </td> </tr> </table> </td> </tr> <tr> <td style="padding:0px"> <?php PrintAutoFieldsEdit($cInfos['fieldset'],$addRow,'autofield'); ?> </td> </tr> <tr> <td height="18" colspan="4" bgcolor="#FFFFFF" class="bline2"></td> </tr> </table> <table width="98%" border="0" align="center" cellpadding="2" cellspacing="2" id="adset" style="display:none"> <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> <?php if($pagestyle==1){ ?> <input name="pagestyle" id='pagestyle1' type="radio" onclick="checkMuList('pagestyle3','cfgmulist')" value="1" checked> <?php } ?> 单页显示 <input name="pagestyle" id='pagestyle2' type="radio" onclick="checkMuList('pagestyle3','cfgmulist')" value="2"<?php if($pagestyle==2) echo " checked"; ?>> 幻灯显示 <input name="pagestyle" id='pagestyle3' type="radio" onclick="checkMuList('pagestyle3','cfgmulist')" value="3"<?php if($pagestyle==3) echo " checked"; ?>> 多行多列(系统仅输出“行x列”个缩略图,实现需自行控制CSS)</td> </tr> </table></td> </tr> <tr id='cfgmulist' <?php if($pagestyle<>3) echo "style='display:none'"; ?>> <td height="24" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;多列式参数:</td> <td>行 <input name="row" type="text" id="row" size="6" value="<?php echo $irow?>">  列 <input name="col" type="text" id="col" size="6" value="<?php echo $icol?>">  图片宽度限制: <input name="ddmaxwidth" type="text" id="ddmaxwidth" size="6" value="150"> 像素 </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> <input name="maxwidth" type="text" id="maxwidth" size="10" value="<?php echo $maxwidth?>"> (防止图片太宽在模板页中溢出) </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> <input name="isrm" type="checkbox" id="isrm" value="1"<?php if($isrm==1) echo " checked";?>> 下载远程图片 <input name="formzip" type="checkbox" id="formzip" value="1" onclick="ShowZipField(this,'zipff','upff');" /> 从ZIP压缩包中解压图片 <input name="formhtml" type="checkbox" id="formhtml" value="1" onclick="ShowHtmlField(this,'htmlfield','upff');" /> 网上复制图片 </td> </tr> </table></td> </tr> </tr> <tr id="zipff" style="display:none"> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;压缩包文件:</td> <td> <input type='text' name='zipfile' id='zipfile' style='width:300px'> <input name='addon_bt' type='button' class='inputbut' value='浏览...' onClick="SelectSoft('form1.zipfile')"> <input name="delzip" type="checkbox" id="delzip" value="1" checked="checked" /> 处理后删除压缩文件 </td> </tr> </table> </td> </tr> <tr id="htmlfield" style="display:none"> <td height="28" colspan="4" class="bline"> <table width="800" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="90">&nbsp;网上复制:</td> <td> 复制的源网址:<input name='copysource' type='text' value='' style='width:250px'/>(防盗链网站需填写你复制图片的其中一个网页网址) <br /> 把图片从别的网页复制,在这里用Ctrl+V粘贴,提交后程序可直接获取这个区域的所有图片。<!--input type='button' name='testbt' value='测试' style='width:60px;height:24px' onClick='TestGet()' /--> <br /> <span id='copyhtml' style='margin-top:6px;margin-bottom:6px;border:solid 1px #CCCCCC;width:96%;padding:6px;height:450px' contenteditable="true">粘贴到这里...</span> </td> </tr> </table> </td> </tr> <tr id='upff' style="display:block"> <td height="24" colspan="4"> <table width="100%" border="0" cellspacing="0" cellpadding="0" class="bline"> <tr width="800"> <td width="90">&nbsp;图片:</td> <td> <input name="picnum" type="text" id="picnum" size="8" value="10"> <input name='kkkup' type='button' id='kkkup2' value='增加表单' onClick="MakeUpload(0);" class="inputbut"> 注:最大120幅,图片链接允许填写远程网址 </td> </tr> </table> <?php $j = 1; if($imgurls!=""){ $dtp = new DedeTagParse(); $dtp->LoadSource($imgurls); if(is_array($dtp->CTags)) { foreach($dtp->CTags as $ctag) { $imgurl = trim($ctag->GetInnerText()); if($ctag->GetName()=="img"){ $fhtml = "<input type='hidden' name='oldddimg$j' value='".$ctag->GetAtt("ddimg")."'>\r\n<input type='hidden' name='imgurlold$j' value='{$imgurl}'>"; $fhtml .= "<table width='600'><tr><td><input type='checkbox' name='isokcheck$j' id='isokcheck$j' value='1' class='np' onClick='CheckSelTable($j)' checked='checked'>显示图片[$j]的选框</td></tr></table>"; $fhtml .= "<table width=\"600\" border=\"0\" id=\"seltb$j\" cellpadding=\"1\" cellspacing=\"1\" bgcolor=\"#E8F5D6\" style=\"margin-bottom:6px;margin-left:10px\"><tobdy>"; $fhtml .= "<tr bgcolor=\"#F4F9DD\">\r\n"; $fhtml .= "<td height=\"25\" colspan=\"2\"> <strong>图片{$j}:</strong></td>"; $fhtml .= "</tr>"; $fhtml .= "<tr bgcolor=\"#FFFFFF\"> "; $fhtml .= "<td width=\"429\" height=\"25\">  本地上传: "; $fhtml .= "<input type=\"file\" name='imgfile$j' style=\"width:330px\" onChange=\"SeePic(document.picview$j,document.form1.imgfile$j);\"></td>"; $fhtml .= "<td width=\"164\" rowspan=\"3\" align=\"center\"><img src=\"{$imgurl}\" width=\"150\" id=\"picview$j\" name=\"picview$j\"></td>"; $fhtml .= "</tr>"; $fhtml .= "<tr bgcolor=\"#FFFFFF\"> "; $fhtml .= "<td height=\"25\">  指定网址: "; $fhtml .= "<input type=\"text\" name='imgurl$j' style=\"width:260px\" value=\"{$imgurl}\" > "; $fhtml .= "<input type=\"button\" name='selpic$j' value=\"选取\" style=\"width:65px\" onClick=\"SelectImageN('form1.imgurl$j','big','picview$j')\" class=\"inputbut\">"; $fhtml .= "</td></tr>"; $fhtml .= "<tr bgcolor=\"#FFFFFF\"> "; $fhtml .= "<td height=\"56\"> 图片简介: "; $fhtml .= "<textarea name='imgmsg$j' style=\"height:46px;width:330px\">".$ctag->GetAtt("text")."</textarea> </td>"; $fhtml .= "</tr></tobdy></table>\r\n"; echo $fhtml; $j++; } } } $dtp->Clear(); } ?> <span id="uploadfield"></span> <script language="JavaScript"> startNum = <?php echo $j?>; </script> </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"><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/album_edit.htm
HTML
asf20
22,517