引用 | 編輯
anstd
2005-05-27 18:31 |
樓主
▼ |
||
x0
【插件名稱】文章中顯示評分理由【適用版本】3.0.1 【插件來源】轉貼 【插件類型】加強 【是否升級資料庫】否 【插件介紹】 [此文章售價 5 雅幣已有 27 人購買]若發現會員採用欺騙的方法獲取財富,請立刻舉報,我們會對會員處以2-N倍的罰金,嚴重者封掉ID! x0
|
引用 | 編輯
Atargatis
2005-07-07 20:35 |
1樓
▲ ▼ |
if(strlen($reason)>60){ //此理由之字數限制 60 可以自行更換
Showmsg('masigle_reasonlimit'); } else { if($reason==''){ $ifmark=$ifmark? $name.':'.$addpoint.' (by '.addslashes($windid).")\t".$ifmark : $name.':'.$addpoint.' (by '.addslashes($windid).')' } else { $ifmark=$ifmark? $name.':'.$addpoint.' (by '.addslashes($windid).') | 理由: <font color=red>'.$reason."</font>\t".$ifmark : $name.':'.$addpoint.' (by '.addslashes($windid).') | 理由: <font color=red>'.$reason.'</font>' } } ============ 紅色是多的....刪掉之後就可以正常囉 x0 |
引用 | 編輯
bluemm
2005-11-30 23:49 |
2樓
▲ ▼ |
使用版本:v3.0.1
剛剛照著教學修改,已成功加上此功能,謝謝樓主提供教學。^_^ 下面是引用Zwisely於2005-07-7 20:35發表的 : 可是剛剛拿掉紅色部份反而發生錯誤,有加上才正常說... x0 |
引用 | 編輯
|qw≡GLλDOS|
2010-08-26 10:30 |
3樓
▲ |
下面是引用 Zwisely 於 2005-07-07 20:35 發表的 :最後一個}是結束開始於else那邊的{喔 x0 |