📄 edit_webdsk_index.jsp
字号:
<%@ page contentType="text/html; charset=GBK" language="java" errorPage=""%>
<%request.setCharacterEncoding("GBK");%>
<%@ page import="java.text.*"%>
<%@ page import="com.doone.webtemplate.*"%>
<%@ page import="java.util.*"%>
<%@ page import="com.doone.util.FileLogger"%>
<%@ page import="com.doone.data.*"%>
<%@ page import="com.doone.upload.*"%>
<%@ page import="com.doone.fj1w.common.UpdateWebIndexConfig"%>
<%@ page import="com.doone.uurm.WebAuth"%>
<%String sPurvICode="NGB009011";%>
<%
WebAuth auth = WebAuth.getInstance(request);
if ( ! auth.IsAuthed() ) {
out.write("<script language=\"javascript\">self.parent.location.replace(\"" + request.getContextPath() + "/view/login/login.jsp" + "\");</script>");
return;
}
else if ( ! auth.CheckPurv(sPurvICode) ) {
out.write("<script language=javascript src=\"../../common/script/RightForbidden.js\"></script>");
return;
}
String citycode="";
if(auth.getCityCode()==null || auth.getCityCode().equals(""))
citycode = "0590";
else
citycode = auth.getCityCode();
String citycode3 = citycode.substring(1,4);
%>
<html>
<head>
<script language="JavaScript" src="../../common/script/ChangeStyle.js"></script>
<script language="JavaScript" src="../../common/mainTool.js"></script>
<script language="JavaScript">
//function fn_select(){
// if(this.options[selectedIndex].value==dsk){aaa.style.display=""; bbb.style.display="none";}
// if(this.options[selectedIndex].value==zqk){bbb.style.display=""; aaa.style.display="none";}
//}
function fn_dskzqk() {
if(dsk.checked)
{aaa.style.display="";bbb.style.display="none"}
if(zqk.checked)
{aaa.style.display="none";bbb.style.display=""}
}
function fn_onload() {
window.setTimeout("cltScript_Toolbar();",30);
}
function cltScript_Toolbar() {
if ( self.parent != self ){
var pel = parent.document.all.tags("frame");
for ( i=0; i< pel.length; i++)
{
if ( pel(i).name == "main") {
divTop.style.width = pel(i).width;
divMain.style.width = pel(i).width;
divMain.style.height = pel(i).height - divTop.clientHeight;
}
}
}
}
</script>
<title>修改大商客系统的首页</title>
<style type="text/css">
<!--
.add_zl {
font-size: 12px;
line-height: 18px;
color: #333333;
text-decoration: none;
}
.STYLE1 {
color: #FF0000;
font-weight: bold;
}
-->
</style>
<link href="../../common/style/main.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
-->
</style>
</head>
<body style="margin: 0" onLoad="fn_onload();">
<div onresize="cltScript_Toolbar();" style="width: 100%">
<div id="divTop" style="overflow: hidden" class="add_zl">
<table id="ibtnPanel" style="font-size: 9pt; border-bottom: #efefef 1px outset" cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr bgcolor="#efefef" height="33">
<td> </td>
</tr>
</table>
<jsp:include page="../../common/inc_top.jsp" >
<jsp:param name="purvCode" value="<%=sPurvICode%>"/>
</jsp:include>
</div>
<div id="divMain" style="overflow: auto">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="5"></td>
</tr>
</table>
<table width="770" border="0" cellpadding="5" cellspacing="1" bgcolor="#647585">
<tr>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="OuterTable">
<tr>
<td width="100%" colspan="2" class="OuterHead" align="left"> <span id="ItemTitle"><font face="webdings">8</font>请选择:</span>
<input type="radio" id="dsk" name="querymode" checked="checked" value="dsk" onclick="fn_dskzqk();">
<label for="dsk" id="ItemTitle">大商客</label>
<input type="radio" id="zqk" name="querymode" value="zqk" onclick="fn_dskzqk();">
<label for="zqk" id="ItemTitle">政企客</label>
</td>
</tr>
<tr>
<span id="aaa" style="display:'';">
<tr>
<table border="1">
<table>
<tr><font size="3" style="color:red; ">大商客首页配置 :</font></tr>
<hr width="100%">
<tr><font size="2">大商客首页大广告:</font></tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" title="配置大商客首页大广告" ><a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009DSK001001<%=citycode3%>&ACTION=DSKZQK"><img src="../../common/images/banner_3.gif" width="640" height="75" border="0"></a></td>
</tr>
</table>
<table>
<tr><font size="2">大商客首页左边广告:</font></tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" title="配置大商客首页左边广告" ><a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009DSK001002<%=citycode3%>&ACTION=DSKZQK"><img src="../../common/images/banner_3.gif" width="450" height="75" border="0"></a></td>
</tr>
</table>
</table>
</tr>
</span>
</tr>
<tr>
<span id="bbb" style="display:none;">
<tr>
<table border="1">
<table>
<tr><font size="3" style="color:red; ">政企客户首页配置 :</font></tr>
<hr width="100%">
<tr><font size="2">政企客户首页大广告:</font></tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" title="配置政企客户首页大广告" ><a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009ZQK001001<%=citycode3%>&ACTION=DSKZQK"><img src="../../common/images/banner_3.gif" width="640" height="75" border="0"></a></td>
</tr>
</table>
<table>
<tr><font size="2">政企客户首页左边广告:</font></tr>
<tr>
<td colspan="3" bgcolor="#FFFFFF" title="配置政企客户首页左边广告" ><a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009ZQK001002<%=citycode3%>&ACTION=DSKZQK"><img src="../../common/images/banner_3.gif" width="450" height="75" border="0"></a></td>
</tr>
</table>
</table>
</tr>
</span>
</tr>
</table>
</tr>
</table>
</div>
</div>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -