火车采集器软件交流官方论坛

 找回密码
 加入会员
搜索
火车采集器V9版免费下载火车浏览器 - 可视采集,万能群发,全自动脚本工具
查看: 3424|回复: 3

求领地CMS的发布模块

[复制链接]
发表于 2008-3-4 10:28:16 | 显示全部楼层 |阅读模式
领地CMS免费文章管理系统http://www.lingd.net
我制作的模块无法发布成功,返回来的信息里的中文都是乱码?!
请高手指教!
发表于 2008-3-4 10:41:34 | 显示全部楼层
應該是編碼沒有設置好來
 楼主| 发表于 2008-3-4 12:38:13 | 显示全部楼层
以下是测试返回信息:

  1. <!--
  2. --><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <meta http-equiv="Content-Language" content="UTF-8" />
  7. <meta http-equiv="Pragma" content="no-cache" />
  8. <title>控制面版 -  领地多用户CMS系统后台管理 - Powered by Xphpcms.Com</title>
  9. <link rel="stylesheet" href="templates/style.css" type="text/css">
  10. </head>
  11. <body>
  12. <a name="TOP" id="TOP"></a>
  13. <!--
  14. --><!---->
  15. <LINK href="templates/images/css.css" type=text/css rel=stylesheet>
  16. <script type="text/javascript">
  17. function sax_getbyid(id) {
  18. itm = null;
  19. if (document.getElementById) {
  20.   itm = document.getElementById(id);
  21. } else if (document.all) {
  22.   itm = document.all[id];
  23. } else if (document.layers) {
  24.   itm = document.layers[id];
  25. }
  26. return itm;
  27. }
  28. function CheckAll(form) {
  29. for (var i=0;i<form.elements.length;i++) {
  30.   var e = form.elements[i];
  31.   if (e.name != 'chkall')
  32.   e.checked = form.chkall.checked;
  33.     }
  34. }
  35. function really(d,m,n) {
  36. if (confirm(m)) {
  37.   window.location.href='admincp.php?do=attachment&action=delone&attachmentid='+n+'&articleid='+d;
  38. }
  39. }
  40. function really2(d,m,n) {
  41. if (confirm(m)) {
  42.   window.location.href='admincp.php?do=trackback&action=delonelog&trackbacklogid='+n+'&articleid='+d;
  43. }
  44. }
  45. var attachnum = 1;
  46. function addattachment() {
  47. attachnum < 5 ? attachnum++ : findobj("addattachlink").disabled=true;
  48. findobj("attach_"+attachnum).style.display = "";
  49. }
  50. function findobj(n, d) {
  51. var p, i, x;
  52. if(!d) d = document;
  53. if((p = n.indexOf("?"))>0 && parent.frames.length) {
  54.   d = parent.frames[n.substring(p + 1)].document;
  55.   n = n.substring(0, p);
  56. }
  57. if(x != d[n] && d.all) x = d.all[n];
  58. for(i = 0; !x && i < d.forms.length; i++) x = d.forms[i][n];
  59. for(i = 0; !x && d.layers && i < d.layers.length; i++) x = findobj(n, d.layers[i].document);
  60. if(!x && document.getElementById) x = document.getElementById(n);
  61. return x;
  62. }
  63. function popnew(url,title,width,height){
  64.     var w = 1024;
  65.     var h = 768;
  66.     if (document.all || document.layers){
  67.         w = screen.availWidth;
  68.         h = screen.availHeight;
  69.     }
  70.     var leftPos = (w/2-width/2);
  71.     var topPos = (h/2.3-height/2.3);
  72.     window.open(url,title,"width="+width+",height="+height+",top="+topPos+",left="+leftPos+",scrollbars=no,resizable=no,status=no")
  73. }
  74. function checkform() {
  75. if (sax_getbyid('title')) {
  76.   if (sax_getbyid('title').value == "") {
  77.    notice("请输入标题.");
  78.    return false;
  79.   }
  80. }
  81. if (sax_getbyid('sortid')) {
  82.   if (sax_getbyid('sortid').value == "") {
  83.    notice("请选择分类.");
  84.    return false;
  85.   }
  86. }
  87. if (sax_getbyid('submit')) {
  88.   sax_getbyid('submit').disabled = true;
  89. }
  90. return true;
  91. }
  92. </script>
  93. <div class="mainbody">
  94.   <table border="0"  cellspacing="0" cellpadding="0" style="width:100%;">
  95.     <tr>
  96.       <td valign="top">
  97.    <!---->
  98. <!----><p align="right"><b><a href="admincp.php?do=article&action=list">全部</a> | <a href="admincp.php?do=article&action=list&view=stick&sortid=0">置顶</a> | <a href="admincp.php?do=article&action=list&view=hidden&sortid=0">隐藏</a></b></p>
  99. <!---->
  100. <div class="box">建议您经常更新下缓存,以试被访问是能获得更好的准确性<br />
  101. <!---->
  102.           &#8226; <a href="admincp.php?do=article&action=list&sortid=246127">幼儿语文</a> -
  103. <!---->
  104.           &#8226; <a href="admincp.php?do=article&action=list&sortid=246130">一年级语文</a> -
  105. <!---->
  106.           &#8226; <a href="admincp.php?do=article&action=list&sortid=246129">二年级语文</a> -
  107. <!---->
  108.           &#8226; <a href="admincp.php?do=article&action=list&sortid=246128">三年级语文</a> -
  109. <!---->
  110.           &#8226; <a href="admincp.php?do=article&action=list&sortid=246139">一年级数学</a> -
  111. <!---->
  112. </div>
  113. <!---->
  114.    <form action="admincp.php?do=article" enctype="multipart/form-data" method="POST" name="form" onSubmit="return checkform();">
  115.    <table width="100%" align="center" border="0" cellspacing="0" cellpadding="0">
  116.    <tr><td><table width="100%" align="center" border="0" cellspacing="0" cellpadding="0" class="tableborder">
  117. <!---->
  118.     <tr class="header">
  119.       <td width="45%">标题</td>
  120.       <td width="10%" nowrap>分类</td>
  121.       <td width="5%" nowrap>附件</td>
  122.       <td width="15%" nowrap>时间</td>
  123.       <td width="17%" nowrap>管理操作</td>
  124.       <td width="2%" nowrap><input name="chkall" value="on" type="checkbox" onclick="CheckAll(this.form)">
  125.       </td>
  126.     </tr>
  127. <!---->
  128.     <tr>
  129.       <td class="altbg2"><a href="admincp.php?do=article&action=visible&articleid=510146"><font color=green>显示</font></a>
  130. <!----><a href="../show.php?id=510146" target="_blank">如何获取百度关键词...</a></td>
  131.       <td nowrap class="altbg1"><a href="admincp.php?do=article&action=list&sortid=246129">二年级语文</a></td>
  132.       <td nowrap class="altbg2">0</td>
  133.       <td nowrap class="altbg1">2008-03-04 12:14</td>
  134.       <td nowrap class="altbg2"><a href="admincp.php?do=article&action=mod&articleid=510146">编辑</a><!----></td>
  135.       <td nowrap class="altbg1"><input type="checkbox" name="article[510146]" value="1">
  136.         <input type="hidden" name="attachment[]" value="1">
  137.       </td>
  138.     </tr>
  139. <!---->
  140.     <tr>
  141.       <td class="altbg2"><a href="admincp.php?do=article&action=visible&articleid=510143"><font color=green>显示</font></a>
  142. <!----><a href="../show.php?id=510143" target="_blank">测试文章发表功能...</a></td>
  143.       <td nowrap class="altbg1"><a href="admincp.php?do=article&action=list&sortid=246128">三年级语文</a></td>
  144.       <td nowrap class="altbg2">0</td>
  145.       <td nowrap class="altbg1">2008-03-04 12:13</td>
  146.       <td nowrap class="altbg2"><a href="admincp.php?do=article&action=mod&articleid=510143">编辑</a><!----></td>
  147.       <td nowrap class="altbg1"><input type="checkbox" name="article[510143]" value="1">
  148.         <input type="hidden" name="attachment[]" value="1">
  149.       </td>
  150.     </tr>
  151. <!---->
  152.     <tr>
  153.       <td class="altbg2"><a href="admincp.php?do=article&action=visible&articleid=509275"><font color=green>显示</font></a>
  154. <!----><a href="../show.php?id=509275" target="_blank">站点规则</a></td>
  155.       <td nowrap class="altbg1"><a href="admincp.php?do=article&action=list&sortid=246130">一年级语文</a></td>
  156.       <td nowrap class="altbg2">0</td>
  157.       <td nowrap class="altbg1">2008-03-04 02:07</td>
  158.       <td nowrap class="altbg2"><a href="admincp.php?do=article&action=mod&articleid=509275">编辑</a><!----></td>
  159.       <td nowrap class="altbg1"><input type="checkbox" name="article[509275]" value="1">
  160.         <input type="hidden" name="attachment[]" value="1">
  161.       </td>
  162.     </tr>
  163. <!---->
  164.     <tr>
  165.       <td class="altbg2"><a href="admincp.php?do=article&action=visible&articleid=509248"><font color=green>显示</font></a>
  166. <!----><a href="../show.php?id=509248" target="_blank">测试中文</a></td>
  167.       <td nowrap class="altbg1"><a href="admincp.php?do=article&action=list&sortid=246127">幼儿语文</a></td>
  168.       <td nowrap class="altbg2">0</td>
  169.       <td nowrap class="altbg1">2008-03-04 01:52</td>
  170.       <td nowrap class="altbg2"><a href="admincp.php?do=article&action=mod&articleid=509248">编辑</a><!----></td>
  171.       <td nowrap class="altbg1"><input type="checkbox" name="article[509248]" value="1">
  172.         <input type="hidden" name="attachment[]" value="1">
  173.       </td>
  174.     </tr>
  175. <!---->
  176.     <tr>
  177.       <td class="altbg2"><a href="admincp.php?do=article&action=visible&articleid=509196"><font color=green>显示</font></a>
  178. <!----><a href="../show.php?id=509196" target="_blank">ceshineirong</a></td>
  179.       <td nowrap class="altbg1"><a href="admincp.php?do=article&action=list&sortid=246127">幼儿语文</a></td>
  180.       <td nowrap class="altbg2">0</td>
  181.       <td nowrap class="altbg1">2008-03-04 01:18</td>
  182.       <td nowrap class="altbg2"><a href="admincp.php?do=article&action=mod&articleid=509196">编辑</a><!----></td>
  183.       <td nowrap class="altbg1"><input type="checkbox" name="article[509196]" value="1">
  184.         <input type="hidden" name="attachment[]" value="1">
  185.       </td>
  186.     </tr>
  187. <!---->
  188.         <tr>
  189.           <td colspan="8" nowrap="nowrap" class="tabletr"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  190.             <tr>
  191.               <td><b>记录:5</b></td>
  192.               <td align="right"><b></b></td>
  193.             </tr>
  194.           </table></td>
  195.         </tr>
  196. <!---->
  197.     <tr>
  198.       <td class="tablebottom" colspan="8"></td>
  199.     </tr>
  200.       </table></td>
  201.     </tr>
  202.   </table>
  203. <!---->
  204. <table cellpadding="0" cellspacing="0" border="0" align="right" width="100%" height="40" style="float:left;">
  205.   <tr>
  206.     <td align="right">                                                        
  207.       <select name="do">
  208.         <option value="">= 管理操作 =</option>
  209.         <option value="stick">置顶</option>
  210.         <option value="unstick">取消置顶</option>
  211.         <option value="hidden">设置隐藏</option>
  212.         <option value="display">设置可见</option>
  213.         <option value="delete">删除</option>
  214.         <option value="move">移动</option>
  215.       </select>
  216.       <input type="submit" value="确定" class="formbutton"><input type="hidden" name="action" value="domore"></td>
  217.   </tr>
  218. </table>
  219. <!---->
  220. </form></td>
  221.     </tr>
  222.   </table>
  223. </div>
  224. <!----><!---->
  225. <BR><BR><DIV class=footer>Powered by <a href="http://LingCms.com/" target=_ablank><b>LingCms</b></a> &copy 2005-2007 The <a href="http://LingDi.net/" target=_ablank>LingDi.net</a> Project.<SPAN class=smalltxt></SPAN></DIV></BODY></HTML>
  226. </html>
  227. <!---->
复制代码
 楼主| 发表于 2008-3-9 23:28:16 | 显示全部楼层
请教高手指点
您需要登录后才可以回帖 登录 | 加入会员

本版积分规则

QQ|手机版|Archiver|火车采集器官方站 ( 皖ICP备06000549 )

GMT+8, 2024-11-16 15:40

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表