?? bulletinmodify.jsp
字號:
<%@ page contentType="text/html;charset=GB2312" language="java" %>
<%@ taglib uri="struts-bean" prefix="bean" %>
<%@ taglib uri="struts-html" prefix="html" %>
<%@ taglib uri="struts-logic" prefix="logic" %>
<%@ taglib uri="shop" prefix="shop"%>
<%@ page import="com.publish.shop.util.javabeans.Utility" %>
<%
String contextPath = request.getContextPath();
String confirmMsg = Utility.getMessage("label.delete.Confirm");
%>
<html:html>
<HEAD>
<TITLE>
</TITLE>
<script language="JavaScript" src="<%=contextPath%>/js/Utility.js"></script>
<script language="javaScript">
var winOpenedArr = new Array();
function search(){
document.forms[2].strutsAction.value="0";
document.forms[2].submit();
}
function modify(){
document.forms[2].strutsAction.value="4";
document.forms[2].submit();
}
function deleteBulletin(){
if(confirm("<%=confirmMsg%>")){
document.forms[2].action="/shop/bulletin/delete.do";
document.forms[2].submit();
}
}
</script>
<META content="text/html; charset=gb2312" http-equiv=Content-Type><LINK
href="<%=contextPath%>/css/pub.css" rel=stylesheet type=TEXT/CSS>
<META content="MSHTML 5.00.3819.300" name=GENERATOR>
</HEAD>
<BODY bgColor=#ffffff leftMargin=0 topMargin=0 MARGINHEIGHT="0" MARGINWIDTH="0">
<shop:menu/>
<table>
<td vAlign=top>
<%@ include file="../side.jsp"%>
</td>
<html:form action="/bulletin/modify.do">
<html:hidden property="strutsAction"/>
<html:hidden property="deleteBulletinId"/>
<!-- middle-part begin -->
<TD vAlign="top" align="left" width=100%>
<!-- middle-top part -->
<TABLE WIDTH=525 BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD><B><FONT COLOR="#0033CC">公告修改</FONT></B><IMG SRC="<%=contextPath%>/images/arrow.gif" BORDER=0></TD>
<TD ALIGN="right"><A HREF="javascript:this.location.reload();">刷新</A></TD>
</TR>
<TR BGCOLOR="#000000">
<TD COLSPAN="2"><IMG SRC="<%=contextPath%>/images/dot.gif" WIDTH="1" HEIGHT="1" BORDER=0 ALT=""></TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<!-- middle-middle part -->
<br>
<!-- middle-bottom part -->
<TABLE WIDTH="525" BORDER="1" CELLSPACING="0" CELLPADDING="3" ALIGN="left" BORDERCOLORDARK="#FFFFFF" BORDERCOLORLIGHT="#666666">
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1"><FONT COLOR="#FF0000">標題:</TD>
<TD WIDTH="75%">
<html:text property="bulletinTitle" size="50" maxlength="100" />
</TD>
</TR>
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1"><FONT COLOR="#FF0000">添加日期:</TD>
<TD WIDTH="75%">
<html:text property="inputDate" styleClass="Standard-InputCN" size="30" maxlength="30" readonly="true"/>
</TD>
</TR>
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">更新日期:</TD>
<TD WIDTH="75%">
<html:text property="updateDate" styleClass="Standard-InputCN" size="30" maxlength="30" readonly="true"/>
</TD>
</TR>
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">添加管理員姓名:</TD>
<TD WIDTH="75%">
<html:text property="inputUserName" styleClass="Standard-InputCN" size="30" maxlength="30" readonly="true"/>
</TD>
</TR>
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">訪問量:</TD>
<TD WIDTH="75%">
<html:text property="bulletinPoint" styleClass="Standard-InputCN" size="30" maxlength="30" readonly="true"/>
</TD>
</TR>
<TR>
<TD WIDTH="25%" ALIGN="RIGHT" BGCOLOR="#e1e1e1">內容簡介:</TD>
<TD WIDTH="75%">
<html:textarea property="bulletinBody" styleClass="Standard-InputCN" cols="50" rows="8"/>
</TD>
</TR>
<TR ALIGN="CENTER" BGCOLOR="#999999">
<TD COLSPAN="2">
<input type="button" class="Standard-ButtonCN" value="<bean:message key="label.modify"/> " onclick="return modify();">
<input type="button" class="Standard-ButtonCN" value="刪除" onclick="return deleteBulletin();">
<input type="button" class="Standard-ButtonCN" value="返回" onclick="javascript:history.go(-1);">
</TD>
</TR>
</TABLE>
<BR>
<TR>
<TABLE WIDTH=100% BORDER=0 CELLSPACING=0 CELLPADDING=0>
<TR>
<TD BACKGROUND="<%=contextPath%>/images/gotop_bg.gif"><A HREF="#top"><IMG SRC="<%=contextPath%>/images/gotop.gif" BORDER="0"></A></TD>
</TR>
</TABLE>
<TR>
<!-- middle-part end -->
</td>
</html:form>
<!-- foot begin -->
<CENTER><TABLE>
<TR>
<TD class=txt>版權所有| 法律聲明| 聯系我們 </TD>
</TR>
</TABLE></CENTER>
<BR>
</table>
</body>
</html:html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -