Advertisement
Guest User

Untitled

a guest
Dec 4th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.19 KB | None | 0 0
  1. <!DOCTYPE HTML>
  2. <!-- saved from url=(0111)https://guestportal.ucs.ac.uk:6082/php/uid.php -->
  3. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><HTML
  4. lang="en"><HEAD><META content="IE=11.0000" http-equiv="X-UA-Compatible">
  5.  
  6. <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  7. <TITLE>UoS Academic Guest Network Login</TITLE>
  8. <META name="viewport" content="width=device-width, height=device-height, initial-scale=1, maximum-scale=1">
  9.  
  10. <META http-equiv="PRAGMA" content="NO-CACHE">
  11. <STYLE type="text/css" media="screen">
  12.  
  13. body {
  14.  
  15. font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
  16. }
  17.  
  18. h1 {
  19. font-size: 1.2em;
  20. }
  21.  
  22. p {
  23. font: 1em "Helvetica Neue",Helvetica,Arial,sans-serif;
  24.  
  25.  
  26. }
  27.  
  28.  
  29. #logo {
  30.  
  31. background-image: url(https://www.uos.ac.uk/sites/default/files/uos_logo.png);
  32. width:160px;
  33. height:40px;
  34. margin: 30px auto 30px auto;
  35.  
  36. }
  37.  
  38. a {
  39. color:#000066;
  40. }
  41.  
  42. p.centered {
  43. text-align:center;
  44. }
  45.  
  46.  
  47.  
  48. </STYLE>
  49.  
  50. <META name="GENERATOR" content="MSHTML 11.00.10240.17673"></HEAD>
  51. <BODY onload="loadPage();">
  52. <DIV id="logo"></DIV>
  53. <H1 style="text-align: center;">UNIVERSITY OF SUFFOLK WELCOME GUIDE</H1>
  54. <DIV align="center">
  55. <SCRIPT>
  56. function loadPage() {
  57. document.login.user.value = "";
  58. if (document.login.user.value == '')
  59. document.login.user.focus();
  60. var errMsg = "";
  61. var respStatus = "";
  62. var respMsg = "";
  63. if (respStatus == "Error") {
  64. if (errMsg != "")
  65. errMsg += "<br><br>";
  66. errMsg += "<li>"+respMsg;
  67. } else if (respStatus == "Challenge") {
  68. var divUserName = document.getElementById("dUserName");
  69. divUserName.style.display = "none";
  70. var passwdTitle = document.getElementById("passwdTitle");
  71. passwdTitle.innerHTML = "";
  72. var divInputStr = document.getElementById("dInputStr");
  73. divInputStr.style.display = "block";
  74. divInputStr.innerHTML = respMsg;
  75. }
  76. if (errMsg != "") {
  77. var divObj = document.getElementById("dError");
  78. divObj.style.display = "block";
  79. divObj.innerHTML = errMsg;
  80. }
  81. }
  82. function submitClicked() {
  83. var user = document.getElementById('user').value;
  84. var pass = document.getElementById('pass').value;
  85. alert('You logged in as ' + user + ' with password ' + pass);
  86. var thisForm = document.getElementById("login_form");
  87. // hide the error div, just incase it was showing.
  88. var divObj = document.getElementById("dError");
  89. divObj.style.display = "none";
  90. divObj.innerHTML = "";
  91. var divTaLogin = document.getElementById("taLogin");
  92. divTaLogin.style.display = "none";
  93. thisForm.inputStr.value = "";
  94. thisForm.escapeUser.value = thisForm.user.value.replace(/\\/g, "\\\\");
  95. }
  96. function onClickHandler() {
  97. submitClicked();
  98. }
  99. </SCRIPT>
  100.  
  101. <FORM name="login" id="login_form" method="post"><INPUT name="inputStr" type="hidden">
  102. <INPUT name="escapeUser" type="hidden">
  103. <DIV id="taLogin">
  104. <TABLE>
  105. <TBODY>
  106. <TR id="dUserName">
  107. <TD><SPAN id="userTitle">User</SPAN></TD>
  108. <TD><INPUT name="user" id="user" type="text" size="19"></TD></TR>
  109. <TR>
  110. <TD><SPAN id="passwdTitle">Password</SPAN></TD>
  111. <TD>
  112. <DIV id="dInputStr"
  113. style="display: none;"><BR></DIV><INPUT id="pass" name="passwd" type="password" size="19" maxlength="40">
  114. </TD></TR>
  115. <TR>
  116. <TD>&nbsp;</TD>
  117. <TD><INPUT name="ok" class="buttonFixed" id="submit" onclick="submitClicked()" type="submit" value="Login"></TD></TR></TBODY></TABLE></DIV></FORM>
  118. <DIV class="msg" id="dError" style="display: none;"></DIV></DIV>
  119. <P class="centered">Please enter your University of Suffolk Login details to
  120. continue.</P>
  121. <P class="centered">By logging in, you are indicating you have read and agree to
  122. the University of Suffolk <A title="UoS Guidelines for use of IT facilities"
  123. href="https://www.uos.ac.uk/content/guidelines-use-it-facilities">IT
  124. Guidelines</A> and <A title="IT Services Acceptable Use Policy" href="http://its.uos.ac.uk/it-services/policies-and-procedures/university-suffolk-it-services-acceptable-use-policy">IT
  125. Services Acceptable Use Policy</A> </P></BODY></HTML>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement