<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CMSIndex.aspx.cs" Inherits="CY.WebForm.Pages.common.CMSIndex" %>
|
|
<!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 id="Head1" runat="server">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
<title>四川印刷网-后台</title>
|
<!--框架必需start-->
|
<link href="/libs/css/import_basic.css" rel="stylesheet" type="text/css" />
|
<link href="/libs/skins/blue/style.css" rel="stylesheet" type="text/css" id="theme" themecolor="blue" />
|
<link href="skin/style.css" rel="stylesheet" type="text/css" id="skin" skinpath="/system/layout/skin/" />
|
|
<link rel="stylesheet" type="text/css" href="/css/crumbs.css"/>
|
<script type="text/javascript" src="/libs/js/jquery.js"></script>
|
<%--<script type="text/javascript" src="/libs/js/bsFormat.js"></script>--%>
|
<link href="/libs/css/import_basic.css" rel="stylesheet" type="text/css" />
|
<!--框架必需end-->
|
<!--引入弹窗组件start-->
|
<script type="text/javascript" src="/libs/js/popup/drag.js"></script>
|
<script type="text/javascript" src="/libs/js/popup/dialog.js"></script>
|
<!--引入弹窗组件end-->
|
<link href="/css/base.css" rel="stylesheet" type="text/css" />
|
<link href="/css/admin.css" rel="stylesheet" type="text/css" />
|
<script src="/js/utils/sM.js" type="text/javascript"></script>
|
<link href="/css/sM.css" rel="stylesheet" type="text/css" />
|
<script type="text/javascript">
|
$(document).ready(function () {
|
$("#ImgWait").css("top", parseInt($("#ShowWait").height()) / 2);
|
$("#ImgWait").css("left", (parseInt($("#ShowWait").width()) / 2) - 77);
|
|
});
|
//提示信息
|
function alertMsgsss(msg, callback) {
|
//top.Dialog.alert(msg + "|提示");
|
$("body").showMessage(msg, callback);
|
}
|
|
function showWaitDiv() {
|
$("#ShowWait").css("display", "block");
|
$("#ImgWait").css("display", "block");
|
}
|
|
function hideWaitDiv() {
|
$("#ShowWait").css("display", "none");
|
$("#ImgWait").css("display", "none");
|
}
|
function CloseDig() {
|
$("#_DialogDiv_0").remove();
|
$("#_DialogBGDiv").remove();
|
}
|
/*
|
重新加载方法
|
*/
|
window.ReLoad = function () {
|
var fram = document.getElementById('frmright');
|
var url = fram.contentWindow ? fram.contentWindow.location.href : fram.src + '';
|
url += (url.indexOf('?') > 0 ? '&' : '?') + 'date=' + new Date();
|
if (fram.contentWindow) {
|
fram.contentWindow.location = url;
|
} else {
|
fram.src = url;
|
}
|
}
|
|
|
$(function () {
|
// $("#NowMemberLoginName").click(function () {
|
// var abc = $(this).attr("url");
|
// $("#frmright").attr("src", abc);
|
// $(".headerNav").find("li").removeClass("hover");
|
// });
|
$(".headerNav").find("li").find("a").click(function () {
|
var abc = $(this).attr("url");
|
$("#frmlefto").attr("src", abc);
|
$(".headerNav").find("li").removeClass("hover");
|
$(this).parent().addClass("hover");
|
});
|
$("#frmlefto").attr("src", $(".headerNav").find("li").find("a").first().attr("url") + "&i=1");
|
|
$(".refresh").click(function () {
|
$("#frmright").attr("src", $("#frmright").attr("src"));
|
});
|
});
|
function AddFavorite(sURL, sTitle) {
|
try {
|
window.external.addFavorite(sURL, sTitle);
|
}
|
catch (e) {
|
try {
|
window.sidebar.addPanel(sTitle, sURL, "");
|
}
|
catch (e) {
|
alert("加入收藏失败,请使用Ctrl+D进行添加");
|
}
|
}
|
}
|
function SetHome(obj, vrl) {
|
try {
|
obj.style.behavior = 'url(#default#homepage)'; obj.setHomePage(vrl);
|
}
|
catch (e) {
|
if (window.netscape) {
|
try {
|
netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
|
}
|
catch (e) {
|
alert("此操作被浏览器拒绝!\n请在浏览器地址栏输入“about:config”并回车\n然后将 [signed.applets.codebase_principal_support]的值设置为'true',双击即可。");
|
}
|
var prefs = Components.classes['@mozilla.org/preferences-service;1'].getService(Components.interfaces.nsIPrefBranch);
|
prefs.setCharPref('browser.startup.homepage', vrl);
|
}
|
}
|
}
|
</script>
|
</head>
|
|
|
|
<body>
|
<div class="admin_header">
|
<div class="admin_headerIn1">
|
<div class="admin_headerIn2">
|
<div class="logo">
|
<h1>
|
<a title="主页" runat="server" id="NowMemberLoginName" style="color: White; cursor: default;"></a>
|
</h1>
|
<h2>
|
在线交易平台 <span style="font-size: 12px;">
|
<%=CY.Config.WebInfo.Instance.VersionNumber %></span></h2>
|
</div>
|
<div class="login_info">
|
<div id="breadcrumb">
|
|
</div>
|
|
|
<p>
|
<a href="/" target="_blank">网站首页</a> | <a href="/tool.html" target="_blank">工具助手</a> | <a onclick="SetHome(this,window.location)" style="cursor: pointer;">设为首页</a> | <a onclick="AddFavorite(window.location,document.title)" style="cursor: pointer;">加入收藏</a></p>
|
<p>
|
<a title="客户维护提醒" href="/Pages/business/CorporateClientsWiFuTiXingList.aspx"target="frmright"> 维护提醒</a>| <a href="/Pages/member/UpdatePassWord.aspx" target="frmright">修改密码</a> | <a href="/quit.html">退出</a></p>
|
<%-- <span class="numberCircle">5</span> --%>
|
|
</div>
|
|
<div class="headerName">
|
<span id="NowOrpear" runat="server" class="icon_user"></span>
|
</div>
|
<div class="headerNav">
|
<ul>
|
<%=MenusHtml %>
|
</ul>
|
</div>
|
</div>
|
</div>
|
</div>
|
<div id="content" class="admin_main" style="width: auto;">
|
<div class="admin_menu" style="background: none repeat scroll 0 0 #013E7F;">
|
<iframe scrolling="no" width="180px" frameborder="0" id="frmlefto" name="frmlefto" src="/Pages/common/CMSLeft.aspx" style="float: left;"></iframe>
|
<div class="openCloseDIVALL">
|
<div class="openCloseDIV">
|
</div>
|
<a href="javascript:;" id="openClose" style="float: left; outline-style: none; outline-color: invert; outline-width: medium;" hidefocus="hidefocus" class="opens" title="展开与关闭"><span class="hidden">展开</span></a>
|
</div>
|
</div>
|
<div class="admin_container">
|
<div class="admin_crumbs">
|
<div class="adminpath">
|
<strong>位置:</strong><span id="ParentsName">人事管理</span> >> <span id="SonName">工作提醒</span> <a class="refresh CP">[ 刷新 ]</a>
|
</div>
|
<div class="rightUser">
|
</div>
|
</div>
|
<div class="admin_content">
|
<iframe id="frmright" name="frmright" src="<%=CY.Infrastructure.Common.Utils.GetCookie("purl") %>" width="100%" frameborder="false" scrolling="auto" allowtransparency="true"></iframe>
|
</div>
|
</div>
|
<%--<div class="admin_footer">
|
四川川印包装股份有限公司 版权所有</div>--%>
|
</div>
|
<script type="text/javascript">
|
showWaitDiv();
|
var ifram = document.getElementById('frmright');
|
|
if (!Array.prototype.map)
|
Array.prototype.map = function (fn, scope) {
|
var result = [], ri = 0;
|
for (var i = 0, n = this.length; i < n; i++) {
|
if (i in this) {
|
result[ri++] = fn.call(scope, this[i], i, this);
|
}
|
}
|
return result;
|
};
|
|
var getWindowSize = function () {
|
return ["Height", "Width"].map(function (name) {
|
return window["inner" + name] ||
|
document.compatMode === "CSS1Compat" && document.documentElement["client" + name] || document.body["client" + name]
|
});
|
}
|
window.onload = function () {
|
if (! +"\v1" && !document.querySelector) { // for IE6 IE7
|
document.body.onresize = resize;
|
} else {
|
window.onresize = resize;
|
}
|
function resize() {
|
wSize();
|
document.getElementById("ShowWait").width = document.body.clientWidth;
|
document.getElementById("ShowWait").height = document.body.clientHeight;
|
var showWid = document.getElementById("ShowWait").width;
|
showWid = showWid / 2 - 69;
|
var showHei = document.getElementById("ShowWait").height;
|
showHei = showHei / 2 - 14;
|
$("#ImgWait").css("margin", "0px auto");
|
$("#ImgWait").css("left", showWid + "px");
|
$("#ImgWait").css("top", showHei + "px");
|
return false;
|
}
|
}
|
|
function wSize() {
|
//这是一字符串
|
var str = getWindowSize();
|
var strs = new Array(); //定义一数组
|
strs = str.toString().split(","); //字符分割
|
var heights = strs[0] - 130, Body = $('body');
|
var isIE = !!window.ActiveXObject;
|
|
//iframe.height = strs[0]-46;
|
var NDHWidth = 1192; //+166
|
if (strs[1] < NDHWidth) {
|
$('.admin_header').css('width', NDHWidth + 'px');
|
$('#content').css('width', NDHWidth + 'px');
|
Body.removeAttr("scroll");
|
$("html").css("overflow-x", "scroll");
|
Body.removeClass('objbody');
|
if (! +"\v1" && !document.querySelector) { // for IE6 IE7
|
$('#frmright').height(heights);
|
} else {
|
if (navigator.userAgent.indexOf("MSIE 9.0") > 0) {
|
$('#frmright').height(heights - 17);
|
} else if (navigator.userAgent.indexOf("MSIE 8.0") > 0) {
|
$('#frmright').height(heights);
|
} else {
|
$('#frmright').height(heights - 17);
|
}
|
}
|
} else {
|
$('.admin_header').css('width', 'auto');
|
$('#content').css('width', 'auto');
|
Body.attr('scroll', 'no');
|
$("html").removeAttr("style");
|
Body.addClass('objbody');
|
$('#frmright').height(heights);
|
}
|
var openClose = $("#frmright").height();
|
$('#center_frame').height(openClose + 27);
|
$("#openClose").height(openClose);
|
$("#frmlefto").height(openClose + 27);
|
windowW();
|
}
|
wSize();
|
|
function windowW() {
|
if ($('#frmlefto').height() < $("#admin_menu").height()) {
|
$(".scroll").show();
|
} else {
|
$(".scroll").hide();
|
}
|
}
|
windowW();
|
|
$("#openClose").click(function () {
|
if ($(this).data('clicknum') == 1) {
|
$("html").removeClass("on");
|
$(".admin_menu").removeClass("admin_menu_on");
|
$(this).removeClass("closes");
|
$(this).data('clicknum', 0);
|
$("#frmlefto").show();
|
} else {
|
$(".admin_menu").addClass("admin_menu_on");
|
$(this).addClass("closes");
|
$("html").addClass("on");
|
$(this).data('clicknum', 1);
|
$("#frmlefto").hide();
|
}
|
return false;
|
|
});
|
|
</script>
|
<div id="ShowWait">
|
</div>
|
<div id="ImgWait">
|
<div>
|
正在加载中...</div>
|
</div>
|
</body>
|
</html>
|