[問題]版面語法

phpBB 2 Style Support
討論的範圍包含版面排列、樣式、配置;外掛問題,請到相關版面依發問格式發表!
(發表文章請按照公告格式發表,違者砍文)

版主: 版主管理群

主題已鎖定
mmk7821
星球公民
星球公民
文章: 75
註冊時間: 2005-09-25 20:12

[問題]版面語法

文章 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

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

麻煩各位了
網路獵人論壇
網路獵人
問題狂
竹貓忠實會員
竹貓忠實會員
文章: 1947
註冊時間: 2004-06-28 17:13

文章 問題狂 »

因為viewforum.php裡並沒有包含那些變數\r
所以你如果要讓他正常顯示的話\r
應該參照index.php裡面變數複製到viewforum.php中\r
才能讓那些值正確顯示
mmk7821
星球公民
星球公民
文章: 75
註冊時間: 2005-09-25 20:12

文章 mmk7821 »

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

看起來超級複雜 :lol:

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

謝謝 :idea:
網路獵人論壇
網路獵人
主題已鎖定

回到「風格問題討論」