📄 reg.jsp
字号:
<%@ page contentType="text/html;charset=GBK"%>
<%@ include file="/inc/pv/user.jsp"%>
<%@ include file="/inc/public/msg.jsp"%>
<%
String strOfficeStyle = site.bean.SitePara.strVirtualName + "/member/" + igec.util.CookieUtil.getCookieValue(request,site.bean.SitePara.strCookieUserTheme,"stand");
String strPosId = igec.util.Tool.getStr(request.getParameter("posid"));
String strPosTypeTemp = igec.util.Tool.getStr(request.getParameter("posType"));
if(igec.util.Tool.IsEmpty(strPosTypeTemp)){
strPosTypeTemp="";
}
%>
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=GBK" />
<title> 会员办公室--<%=site.bean.SitePara.strWebTitle%> </title>
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/content.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/tree.css" type="text/css" />
<link rel="stylesheet" rev="stylesheet" href="<%=strOfficeStyle%>/css/mainframe.css" type="text/css" />
<script type="text/javascript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/tree.jsp?baseurl=<%=strOfficeStyle%>"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/xmlhttp.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/public.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/js/check.js"></script>
<script language="JavaScript" src="<%=site.bean.SitePara.strVirtualName%>/member/js/public.js"></script>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/js/CalendarDlg.js"></script>
<script language="javascript">
<!--
function PageCheck(loForm){
if(!Check(loForm)) return false;
return true;
}
function getTimeInfo(){
var loObj = getObject("posId");
if(loObj==null){
alert("请选择相应的广告位置!");
return;
}
__XmlHttpPool__.PostRemoteData("<%=site.bean.SitePara.strVirtualName%>/member/ad.do?action=time&nr="+Math.random(),on_Ajax_GetTime,"iid=<%=strMenuId%>&posid="+loObj.value);
}
function on_Ajax_GetTime(strResult){
getObject("timeRange").innerHTML = " <font color=\"#FF0000\">" + strResult + "</font>";
}
function onChangeAdPosList(strContent){
getObject("adPosDiv").innerHTML = strContent;
}
function onChangeAdPosType(loObj){
if(loObj.value!=""){
__XmlHttpPool__.PostRemoteData("<%=site.bean.SitePara.strVirtualName%>/dynamic/inc/adpostype.jsp?pt=" + loObj.value + "&mr="+Math.random(),function onGetData(strContent){onChangeAdPosList(strContent);},"");
}else{
getObject("adPosDiv").innerHTML = "";
}
}
function init(){
<%if(!igec.util.Tool.IsEmpty(strPosTypeTemp)){%>
//alert("1= <%=strPosTypeTemp%>");
SetSelValue("posType","<%=strPosTypeTemp%>");
SetSelValue("posId","<%=strPosId%>");
<%}%>
//alert("2 = <%=strPosTypeTemp%>");
}
//-->
</script>
<link rel="shortcut icon" href="<%=site.bean.SitePara.strVirtualName%>/favicon.ico">
</head>
<body onload="init()">
<%@ include file="../top.jsp"%>
<div id="screen">
<!--content-->
<div id="contentfloat">
<div id="content">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="TableTopLine"></td>
</tr>
</table>
<table border="0" name="objBody" id="objBody" width="100%" cellpadding="2" cellspacing="1" align="center" class="TableContent">
<form action="<%=site.bean.SitePara.strVirtualName%>/member/ad.do?action=reg&iid=<%=strMenuId%>" method="post" name="form1" onsubmit="return PageCheck(this);" target="_Igec_Ad_RunForm">
<tr>
<td colspan="2" valign="middle" ><span class="TableHeader"> <img src="<%=strOfficeStyle%>/images/tit.gif" width="35" height="35" align="absmiddle">广告申请</span>(带*号为必填项)</td>
</tr>
<tr height="30">
<td nowrap width="10%" class="TableData" valign="top"> 申请广告位:</td>
<td class="TableData" valign="top">
<%if(igec.util.Tool.IsEmpty(strPosId)){%>
<select name="posType" id="posType" label="广告位类别" onchange="onChangeAdPosType(this);">
<option value="">请选择广告位类别</option>
<script language="javascript" src="<%=site.bean.SitePara.strVirtualName%>/static/js/adpostype.js"></script>
</option>
</select>
<span name="adPosDiv" id="adPosDiv"></span> <font color="#FF0000">*</font>
<%}else{%>
<span name="recName" id="recName"><%=igec.site.base.business.DataUtilBusiness.getFieldValue("TITLE","TAB_SYSADPOS","WHERE ID='"+strPosId+"'")%></span>
<input type="hidden" name="posId" id="posId" value="<%=strPosId%>">
<%}%> <a href="javascript:" onclick="javascript:getTimeInfo();">检测已申请时间段</a>
<span name="timeRange" id="timeRange"></span>
</td>
</tr>
<tr>
<td nowrap class="TableData"> 管理时间段:</td>
<td class="TableData">
<input type="text" label="开始管理日期" EmptyDisable size="10" ValueFormat="date" name="startDate" id="startDate"> <img src="<%=strOfficeStyle%>/images/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',getObject('startDate'));"> 至 <input type="text" label="管理结束日期" EmptyDisable size="10" ValueFormat="date" name="endDate" id="endDate"> <img src="<%=strOfficeStyle%>/images/calendar.gif" border="0" align="absMiddle" style="cursor:hand" onclick="fPopUpCalendarDlg('<%=igec.site.base.bean.SitePara.strVirtualName%>',getObject('endDate'));"> <font color="#FF0000">*</font>
</td>
</tr>
<tr>
<td nowrap class="TableData"> 补充说明:</td>
<td class="TableData">
<textarea name="intro" label="补充说明" onchange="return CheckLength(this,120);" cols="60" rows="8"></textarea>
<BR>
不超过120个汉字
</td>
</tr>
<tr align="center">
<td colspan="2" nowrap class="TableControl">
<input type="submit" value="提交申请" title="提交此广告位的管理申请">
<input type="reset" value="重新填写" >
</td>
</tr>
</form>
</table>
<iframe id="_Igec_Ad_RunForm" name="_Igec_Ad_RunForm" src="" width="0" height="0" style="display:none"></iframe>
<br />
<br />
</div>
</div>
<!--end/content-->
<!--left-->
<div id="leftmenu">
<!--menu-->
<div id="tree1"></div>
<!--end/menu-->
</div>
<!--end/left-->
</div>
<script language="javascript" src="<%=strOfficeStyle%>/menu.jsp?iid=<%=request.getParameter("iid")%>"></script>
<script type="text/javascript">treeInit();</script>
<%@ include file="../bot.jsp"%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -