Discuz.Web/templates/default3.1/space/usercpspacepostblog.htm

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<%inherits "Discuz.Space.Pages.usercpspacepostblog"%>
<%template _header%>
<script type="text/javascript">
var forumpath = "{forumpath}";
</script>
<div id="nav">
	<div class="wrap s_clear">
        <a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <a href="usercp.aspx">用户中心</a> &raquo; <strong>发表日志</strong>
	</div>
</div>
<div class="wrap with_side s_clear" id="wrap">
	<%template _menu%>
	<div class="cpmain">
	<div class="cpcontent">
	<h1>发表日志</h1>
	<%template _spacemenu%>
<%if page_err==0%>
	<%if ispost%>
	<%template _usercpmsgbox%>
	<%else%>
	<form id="postform" name="postpm" method="post" action="">
		<table cellspacing="0" cellpadding="0" class="formtable" summary="个人资料">
		<tbody>
			<tr>
				<th><label for="title">日志标题</label></th>
				<td><input name="title" type="text" id="title" size="40" maxlength="60" class="txt"/></td>
			</tr>
			<tr>
				<th><label for="category">日志类别</label></th>
				<td>
					<%if categoryslist.Rows.Count!=0%>
					<%loop rows categoryslist%>
					<input type="checkbox" name="category" value="{rows[categoryid]}" >{rows[title]}&nbsp;
					<%/loop%>
					<a href="usercpspacecategoryadd.aspx">新建日志类别</a>
					<%else%>
					 暂无日志类别,
					<a href="usercpspacecategoryadd.aspx">新建日志类别</a>
					<%/if%>
				</td>
			</tr>
			<tr>
				<th><label for="DataTextarea">内容</label></th>
				<td><textarea name="DataTextarea" id="DataTextarea" cols="80" rows="20"></textarea></td>
			</tr>
			<tr>
				<th><label for="checkveriframe">上传文件</label></th>
				<td>
					<iframe width="80%" height="30px" id="checkveriframe" framespacing="0px" frameborder="0px" allowTransparency="true" style="border-width: 0px; margin: 0px;" noResize src="space/manage/uploadfile.aspx" scrolling="no"></iframe>
					<div id="postattachfile" style="border:0px;display:block;"></div>
				</td>
			</tr>
			<%if {enabletag}%>
			<tr>
				<th><label for="tags">标签(Tags)</label></th>
				<td>
					<script type="text/javascript" src="javascript/ajax.js"></script>
					<script type="text/javascript" src="javascript/post_editor.js"></script>
					<input type="text" name="tags" id="tags" value="" size="55" class="txt" /><input type="button" onclick="relatekw($('title').value, dntEditor.GetText());" value="可用标签" />(用空格隔开多个标签,最多可填写 5 个)
				</td>
后面还有 58 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。