WebRoot/pages/productDetail.jsp

(开头部分) 3KB

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

<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/common/taglibs.jsp"%>
<%@page import="com.inloam.common.QueryAssistant"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="http://www.uur.cn/wp-content/themes/uur/images/favicon.ico" />
<title><%=com.inloam.common.Constant.SYS_NAME %></title>
<%@ include file="/common/meta.jsp"%>	
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath()%>/pages/style.css"/>
<body>
	<div class="main">
	<div class="main_con">
		<div class="top">
			<div class="top_left" style="background-image: <%=request.getContextPath()%>/pages/images/logo.jpg;margin: 15px;">
				<span style="font-size: 35px;"><b><%=com.inloam.common.Constant.SYS_NAME %></b></span>
			</div>
			<div class="top_right">
				<div class="top_right_navLeft"></div>
				<%@ include file="navTop.jsp" %>
				<div class="clear"></div>
			</div>
			<div class="clear"></div>
		</div>
		<div class="banner">
			<div class="baner_con">
				
			</div>
		</div>
		    <%
		    	String fromPage = request.getParameter("fromPage");
		    	String productId = request.getParameter("productId");
		    	java.util.Map product = QueryAssistant.getInstance().query("select t.pic, t.remark,t.location,t.id,t.name,t.price,tt.name as productType ,t.starttime,t.endtime  from or_product t ,sys_code tt where tt.id=t.productType and tt.codeTypeId='1'   and t.id='"+productId+"'");
		    	
		    	String question = request.getParameter("question");
		    	System.out.println("question:"+question);
		    	
		    %>
		<div class="content">
			<div class="title00">
				<div class="title00_con">汽车详细</div>
			</div>
			<div class="content_main">
				<div class="content_main_left">
    				<div class="box_item_title"><%=product.get("name") %></div>
    				<form action="<%=request.getContextPath()%>/pages/buy.jsp?productId=<%=productId %>" method="post" name="qs">
    				<table>
    					<tr><td colspan="2"><img src="<%=request.getContextPath()%>/slide/<%=product.get("pic") %>" width="80" height="80"/></td></tr>
    					<tr><td>汽车类型:</td><td><%=product.get("producttype") %></td></tr>
    					<tr><td>租赁价格:</td><td><%=product.get("price") %></td></tr>
    					<tr><td>取车地点:</td><td><%=product.get("location") %></td></tr>
    					<tr><td>取车时间:</td><td><%=product.get("starttime") %>~<%=product.get("endtime") %></td></tr>
    					<tr><td colspan="2">
    						<input type="hidden" name="productName" value="<%=product.get("name")%>"/>
    						<input type="hidden" name="money" value="<%=product.get("price")%>"/>
    						<input type="hidden" name="productId" value="<%=productId%>"/>
    						<input type="button" value="预订"  onclick="submit();"/>
    						<input type="button" value="返回"  onclick="window.history.go(-1);"/>
    					</td></tr>
后面还有 25 行代码,购买后查看完整代码

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

AI 解读 AI

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

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