1 頁 (共 1 頁)

[問題]請問如何增加小圖示

發表於 : 2004-10-25 23:50
Man88xy
我是用icgstation1.0的, 我想修改小圖示用來更容易分辨出版面\r

即是\r

------------------------------
小圖示1 xxxx1討論區
xxxxxxxxxx
-------------------------------

-------------------------------
小圖示2 xxxxx2討論區
xxxxxxxxxx
-------------------------------

-------------------------------
小圖示3 xxxxxx3討論區
xxxxxxx
-------------------------------

我試過去改config.cfg內的
$images['forum'] = "$current_template_images/xxx.gif";
但那些小圖示1,2,3. 都會變成一樣的.

請問各位大大我要修改那裡才對呢?

謝謝~~ :-D

發表於 : 2004-10-26 00:21
sakamoto
我有一點看不懂你在打什麼.........貼個圖來看看吧......或是有人看的懂的幫他一下.........

發表於 : 2004-10-26 01:14
晶片組
我想應該是一個版面標題用一個圖片
像這樣子

http://phpbb-tw.net/phpbb/viewtopic.php ... 9%CF%A4%F9

發表於 : 2004-10-26 12:50
Man88xy
謝謝大大~~

我就是想這樣的一個版面標題用一個圖片(像大大的討論區這樣子,大大也是用icgstation吧..這個風格真的很好看 :-D )

我已修改了index.php...但不知是否用了icgstation的關係,我在index_body.tpl找不到這段程式碼去修改(

代碼: 選擇全部

<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>
請問大大我要修改index_body.tpl那裡才可以造出大大討論區的樣子呢?

謝謝 :-D

發表於 : 2004-10-26 13:01
晶片組
大約在第四十行左右....

發表於 : 2004-10-26 13:17
Man88xy
不好意思,因為我是新手.真的不懂修改那裡
我只好將我的index_body.tpl 的程式碼貼上來:mrgreen:

------------------------------------------------------------------
<h1>{L_WELCOME}</h1>

<p>{L_ADMIN_INTRO}</p>

<h1>{L_FORUM_STATS}</h1>

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<tr>
<th width="25%" nowrap="nowrap" height="25">{L_STATISTIC}</th>
<th width="25%" height="25">{L_VALUE}</th>
<th width="25%" nowrap="nowrap" height="25">{L_STATISTIC}</th>
<th width="25%" height="25">{L_VALUE}</th>
</tr>
<tr>
<td class="row1" nowrap="nowrap">{L_NUMBER_POSTS}:</td>
<td class="row2"><b>{NUMBER_OF_POSTS}</b></td>
<td class="row1" nowrap="nowrap">{L_POSTS_PER_DAY}:</td>
<td class="row2"><b>{POSTS_PER_DAY}</b></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap">{L_NUMBER_TOPICS}:</td>
<td class="row2"><b>{NUMBER_OF_TOPICS}</b></td>
<td class="row1" nowrap="nowrap">{L_TOPICS_PER_DAY}:</td>
<td class="row2"><b>{TOPICS_PER_DAY}</b></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap">{L_NUMBER_USERS}:</td>
<td class="row2"><b>{NUMBER_OF_USERS}</b></td>
<td class="row1" nowrap="nowrap">{L_USERS_PER_DAY}:</td>
<td class="row2"><b>{USERS_PER_DAY}</b></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap">{L_BOARD_STARTED}:</td>
<td class="row2"><b>{START_DATE}</b></td>
<td class="row1" nowrap="nowrap">{L_AVATAR_DIR_SIZE}:</td>
<td class="row2"><b>{AVATAR_DIR_SIZE}</b></td>
</tr>
<tr>
<td class="row1" nowrap="nowrap">{L_DB_SIZE}:</td>
<td class="row2"><b>{DB_SIZE}</b></td>
<td class="row1" nowrap="nowrap">{L_GZIP_COMPRESSION}:</td>
<td class="row2"><b>{GZIP_COMPRESSION}</b></td>
</tr>
</table>
<h1>{L_WHO_IS_ONLINE}</h1>

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
<tr>
<th width="20%" height="25"> {L_USERNAME} </th>
<th width="20%" height="25"> {L_STARTED} </th>
<th width="20%"> {L_LAST_UPDATE} </th>
<th width="20%"> {L_FORUM_LOCATION} </th>
<th width="20%" height="25"> {L_IP_ADDRESS} </th>
</tr>
<!-- BEGIN reg_user_row -->
<tr>
<td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_USER_PROFILE}" class="gen">{reg_user_row.USERNAME}</a></span> </td>
<td width="20%" align="center" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.STARTED}</span> </td>
<td width="20%" align="center" nowrap="nowrap" class="{reg_user_row.ROW_CLASS}"> <span class="gen">{reg_user_row.LASTUPDATE}</span> </td>
<td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_FORUM_LOCATION}" class="gen">{reg_user_row.FORUM_LOCATION}</a></span> </td>
<td width="20%" class="{reg_user_row.ROW_CLASS}"> <span class="gen"><a href="{reg_user_row.U_WHOIS_IP}" class="gen" target="_phpbbwhois">{reg_user_row.IP_ADDRESS}</a></span> </td>
</tr>
<!-- END reg_user_row -->
<tr>
<td colspan="5" height="1" class="row3"><img src="../templates/iCGstation/images/spacer.gif" width="1" height="1" alt="."></td>
</tr>
<!-- BEGIN guest_user_row -->
<tr>
<td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.USERNAME}</span> </td>
<td width="20%" align="center" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.STARTED}</span> </td>
<td width="20%" align="center" nowrap="nowrap" class="{guest_user_row.ROW_CLASS}"> <span class="gen">{guest_user_row.LASTUPDATE}</span> </td>
<td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_FORUM_LOCATION}" class="gen">{guest_user_row.FORUM_LOCATION}</a></span> </td>
<td width="20%" class="{guest_user_row.ROW_CLASS}"> <span class="gen"><a href="{guest_user_row.U_WHOIS_IP}" target="_phpbbwhois">{guest_user_row.IP_ADDRESS}</a></span> </td>
</tr>
<!-- END guest_user_row -->
</table>

<br />
--------------------------------------------------------------------------------

請大大幫忙,謝謝 :-D

發表於 : 2004-10-26 13:29
晶片組
幫幫忙...誰叫你找admin/index_body.tpl

是風格資料夾下的index_body.tpl

發表於 : 2004-10-26 13:45
Man88xy
什麼....我原來是找錯了 =0="~~
誤會啦~(看來要載眼鏡了) 8-)

謝謝大大~~

:-D