boraddown.jsp

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

JSP
113
字号
<%@ page contentType="text/html;charset=utf-8"%>
<%@ include file="../common/taglibs.jsp"%>

<html>
<head>
<link href="${webctx}/css/style.css" rel="stylesheet" type="text/css" />
<script language="javaScript" src="${webctx}/js/validate.js"></script>
<script language="javaScript" src="${webctx}/js/fcnclander.js"></script>
<script type="text/javascript">
function checkMsg(){
       if(document.getElementById("st").value==""){
           alert("请选择时间");
           return false;
       }
       document.frm.submit();  
   }
function getForm_Value(){
    if(document.frm.mmsType.value==""){
             document.frm.mmsType.value="${mmsType}";
      }
     if(document.frm.startDate.value==""){
             document.frm.startDate.value="${startDate}";
      }
}
function creatework(){
  	if(document.getElementById("st").value==""){
           alert("请选择时间");
           return false;
       }
  	if(window.confirm("确定吗?")){
  		window.open("${webctx}/jsp/informationCreate.jsp?mmsType="+document.frm.mmsType.value+"&startDate="+document.frm.startDate.value);
  	}
  
}
</script>
</head>

<body onLoad="getForm_Value();">

<table width="98%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
  <tr>
    <td height="20" align="center" bgcolor="#FFFFFF">
<form name="frm" action="${webctx}/checkInformation.do" method="post">
 <s:if test="${!empty volumeList}">
 <table width="99%" border="0" cellspacing="1" cellpadding="4" >
        <tr>
          <td height="20" align="left" bgcolor="#FFFFFF" class="psize4">点播排行榜查询:</td>
        </tr>
        <tr>
          <td height="20" align="left" bgcolor="#FFFFFF">栏目:
        <s:select theme="simple" name="mmsType" list="volumeList" listKey="sortIndex" listValue="sortName"  headerKey="" headerValue="所有栏目" cssStyle="WIDTH: 130px">
        </s:select>       
<input type="text" id="st" name="startDate" CLASS="txtInp" readonly="true" size="10" maxlength="10" <%if(request.getAttribute("startdate")!=null){%>
						value="<%=request.getAttribute("startdate")%>" <%}%>/>
<input class="sBtn" type="button" name="selectStartDate" size="20" value="选择日期"  onclick="fPopCalendar(startDate,startDate)"  style="cursor:hand">
<input  type="button" class="pal" value="确定" onclick="checkMsg();"/>
<input  type="reset" class="pal" value="重置"/>
<input  type="button" class="pal" value="数据导出" onclick="creatework();"/></td>
        </tr>
</table>
</s:if>
</form>

<table width="99%" border="0" cellspacing="1" cellpadding="4" style="border:1px solid #5C92B7;">
        <tr>
          <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">排名</td>
          <td height="20" align="center" bgcolor="#A6D5D9" class="psize4">ID</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 align="center" bgcolor="#A6D5D9" class="psize4">总点播</td>
          <td align="center" bgcolor="#A6D5D9" class="psize4">短信点播</td>
          <td align="center" bgcolor="#A6D5D9" class="psize4">网站点播</td>
          <td align="center" bgcolor="#A6D5D9" class="psize4">查看</td>
        </tr>
        <s:iterator value="boardList">
        <tr>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="ordeyId"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="id"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="cpName"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="sortName"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="title"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD">
            <s:property value="total"/>
          </td>
          <td height="20" align="center" bgcolor="#F2FAFD"><s:property value="total"/></td>
          <td height="20" align="center" bgcolor="#F2FAFD">0</td>
          <td height="20" align="center" bgcolor="#F2FAFD">【<a href="#">查看</a>】</td>
        </tr>
        </s:iterator>
        <tr align="right" > <td colspan="9" align="right">
  			<s:property value="href" escape="false"/>
        </td>
        </tr>
        
      </table>

      <table width="99%" border="0" cellspacing="1" cellpadding="1">
      </table></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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