⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 edit_web_index.jsp

📁 电信的网厅的整站代码
💻 JSP
📖 第 1 页 / 共 2 页
字号:
<%@ 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="NGB007008";%>
<%
	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_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>修改WEB系统的首页</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>&nbsp;</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" align="center">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="5"></td>
      </tr>
    </table>
    <table width="770"  border="0" align="center" cellpadding="5" cellspacing="1" bgcolor="#647585">
    	<tr>
    		<td height="50" colspan="3" bgcolor="#FFFFFF" title="配置内页广告与左边业务图标" align="center">
    		<table width="100%" height="30" border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#CCCCCC">
      			<tr>
				<%
				  UpdateWebIndexConfig uwic = new UpdateWebIndexConfig();
				  DataTable dt = uwic.getPurviewUpdateMenu();
				  DataTable dt_con = null;
				  for (int i = 0; i < dt.getRows().getCount(); i++) {
							DataRow dr = dt.getRow(i);
							String PURVIEWCODE = dr.getString("PURVIEWCODE");//编码值
							String NAME = dr.getString("NAME");
							//子
							dt_con = uwic.getPurviewUpdateMenuContent(PURVIEWCODE);
							int num = dt_con.getRows().getCount();
							if(num>=1){
									out.println("<td valign=\"top\" bgcolor=\"#f5f5f5\"><b>"+NAME+"</b><br> ");
									for(int j = 0; j < num; j++){
											DataRow dr_con = dt_con.getRow(j);
											String PARAVALUE = dr_con.getString("PARAVALUE");//编码值
											String PARADESC = dr_con.getString("PARADESC");//名称
											out.print("<a href=\"edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID="+PARAVALUE+citycode3+"\">&raquo;"+PARADESC+"</a><br>");
									}
									out.println("</td>");
							}
				  }
				
				%>
			        <!--<td valign="top" bgcolor="#f5f5f5">新闻动态<br>          
			            <a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009003001<%=citycode3%>">上部banner</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009003002<%=citycode3%>">左边icon</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009003003<%=citycode3%>">左流动广告</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009003004<%=citycode3%>">右流动广告</a>
						</td>
						        <td valign="top" bgcolor="#f5f5f5">业务介绍<br>          
						          <a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009009002<%=citycode3%>">左边icon</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009009003<%=citycode3%>">左流动广告</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009009004<%=citycode3%>">右流动广告</a></td>
						        <td valign="top" bgcolor="#f5f5f5">自助服务<br>
						          <a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009004001<%=citycode3%>">上部banner</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009004002<%=citycode3%>">左边icon</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009004003<%=citycode3%>">左流动广告</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009004004<%=citycode3%>">右流动广告</a></td>
						        
						        <td valign="top" bgcolor="#f5f5f5">综合查询<br><a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009006001<%=citycode3%>">上部banner</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009006002<%=citycode3%>">左边icon</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009006003<%=citycode3%>">左流动广告</a><br>
						<a href="edit_image_file.jsp?TEXTORIMAGE=1&PARENT_ID=BBS009006004<%=citycode3%>">右流动广告</a></td>

⌨️ 快捷键说明

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