(求助)网站的搜索出了问题。高手帮下。谢谢 。
我的网站地址:http://www.。是asp生成静态网页的。之前搜索还是可以用的,后来不知道为什么不能用了。请高手帮我看看是哪里出了错误,谢谢。
搜索模板的代码:
程序代码:
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <title>{key} - 搜索结果 - {webname}</title> <meta name="keywords" content="dj,舞曲,club,mix,house,disco"> <meta name="description" content="高品质舞曲在线试听下载"> <meta name="generator" content="{webname} {weburl}"> <link href="{weburl}/images/index.css" rel="stylesheet" type="text/css"> <script language=javascript src="{weburl}/Js/js.js"></script> <script language="javascript"> function getpage() { if (document.playlist.pagenum.value==""){ window.alert("请输入要转向的页数"); } else if(parseInt(document.playlist.maxpage.value)<parseInt(document.playlist.pagenum.value)) { window.alert("输入的转向页数不能大于最大值"+document.playlist.maxpage.value); } else { window.location.href="Search.asp?key={key}&l={l}&pageid="+document.playlist.pagenum.value+"" } } </script> </head> <body> <center> <!--顶部开始--> {web_top} </div> <!--中部开始--> <div class="line_style" align="center"> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <FORM action={weburl}/Playsong.asp name="playlist" id="playlist" onsubmit="javascript:return piaofu ();" target=ylmvcom> <tr> <td valign="top"><table width="100%" height="24" border="0" cellpadding="0" cellspacing="1" bgcolor="#125B92"> <tr> <td height="22" align="center" valign="bottom" background="{weburl}/images/index_08.gif" bgcolor="#FFFFFF"><div style="height:19px; float:left; " class="font14"> <img src="{weburl}/images/index_17.gif" width="8" height="13"> 搜索结果</div></td> </tr> </table> <table width="100%" height="325" border="0" cellpadding="0" cellspacing="0" class="lineli"> <tr> <td align="center" valign="top"><table width="98%" border="0" cellpadding="0" cellspacing="0" style="margin-top:4px; margin-bottom:4px;"> <tr> <td width="22"><img src="{weburl}/images/index_11.gif" width="22" height="22"></td> <td width="50" align="center" background="{weburl}/images/index_12.gif">歌词</td> <td width="2" background="{weburl}/images/index_12.gif" class="font_text"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td background="{weburl}/images/index_12.gif" class="font_text"> 舞曲名</td> <td width="2" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="35" align="center" background="{weburl}/images/index_12.gif">试听</td> <td width="2" align="center" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="70" align="center" background="{weburl}/images/index_12.gif">推荐等级</td> <td width="2" align="center" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="80" align="center" background="{weburl}/images/index_12.gif">上传者</td> <td width="2" align="center" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="70" align="center" background="{weburl}/images/index_12.gif">人气指数</td> <td width="2" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="70" align="center" background="{weburl}/images/index_12.gif">上传时间</td> <td width="2" align="center" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="35" align="center" background="{weburl}/images/index_12.gif">下载</td> <td width="2" align="center" background="{weburl}/images/index_12.gif"><img src="{weburl}/images/index_14.gif" width="2" height="16"></td> <td width="35" align="center" background="{weburl}/images/index_12.gif">收藏</td> <td width="3"><img src="{weburl}/images/index_13.gif" width="3" height="22"></td> </tr> </table> <table width='96%' border='0' cellpadding='0' cellspacing='0'> <!--舞曲列表左边开始--> {Search} </div></td> </tr> </table></td> </tr> </form> </table> </div> {web_Bottom} </center> </body> </html>