Advertisement
Guest User

sourcecode

a guest
Jul 31st, 2017
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.85 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang=
  2. "en"><head>
  3.  
  4. <meta http-equiv="cache-control" content="no-cache" />
  5. <title>SAP Easy Access - Menú usuario p. USER NAME</title>
  6.  
  7. <style type="text/css">
  8. html, body { height:100%; width:100%; margin:0; padding:0; border-width:0; }
  9. html { overflow:hidden; }
  10. body { font:normal normal 12px sans-serif; color:#030306; background-color: #fff; overflow:hidden; }
  11. form { margin:0; padding: 0; border-width:0; white-space:nowrap; }
  12. .CenterBox { position:absolute; top:42%; left:50%; width:520px; height:360px;
  13. margin-top:-180px; margin-left:-260px; text-align:center;
  14. font-size:11px; z-index:4001; cursor:pointer; }
  15. .CenterBox40 { position:absolute; top:50%; left:50%; width:40px; height:40px;
  16. margin-top:-20px; margin-left:-20px; text-align:center;
  17. font-size:11px; z-index:9; }
  18. #ImgLoadingAnim { position:absolute; top:272px; left:36px; width:445px; height:9px; }
  19. #TextITS { position:absolute; top:96px; left:36px; font-weight:bold; color:#666; white-space:nowrap; }
  20. #TextCopyright { position:absolute; top:302px; left:36px; font-weight:normal; color:#666; white-space:nowrap; }
  21. #ImgCorbuLoadingAnim { position:absolute; top:308px; left:36px; width:445px; height:9px; }
  22. #TextCorbuNW { position:absolute; top:49px; left: 57px; font-size:24px; font-weight:bold; color:#666; white-space:nowrap; text-align:left
  23. ; }
  24. #TextCorbuSGH { position:absolute; top:84px; left: 57px; font-size:18px; font-weight:normal; color:#666; white-space:nowrap; text-align:left
  25. ; }
  26. #TextCorbuInfo { position:absolute; top:168px; left: 57px; font-size:12px; font-weight:normal; color:#333; white-space:nowrap; text-align:left
  27. ; }
  28. #TextCorbuCopyright { position:absolute; top:286px; right:58px; font-size:10px; font-weight:normal; color:#666; white-space:nowrap; text-align:left
  29. ; }
  30. #ITSFRAME1,
  31. #ITSFRAME2,
  32. #ITSTERMFRAME { position:absolute; top:-8000px; left:-8000px; width:100%; height:100%;
  33. margin:0; padding:0; border-width:0; background-color:#fff; z-index: 2;
  34. }
  35. #ITSTERMFRAME { overflow:hidden; }
  36.  
  37.  
  38. #ITSSESSMENU { position:absolute;z-index:5001;top:3px;right:6px;width:16px;height:14px;display:block;
  39. background-image:url(
  40. /sap/public/icmandir/webgui/sl/images/icons/s_b_ivin.gif
  41. ); }
  42.  
  43.  
  44. #ITSSESSMENU:hover { position:absolute;z-index:5001;top:3px;right:6px;width:16px;height:14px;cursor:pointer;
  45. background-image:url(
  46. /sap/public/icmandir/webgui/sl/images/icons/s_brpatt.gif
  47. ); background-color:red; }
  48.  
  49.  
  50. </style>
  51. <script type="text/javascript" src="/sap/public/icmandir/its/lsgui/js/its_domain.js"></script>
  52. <script type="text/javascript"> its_setdomain();</script>
  53. <script type="text/javascript" src="/sap/public/icmandir/its/lsgui/js/its_utils.js"></script>
  54. <script type="text/javascript"> self.its_frame_root = true; // needed to be initialized to true before parsing its_frameset.js</script>
  55. <script type="text/javascript" src="/sap/public/icmandir/its/lsgui/js/its_frameset.js"></script>
  56. <script type="text/javascript">
  57. var its_url ="/sap(cz1TSUQlM2FBTk9OJTNhc2FwbWlnMDNfUFJEXzEwJTNhWS1GOW1IREowVGl0VXFUOGVMYWFxSUV4b05rNlRzREhpcUVaNjA1MS1BVFQ=)/bc/gui/sap/its/
  58. webgui",
  59. arr_paramList = [],
  60. go_exclude_parm = {},
  61. gImg = new Image(),
  62. gTimeout = null,
  63. gboShowFrame = false,
  64. gCurrentFrame = 0,
  65. gH, gW,
  66. gPingTimer
  67. ;
  68.  
  69. var goSettings = {
  70. kernel : "721_EXT_REL",
  71. patch : "600",
  72. r3_rel : "731",
  73. webgui : ("X" == "X" ? true : false),
  74. urgui : ("X" == "X" ? true : false),
  75. urgui_able : ("X" == "X" ? true : false),
  76. nosplash : ("" == "X" ? true : false),
  77. itssm : ("X" == "X" ? true : false),
  78. itssm_slow : ("" == "X" ? true : false),
  79. itssm_singl : ("" == "X" ? true : false),
  80. smartview : ("" == "X" ? true : false),
  81. itsframeset : ("X" == "X" ? true : false),
  82. mimeurl : "/sap/public/icmandir"
  83. };var gSessInfo = {_url :"/sap(cz1TSUQlM2FBTk9OJTNhc2FwbWlnMDNfUFJEXzEwJTNhWS1GOW1IREowVGl0VXFUOGVMYWFxSUV4b05rNlRzREhpcUVaNjA1MS1BVFQ=)/bc/gui/sap/
  84. its/webgui?sap-sessioncmd=CANCEL2",_termParm : "",_exiturl : "",_target : null};
  85.  
  86. function writeDynText(in_what)
  87. {
  88. var str = null;
  89. switch(in_what)
  90. {
  91. case "ITS" :
  92. if (!!self.goSettings.kernel)
  93. {
  94. str = ["SAP&amp;nbsp;NetWeaver&amp;nbsp;731&amp;nbsp;Integrated&amp;nbsp;ITS,&amp;nbsp;WebAS:&amp;nbsp;(Kernel&amp;nbsp;721_EXT_REL&amp;nbsp
  95. ;Patch&amp;nbsp;600)", ].join("");
  96. }
  97.  
  98. else if (parent != self &amp;&amp; null != parent.its_server_text)
  99. str = ["SAP&amp;nbsp;Integrated&amp;nbsp;ITS,&amp;nbsp;WebAS:&amp;nbsp;", parent.its_server_text].join("");
  100. break;
  101. default :
  102. break;
  103. }
  104. if (null != str)
  105. {
  106. document.write(str);
  107. }
  108. }
  109.  
  110. function retrieveSize()
  111. {
  112. var height, width;
  113. if (document)
  114. {
  115. height = document.body.clientHeight;
  116. width = document.body.clientWidth;
  117. if (height &gt; 0 &amp;&amp; width &gt; 0)
  118. {
  119. gH = height = height - 96;
  120. gW = width = width - 28;
  121. document.getElementById("~webguiUserAreaHeight").value = height;
  122. document.getElementById("~webguiUserAreaWidth").value = width;
  123. }
  124. }
  125. if (document.getElementById("webguiStartForm") &amp;&amp; !goSettings.itsframeset)
  126. {
  127. document.getElementById("webguiStartForm").submit();
  128. }
  129. }
  130.  
  131. function setParameters(paramArray)
  132. {
  133. startform = document.getElementById("webguiStartForm");
  134. if (null !== startform)
  135. {
  136. for (i=0; i &lt; paramArray.length; i++)
  137. {
  138. tempField = document.createElement("input");
  139. tempField.type = "hidden";
  140. tempField.name = decodeURIComponent(paramArray[i].name);
  141. tempField.value = decodeURIComponent(paramArray[i].value);
  142. startform.appendChild(tempField);
  143. }
  144. }
  145. }
  146.  
  147. function resizeIFrame(in_id)
  148. {
  149. var f = document.getElementById(in_id),
  150. b = document.body,
  151. w, h;
  152. if (null != f &amp;&amp; b != null)
  153. {
  154. w = b.clientWidth; h = b.clientHeight;
  155. if (w &gt; 0 &amp;&amp; h &gt; 0 &amp;&amp; (w != f.offsetWidth || h != f.offsetHeight))
  156. {
  157. f.style.width = w + "px";
  158. f.style.height = h + "px";
  159. }
  160. }
  161. }
  162.  
  163.  
  164. /*
  165. ITS Frame management
  166. */
  167.  
  168. function initialize()
  169. {
  170. if ("object" == typeof gSessInfo)
  171. {
  172. wguSessionBuildTerminationURL(gSessInfo);
  173. }
  174. self.its_frame_root.Initialize(
  175. (!!document.getElementById("ITSFRAME1") ? "ITSFRAME1" : null),
  176. (!!document.getElementById("ITSFRAME2") ? "ITSFRAME2" : null)
  177. );
  178. // oSessionMenu.Initialize();
  179. }
  180.  
  181. function loadIFrame(in_id)
  182. {
  183. var f = document.getElementById("webguiStartForm");
  184. if (null != f)
  185. {
  186. f.setAttribute("ITSsent", "1");
  187. f.submit();
  188. }
  189. }
  190.  
  191. function showIFrame(in_fno)
  192. {
  193. var f = document.getElementById("ITSFRAME"+(in_fno+1)),
  194. myform = document.getElementById("webguiStartForm");
  195. if (gboShowFrame || (null != myform &amp;&amp; null != myform.getAttribute("ITSsent")))
  196. {
  197. self.its_frame_root.ShowFrame(in_fno, true, true);
  198. ITS_Frameset("ACTIVATEFRAME", in_fno, true);
  199. window.gCurrentFrame = in_fno+1;
  200. if (showIFrame.HideSS)
  201. {
  202. gboShowFrame = true;
  203. setTimeout("HideSplashScreen()", 1000);
  204. showIFrame.HideSS = false;
  205. }
  206. f.onload = null;
  207. f.setAttribute("onload", null);
  208. }
  209. }
  210. showIFrame.HideSS = true;
  211.  
  212.  
  213. function HideSplashScreen()
  214. {
  215. var el;
  216. if (null != (el = document.getElementById("CenterBox")))
  217. {
  218. el.style.zIndex = 1;
  219. el.style.visibility = "hidden";
  220. el.style.display = "none";
  221. }
  222. }
  223.  
  224. function closeSession()
  225. { gImg.src ="/sap(cz1TSUQlM2FBTk9OJTNhc2FwbWlnMDNfUFJEXzEwJTNhWS1GOW1IREowVGl0VXFUOGVMYWFxSUV4b05rNlRzREhpcUVaNjA1MS1BVFQ=)/bc/gui/sap/its/webgui
  226. ?sap-sessioncmd=CANCEL2";
  227. }
  228.  
  229. function pingpong()
  230. {
  231. }
  232. function ping()
  233. {
  234. var f = document.getElementById("ITSFRAME"+window.gCurrentFrame);
  235. if (null != f)
  236. {
  237. try
  238. {
  239. if ((null != (f = f.contentWindow)) &amp;&amp; (null != f.document.getElementById("webguiform")))
  240. {
  241. try{document.getElementById("webguiPingForm").submit()}catch(ex){}
  242. }
  243. } catch(ex){clearInterval(window.gPingTimer);}
  244. }
  245. }
  246.  
  247.  
  248. oSessionMenu = {
  249. menuposx : 0,
  250. menuposy : 0,
  251. urlmenuicon : "/sap/public/icmandir/webgui/sl/images/icons/s_b_ivin.gif",
  252. urlmenuhovicon : "/sap/public/icmandir/webgui/sl/images/icons/s_brpatt.gif",
  253.  
  254.  
  255. menudiv : null,
  256. menu : null,
  257.  
  258. Initialize : function()
  259. {
  260. var x, y, w,
  261. div;
  262. try
  263. {
  264. div = document.createElement('&lt;a id="ITSSESSMENU" onclick="oSessionMenu.OnClick();"&gt;' );
  265. }
  266. catch (ex)
  267. {
  268. div = document.createElement("a");
  269. div.setAttribute("id", "ITSSESSMENU");
  270. div.setAttribute("onclick", "oSessionMenu.OnClick()");
  271. }
  272. if (null != div)
  273. {
  274. div.setAttribute("title", "Exit and close current SAP GUI for HTML session");
  275. this.menudiv = document.body.appendChild(div);
  276. if ("undefined" != typeof this.menudiv.attachEvent) // again, a speciality of the IE (we must not set the !DOCTYPE :(
  277. {
  278. this.menudiv.attachEvent("onmouseover", function(){oSessionMenu.menudiv.style.backgroundImage = "url("+oSessionMenu.urlmenuhovicon+")"});
  279. this.menudiv.attachEvent("onmouseout", function(){oSessionMenu.menudiv.style.backgroundImage = "url("+oSessionMenu.urlmenuicon+")"});
  280. }
  281. setTimeout("document.getElementById('ITSSESSMENU').style.display = 'block';", 2000);
  282. }
  283. },
  284.  
  285. OnClick : function()
  286. {
  287. if (self.confirm("Do you really want to close the current SAP GUI for HTML session?"))
  288. {
  289. var f = document.getElementById("ITSFREEFORM"),
  290. s;
  291. gSessInfo._target = self;
  292. if (null != f)
  293. {
  294. s = [gSessInfo._url, "?", gSessInfo._termParm].join("");
  295. document.body.onunload = null;
  296. // s ="about:blank";
  297.  
  298. f.setAttribute("action", s);
  299. f.submit();
  300. }
  301. else
  302. {
  303. self.location.href ="about:blank";
  304.  
  305. }
  306. }
  307. }
  308. }; // oSessionMenu
  309. </script>
  310. </head>
  311. <body onload="initialize(); setParameters(arr_paramList); retrieveSize(); resizeIFrame('ITSFRAME1'); resizeIFrame('ITSFRAME2'); /*pingpong()*/;&#10; l
  312. oadIFrame('ITSFRAME1');" onunload="wguSessionTerminate( event, gSessInfo);" onresize="resizeIFrame('ITSFRAME1'); resizeIFrame('ITSFRAME2');"><!--
  313. --><div id="CenterBox" class="CenterBox" alt="Please wait ..."><a onclick="HideSplashScreen();" title=""><img id="ImgSplash" src="/sap/public/icmandir
  314. /its/lsgui/images/img/splashscreen.jpg" width="517" height="357" border="0" alt="Please wait ..." title="Loading ..." /></a><img id="ImgLoadingAnim" s
  315. rc="/sap/public/icmandir/its/lsgui/images/img/screenloadinganilarge.gif" width="445" height="9" border="0" alt="Please wait ..." title="Loading ..." /
  316. ><div id="TextITS"><script type="text/javascript">writeDynText("ITS");</script>SAP NetWeaver 731 Integrated ITS, WebAS: (Kernel 721_EXT_REL Patch 600)
  317. </div><div id="TextCopyright">Copyright © 1996-2013 SAP AG. All Rights Reserved</div></div><!--
  318. --><form id="webguiPingForm" name="webguiPingForm" method="post" target="ITSTERMFRAME" action="/sap/bc/ping" tokset="1"><!--
  319. --><input type="hidden" id="~ping" name="~ping" value="1" /><input type="hidden" id="~SEC_SESSTOKEN" name="~SEC_SESSTOKEN" value="A708B8877E737473" />
  320. <input type="hidden" id="SEC_SESSTOKEN" name="SEC_SESSTOKEN" value="A708B8877E737473" /><!--
  321. --></form><!--
  322. --><form id="webguiStartForm" name="webguiStartForm" method="post" action="/sap(cz1TSUQlM2FBTk9OJTNhc2FwbWlnMDNfUFJEXzEwJTNhWS1GOW1IREowVGl0VXFUOGVMYW
  323. FxSUV4b05rNlRzREhpcUVaNjA1MS1BVFQ=)/bc/gui/sap/its/webgui" target="itsframe1_20170731125417.3160000 " tokset="1" itssent="1"><!--
  324. --><input type="hidden" id="~webguiUserAreaHeight" name="~webguiUserAreaHeight" value="824" /><input type="hidden" id="~webguiUserAreaWidth" name="~we
  325. bguiUserAreaWidth" value="907" /><input type="hidden" id="~webguiDynproMetric" name="~webguiDynproMetric" value="1" />
  326. <input type="hidden" id="~SEC_SESSTOKEN" name="~SEC_SESSTOKEN" value="A708B8877E737473" /><input type="hidden" id="SEC_SESSTOKEN" name="SEC_SESSTOKEN"
  327. value="A708B8877E737473" /><input type="hidden" id="~path" name="~path" value="/sap(cz1TSUQlM2FBTk9OJTNhc2FwbWlnMDNfUFJEXzEwJTNhWS1GOW1IREowVGl0VXFUO
  328. GVMYWFxSUV4b05rNlRzREhpcUVaNjA1MS1BVFQ=)/bc/gui/sap/its/webgui" /><!--
  329. --><input type="hidden" id="~singletransaction" name="~singletransaction" value="0" /><!--
  330.  
  331. --></form><form id="ITSFREEFORM" name="ITSFREEFORM" action="" method="post" tokset="1"><!-- input type="hidden" id="~SEC_SESSTOKEN" name="~SEC_SESSTOK
  332. EN" value="A708B8877E737473" / --><input name="~SEC_SESSTOKEN" type="hidden" value="A708B8877E737473" /></form><!--
  333.  
  334. --><iframe id="ITSFRAME1" name="itsframe1_20170731125417.3160000 " noresize="1" frameborder="0" framespacing="0" border="0" onload="null" src="about:
  335. blank" style="z-index: 999; top: 0px; left: 0px;"> </iframe><!--
  336. --><iframe id="ITSTERMFRAME" name="ITSTERMFRAME" scrolling="no" noresize="1" frameborder="0" framespacing="0" border="0" src="about:blank"></iframe><!
  337. --
  338. --><script type="text/javascript" src="/sap/public/icmandir/its/lsgui/js/sap_secu.js"></script><!--
  339. -->
  340. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement