<script language="javascript" type="text/javascript" src="source/script_cookie.js"></script>
<script language="javascript" type="text/javascript" src="source/script_common.js"></script>
<script language="javascript" type="text/javascript" src="source/script_menu.js"></script>
<script language="javascript" type="text/javascript" src="source/script_ajax.js"></script>
<script language="javascript" type="text/javascript" src="source/script_face.js"></script>
<script language="javascript" type="text/javascript" src="source/script_manage.js"></script>
<script language="javascript" src="image/editor/editor_function.js"></script><!--uchome编辑器要用的js-->
<form method="post" action="space.php?do=classesbbs&ac=post" enctype="multipart/form-data">
<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
标题:<input type="text" name="title" id="title" size="30"/>
<br/>
班级:<select id="classid" name="classid">
<!--{loop $classes $value}-->
<!--{if $value['classid'] == $thevalue['classid']}-->
<option value="$value[classid]" selected>$value[classname]</option>
<!--{else}-->
<option value="$value[classid]">$value[classname]</option>
<!--{/if}-->
<!--{/loop}-->
</select>
<br/>
内容:<textarea name="content" id="uchome-ttHtmlEditor" style="height:100%;width:100%;display:none;border:0px">$thevalue[g_description]</textarea>
<iframe src="editor.php?charset=$_SC[charset]&allowhtml=$allowhtml" name="uchome-ifrHtmlEditor" id="uchome-ifrHtmlEditor" scrolling="no" border="0" frameborder="0" style="width:100%;border: 1px solid #C5C5C5;" height="200"></iframe>
<br/>
<input type="submit" name="sub" onclick="edit_save();" value="提交" />
提交的时候要记得加入:οnclick=”edit_save();”,否则无法获取uchome编辑器的值。