行 1: #pragma checksum "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "C01C5A251490D28295967647C06046F607DA5D8C"
行 2: //------------------------------------------------------------------------------
行 3: // <auto-generated>
行 4: // 此代码由工具生成。
行 5: // 运行时版本:4.0.30319.42000
行 6: //
行 7: // 对此文件的更改可能会导致不正确的行为,并且如果
行 8: // 重新生成代码,这些更改将会丢失。
行 9: // </auto-generated>
行 10: //------------------------------------------------------------------------------
行 11:
行 12: namespace ASP {
行 13:
行 14: #line 389 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 15: using System.Linq;
行 16:
行 17: #line default
行 18: #line hidden
行 19:
行 20: #line 396 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 21: using System.Web.Security;
行 22:
行 23: #line default
行 24: #line hidden
行 25:
行 26: #line 2 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 27: using System.Collections.Generic;
行 28:
行 29: #line default
行 30: #line hidden
行 31:
行 32: #line 391 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 33: using System.Text.RegularExpressions;
行 34:
行 35: #line default
行 36: #line hidden
行 37:
行 38: #line 5 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 39: using ToHi.Qx.EIP.Common;
行 40:
行 41: #line default
行 42: #line hidden
行 43:
行 44: #line 399 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 45: using System.Web.UI.WebControls;
行 46:
行 47: #line default
行 48: #line hidden
行 49:
行 50: #line 402 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 51: using System.Xml.Linq;
行 52:
行 53: #line default
行 54: #line hidden
行 55:
行 56: #line 398 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 57: using System.Web.UI;
行 58:
行 59: #line default
行 60: #line hidden
行 61:
行 62: #line 383 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 63: using System;
行 64:
行 65: #line default
行 66: #line hidden
行 67:
行 68: #line 401 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 69: using System.Web.UI.HtmlControls;
行 70:
行 71: #line default
行 72: #line hidden
行 73:
行 74: #line 392 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 75: using System.Web;
行 76:
行 77: #line default
行 78: #line hidden
行 79:
行 80: #line 384 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 81: using System.Collections;
行 82:
行 83: #line default
行 84: #line hidden
行 85:
行 86: #line 388 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 87: using System.Configuration;
行 88:
行 89: #line default
行 90: #line hidden
行 91:
行 92: #line 387 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 93: using System.ComponentModel.DataAnnotations;
行 94:
行 95: #line default
行 96: #line hidden
行 97:
行 98: #line 3 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 99: using System.Text;
行 100:
行 101: #line default
行 102: #line hidden
行 103:
行 104: #line 397 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 105: using System.Web.Profile;
行 106:
行 107: #line default
行 108: #line hidden
行 109:
行 110: #line 393 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 111: using System.Web.Caching;
行 112:
行 113: #line default
行 114: #line hidden
行 115:
行 116: #line 4 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 117: using System.Data;
行 118:
行 119: #line default
行 120: #line hidden
行 121:
行 122: #line 400 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 123: using System.Web.UI.WebControls.WebParts;
行 124:
行 125: #line default
行 126: #line hidden
行 127:
行 128: #line 386 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 129: using System.Collections.Specialized;
行 130:
行 131: #line default
行 132: #line hidden
行 133:
行 134: #line 395 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 135: using System.Web.SessionState;
行 136:
行 137: #line default
行 138: #line hidden
行 139:
行 140: #line 394 "C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config\web.config"
行 141: using System.Web.DynamicData;
行 142:
行 143: #line default
行 144: #line hidden
行 145:
行 146:
行 147: [System.Runtime.CompilerServices.CompilerGlobalScopeAttribute()]
行 148: public class unite_eip_aspx_tohi_usercenter_aspx : global::ToHi.Qx.EIP.WebUI.Page.usercenter, System.Web.SessionState.IRequiresSessionState, System.Web.IHttpHandler {
行 149:
行 150: private static bool @__initialized;
行 151:
行 152: private static object @__fileDependencies;
行 153:
行 154:
行 155: #line 7 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 156:
行 157: override protected void OnInit(EventArgs e)
行 158: {
行 159:
行 160: /*
行 161: This page was created by ToHi.Qx.EIP Template Engine at 2022/5/26 10:43:06.
行 162: 本页面代码由ToHi.Qx.EIP模板引擎生成于 2022/5/26 10:43:06.
行 163: */
行 164:
行 165: base.OnInit(e);
行 166: StringBuilder templateBuilder = new StringBuilder(220000);
行 167: templateBuilder.Append("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\r\n<html xmlns=\"http://www.w3.org/1999/xhtml\">\r\n<head>\r\n <title>系统演示 - ");
行 168: templateBuilder.Append(Utils.ObjectToStr(config.webname));
行 169: templateBuilder.Append("</title>\r\n <link rel=\"shortcut icon\" href=\"");
行 170: templateBuilder.Append("/unite_eip/templates/tohi");
行 171: templateBuilder.Append("/images/A001.png\" type=\"image/x-icon\" />\r\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=EmulateIE8\" />\r\n <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\" />\r\n <meta content=\"");
行 172: templateBuilder.Append(Utils.ObjectToStr(config.webkeyword));
行 173: templateBuilder.Append("\" name=\"keywords\" />\r\n <meta content=\"");
行 174: templateBuilder.Append(Utils.ObjectToStr(config.webdescription));
行 175: templateBuilder.Append("\" name=\"description\" />\r\n <script type=\"text/javascript\" src=\"");
行 176: templateBuilder.Append("/unite_eip/templates/tohi");
行 177: templateBuilder.Append("/js/jquery.js\"></");
行 178: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 179: templateBuilder.Append("/unite_eip/templates/tohi");
行 180: templateBuilder.Append("/js/jquery.SuperSlide.2.1.js\"></");
行 181: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 182: templateBuilder.Append("/unite_eip/templates/tohi");
行 183: templateBuilder.Append("/js/lib.js\"></");
行 184: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 185: templateBuilder.Append("/unite_eip/templates/tohi");
行 186: templateBuilder.Append("/js/index.js\"></");
行 187: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 188: templateBuilder.Append("/unite_eip/templates/tohi");
行 189: templateBuilder.Append("/js/login_validate.js\"></");
行 190: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 191: templateBuilder.Append("/unite_eip/templates/tohi");
行 192: templateBuilder.Append("/js/base.js\"></");
行 193: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 194: templateBuilder.Append("/unite_eip/templates/tohi");
行 195: templateBuilder.Append("/js/scrolltopcontrol.js\"></");
行 196: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 197: templateBuilder.Append("/unite_eip/templates/tohi");
行 198: templateBuilder.Append("/js/jquery.pagination.js\"></");
行 199: templateBuilder.Append("script>\r\n\r\n <link href=\"");
行 200: templateBuilder.Append("/unite_eip/templates/tohi");
行 201: templateBuilder.Append("/css/fancybox.css\" rel=\"stylesheet\" />\r\n <link rel=\"stylesheet\" href=\"");
行 202: templateBuilder.Append("/unite_eip/templates/tohi");
行 203: templateBuilder.Append("/css/cui.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 204: templateBuilder.Append("/unite_eip/templates/tohi");
行 205: templateBuilder.Append("/css/lib.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 206: templateBuilder.Append("/unite_eip/templates/tohi");
行 207: templateBuilder.Append("/css/index.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 208: templateBuilder.Append("/unite_eip/templates/tohi");
行 209: templateBuilder.Append("/css/yx_rotaion.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 210: templateBuilder.Append("/unite_eip/templates/tohi");
行 211: templateBuilder.Append("/css/loginDialog.css\" />\r\n <link rel=\"stylesheet\" href=\"");
行 212: templateBuilder.Append("/unite_eip/templates/tohi");
行 213: templateBuilder.Append("/css/style.css\" />\r\n\r\n <style type=\"text/css\">\r\n .TName {\r\n color: black;\r\n font-size: 12px;\r\n width: 300px;\r\n text-align: right;\r\n font-weight: bold;\r\n height: 30px;\r\n }\r\n\r\n .txtText {\r\n font-size: 12px;\r\n width: 300px;\r\n text-align: center;\r\n height: 30px;\r\n }\r\n\r\n .TDName {\r\n color: black;\r\n font-size: 14px;\r\n width: 300px;\r\n text-align: center;\r\n font-weight: bolder;\r\n height: 40px;\r\n }\r\n\r\n .TAName {\r\n color: black;\r\n font-size: 12px;\r\n width: 100px;\r\n text-align: center;\r\n font-weight: bold;\r\n height: 30px;\r\n }\r\n\r\n .DName {\r\n width: 380px;\r\n text-align: left;\r\n }\r\n\r\n .btn_submit {\r\n font-size: 14px;\r\n width: 100px;\r\n text-align: center;\r\n background-color: #b200ff;\r\n border: 1px #b200ff solid;\r\n font-weight: bold;\r\n color: white;\r\n }\r\n\r\n .edit_submit {\r\n font-size: 12px;\r\n width: 45px;\r\n text-align: center;\r\n background-color: #b200ff;\r\n border: 1px #b200ff solid;\r\n color: white;\r\n cursor: pointer;\r\n }\r\n\r\n .inputTxt {\r\n font-size: 12px;\r\n text-align: left;\r\n width: 150px;\r\n }\r\n\r\n #log {\r\n background-color: #f1ebeb;\r\n width: 125px;\r\n width: 1002px;\r\n height: 45px;\r\n }\r\n\r\n #cb {\r\n height: 339px;\r\n width: 186px;\r\n overflow: scroll;\r\n text-align: center;\r\n }\r\n\r\n #rmk {\r\n width: 808px;\r\n height: 339px;\r\n margin-left: 2px;\r\n }\r\n\r\n #cb, #rmk {\r\n float: left;\r\n margin-top: 15px;\r\n border: 1px solid;\r\n }\r\n\r\n .titl {\r\n height: 30px;\r\n background-color: #28d5ff;\r\n line-height: 31px;\r\n color: white;\r\n font-size: 16px;\r\n }\r\n\r\n .titl2 {\r\n font-size: 15px;\r\n background-color: #cef3e3;\r\n }\r\n\r\n #cb li {\r\n background-color: #bee2cc;\r\n }\r\n\r\n .tl {\r\n float: right;\r\n text-align: left;\r\n margin-right: 50px;\r\n font-size: 15px;\r\n line-height: 40px;\r\n }\r\n\r\n .wp {\r\n position: relative;\r\n margin-top: 10px;\r\n }\r\n </style>\r\n <script type=\"text/javascript\">\r\n var pageIndex = 0; //页面索引初始值\r\n var pageSize = 5; //每页显示条数初始化,修改显示条数,修改这里即可\r\n\r\n $(function () {\r\n $(\"#cb li\").click(function () {\r\n $(\"#cb li\").css(\"background-cocor\", \"#bee2cc\");\r\n $(this).css(\"background-cocor\", \"white\");\r\n })\r\n })\r\n $(function () {\r\n $(\"li[id^=sso_]\").each(function () {\r\n var app = this.id.split(\"_\")[1];\r\n initTable(app, 0);\r\n });\r\n // showtasklistall();\r\n });\r\n function uptask() {\r\n $(\"li[id^=sso_]\").each(function () {\r\n var app = this.id.split(\"_\")[1];\r\n initTable(app, 0);\r\n });\r\n }\r\n function initTable(app, pageIndex) {\r\n $.ajaxSetup({\r\n cache: false //设置成false将不会从浏览器缓存读取信息\r\n });\r\n $(\"#dmtaskcount_\" + app).html(\"<img src='");
行 214: templateBuilder.Append("/unite_eip/templates/tohi");
行 215: templateBuilder.Append("/images/loading2.gif' border='no' />\");\r\n $.ajax({\r\n url: '");
行 216: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 217: templateBuilder.Append("tools/submit_ajax.ashx?d=' + new Date() + '&action=task_list&app=' + app + \"&startindex=\" + (pageIndex * pageSize + 1) + \"&endindex=\" + ((pageIndex + 1) * pageSize),\r\n type: 'GET',\r\n dataType: 'json',\r\n timeout: 10000,\r\n error: function (XMLHttpRequest, textStatus, errorThrown) {\r\n //alert(\"请求对象XMLHttpRequest.readyState: \" + XMLHttpRequest.readyState);\r\n //alert(\"请求对象XMLHttpRequest.status: \" + XMLHttpRequest.status);\r\n //alert(\"错误类型textStatus: \"+textStatus);\r\n //alert(\"异常对象errorThrown: \"+errorThrown);\r\n $(\"#dmtaskcount_\" + app).html(\"获取超时\");\r\n },\r\n success: function (data) {\r\n var countText = data.count > -1 ? \"待办:\" + data.count + \"条\" : \"获取失败\";\r\n $(\"#dmtaskcount_\" + app).html(countText);\r\n //$(\"#dmtaskcount_\" + app).click(function () { idtaskhide(); $(\"#task_\" + app).slideDown(\"normal\"); });\r\n $(\"#task_\" + app).hide();\r\n $(\"#task_\" + app).html(\"<img src='");
行 218: templateBuilder.Append("/unite_eip/templates/tohi");
行 219: templateBuilder.Append("/images/06.gif'onclick='idtaskhide()' />\" + data.html);//待办列表添加内容\r\n }\r\n });\r\n }\r\n function idtaskhide() { $(\"div[id^=task_]\").hide(); }\r\n function openApp(url, app) {\r\n var win = window.open(url, app);\r\n if (win) {\r\n var timer = setInterval(function () {\r\n if (win.closed) {\r\n clearInterval(timer);\r\n idtaskhide();\r\n //location.href = \"mywork.aspx\";\r\n //location.reload();\r\n initTable(app, 0);\r\n }\r\n }, 1000);\r\n }\r\n }\r\n </");
行 220: templateBuilder.Append("script>\r\n</head>\r\n\r\n<body> \r\n <!--Header-->\r\n ");
行 221:
行 222: templateBuilder.Append("<div style =\"position:fixed;width:36px;height:125px;top:200px;right:0px;cursor:hand;z-index:1\">\r\n <a href=\"http://172.20.0.177:8080/kms/chatView.do?id=100001\" target=\"_blank\"><img src=\"/templates/tohi/images/maich.png\" width=\"36\" height=\"125\" title=\"点击提问或搜索答案\"/></a>\r\n</div>\r\n");
行 223:
行 224:
行 225: templateBuilder.Append("\r\n\r\n ");
行 226:
行 227:
行 228:
行 229: templateBuilder.Append("\r\n \r\n <!--/Header-->\r\n <div id=\"bd\">\r\n <div class=\"wrapper\">\r\n <div class=\"hd\" style=\"text-align:right;\">当前位置 | <a href=\"");
行 230: templateBuilder.Append(linkurl("index"));
行 231:
行 232: templateBuilder.Append("\">首页</a> > 系统演示 </div>\r\n <div class=\"side-work\">\r\n <div class=\"side-col\">\r\n <h2 class=\"tit3\">演示系统</h2>\r\n <ul class=\"side-nav\"> \r\n <li><a class=\"sv1\" href=\"");
行 233: templateBuilder.Append(linkurl("usercenter","setapp"));
行 234:
行 235: templateBuilder.Append("\"> 演示系统 </a></li> \r\n <li><a class=\"sv1\" href=\"");
行 236: templateBuilder.Append(linkurl("usercenter","app"));
行 237:
行 238: templateBuilder.Append("\"> 密码管理 </a></li>\r\n <!--<li><a class=\"sv1\" href=\"");
行 239: templateBuilder.Append(linkurl("usercenter","setmywork"));
行 240:
行 241: templateBuilder.Append("\"> 自定义桌面设置 </a></li> \r\n <li><a class=\"sv1\" href=\"");
行 242: templateBuilder.Append(linkurl("usercenter","log"));
行 243:
行 244: templateBuilder.Append("\"> 门户登录日志查询 </a></li>--> \r\n </ul> \r\n \r\n </div>\r\n </div> \r\n ");行 245: if(action=="app"){行 246:
行 247:
行 248: templateBuilder.Append("\r\n <link rel=\"stylesheet\" href=\"");
行 249: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 250: templateBuilder.Append("css/validate.css\" />\r\n <script type=\"text/javascript\" src=\"");
行 251: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 252: templateBuilder.Append("scripts/jquery/jquery.form.min.js\"></");
行 253: templateBuilder.Append("script>\r\n <script type=\"text/javascript\" src=\"");
行 254: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 255: templateBuilder.Append("scripts/jquery/Validform_v5.3.2_min.js\"></");
行 256: templateBuilder.Append("script>\r\n <script type=\"text/javascript\">\r\n $(function () {\r\n //初始化表单 \r\n AjaxInitForm('apppwd_form', 'btnSubApp', 1);\r\n AjaxInitForm('editpwd_form', 'btnEditSubApp', 1);\r\n });\r\n </");
行 257: templateBuilder.Append("script> \r\n <div class=\"main-work\" style=\"width:740px\">\r\n <!--修改密码--> \r\n <h1 class=\"main_tit\">管理单点登录密码</h1>\r\n <h3 style=\"color:red\">如果您没有设置第三方应用系统的登录名和密码!请在下面系统登录管理中设置!</h3>\r\n <table border=\"0\" align=\"left\" width=\"100%\" style=\"margin-top:5px;padding-top:5px\"> \r\n <tr>\r\n <td valign=\"top\" style=\"padding-right:5px\"> \r\n <table border=\"1\" style=\"width:500px;\">\r\n <tr>\r\n <td class=\"TDName\">应用系统名称</td>\r\n <td class=\"TDName\">登录用户名</td>\r\n <td class=\"TDName\">登录密码</td>\r\n <td class=\"TDName\">操作</td>\r\n </tr>\r\n ");
行 258: ToHi.Qx.EIP.Model.C_users Model = GetUserInformation();
行 259:
行 260: templateBuilder.Append("\r\n ");行 261: if(Model== null) Response.Redirect(linkurl("index"));行 262:
行 263:
行 264: templateBuilder.Append("\r\n ");
行 265: DataTable MApp = get_appSystem_list(Model.UserId);
行 266:
行 267: templateBuilder.Append(" \r\n ");
行 268: foreach(DataRow MAppDr in MApp.Rows)
行 269: {
行 270:
行 271: templateBuilder.Append(" \r\n ");行 272: if(!string.IsNullOrEmpty(Utils.ObjectToStr(MAppDr["ULPWD"])))行 273: CurPWD = ToHi.Qx.EIP.PWD.EIPPWD.Decrypt(Utils.ObjectToStr(MAppDr["ULPWD"]));行 274:
行 275:
行 276: templateBuilder.Append(" \r\n <tr>\r\n <td class=\"txtText\">" + Utils.ObjectToStr(MAppDr["AName"]) + "</td>\r\n <td class=\"txtText\">" + Utils.ObjectToStr(MAppDr["ULName"]) + "</td>\r\n <td class=\"txtText\">*******</td>\r\n <td class=\"txtText\"> \r\n <a style=\"cursor:hand\" onclick=\"EditAppPWD(this,'" + Utils.ObjectToStr(MAppDr["UUID"]) + "','" + Utils.ObjectToStr(MAppDr["AName"]) + "','" + Utils.ObjectToStr(MAppDr["ULName"]) + "','");
行 277: templateBuilder.Append(Utils.ObjectToStr(CurPWD));
行 278: templateBuilder.Append("');\">编辑</a> \r\n <a style=\"cursor:hand\" onclick=\"DeleteAppPWD(this,'");
行 279: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 280: templateBuilder.Append("','" + Utils.ObjectToStr(MAppDr["UUID"]) + "');\">删除</a> \r\n </td>\r\n </tr>\r\n ");
行 281: } //end for if
行 282:
行 283: templateBuilder.Append(" \r\n </table> \r\n </td>\r\n <td valign=\"top\">\r\n <div id=\"AddDiv\" style=\"display:block\">\r\n <form name=\"apppwd_form\" id=\"apppwd_form\" url=\"");
行 284: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 285: templateBuilder.Append("tools/submit_ajax.ashx?action=add_app_password\">\r\n <table border=\"1\" cellpadding=\"10\" cellspacing=\"10\" style=\"height:130px\">\r\n <tr>\r\n <td class=\"TAName\">系统名称:</td>\r\n <td> \r\n <input name=\"txtUName\" id=\"txtUName\" type=\"hidden\" value=\"");
行 286: templateBuilder.Append(Utils.ObjectToStr(Model.UserId));
行 287: templateBuilder.Append("\" />\r\n <input name=\"txtReturnUrl\" id=\"txtReturnUrl\" type=\"hidden\" value=\"");
行 288: templateBuilder.Append(linkurl("usercenter","app"));
行 289:
行 290: templateBuilder.Append("\" />\r\n <select name=\"txtAID\" id=\"txtAID\">\r\n ");
行 291: DataTable appList = get_appSystem_list(0, "is_other = 0 and is_sso = 0");
行 292:
行 293: templateBuilder.Append("\r\n ");
行 294: foreach(DataRow ListDr in appList.Rows)
行 295: {
行 296:
行 297: templateBuilder.Append(" \r\n <option value=\"" + Utils.ObjectToStr(ListDr["AID"]) + "\">" + Utils.ObjectToStr(ListDr["AName"]) + "</option>\r\n ");
行 298: } //end for if
行 299:
行 300: templateBuilder.Append(" \r\n </select> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"TAName\">登录用户名:</td>\r\n <td>\r\n <input name=\"txtULName\" id=\"txtULName\" type=\"text\" class=\"inputTxt\" />\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"TAName\">登录密码:</td>\r\n <td>\r\n <input name=\"txtULPwd\" id=\"txtULPwd\" type=\"text\" class=\"inputTxt\"/>\r\n </td>\r\n </tr> \r\n <tr> \r\n <td style=\"text-align:center\" colspan=\"2\">\r\n <input name=\"btnSubApp\" id=\"btnSubApp\" type=\"submit\" class=\"btn_submit\" value=\"确认添加\" /> \r\n </td>\r\n </tr>\r\n </table>\r\n <div id=\"msgtipsApp\" style=\"display:none;text-align:left;color:#F00;font-size:12px;line-height:1.5em;\"></div>\r\n </form>\r\n </div>\r\n\r\n <div id=\"EditDiv\" style=\"display:none\">\r\n <form name=\"editpwd_form\" id=\"editpwd_form\" url=\"");
行 301: templateBuilder.Append(Utils.ObjectToStr(config.webpath));
行 302: templateBuilder.Append("tools/submit_ajax.ashx?action=edit_app_password\">\r\n <table border=\"1\" cellpadding=\"10\" cellspacing=\"10\" style=\"height:130px\">\r\n <tr>\r\n <td class=\"TAName\">系统名称:</td>\r\n <td> \r\n <input name=\"txtUID\" id=\"txtUID\" type=\"hidden\" />\r\n <input name=\"txtAppName\" id=\"txtAppName\" type=\"text\" readonly=\"readonly\" style=\"border:none; text-align:center;background-color:#f7f6f4;color:black\" /> \r\n <input name=\"txtEditReturnUrl\" id=\"txtEditReturnUrl\" type=\"hidden\" value=\"");
行 303: templateBuilder.Append(linkurl("usercenter","app"));
行 304:
行 305: templateBuilder.Append("\" /> \r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"TAName\">登录用户名:</td>\r\n <td>\r\n <input name=\"txtOldULName\" id=\"txtOldULName\" type=\"text\" class=\"inputTxt\" value=\"\"/>\r\n </td>\r\n </tr>\r\n <tr>\r\n <td class=\"TAName\">登录密码:</td>\r\n <td>\r\n <input name=\"txtOldULPwd\" id=\"txtOldULPwd\" type=\"text\" class=\"inputTxt\" value=\"\" />\r\n </td>\r\n </tr> \r\n <tr> \r\n <td style=\"text-align:center\" colspan=\"2\">\r\n <input name=\"btnEditSubApp\" id=\"btnEditSubApp\" type=\"submit\" class=\"btn_submit\" value=\"确认修改\" /> \r\n <input name=\"btnCancle\" id=\"btnCancle\" type=\"button\" onclick=\"CancleEditPWD();\" class=\"btn_submit\" value=\"取消修改\" /> \r\n </td>\r\n </tr>\r\n </table>\r\n <div id=\"msgtipsEditApp\" style=\"display:none;text-align:left;color:#F00;font-size:12px;line-height:1.5em;\"></div>\r\n </form>\r\n </div>\r\n </td>\r\n </tr> \r\n </table>\r\n </div>\r\n ");行 306: } 行 307: else if(action=="setapp"){行 308:
行 309:
行 310: templateBuilder.Append(" \r\n ");
行 311: ToHi.Qx.EIP.Model.C_users Model = GetUserInformation();
行 312:
行 313: templateBuilder.Append("\r\n ");行 314: if(Model== null) Response.Redirect(linkurl("login"));行 315:
行 316:
行 317: templateBuilder.Append("\r\n <div class=\"wrapper-cont\">\r\n <ul style=\"\">\r\n ");
行 318: DataTable Apptype2 = new ToHi.Qx.EIP.BLL.ApplicationTypeBLL().GetApplicationType().Tables[0];
行 319:
行 320: templateBuilder.Append("\r\n ");
行 321: foreach(DataRow ApptypeName2 in Apptype2.Rows)
行 322: {
行 323:
行 324: templateBuilder.Append("\r\n ");
行 325: if (Utils.ObjectToStr(ApptypeName2["typeid"])=="1")
行 326: {
行 327:
行 328: templateBuilder.Append("\r\n ");
行 329: DataTable topApp2=get_appSystem_list(0,"typeid = "+Utils.ObjectToStr(ApptypeName2["typeid"]));
行 330:
行 331: templateBuilder.Append("\r\n ");
行 332: foreach(DataRow AppName2 in topApp2.Rows)
行 333: {
行 334:
行 335: templateBuilder.Append("\r\n ");
行 336: if (Utils.ObjectToStr(AppName2["is_sso"])=="0")
行 337: {
行 338:
行 339: templateBuilder.Append("\r\n <li style=\"margin-top:10px; margin-left:15px;float:left;\">\r\n <a title=\"" + Utils.ObjectToStr(AppName2["aname"]) + "\" onclick=\"openApp('/tools/submit_ajax.ashx?action=sso&app=" + Utils.ObjectToStr(AppName2["ACode"]) + "', '" + Utils.ObjectToStr(AppName2["ACode"]) + "')\" href=\"javascript:void(0)\">\r\n <div style=\"width:200px;height:50px;border:1px solid #28D5FF;border-radius:15px;margin:5px;text-align:center;line-height:50px;\">" + Utils.ObjectToStr(AppName2["aname"]) + "</div>\r\n </a>\r\n </li>\r\n ");
行 340: } //end for if
行 341:
行 342: templateBuilder.Append("\r\n ");
行 343: } //end for if
行 344:
行 345: templateBuilder.Append("\r\n ");
行 346: } //end for if
行 347:
行 348: templateBuilder.Append("\r\n ");
行 349: } //end for if
行 350:
行 351: templateBuilder.Append("\r\n </ul>\r\n </div>\r\n ");行 352: } 行 353: else if(action=="setmywork"){行 354:
行 355:
行 356: templateBuilder.Append(" \r\n ");
行 357: ToHi.Qx.EIP.Model.C_users Model = GetUserInformation();
行 358:
行 359: templateBuilder.Append("\r\n ");行 360: if(Model== null) Response.Redirect(linkurl("login"));行 361:
行 362:
行 363: templateBuilder.Append("\r\n <div class=\"main-work\" style=\"width:770px\">\r\n <h1 class=\"main_tit\">管理桌面模板显示设置</h1>\r\n <h3 style=\"color:red\">该功能为我的桌面页面自定义显示模块设置,用户可根据需要设置显示模块。</h3>\r\n <iframe src=\"/tools/usercontrol_mywork.aspx?userid=");
行 364: templateBuilder.Append(Utils.ObjectToStr(Model.UserId));
行 365: templateBuilder.Append("\" scrolling=\"no\" width=\"770px\" height=\"500px\" frameborder=\"0\"></iframe>\r\n </div> \r\n ");行 366: } 行 367: else if(action=="log"){行 368:
行 369:
行 370: templateBuilder.Append(" \r\n ");
行 371: ToHi.Qx.EIP.Model.C_users Model = GetUserInformation();
行 372:
行 373: templateBuilder.Append("\r\n ");行 374: if(Model== null) Response.Redirect(linkurl("login"));行 375:
行 376:
行 377: templateBuilder.Append("\r\n <div class=\"main-work\" style=\"width:770px\">\r\n <h1 class=\"main_tit\">登录日志查询</h1> \r\n <iframe src=\"/tools/weblogin_log.aspx?userid=");
行 378: templateBuilder.Append(Utils.ObjectToStr(Model.UserId));
行 379: templateBuilder.Append("\" width=\"770px\" height=\"550px\" frameborder=\"0\" scrolling=\"no\"></iframe>\r\n </div> \r\n ");行 380: } 行 381:
行 382:
行 383: templateBuilder.Append(" \r\n <div class=\"c\"></div>\r\n </div>\r\n <div class=\"shadow\"></div>\r\n </div> \r\n <!--Footer-->\r\n ");
行 384:
行 385: templateBuilder.Append("<div class=\"footer-cover\">\r\n <div class=\"footer-cover-margin\">\r\n ");
行 386: DataRow[] footerList=categorylist.Select(" channel_id='54' AND parent_id=1149"," sort_id asc ");
行 387:
行 388:
行 389: for(int i = 0; i < footerList.Length; i++)
行 390: {
行 391:
行 392: int nsdrid = Convert.ToInt32(footerList[i]["ID"]);
行 393:
行 394: string title = footerList[i]["title"].ToString();
行 395:
行 396: DataRow[] footerList2=categorylist.Select(" channel_id='54' AND parent_id="+nsdrid+" "," sort_id asc ");
行 397:
行 398:
行 399: templateBuilder.Append("\r\n <div class=\"footer-cover-column\">\r\n <div class=\"footer-cover-H1\">");
行 400: templateBuilder.Append(Utils.ObjectToStr(title));
行 401: templateBuilder.Append("</div>\r\n ");
行 402: for(int j = 0; j < footerList2.Length; j++)
行 403: {
行 404:
行 405: string title2 = footerList2[j]["title"].ToString();
行 406:
行 407: string link_url = footerList2[j]["link_url"].ToString();
行 408:
行 409: templateBuilder.Append("\r\n <p><a href=\"");
行 410: templateBuilder.Append(Utils.ObjectToStr(link_url));
行 411: templateBuilder.Append("\">");
行 412: templateBuilder.Append(Utils.ObjectToStr(title2));
行 413: templateBuilder.Append("</a></p>\r\n ");
行 414: } //end for if
行 415:
行 416: templateBuilder.Append("\r\n </div>\r\n ");
行 417: } //end for if
行 418:
行 419: templateBuilder.Append("\r\n\r\n <div class=\"footer-cover-br\" ></div>\r\n <div class=\"footer-contain-ewm\" >\r\n <div><img src=\"");
行 420: templateBuilder.Append("/unite_eip/templates/tohi");
行 421: templateBuilder.Append("/images/tohiweixin.jpg\" /></div>\r\n <p><a>扫一扫 关注我们</a></p>\r\n </div>\r\n <div class=\"footer-cover-right\" >\r\n <ul>\r\n <li class=\"footer-cover-crk\"><a target=\"_blank\" href=\"https://grp.tohi.cn/\">员工入口</a></li>\r\n <li class=\"footer-cover-kf\">");
行 422: templateBuilder.Append(Utils.ObjectToStr(config.webtel));
行 423: templateBuilder.Append("</li>\r\n <li class=\"footer-cover-yx\">");
行 424: templateBuilder.Append(Utils.ObjectToStr(config.webmail));
行 425: templateBuilder.Append("</li>\r\n ");
行 426: if (config.webaddress.Split('|').Length>1)
行 427: {
行 428:
行 429: templateBuilder.Append("\r\n <li class=\"footer-cover-dz\">" + Utils.ObjectToStr(config.webaddress.Split('|')[0]) + "</li>\r\n <li class=\"footer-cover-dz\">" + Utils.ObjectToStr(config.webaddress.Split('|')[1]) + "</li>\r\n ");
行 430: }
行 431: else
行 432: {
行 433:
行 434: templateBuilder.Append("\r\n <li class=\"footer-cover-dz\">");
行 435: templateBuilder.Append(Utils.ObjectToStr(config.webaddress));
行 436: templateBuilder.Append("</li>\r\n ");
行 437: } //end for if
行 438:
行 439: templateBuilder.Append("\r\n </ul>\r\n </div>\r\n \r\n </div>\r\n</div>\r\n<div class=\"footer-contain\">\r\n <div class=\"footer-contain-margin\"><p>");
行 440: templateBuilder.Append(Utils.ObjectToStr(config.webcopyright));
行 441: templateBuilder.Append("</p></div>\r\n</div>\r\n<script src=\"http://static.bshare.cn/b/button.js#style=-1&uuid=&pophcol=2&lang=zh\" type=\"text/javascript\" charset=\"utf-8\"></");
行 442: templateBuilder.Append("script>\r\n<script src=\"http://static.bshare.cn/b/bshareC0.js\" type=\"text/javascript\" charset=\"utf-8\"></");
行 443: templateBuilder.Append("script>");
行 444:
行 445:
行 446: templateBuilder.Append("\r\n <!--/Footer-->\r\n</body>\r\n</html>\r\n");
行 447: Response.Write(templateBuilder.ToString());
行 448: }
行 449:
行 450: #line default
行 451: #line hidden
行 452:
行 453:
行 454: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 455: public unite_eip_aspx_tohi_usercenter_aspx() {
行 456: string[] dependencies;
行 457: ((global::ToHi.Qx.EIP.WebUI.Page.usercenter)(this)).AppRelativeVirtualPath = "~/unite_eip/aspx/tohi/usercenter.aspx";
行 458: if ((global::ASP.unite_eip_aspx_tohi_usercenter_aspx.@__initialized == false)) {
行 459: dependencies = new string[1];
行 460: dependencies[0] = "~/unite_eip/aspx/tohi/usercenter.aspx";
行 461: global::ASP.unite_eip_aspx_tohi_usercenter_aspx.@__fileDependencies = this.GetWrappedFileDependencies(dependencies);
行 462: global::ASP.unite_eip_aspx_tohi_usercenter_aspx.@__initialized = true;
行 463: }
行 464: this.Server.ScriptTimeout = 30000000;
行 465: }
行 466:
行 467: protected System.Web.Profile.DefaultProfile Profile {
行 468: get {
行 469: return ((System.Web.Profile.DefaultProfile)(this.Context.Profile));
行 470: }
行 471: }
行 472:
行 473: protected System.Web.HttpApplication ApplicationInstance {
行 474: get {
行 475: return ((System.Web.HttpApplication)(this.Context.ApplicationInstance));
行 476: }
行 477: }
行 478:
行 479: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 480: private void @__BuildControlTree(unite_eip_aspx_tohi_usercenter_aspx @__ctrl) {
行 481:
行 482: #line 1 "E:\ToHi\ToHi.Qx.EIP.GRP\unite_eip\aspx\tohi\usercenter.aspx"
行 483: this.InitializeCulture();
行 484:
行 485: #line default
行 486: #line hidden
行 487: }
行 488:
行 489: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 490: protected override void FrameworkInitialize() {
行 491: base.FrameworkInitialize();
行 492: this.@__BuildControlTree(this);
行 493: this.AddWrappedFileDependencies(global::ASP.unite_eip_aspx_tohi_usercenter_aspx.@__fileDependencies);
行 494: }
行 495:
行 496: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 497: public override int GetTypeHashCode() {
行 498: return 5381;
行 499: }
行 500:
行 501: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
行 502: public override void ProcessRequest(System.Web.HttpContext context) {
行 503: base.ProcessRequest(context);
行 504: }
行 505: }
行 506: }
行 507:
|