[原創]簽名檔加圖片邊框
發表於 : 2003-05-20 00:01
靈感&圖片來源:
http://www.netweb.idv.tw/material/borde ... /main4.htm
DEMO:
http://12edge.ismile.tv/phpbb/viewtopic ... 2434#72434
http://www.netweb.idv.tw/material/borde ... /main4.htm
DEMO:
http://12edge.ismile.tv/phpbb/viewtopic ... 2434#72434
代碼: 選擇全部
#
#-----[ OPEN ]------------------------------------------
#
viewtopic.php
#
#-----[ FIND]------------------------------------------
#
if ( $user_sig != '' )
{
$user_sig = '<br />_________________<br />' . str_replace("
", "
<br />
", $user_sig);
}
#
#-----[ REPLACE WITH ]------------------------------------------
#
if ( $user_sig != '' )
{
$user_sig = '<br /><br /><table width="100%" border="0" cellspacing="0" cellpadding="0" height="150">
<tr>
<td width="39"><img src="images/4left_top.gif" width="39" height="39"></td>
<td background="images/4top.gif"> </td>
<td width="39"><img src="images/4right_top.gif" width="39" height="39"></td>
</tr>
<tr>
<td background="images/4left.gif"> </td>
<td height="72"><table style="table-layout:fixed"><tr><td style="word-wrap:break-word"><span class="postbody">'. str_replace("
", "
<br />
", $user_sig) .'</span></td></tr></table></td>
<td background="images/4right.gif"> </td>
</tr>
<tr>
<td valign="top"><img src="images/4left_down.gif" width="39" height="39"></td>
<td background="images/4down.gif"> </td>
<td><img src="images/4right_down.gif" width="39" height="39"></td>
</tr>
</table>';
}
#-----[UPLOAD]------------------------------------------
upload *.gif to images/
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM