今天做图片的模板,发现V6图片系统的一个大问题
我做模板之前线全部删除了系统自带的图片系统的模板,做了一个图片系统的栏目页放到图片系统模板文件夹,在后台增加了一个图片系统的栏目,栏目页调用的是我刚做的模板,内容页模板是个空模板,里面没有任何代码(就是测试一下图片栏目页的),在后台发了几张图片到该栏目,在测试栏目也得时候随便点了一下图片,问题出现了,图片竟然全部都能打开,狂晕啊,我的图片内容页模板文件可以一个代码也没有啊。
html查看了一下内容也源代码,
如下:
<script src="http://192.168.1.51/KS_Inc/ImagePlayer.JS" language="javascript" type="text/javascript"></script>
<script language="Javascript" type="text/javascript">
<!--
var isLastPage='0';
var url='/Photo/show.asp?id=20'; //图片ID数组
var imageIDsArray = new Array(''); //定义图片地址数组
var ImageSrcArray = new Array('http://192.168.1.51/Upfiles/2009-07/admin/2009071703085538765.jpg');
var ThumbSrcArray = new Array('http://192.168.1.51/Upfiles/2009-07/admin/2009071703085538765.jpg');
var SHOWINGSTRING='第<FONT color=#5295f2>@ImageNum@</FONT>/1张';
var numImgs = 1;
var begImg = 0;
var arrPreload = new Array();
var buttonImgPfx = "http://192.168.1.51/Images/default/";
var buttonOnArray = new Array("bt_d_play.jpg","bt_d_stop.jpg","bt_d_rwd.jpg","bt_d_fwd.jpg");
var buttonOffArray = new Array("bt_u_play.jpg","bt_u_stop.jpg","bt_u_rwd.jpg","bt_u_fwd.jpg");
var _PRELOADRANGE = 1;
//-->
</script>
<table border="0" width="100%" height="470" align="center" cellpadding="0" cellspacing="0" class="ImagePlayerArea">
<tr>
<td colspan="3">
<div id="slideDiv"style="POSITION: relative">
<div id="imgDiv" style="overflow: auto;height:430; LEFT: 0px; WIDTH: 100%; CLIP: rect(0px 100% 100% 0px); POSITION: absolute; TOP: 0px; " align="center">
<div id="imgp" style="WIDTH: 100%;" align="center"></div>
</div>
</div></td>
</tr>
<tr>
<td height="100%" colspan="3"></td>
</tr>
<tr>
<td width="450" height="39" background="http://192.168.1.51/Images/Default/img_tool1.jpg"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr id="div0" style="font-family: '宋体'; font-size: 12px; line-height: 15pt">
<td width="30%" align="center" valign="top" id="pnumDiv"></td>
<td width="35%" valign="top"> 播放速度:
<select name="speedMenu" onchange="changeSpeed(this.selectedIndex);">
<option value="fast">快速</option>
<option value="mid" selected>中速</option>
<option value="slow">慢速</option>
</select></td>
<td valign="top" id="div2"></td>
</tr>
</table></td>
<td width="62" valign="top"><a href="http://192.168.1.51/Images/Default/img_tool2.jpg" target="_blank"><img src="http://192.168.1.51/Images/Default/img_tool2.jpg" alt="点击浏览下一页" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></td>
<td background="http://192.168.1.51/Images/Default/img_tool3.jpg" width=270>
<table width="100%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td> </td>
<td width="18%"><a href="javascript:play()"><a href="http://192.168.1.51/Images/Default/bt_d_play.jpg" target="_blank"><img src="http://192.168.1.51/Images/Default/bt_d_play.jpg" alt="点击浏览下一页" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></a></td>
<td width="18%"><a href="javascript:stop()"><a href="http://192.168.1.51/Images/Default/bt_u_stop.jpg" target="_blank"><img src="http://192.168.1.51/Images/Default/bt_u_stop.jpg" alt="点击浏览下一页" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></a></td>
<td width="18%"><a href="javascript:setButton(0); rewind();"><a href="http://192.168.1.51/Images/Default/bt_u_rwd.jpg" target="_blank"><img src="http://192.168.1.51/Images/Default/bt_u_rwd.jpg" alt="点击浏览下一页" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></a></td>
<td width="18%"><a href="javascript:setButton(1); forward();"><a href="http://192.168.1.51/Images/Default/bt_u_fwd.jpg" target="_blank"><img src="http://192.168.1.51/Images/Default/bt_u_fwd.jpg" alt="点击浏览下一页" onmousewheel="return bbimg(this)" onload="javascript:resizepic(this)" border="0"/></a></a></td>
<td> </td>
</tr>
</table></td>
</tr>
<table>
<table border="0" align="center" height="90" width="100%" cellpadding="0" cellspacing="0" class="PlayerImagesList">
<tr>
<td height="80" colspan="3" valign=bottom bgcolor="#EDF0F5" id="div1"></td>
</tr>
</table>
而且内容页的网址后缀为 ?thread-20-2.html
红色标记处,应该是 ?thread-20-1.html 才对啊
希望大家给个帮助