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

📄 soldshop.jsp

📁 jsp注册
💻 JSP
字号:
<%@ page contentType="text/html; charset=gb2312" language="java" import="java.sql.*" errorPage="errorpage.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
<style type="text/css">
<!--
.STYLE8 {color: #FFFFFF; font-weight: bold; }
body,td,th {
	font-size: 12px;
}
-->
</style>
</head>
<jsp:useBean id="db" class="data.shopdb"/>
<%request.setCharacterEncoding("gb2312");
String id=(String)session.getAttribute("id");
String head="";
String pic="";
if (request.getParameter("head")!=null) pic=request.getParameter("head");
else pic=(String)session.getAttribute("pic");
session.setAttribute("shoppic", pic);
%>
<script>
function check(form)
{
	if (form.shopname.value==null || form.shopname.value=="" )
	{
		alert('请输入店铺名称');
		return false;
	}
	else if(form.shopmes.value==null || form.shopmes.value=="" )
	{
		alert('请输入店铺信息');
		return false;
	}
	else
	{
		return true;
	}
}
</script>
<body>
<%if(id!=null){ %>
<table width="622" height="320" border="1" align="left" cellspacing="0" bordercolor="#993300">
  <tr>
    <td width="616" background="../pic/bbgg.jpg"><form id="form1" name="form1" method="post" action="openshop">
      <table width="503" height="214" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#ECE9D8">
        <tr>
          <td width="68" height="23">店铺名称:</td>
          <td width="429"><input name="shopname" type="text" id="shopname" />
            <input name="find" type="submit" id="find" value="检查" />
            请先检查。不然....</td>
        </tr>
        <tr>
          <td height="58">店铺说明:</td>
          <td><textarea name="shopmes" cols="35" rows="5" id="shopmes"></textarea></td>
        </tr>
        <tr>
          <td height="93">店铺图标:</td>
          <td><a href="changeshoppic.jsp">
            <%if(head.length()!=0){%>
                      <table width="80" height="80" border="1" cellpadding="0" cellspacing="0">
                        <tr>
                          <td><img src="../shoppic/<%=head%>" width="80" height="80" /></td>
                        </tr>
                      </table>
                <a href="changepic.jsp">浏览</a>
                <%}else if(pic==null){%>
                <a href="changeshoppic.jsp">浏览</a>
                <%}else{%>
                <table width="80" height="80" border="1" cellpadding="0" cellspacing="0">
                        <tr>
                          <td><img src="../shoppic/<%=pic%>" width="80" height="80" /></td>
                        </tr>
              </table>
                <a href="changeshoppic.jsp">浏览</a>
                <%}%></td>
        </tr>
        <tr>
          <td height="26" colspan="2"><div align="center">
            <input name="open" type="submit" id="open" value="开启" />
          </div></td>
          </tr>
      </table>
    </form>
    </td>
  </tr>
</table><%}else{%> <script language="JavaScript">
             alert("出错!您还没登陆!点确定返回首页登陆部落....");
           </script>
           <meta   HTTP-EQUIV=REFRESH   CONTENT="0;URL=/xunibuluo/index.jsp"><%}%>
</body>
</html>

⌨️ 快捷键说明

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