%@ page contentType="text/html;charset=big5" session="true" import="tw.com.autotools.html.*" %>
<%@ page import="tw.com.autotools.misc.*" %>
<%@ page import="tw.com.autotools.database.*" %>
<%@ page import="tw.com.autotools.search.*" %>
<%@ page import="tw.com.f1.activity.*,tw.com.f1.util.*" %>
<%@ page import="java.util.Vector" %>
<%@ page import="java.util.*,java.io.*" %>
<%@ include file="../message_include.jsp" %>
<%//@ page errorPage="../ErrorPage.jsp" buffer="none"%>
<%
/* 最新公告 */
ServletContext sc = getServletContext();
SerialTable tableBulletin = (SerialTable) sc.getAttribute("tableBulletin");
Encoder encoder = tableBulletin.getEncoder();
Vector BulletinList = null;
BulletinList = tableBulletin.select("date_start<="+encoder.encode( getCurrDate())+" and date_end >= "+encoder.encode(getCurrDate())+"","sn desc");
/* 最新公告 */
//ServletContext sc = getServletContext();
//SerialTable tableActivity = (SerialTable) sc.getAttribute("tableActivity");
/**\u6D3B\u52D5**/
//SerialTable tableActivity = (SerialTable) sc.getAttribute("tableActivity");
Vector ActivityList = null;
String sql="date_sact <='"+new java.sql.Date(System.currentTimeMillis()).toString().replace('-','/')+"' and date_eact >='"+new java.sql.Date(System.currentTimeMillis()).toString().replace('-','/')+"'";
ActivityList = tableActivity.select(sql);
%>
遠雄航空自由貿易港區
<%!
public String getCurrDate() {
String currDate = new java.sql.Date(System.currentTimeMillis()).toString();
currDate = currDate.replace('-', '/');
return currDate;
}
%>