复制代码代码如下:
<!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>