⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datetime.jsp

📁 论坛软件系统亦称电子公告板(BBS)系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<jsp:include page="../cp_header.jsp" />
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr><td><a href="#" onclick="parent.menu.location='admincp.jsp?action=menu'; parent.main.location='admincp.jsp?action=home';return false;">系统设置首页</a>&nbsp;&raquo;&nbsp;时间设置</td></tr>
</table>
<br />
<form method="post" name="settings" id="settings" action="admincp.jsp?action=settings&do=datetime">
	<a name="ac07747e7db4a4cc"></a>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
		<tr class="header"><td colspan="2">日期和时间格式<a href="###" onclick="collapse_change('ac07747e7db4a4cc')"><img id="menuimg_ac07747e7db4a4cc" src="images/admincp/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a></td></tr>
		<tbody id="menu_ac07747e7db4a4cc" style="display: yes">
			<tr>
				<td width="45%" class="altbg1">
					<b>默认日期格式:</b>
					<br />
					<span class="smalltxt">使用 yyyy(yy) 表示年,MM 表示月,dd 表示天。如 yyyy-MM-dd 表示 2000-01-01</span>
				</td>
				<td class="altbg2"><input type="text" size="50" name="dateformat" value="${fsmap.dateformat}"></td>
			</tr>
			<tr>
				<td width="45%" class="altbg1"><b>默认时间格式:</b></td>
				<td class="altbg2">
					<input class="radio" type="radio" name="timeformat" value="2" checked> 24 小时制
					<input class="radio" type="radio" name="timeformat" value="1" ${fsmap.timeformat!=2?"checked":""}> 12 小时制
				</td>
			</tr>
			<tr>
				<td width="45%" class="altbg1">
					<b>默认时差:</b>
					<br />
					<span class="smalltxt">当地时间与 GMT 的时差</span>
				</td>
				<td class="altbg2"><input type="text" size="50" name="timeoffset" value="${fsmap.timeoffset }"></td>
			</tr>
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>用户可选择的日期格式:</b>
					<br />
					<span class="smalltxt">除默认的日期显示格式以外,您还可以设置多个显示格式供论坛用户选择。如果留空,则强制所有用户使用默认的格式。填写时,每行请写一种格式。例如 yyyy-MM-dd</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[userdateformat]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[userdateformat]', 0)">
					<br />
					<textarea rows="6" name="userdateformat" id="settingsnew[userdateformat]" cols="50">${fsmap.userdateformat }</textarea>
				</td>
			</tr>
		</tbody>
	</table>
	<br />
	<a name="1cfc3d3d34bf77fc"></a>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
		<tr class="header"><td colspan="2">时间段设置<a href="###" onclick="collapse_change('1cfc3d3d34bf77fc')"><img id="menuimg_1cfc3d3d34bf77fc" src="images/admincp/menu_reduce.gif" border="0" style="float: right; margin-top: -12px; margin-right: 8px;" /></a></td></tr>
		<tbody id="menu_1cfc3d3d34bf77fc" style="display: yes">
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>禁止访问时间段:</b>
					<br />
					<span class="smalltxt">每天该时间段内用户不能访问论坛,请使用 24 小时时段格式,每个时间段一行,如需要也可跨越零点,留空为不限制。例如:<br />每日晚 11:25 到次日早 5:05 可设置为: <i>23:25-5:05</i> <br />每日早 9:00 到当日下午 2:30 可设置为: <i>9:00-14:30</i><br />注意: 格式不正确将可能导致意想不到的问题,用户组中如开启“不受时间段限制”的选项,则该组可不被任何时间段设置约束。所有时间段设置均以论坛系统默认时区为准,不受用户自定义时区的影响</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[visitbanperiods]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[visitbanperiods]', 0)">
					<br />
					<textarea rows="6" name="visitbanperiods" id="settingsnew[visitbanperiods]" cols="50">${fsmap.visitbanperiods}</textarea>
				</td>
			</tr>
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>禁止发帖时间段:</b>
					<br />
					<span class="smalltxt">每天该时间段内用户不能发帖,格式和用法同上</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[postbanperiods]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[postbanperiods]', 0)">
					<br />
					<textarea rows="6" name="postbanperiods" id="settingsnew[postbanperiods]" cols="50">${fsmap.postbanperiods }</textarea>
				</td>
			</tr>
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>发帖审核时间段:</b>
					<br />
					<span class="smalltxt">每天该时间段内用户发帖不直接显示,需经版主或管理员人工审核才能发表,格式和用法同上</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[postmodperiods]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[postmodperiods]', 0)">
					<br />
					<textarea rows="6" name="postmodperiods" id="settingsnew[postmodperiods]" cols="50">${fsmap.postmodperiods}</textarea>
				</td>
			</tr>
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>禁止下载附件时间段:</b>
					<br />
					<span class="smalltxt">每天该时间段内用户不能下载附件,格式和用法同上</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[attachbanperiods]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[attachbanperiods]', 0)">
					<br />
					<textarea rows="6" name="attachbanperiods" id="settingsnew[attachbanperiods]" cols="50">${fsmap.attachbanperiods }</textarea>
				</td>
			</tr>
			<tr>
				<td width="45%" class="altbg1" valign="top">
					<b>禁止全文搜索时间段:</b>
					<br />
					<span class="smalltxt">每天该时间段内用户不能使用全文搜索,格式和用法同上</span>
				</td>
				<td class="altbg2">
					<img src="images/admincp/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[searchbanperiods]', 1)">
					<img src="images/admincp/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomtextarea('settingsnew[searchbanperiods]', 0)">
					<br />
					<textarea rows="6" name="searchbanperiods" id="settingsnew[searchbanperiods]" cols="50">${fsmap.searchbanperiods}</textarea>
				</td>
			</tr>
		</tbody>
	</table>
	<br />
	<center>
		<input type="hidden" name="from" value="${from}">
		<input class="button" type="submit" name="settingsubmit" value="提 交">
	</center>
</form>
<jsp:include page="../cp_footer.jsp" />

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -