複製代碼 代碼如下:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk">
<title>Discuz編輯器</title>
<meta name="keywords" content="Discuz編輯器">
<meta name="description" content="Discuz編輯器">
<meta name="generator" content="Discuz! 5.0.0 with Templates 5.0.0">
<meta name="MSSmartTagsPreventParsing" content="TRUE">
<meta http-equiv="MSThemeCompatible" content="Yes">
</head>
<br/>
調用方法請看本例源碼。<br/>
UBB代碼顯示:在要顯示的頁麵包含ubb.asp這個檔案<br/>
如下顯示:Ubbcode(server.htmlencode(request("content")))<br/>
<form method="post" action="?action=add">
<table cellspacing="1" border=1>
<tr>
<th colspan="2">添加貼子</th>
</tr>
<tr>
<td width="26">標題</td>
<td width="699" style="text-align:left"><input type="text" name="title" size="42">
</td>
</tr>
<tr>
<td>內容</td>
<td>
<textarea name="content" cols="80" rows="2" style="display:none"></textarea>
<iframe ID="Editor" name="Editor" src="edit.htm?id=content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:320px;width:100%"></iframe>
</td>
</tr>
<tr>
<td colspan="2">
<div align="center">
<input type="submit" value="新增內容">
<input type="reset" value="重新填寫">
</div></td>
</tr>
</table>
</form>
</body>
</html>
DISCUZ論壇的UBB編輯器下載