复制代码 代码如下:
<!DOCTYPEHTMLPUBLIC"-//W3C//DTDHTML4.0Transitional//EN">
<html>
<head>
<metahttp-equiv="Content-Type"content="text/html;charset=gbk">
<title>Discuz编辑器</title>
<metaname="keywords"content="Discuz编辑器">
<metaname="description"content="Discuz编辑器">
<metaname="generator"content="Discuz!5.0.0withTemplates5.0.0">
<metaname="MSSmartTagsPreventParsing"content="TRUE">
<metahttp-equiv="MSThemeCompatible"content="Yes">
</head>
<br/>
调用方法请看本例源码。<br/>
UBB代码显示:在要显示的页面包含ubb.asp这个文件<br/>
如下显示:Ubbcode(server.htmlencode(request("content")))<br/>
<formmethod="post"action="?action=add">
<tablecellspacing="1"border=1>
<tr>
<thcolspan="2">添加贴子</th>
</tr>
<tr>
<tdwidth="26">标题</td>
<tdwidth="699"style="text-align:left"><inputtype="text"name="title"size="42">
</td>
</tr>
<tr>
<td>内容</td>
<td>
<textareaname="content"cols="80"rows="2"style="display:none"></textarea>
<iframeID="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>
<tdcolspan="2">
<divalign="center">
<inputtype="submit"value="添加内容">
<inputtype="reset"value="重新填写">
</div></td>
</tr>
</table>
</form>
</body>
</html>
DISCUZ论坛的UBB编辑器下载