?? type_add.jsp
字號:
<%@ page contentType="text/html;charset=gb2312" %>
<%
String admin_name=(String) session.getAttribute("admin_name");
if(admin_name==null || admin_name=="")
{
out.println("<script language='javascript'>alert('請先登錄!');window.location.href='index.jsp';</script>");
}
%>
<style type="text/css">
<!--
.STYLE1 {
font-size: 12px;
}
.STYLE2 {font-size: 14px}
-->
</style>
<script>
<!--
function check_type(form)
{
if(form.t_name.value=="")
{
alert("請輸入面板的名字");
form.t_name.focus();
return false;
}
}
-->
</script>
<center>
<form action="type_add_ok.jsp" method="post" onsubmit="return check_type(this);">
<table width="520" border="1" bordercolor="#99CCFF" cellpadding="0" cellspacing="0" style="border-collapse:collapse">
<!--DWLayoutTable-->
<tr>
<td height="35" colspan="3" align="center" bgcolor="#99CCFF"><span class="STYLE2">添加主面板</span></td>
</tr>
<tr>
<td width="130" height="40" align="center"><span class="STYLE1">主面板名稱</span>:</td>
<td width="228" align="center"><input type="text" name="t_name" /></td>
<td width="154" align="center"><input type="submit" class="STYLE1" value=" 添加 " /> <input type="button" class="STYLE1" value=" 返回 " onclick="history.go(-1);" /></td>
</tr>
<tr>
<td colspan="3" align="right"> </td>
</tr>
</table>
</form>
</center>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -