Advertisement
Guest User

Untitled

a guest
Mar 11th, 2020
5,616
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.35 KB | None | 1 0
  1.  
  2. https://www.gameclub.ph/MyInfo/SecretQnA
  3.  
  4.  
  5. <!DOCTYPE html>
  6. <html>
  7. <head>
  8. <meta charset="utf-8">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  10. <meta name="viewport" content="width=device-width, initial-scale=0.25">
  11. <meta name="author" content="GBPlay Inc. (Formerly GameClub)">
  12. <meta name="description" content="GBPlay Inc.(Formerly GameClub)|Number 1 online game distributor in the philippines">
  13. <meta name="keywords" content="Crossfire online games, Crossfire online gaming philippines, gameclub, gbplay inc, weapons of war, wow">
  14. <meta name="robots" content="all">
  15. <title>Gameclub</title>
  16. <link href="//static.gameclub.ph/GameClub/images/favicon.ico" rel="shortcut icon" />
  17. <link href="//static.gameclub.ph/GameClub/plugins/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet" />
  18. <link href="//static.gameclub.ph/GameClub/plugins/font-awesome-4.6.3/css/font-awesome.min.css" rel="stylesheet">
  19.  
  20.  
  21. <link href="//static.gameclub.ph/GameClub/plugins/dropit/dropit2.css" rel="stylesheet" />
  22. <link href="//static.gameclub.ph/GameClub/plugins/slick/slick.css" rel="stylesheet">
  23. <link href="//static.gameclub.ph/GameClub/plugins/slick/slick-theme.css" rel="stylesheet">
  24. <link href="//static.gameclub.ph/GameClub/css/style.css?ver=20200226" rel="stylesheet" />
  25.  
  26.  
  27.  
  28. <link href="//static.gameclub.ph/GameClub/css/myaccount.css?ver=20200226" rel="stylesheet" />
  29.  
  30. <script src="//static.gameclub.ph/GameClub/plugins/jquery/jquery-1.11.3.min.js" type="text/javascript"></script>
  31. <script src="//static.gameclub.ph/GameClub/plugins/jquery-validation-1.15.0/dist/jquery.validate.min.js" type="text/javascript"></script>
  32. <script src="//static.gameclub.ph/GameClub/plugins/slick/slick.min.js" type="text/javascript" ></script>
  33. <script src="//static.gameclub.ph/GameClub/plugins/bootstrap-3.3.5/js/bootstrap.min.js" type="text/javascript"></script>
  34. <script src="//static.gameclub.ph/GameClub/plugins/imageHover.js" type="text/javascript"></script>
  35. <script src="//static.gameclub.ph/GameClub/plugins/dropit/dropit.js" type="text/javascript"></script>
  36. <script src="//static.gameclub.ph/GameClub/js/ui.js" type="text/javascript"></script>
  37. <script src="//static.gameclub.ph/GameClub/js/gameclub.js?ver=20200226" type="text/javascript"></script>
  38. <script type="text/javascript">
  39. (function (i, s, o, g, r, a, m) {
  40. i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
  41. (i[r].q = i[r].q || []).push(arguments)
  42. }, i[r].l = 1 * new Date(); a = s.createElement(o),
  43. m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
  44. })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
  45.  
  46. ga('create', 'UA-93902116-1', 'gameclub.ph');
  47. ga('send', 'pageview');
  48. </script>
  49.  
  50.  
  51.  
  52. </head>
  53. <body>
  54.  
  55. <script type="text/javascript" src="//static.gameclub.ph/Global/js/GameClubGnB.js?ver=20191204"></script>
  56.  
  57.  
  58.  
  59.  
  60. <div class="container">
  61. <div class="row" style="margin: 0 auto; padding: 60px 0 60px 0;">
  62. <img src="//static.gameclub.ph/GameClub/images/login.jpg" class="loginbanner" />
  63. <!-- form -->
  64. <div class="gcform">
  65. <div class="head">
  66. <span>MY ACCOUNT</span>
  67. </div>
  68.  
  69. <div class="body">
  70. <p class="title">Change Secret Question & Answer<br><small>You can reset your password using your Secret Question and Answer.<br>Please make sure to remember the information below.</small></p>
  71. <div class="forms form-password">
  72. <form class="form-horizontal">
  73.  
  74. <div class="form-group">
  75. <label for="secretq" class="col-xs-4"><li class="form-field">Secret Question</li></label>
  76. <div class="col-xs-7">
  77. <select class="form-control" name="squestion" id="squestion" aria-invalid="false">
  78. <option value=-1>Choose your secret question</option>
  79. <option value=0>** Create your own Secret Question **</option>
  80. <option value=1>What is your mothers maiden name?</option>
  81. <option value=2>What is your fathers middle name?</option>
  82. <option value=3>What city were you born in?</option>
  83. <option value=4>What is the name of your primary school?</option>
  84. <option value=5>What is the name of your first pet?</option>
  85. <option value=6>Who was your childhood hero?</option>
  86. <option value=7>What is your favorite past-time?</option>
  87. <option value=8>What is your all-time favorite sports team?</option>
  88. <option value=9>Where did you first meet your spouse?</option>
  89. <option value=10>Who is your favorite actor/actress?</option>
  90. </select>
  91. <i class="fa form-control-feedback" id="squestion1" aria-hidden="true"></i>
  92. </div>
  93. </div>
  94.  
  95. <div class="form-group" id="customQuestion" style="display: none;">
  96. <label for="ownq" class="col-xs-4"><li class="form-field">Own Question</li></label>
  97. <div class="col-xs-7">
  98. <input type="text" name="ownquestion" id="ownquestion" class="form-control" maxlength="30" required />
  99. <i class="fa form-control-feedback" id="ownquestion1" aria-hidden="true"></i>
  100. </div>
  101. </div>
  102.  
  103. <div class="form-group">
  104. <label for="answer" class="col-xs-4"><li class="form-field">Answer</li></label>
  105. <div class="col-xs-7">
  106. <input type="password" name="answer" id="answer" class="form-control" required />
  107. <i class="fa form-control-feedback" id="answer1" aria-hidden="true"></i>
  108. </div>
  109. </div>
  110.  
  111. </form>
  112. </div>
  113.  
  114. <div class="caution-list">
  115. <ul>
  116. <li>· You can create your own secret question by selecting ** Create your own Secret Question **.</li>
  117. <li>· Do not share your Secret Question & Answer to anyone.</li>
  118. </ul>
  119. </div>
  120. </div>
  121.  
  122. <!-- button area -->
  123. <div class="button-area">
  124. <button type="button" id="btn-submit" class="btn-special" style="float:left;">Change</button>
  125. <button type="button" id="btn-cancel" class="btn-gray" style="float:right;">Cancel</button>
  126. </div>
  127. </div>
  128. <!-- //form -->
  129. </div>
  130. </div>
  131.  
  132. <script>
  133.  
  134. $(function () {
  135. $(".menu").dropit();
  136.  
  137. $('#btn-cancel').click(function () {
  138. document.location.href = "/MyInfo/Index";
  139. });
  140.  
  141. $('#btn-submit').click(function () {
  142.  
  143. if ($('form').valid()) {
  144. $.ajax({
  145. url: "/MyInfo/SecretQnAUpdate",
  146. type: "POST",
  147. data: {question: $('#squestion').val(), txtQuestion: $('#ownquestion').val(), answer: $('#answer').val()},
  148. async: false,
  149. success: function (e) {
  150. alert(e.message);
  151.  
  152. if (e.code != 0) {
  153. return;
  154. }
  155. else {
  156. document.location = "/MyInfo/Index";
  157. }
  158. },
  159. error: function (xhr, status, error) {
  160. alert('Error has occurred while registering. Please Ask for Customer Center.');
  161. return;
  162. }
  163. });
  164. }
  165. });
  166.  
  167. $("#squestion").on('change', function () {
  168. if (this.value == 0) {
  169. $("#customQuestion").show();
  170. }
  171. else {
  172. $("#customQuestion").hide();
  173. }
  174. });
  175.  
  176. $.validator.addMethod("regx", function (value, element, regexpr) {
  177. return regexpr.test(value);
  178. });
  179.  
  180. $('form').validate({
  181. onfocusout: function (element) {
  182. $(element).valid();
  183. },
  184. onkeyup: false,
  185. onclick: false,
  186. rules: {
  187. squestion: {
  188. required:true,
  189. range:[0,10]
  190. },
  191. ownquestion: {
  192. required: true,
  193. minlength: 6,
  194. maxlength: 30,
  195. regx: /^[a-zA-Z0-9.`~!@#$%^&*|\\\'\";:\/?{|}=+\s]*$/
  196. },
  197. answer: {
  198. required: true,
  199. minlength: 3,
  200. maxlength: 20,
  201. regx: /^[a-zA-Z0-9.`~!@#$%^&*|\\\'\";:\/?{|}=+]*$/
  202. }
  203. },
  204. messages: {
  205. squestion: {
  206. required: 'Select Secret Question.',
  207. range: 'Select Secret Question.',
  208. },
  209. ownquestion: {
  210. required: 'Please create your Own Question.',
  211. minlength: 'Your &#39;Own Question&#39; must be at least 6 to 30 characters in length.',
  212. maxlength: 'Your &#39;Own Question&#39; must be at least 6 to 30 characters in length.',
  213. regx: 'The following are allowed in Own Question: a-z, A-Z, 0-9, space and common punctuation.',
  214. },
  215. answer: {
  216. required: 'Answer is required.',
  217. minlength: 'Answer must be at least 3 to 20 characters in length.',
  218. maxlength: 'Answer must be at least 3 to 20 characters in length.',
  219. regx: 'The following are allowed in Answer: a-z, A-Z, 0-9, No space and common punctuation.',
  220. }
  221. },
  222. submitHandler: function (form) {
  223. alert("Form submitted!");
  224. return false;
  225. },
  226. highlight: function (element) {
  227. var id_attr = "#" + $(element).attr("id") + "1";
  228. $(element).closest('.form-group').addClass('has-error');
  229. $(id_attr).addClass('fa-exclamation-circle');
  230. },
  231. unhighlight: function (element) {
  232. var id_attr = "#" + $(element).attr("id") + "1";
  233. $(element).closest('.form-group').removeClass('has-error');
  234. $(id_attr).removeClass('fa-exclamation-circle');
  235. },
  236. errorElement: 'span',
  237. errorClass: 'help-block',
  238. errorPlacement: function (error, element) {
  239. if (element.attr("name") == "dob_month" || element.attr("name") == "dob_day") {
  240. error.appendTo(element.parent("div").next("div"));
  241. } else if (element.attr("name") == "eula") {
  242. error.appendTo($('#eulaerror'));
  243. } else {
  244. error.insertAfter(element);
  245. }
  246. }
  247. });
  248.  
  249. });
  250. </script>
  251.  
  252.  
  253.  
  254. <footer class="footer">
  255. <div class="row">
  256. <div class="container">
  257. <div style="float: left;">
  258. <img src="//static.gameclub.ph/GameClub/images/gc-logo2.png">
  259. </div>
  260. <div style="float: left;">
  261. <div>
  262. <a href="javascript:void(0)" onclick="about()">About Us</a>
  263. &nbsp; &nbsp;| &nbsp; &nbsp;
  264. <!--<a href="javascript:void(0)" onclick="advertise()">Advertise With Us</a>-->
  265. <a href="" class="slideTo" data-slide="slide2">Advertise With Us</a>
  266. &nbsp; &nbsp;| &nbsp; &nbsp;
  267. <a href="javascript:void(0)" onclick="privacy()">Privacy Policy</a>
  268. &nbsp; &nbsp;| &nbsp; &nbsp;
  269. <a href="javascript:void(0)" onclick="terms()">Terms of Service</a>
  270. &nbsp; &nbsp;| &nbsp; &nbsp;
  271. <a href="javascript:void(0)" onclick="eula()">EULA</a>
  272. &nbsp; &nbsp;| &nbsp; &nbsp;
  273. <a href="javascript:void(0)" onclick="player()">Player Policies</a>
  274. </div>
  275. <div style="color: #666666;font-size: 12px;">
  276. &copy; 2019 Smilegate Megaport, Inc. All rights reserved.<br/> Trademarks referenced herein belong to their respective owners.
  277. </div>
  278. </div>
  279. </div>
  280. </div>
  281. </footer>
  282.  
  283.  
  284. </body>
  285. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement