1 頁 (共 1 頁)

[問題]版面語法

發表於 : 2006-02-09 17:52
mmk7821

代碼: 選擇全部

<table width="100%" cellpadding="2" cellspacing="1" border="0" class="forumline">
  <tr> 
	<th colspan="2" class="thCornerL" height="25" nowrap="nowrap">&nbsp;{L_FORUM}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_TOPICS}&nbsp;</th>
	<th width="50" class="thTop" nowrap="nowrap">&nbsp;{L_POSTS}&nbsp;</th>
	<th class="thCornerR" nowrap="nowrap">&nbsp;{L_LASTPOST}&nbsp;</th>
  </tr>
  <!-- BEGIN catrow -->
  <tr> 
	<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
	<td class="rowpic" colspan="3" align="right">&nbsp;</td>
  </tr>
  <!-- BEGIN forumrow -->
  <tr> 
	<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="46" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
	<td class="row1" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
	  </span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
	  </span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
	<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
	<td class="row2" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
  </tr>
  <!-- END forumrow -->
  <!-- END catrow -->
</table>
這一段是從首頁中段抓出來的語法

我拿到viewforum_body.tpl

為什麼秀不出來?

我想要做一個顯示 版區的縮小版

只要連結不要簡介

獵如:

版區
Announcement
版面\r
+ 系統公告區

顯示這樣就好\r

不要圖片也不用發表文章的統計數字

麻煩各位了

發表於 : 2006-02-09 17:56
問題狂
因為viewforum.php裡並沒有包含那些變數\r
所以你如果要讓他正常顯示的話\r
應該參照index.php裡面變數複製到viewforum.php中\r
才能讓那些值正確顯示

發表於 : 2006-02-09 18:03
mmk7821
問題狂 寫:因為viewforum.php裡並沒有包含那些變數\r
所以你如果要讓他正常顯示的話\r
應該參照index.php裡面變數複製到viewforum.php中\r
才能讓那些值正確顯示
XDD...~~! :!:

看起來超級複雜 :lol:

能不能麻煩您貼個教學 :?:

謝謝 :idea: