📄 createtable.jsp
字号:
<%@ page contentType="text/html;charset=GBK" %>
<%@ page import="epod.setup.*,epod.framework.Path,epod.util.FileUtil,epod.util.RequestUtil"%>
<%@ include file="common.jsp" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>Epod setup</title>
<link href="../lib/style.css" rel="stylesheet" type="text/css">
</head>
<%
session.setAttribute("epod.setup.createtable","1");
String ope = RequestUtil.getString(request,"operator","");
boolean ret =true;
if(ope.equals("0")){
ret = STTable.create();
if(ret==true){
response.sendRedirect("createfkindex.jsp");
}
}
%>
<body>
<table cellpadding="0" cellspacing="0" align="center" width="100%">
<tr>
<td height="62" colspan="2">
<%@ include file="header.jsp" %>
</td>
</tr>
<tr valign="top">
<td width="172" height="289">
<%@ include file="sidebar.jsp" %>
<p> </p></td>
<td width="607">
<form action="createtable.jsp" method="post" name="form1">
<INPUT TYPE="hidden" name='operator' value=''>
<table width="100%" border=0 cellpadding=1 cellspacing=1 class="unit_table">
<tr class="page_desc">
<td height="34" colspan="2" class="cell_null"><span class="cell_left">创建数据库表</span>
<%if(!ret){%>
<p>
<font color=red>建立数据库表失败,请确认当前数据库用户是否有相关数据库操作权限,或相关数据库表已经存在。</font>
</p>
<%}%>
</td>
</tr>
<!-- <tr>
<td width="33%" class="cell_right"> 脚本: </td>
<td width="67%" class="cell_left"> </td>
</tr> -->
</table>
<div align="right">
<input type="button" name="Submit1" onclick=createT('0') value="下一步">
<input type="button" name="Submit2" onclick=skip() value="略过这一步">
</div>
</form>
</td>
</tr>
<tr>
<td colspan="2">
<%@ include file="footer.jsp" %>
</td>
</tr>
</table>
</body>
<SCRIPT LANGUAGE="JavaScript">
<!--
function skip(){
document.forms[0].action="createfkindex.jsp";
document.forms[0].submit();
}
function createT(ope){
document.all('operator').value=ope;
document.forms[0].submit();
}
//-->
</SCRIPT>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -