关于CMS中php代码的问题
我正在尝试修复某人网站中的某些内容 不幸的是,这个网站是建立在一个叫做CMS的网站上的,并且是用PHP构建的。我懂一点php,但我不是这方面的专家 我已经尝试解决以下问题很久了 问题:如果继续,您将在右下角看到缩略图库。图库中有6幅图像。前两个是间隔符(nothing.gif)。问题是,这些间隔棒不是朝右下角来的,而是朝左上角来的。我认为是谁开发了它,用nothing.gif填充所有内容,然后用图像替换,但它们是从右到左…而不是从左到右 下面是代码,我看不懂关于CMS中php代码的问题,php,content-management-system,Php,Content Management System,我正在尝试修复某人网站中的某些内容 不幸的是,这个网站是建立在一个叫做CMS的网站上的,并且是用PHP构建的。我懂一点php,但我不是这方面的专家 我已经尝试解决以下问题很久了 问题:如果继续,您将在右下角看到缩略图库。图库中有6幅图像。前两个是间隔符(nothing.gif)。问题是,这些间隔棒不是朝右下角来的,而是朝左上角来的。我认为是谁开发了它,用nothing.gif填充所有内容,然后用图像替换,但它们是从右到左…而不是从左到右 下面是代码,我看不懂 <tr> <
<tr>
<td class="galleryThumbs">
<div class="sepinator"></div>
<div class="extlinkinator">
<a href="javascript:extClick();" id="externalLink"></a>
</div>
<div class="paginator">
<a href="javascript:leftClick();" id="arrowL" class="arrowL0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
<a href="javascript:rightClick();" id="arrowR" class="arrowR0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
</div>
<br clear="all" />
<a href="javascript:setBig('8');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb8" /></a>
<a href="javascript:setBig('7');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb7" /></a>
<a href="javascript:setBig('6');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb6" /></a>
<a href="javascript:setBig('5');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb5" /></a>
<br>
<a href="javascript:setBig('4');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb4" /></a>
<a href="javascript:setBig('3');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb3" /></a>
<a href="javascript:setBig('2');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb2" /></a>
<a href="javascript:setBig('1');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb1" /></a>
~3*GALLERY_THUMBS_ALT[where=a.topicID='~1#tid#']*
<br />
<img src="/templates/images/nothing.gif" width="339" height="1" border="0" alt="" /></td>
</tr>
首先在css中搜索类“.gallerySmallEmpty”,然后查看其中的内容。。尽管我认为您只需将代码更改为:
<tr>
<td class="galleryThumbs">
<div class="sepinator"></div>
<div class="extlinkinator">
<a href="javascript:extClick();" id="externalLink"></a>
</div>
<div class="paginator">
<a href="javascript:leftClick();" id="arrowL" class="arrowL0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
<a href="javascript:rightClick();" id="arrowR" class="arrowR0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
</div>
<br clear="all" />
<a href="javascript:setBig('1');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb8" /></a>
<a href="javascript:setBig('2');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb7" /></a>
<a href="javascript:setBig('3');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb6" /></a>
<a href="javascript:setBig('4');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb5" /></a>
<br>
<a href="javascript:setBig('5');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb4" /></a>
<a href="javascript:setBig('6');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb3" /></a>
<a href="javascript:setBig('7');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb2" /></a>
<a href="javascript:setBig('8');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb1" /></a>
~3*GALLERY_THUMBS_ALT[where=a.topicID='~1#tid#']*
<br />
<img src="/templates/images/nothing.gif" width="339" height="1" border="0" alt="" /></td>
</tr>
~3*GALLERY_THUMBS_ALT[where=a.topicID='~1#tid']*
- 请注意,我更改了图库演示文稿的顺序(编号)
<tr>
<td class="galleryThumbs">
<div class="sepinator"></div>
<div class="extlinkinator">
<a href="javascript:extClick();" id="externalLink"></a>
</div>
<div class="paginator">
<a href="javascript:leftClick();" id="arrowL" class="arrowL0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
<a href="javascript:rightClick();" id="arrowR" class="arrowR0"><img src="/templates/images/nothing.gif" width="12" height="11" border="0" alt="" /></a>
</div>
<br clear="all" />
<a href="javascript:setBig('1');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb8" /></a>
<a href="javascript:setBig('2');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb7" /></a>
<a href="javascript:setBig('3');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb6" /></a>
<a href="javascript:setBig('4');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb5" /></a>
<br>
<a href="javascript:setBig('5');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb4" /></a>
<a href="javascript:setBig('6');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb3" /></a>
<a href="javascript:setBig('7');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb2" /></a>
<a href="javascript:setBig('8');"><img src="/templates/images/nothing.gif" width="73" height="91" border="1" alt="" class="gallerySmallEmpty" id="thumb1" /></a>
~3*GALLERY_THUMBS_ALT[where=a.topicID='~1#tid#']*
<br />
<img src="/templates/images/nothing.gif" width="339" height="1" border="0" alt="" /></td>
</tr>