📄 informationdetailmusicright.jsp
字号:
<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic"%>
<%@ page import="com.longtime.wap.module.information.web.form.InformationEditForm" %>
<%@ page import="com.longtime.wap.module.information.common.InformationConstant" %>
<table width="750" border="0" align="center" class="TableBack">
<html:hidden name="informationEditForm" property="informationId"/>
<html:hidden name="informationEditForm" property="businessId"/>
<html:hidden name="informationEditForm" property="editFlug"/>
<html:hidden name="informationEditForm" property="filePath"/>
<html:hidden name="informationEditForm" property="businessName"/>
<html:hidden name="informationEditForm" property="searchValue"/>
<html:hidden name="informationEditForm" property="searchType"/>
<html:hidden name="informationEditForm" property="currentPage"/>
<%
InformationEditForm informationEditForm = (InformationEditForm) request.getAttribute(InformationConstant.INFORMATION_EDIT_FORM);
String editFlug = informationEditForm.getEditFlug();
%>
<th colspan="3">
<%
if ("edit".equalsIgnoreCase(editFlug)) {
%>
更改音乐信息
<%
} else if ("save".equalsIgnoreCase(editFlug)){
%>
新建音乐信息
<%
} else {
%>
音乐信息
<%
}
%>
</th>
<tr>
<td class="tborder"></td>
<td>
</td>
<td class="tborder"></td>
</tr>
<tr>
<td class="tborder"></td>
<td>
<table width="95%" align="center" border="1" class="TableBack">
<tr>
<td align="right">
业务名称 :
</td>
<td colspan="2">
<strong><bean:write name="informationEditForm" property="businessName"/></strong>
</td>
</tr>
<tr>
<td align="right">
音 乐 :
</td>
<td colspan="2">
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:text property="title"></html:text><html:errors property="title"/>
<FONT color="red">*</FONT>
<%
} else {
%>
<bean:write name="informationEditForm" property="title"/>
<%
}
%>
</td>
</tr>
<tr>
<td align="right">
单 价 :
</td>
<td>
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:text property="price"></html:text><html:errors property="price"/>
<FONT color="red">*</FONT> 元(人民币)
<%
} else {
%>
<bean:write name="informationEditForm" property="price"/> 元
<%
}
%>
</td>
<td>
热门
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:checkbox property="isHot"></html:checkbox>
<%
} else {
%>
<html:checkbox property="isHot" disabled="true"></html:checkbox>
<%
}
%>
推荐
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:checkbox property="isRecommend"></html:checkbox>
<%
} else {
%>
<html:checkbox property="isRecommend" disabled="true"></html:checkbox>
<%
}
%>
发布
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:checkbox property="isPub"></html:checkbox>
<%
} else {
%>
<html:checkbox property="isPub" disabled="true"></html:checkbox>
<%
}
%>
</td>
</tr>
<tr>
<td align="right">
歌 词 :
</td>
<td colspan="2">
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<html:textarea property="content" rows="10" cols="60"/> 字符个数请不要超过2000<html:errors property="content"/>
<%
} else if(informationEditForm.getContent()==null) {
%>
<textarea cols="90" rows="10" readonly="true"></textarea>
<%
} else {
%>
<textarea cols="90" rows="10" readonly="true"><%=informationEditForm.getContent()%></textarea>
<%
}
%>
</td>
</tr>
<tr>
<%
if (!"save".equalsIgnoreCase(editFlug)) {
%>
<td>
</td>
<td colspan="2">
<center>
<embed src="<%=informationEditForm.getFilePath()%>" weigth=200 height=40 loop="true">
</center>
</td>
<%
} else {
%>
<td align="right">
音乐上传 :
</td>
<td colspan="2"><html:file property="uploadFile"></html:file><html:errors property="uploadFile"/><font color="red">*</font></td>
<%
}
%>
</tr>
</table>
</td>
<td class="tborder"></td>
</tr>
<tr>
<td class="tborder"></td>
<td>
</td>
<td class="tborder"></td>
</tr>
<tr>
<td class="tborder"></td>
<td align="center">
<%
if ("edit".equalsIgnoreCase(editFlug) || "save".equalsIgnoreCase(editFlug)) {
%>
<input type="submit" name="save" value="保存">
<input type="reset" name="reset" value="重置">
<%
}
if ("save".equalsIgnoreCase(editFlug)){
%>
<input type="button" name="button" value="返回" onclick="window.location.href='informationAdd.do?method=listBusinesses'">
<%
} else {
%>
<input type="button" name="button" value="返回" onclick="formSubmit('informationForm', 'module/information/informationList.do?method=listInformation')">
<%
}
%>
</td>
<td class="tborder"></td>
</tr>
<tr>
<td colspan="3" class="tborder"></td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -