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

(开头部分) 4KB

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

<%inherits "Discuz.Space.Pages.spaceregister"%>
<%template _header%>
<div id="nav">
	<div class="wrap s_clear">
        <a href="{config.forumurl}" class="title">{config.forumtitle}</a> &raquo; <strong>申请个人空间</strong>
	</div>
</div>
<%if page_err==0%>
<script type="text/javascript">
	function validatefrom()
	{
		if(document.getElementById("spacetitle").value == "")
		{
			alert("个人空间名称不能为空!");
			document.getElementById("spacetitle").focus();
			return false;
		}
		if(document.getElementById('spacedescription').value.length > 200)
		{
			alert('个人空间描述长度最大为200字');
			return false;
		}
		if(!(/^\d+$/.test(document.getElementById("bpp").value)))
		{
			alert("显示日志篇数必须是数值!");
			document.getElementById("bpp").focus();
			return false;
		}
	}
</script>
<%if ispost%>
	<%template _usercpmsgbox%>
<%else%>
	<div class="wrap s_clear">
	<div class="main">
	<form id="regspace" name="regspace" method="post" action="">
	<table cellspacing="0" cellpadding="0" width="100%" align="center" class="formtable">
		<tbody>
		<tr>
			<th>个人空间名称</th>
			<td><input name="spacetitle" type="text" id="spacetitle"  size="40" maxlength="100" class="txt"/>
			</td>
		</tr>
		<tr>
			<th>个人空间描述</th>
			<td><textarea name="description" cols="50" rows="6" id="spacedescription" class="txtarea"></textarea>
			</td>
		</tr>
		<tr>
			<th>日志显示模式</th>
			<td>
				<input type="radio" name="blogdispmode" value="0"  class="radioinput" checked="checked"/>摘要
				<input type="radio" name="blogdispmode" value="1"  class="radioinput"/>全文
				<input type="radio" name="blogdispmode" value="2"  class="radioinput"/>只显示标题
			</td>
		</tr>
		<tr>
			<th>显示日志篇数</th>
			<td><input name="bpp" type="text" size="30" maxlength="3" value="10" class="txt" /></td>
		</tr>
后面还有 86 行代码,解锁后查看完整代码

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

AI 解读 AI

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

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