102 lines
3.6 KiB
Plaintext
102 lines
3.6 KiB
Plaintext
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@include file="/include/include.jsp"%>
|
|
<%@include file="/include/head.jsp"%>
|
|
|
|
|
|
<div class="container">
|
|
<div class="row" style="padding-top:30px;padding-bottom:30px">
|
|
<%
|
|
int c_main_type = 1;
|
|
String sql_main = "select * from tbl_field where c_no = " + c_home + " and c_relation = 0 ";
|
|
ResultSet rs_main = stmt.executeQuery(sql_main);
|
|
if(rs_main.next()){
|
|
c_main_type = rs_main.getInt("c_main_type");
|
|
}else{
|
|
}
|
|
rs_main.close();
|
|
String call_page = "";
|
|
%>
|
|
|
|
<%if(c_main_type == 1){%>
|
|
<div class="col-lg-12 col-md-12 col-sm-12" style="text-align:center">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=1";
|
|
%>*
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-12 col-md-12 col-sm-12" style="text-align:center;padding-top:20px;padding-bottom:20px">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_text.jsp?c_home=" + c_home + "&c_maker=1&c_image=0";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-12 col-md-12 col-sm-12" style="text-align:center">
|
|
<div class="col-lg-4 col-md-4 col-sm-4" style="text-align:center">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=2";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-4 col-md-4 col-sm-4" style="text-align:center">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=3";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-4 col-md-4 col-sm-4" style="text-align:center">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_notice.jsp?c_home=" + c_home + "&c_maker=1";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
</div>
|
|
<%}%>
|
|
<%if(c_main_type == 2){%>
|
|
<div class="col-lg-4 col-md-4 col-sm-4" style="text-align:center">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=1";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-8 col-md-8 col-sm-8" style="text-align:center">
|
|
<div class="col-lg-12 col-md-12 col-sm-12" style="text-align:center;padding-top:20px;padding-bottom:20px">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_text.jsp?c_home=" + c_home + "&c_maker=1&c_image=0";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-12 col-md-12 col-sm-12" style="text-align:center;padding-top:20px;padding-bottom:20px">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=2";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-6 col-md-6 col-sm-6" style="text-align:center;padding-top:20px;padding-bottom:20px">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_image.jsp?c_home=" + c_home + "&c_maker=1&c_image=3";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
<div class="col-lg-6 col-md-6 col-sm-6" style="text-align:center;padding-top:20px;padding-bottom:20px">
|
|
<%
|
|
call_page = "/main_sub/";
|
|
call_page = call_page + "main_notice.jsp?c_home=" + c_home + "&c_maker=1";
|
|
%>
|
|
<jsp:include page="<%=call_page%>" flush="false"/>
|
|
</div>
|
|
</div>
|
|
<%}%>
|
|
</div>
|
|
</div>
|
|
<%@include file="/include/bottom.jsp"%>
|
|
<%@include file="/include/include_b.jsp"%>
|