buildbatch.jsp

来自「移动彩信管理平台」· JSP 代码 · 共 116 行

JSP
116
字号
<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="../common/taglibs.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>生成批次</title>
<link href="${webctx}/css/style.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="<s:property value="#webctx"/>/js/disable.js"></script>
<script language="javascript" src="<s:property value="#webctx"/>/js/validate.js"></script>
<script language="javascript" src="<s:property value="#webctx"/>/js/fcnclander.js"></script>




</head>

<body>
<table width="98%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table border="0" align="left" cellpadding="0" cellspacing="0">
      <tr>
        <td width="8" align="left"><img src="${webctx}/images/pny_01.jpg" width="8" height="25" /></td>
        <td width="80" align="center" background="${webctx}/images/pny_bg.gif" class="psize3">生成批次</td>
        <td width="8" align="right"><img src="${webctx}/images/pny_02.jpg" width="8" height="25" /></td>
      </tr>
    </table></td>
  </tr>
</table>


<table width="98%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
  
  <form action="${webctx}/batchbuild.do" name="form1">
  <tr>
    <td width="10%" height="20" align="right" valign="middle" bgcolor="#FFFFFF">栏目:    </td>
    <td width="90%" align="left" valign="middle" bgcolor="#FFFFFF">
    <s:select theme="simple" name="mmsType" list="typeList" listKey="sort_index" listValue="sort_name" headerKey="-0-" headerValue="所有栏目"  cssStyle="WIDTH: 130px"></s:select>
&nbsp;&nbsp;预订下发日期:
<input type="text" name="startDate" CLASS="txtInp" readonly="true" size="10" maxlength="10" value="<s:date name="date" format="yyyy-MM-dd"/>" />
      <input class="sBtn" type="button" name="selectStartDate" size="20" value="选择日期"  onclick="fPopCalendar(startDate,startDate)"  style="cursor:hand">

      &nbsp;&nbsp;~&nbsp;&nbsp;
      <input type="text" name="endDate" CLASS="txtInp" readonly="true" size="10" maxlength="10" value="<s:date name="date" format="yyyy-MM-dd"/>"/>
      <input class="sBtn" type="button" name="selectEndDate" size="20" value="选择日期"  onclick="fPopCalendar(endDate,endDate)"  style="cursor:hand">
	&nbsp;&nbsp;&nbsp;<input name="Submit3" type="submit" class="pal" value="查询" />
</td>
  </tr>
 </form>	
 	
 	
  <tr>
    <td height="20" colspan="2" align="center" bgcolor="#FFFFFF"><table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
      <tr>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">彩信ID</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">彩信标题</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">栏目</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">CP</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">预订下发时间</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">状态</td>
        <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">操作</td>
        </tr>
  
        <s:if test="list!=null">
        <s:iterator value="list" status="status">
        <tr>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="mmsId"/></td>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="title"/><input type="hidden" name="title" value="<s:property value="title"/>" /></td>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="type"/><input type="hidden" name="type" value="<s:property value="type"/>" /></td>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="cp"/><input type="hidden" name="cp" value="<s:property value="cp"/>" /></td>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="sentTime"/><input type="hidden" name="sentTime" value="<s:property value="sentTime"/>" /></td>
        	<td height="20" align="center" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> ><s:property value="statezh" escape="false" /></td>
        	<td height="20" align="left" <s:if test="#status.even==true">bgcolor="#CEE8EA"</s:if><s:else>bgcolor="#F3F3F3"</s:else> >
        	【<a href="">查看</a>】
        	<s:if test="${state}==0">
        	【<a href="${webctx}/jsp/buildBatchDetail.jsp?type=<s:property value="type"/>&&mmsId=<s:property value="mmsId"/>&&title=<s:property value="title"/>&&sentTime=<s:property value="sentTime"/>&&type_index=<s:property value="type_index"/>">生成批次</a>】
        	</s:if>
        	</td>
        </tr>
      	</s:iterator>
     
    </table>
      <table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td align="right">&nbsp;</td>
        </tr>
      </table>
      <table width="99%" border="0" cellspacing="1" cellpadding="1" style="border:1px solid #5C92B7;">
        
        <tr>
          <td height="18" colspan="8" align="right" bgcolor="#A6D5D9">
          	<s:property value="href" escape="false"/>
          </td>
        </tr>
      </table>     
       </s:if>
       
     
    </td>
  </tr>
</table>
</body>
</html>


<script type="text/javascript">


<!--
	<s:if test="startDate!=null">
		document.form1.startDate.value = '<s:property value="startDate"/>';
		document.form1.endDate.value = '<s:property value="endDate"/>';
 	</s:if>

//-->
</script>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?