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

📄 update_imagespage.jsp

📁 电信的网厅的整站代码
💻 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.upload.*"%>
<style type="text/css">
<!--
body {
	margin-top: 0px;
}
-->
</style>
<style>
.botton {
font-size: 12px;
color: #804000;
BORDER-RIGHT: #666666 1px solid;
BORDER-TOP: #666666 1px solid;
 BORDER-LEFT: #666666 1px solid;
  BORDER-BOTTOM: #666666 1px solid;
BACKGROUND-COLOR: #ffffff;
}
.add_zl {
	font-size: 12px;
	line-height: 18px;
	color: #333333;
	text-decoration: none;
}

body {
	margin-top: 0px;
}
.biaoti {
	font-size: 12px;
	color: #FFFFFF;
	text-decoration: none;
}
.style4 {
	color: #FF0000;
	font-weight: bold;
	font-size: 12px;
}
</style>
<%
       String action = request.getParameter("action");
       String str = (String)request.getParameter("name");
	   String code = (String)request.getParameter("code");
	   String desc = (String)request.getParameter("desc");

       if("del".equals(action)){
			ModuleConfig mc = TemplateFactory.getModuleConfig(code);        
			mc.removePage(str);
			TemplateFactory.saveConfig();
		}
		if("update".equals(action)){
			ModuleConfig mc = TemplateFactory.getModuleConfig(code);        
				mc.updatePage(str,desc);
				TemplateFactory.saveConfig();
		}
		
%>

<link href="../../common/style/main.css" rel="stylesheet" type="text/css" />
<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 align="left" valign="middle" id="ibtnaddResearch"  title="" onclick="return fnToolAddResearch();" defaultclass="btnDefault" overclass="btnOver" downclass="btnDown"><table width="100%"  border="0" cellpadding="0" cellspacing="1" class="add_zl">
      <tr>
        <td height="27" bgcolor="#f5f5f5">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a href="edit_web_index.jsp">返回修改首页导航</a></td>
      </tr>
    </table></td>
  </tr>
</table>
<table width="300" border="0" align="center" cellpadding="0" cellspacing="0" class="add_zl">
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center">正在执行您的操作,请稍候!!!</td>
  </tr>
  <tr>
    <td align="center"><span id=BackSecs class="style4"></span></td>
  </tr>
</table>

<script>

function countDown(Secs) {
    BackSecs.innerText=Secs;
    if(Secs>0) {
        setTimeout("countDown("+Secs+"-1)",1000);
    }
    else {
        window.location="config_index.jsp?code=<%=code%>";

    }
}
countDown(5);

</script>

⌨️ 快捷键说明

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