Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://www.gameclub.ph/MyInfo/SecretQnA
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=0.25">
- <meta name="author" content="GBPlay Inc. (Formerly GameClub)">
- <meta name="description" content="GBPlay Inc.(Formerly GameClub)|Number 1 online game distributor in the philippines">
- <meta name="keywords" content="Crossfire online games, Crossfire online gaming philippines, gameclub, gbplay inc, weapons of war, wow">
- <meta name="robots" content="all">
- <title>Gameclub</title>
- <link href="//static.gameclub.ph/GameClub/images/favicon.ico" rel="shortcut icon" />
- <link href="//static.gameclub.ph/GameClub/plugins/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet" />
- <link href="//static.gameclub.ph/GameClub/plugins/font-awesome-4.6.3/css/font-awesome.min.css" rel="stylesheet">
- <link href="//static.gameclub.ph/GameClub/plugins/dropit/dropit2.css" rel="stylesheet" />
- <link href="//static.gameclub.ph/GameClub/plugins/slick/slick.css" rel="stylesheet">
- <link href="//static.gameclub.ph/GameClub/plugins/slick/slick-theme.css" rel="stylesheet">
- <link href="//static.gameclub.ph/GameClub/css/style.css?ver=20200226" rel="stylesheet" />
- <link href="//static.gameclub.ph/GameClub/css/myaccount.css?ver=20200226" rel="stylesheet" />
- <script src="//static.gameclub.ph/GameClub/plugins/jquery/jquery-1.11.3.min.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/plugins/jquery-validation-1.15.0/dist/jquery.validate.min.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/plugins/slick/slick.min.js" type="text/javascript" ></script>
- <script src="//static.gameclub.ph/GameClub/plugins/bootstrap-3.3.5/js/bootstrap.min.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/plugins/imageHover.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/plugins/dropit/dropit.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/js/ui.js" type="text/javascript"></script>
- <script src="//static.gameclub.ph/GameClub/js/gameclub.js?ver=20200226" type="text/javascript"></script>
- <script type="text/javascript">
- (function (i, s, o, g, r, a, m) {
- i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function () {
- (i[r].q = i[r].q || []).push(arguments)
- }, i[r].l = 1 * new Date(); a = s.createElement(o),
- m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m)
- })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga');
- ga('create', 'UA-93902116-1', 'gameclub.ph');
- ga('send', 'pageview');
- </script>
- </head>
- <body>
- <script type="text/javascript" src="//static.gameclub.ph/Global/js/GameClubGnB.js?ver=20191204"></script>
- <div class="container">
- <div class="row" style="margin: 0 auto; padding: 60px 0 60px 0;">
- <img src="//static.gameclub.ph/GameClub/images/login.jpg" class="loginbanner" />
- <!-- form -->
- <div class="gcform">
- <div class="head">
- <span>MY ACCOUNT</span>
- </div>
- <div class="body">
- <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>
- <div class="forms form-password">
- <form class="form-horizontal">
- <div class="form-group">
- <label for="secretq" class="col-xs-4"><li class="form-field">Secret Question</li></label>
- <div class="col-xs-7">
- <select class="form-control" name="squestion" id="squestion" aria-invalid="false">
- <option value=-1>Choose your secret question</option>
- <option value=0>** Create your own Secret Question **</option>
- <option value=1>What is your mothers maiden name?</option>
- <option value=2>What is your fathers middle name?</option>
- <option value=3>What city were you born in?</option>
- <option value=4>What is the name of your primary school?</option>
- <option value=5>What is the name of your first pet?</option>
- <option value=6>Who was your childhood hero?</option>
- <option value=7>What is your favorite past-time?</option>
- <option value=8>What is your all-time favorite sports team?</option>
- <option value=9>Where did you first meet your spouse?</option>
- <option value=10>Who is your favorite actor/actress?</option>
- </select>
- <i class="fa form-control-feedback" id="squestion1" aria-hidden="true"></i>
- </div>
- </div>
- <div class="form-group" id="customQuestion" style="display: none;">
- <label for="ownq" class="col-xs-4"><li class="form-field">Own Question</li></label>
- <div class="col-xs-7">
- <input type="text" name="ownquestion" id="ownquestion" class="form-control" maxlength="30" required />
- <i class="fa form-control-feedback" id="ownquestion1" aria-hidden="true"></i>
- </div>
- </div>
- <div class="form-group">
- <label for="answer" class="col-xs-4"><li class="form-field">Answer</li></label>
- <div class="col-xs-7">
- <input type="password" name="answer" id="answer" class="form-control" required />
- <i class="fa form-control-feedback" id="answer1" aria-hidden="true"></i>
- </div>
- </div>
- </form>
- </div>
- <div class="caution-list">
- <ul>
- <li>· You can create your own secret question by selecting ** Create your own Secret Question **.</li>
- <li>· Do not share your Secret Question & Answer to anyone.</li>
- </ul>
- </div>
- </div>
- <!-- button area -->
- <div class="button-area">
- <button type="button" id="btn-submit" class="btn-special" style="float:left;">Change</button>
- <button type="button" id="btn-cancel" class="btn-gray" style="float:right;">Cancel</button>
- </div>
- </div>
- <!-- //form -->
- </div>
- </div>
- <script>
- $(function () {
- $(".menu").dropit();
- $('#btn-cancel').click(function () {
- document.location.href = "/MyInfo/Index";
- });
- $('#btn-submit').click(function () {
- if ($('form').valid()) {
- $.ajax({
- url: "/MyInfo/SecretQnAUpdate",
- type: "POST",
- data: {question: $('#squestion').val(), txtQuestion: $('#ownquestion').val(), answer: $('#answer').val()},
- async: false,
- success: function (e) {
- alert(e.message);
- if (e.code != 0) {
- return;
- }
- else {
- document.location = "/MyInfo/Index";
- }
- },
- error: function (xhr, status, error) {
- alert('Error has occurred while registering. Please Ask for Customer Center.');
- return;
- }
- });
- }
- });
- $("#squestion").on('change', function () {
- if (this.value == 0) {
- $("#customQuestion").show();
- }
- else {
- $("#customQuestion").hide();
- }
- });
- $.validator.addMethod("regx", function (value, element, regexpr) {
- return regexpr.test(value);
- });
- $('form').validate({
- onfocusout: function (element) {
- $(element).valid();
- },
- onkeyup: false,
- onclick: false,
- rules: {
- squestion: {
- required:true,
- range:[0,10]
- },
- ownquestion: {
- required: true,
- minlength: 6,
- maxlength: 30,
- regx: /^[a-zA-Z0-9.`~!@#$%^&*|\\\'\";:\/?{|}=+\s]*$/
- },
- answer: {
- required: true,
- minlength: 3,
- maxlength: 20,
- regx: /^[a-zA-Z0-9.`~!@#$%^&*|\\\'\";:\/?{|}=+]*$/
- }
- },
- messages: {
- squestion: {
- required: 'Select Secret Question.',
- range: 'Select Secret Question.',
- },
- ownquestion: {
- required: 'Please create your Own Question.',
- minlength: 'Your 'Own Question' must be at least 6 to 30 characters in length.',
- maxlength: 'Your 'Own Question' must be at least 6 to 30 characters in length.',
- regx: 'The following are allowed in Own Question: a-z, A-Z, 0-9, space and common punctuation.',
- },
- answer: {
- required: 'Answer is required.',
- minlength: 'Answer must be at least 3 to 20 characters in length.',
- maxlength: 'Answer must be at least 3 to 20 characters in length.',
- regx: 'The following are allowed in Answer: a-z, A-Z, 0-9, No space and common punctuation.',
- }
- },
- submitHandler: function (form) {
- alert("Form submitted!");
- return false;
- },
- highlight: function (element) {
- var id_attr = "#" + $(element).attr("id") + "1";
- $(element).closest('.form-group').addClass('has-error');
- $(id_attr).addClass('fa-exclamation-circle');
- },
- unhighlight: function (element) {
- var id_attr = "#" + $(element).attr("id") + "1";
- $(element).closest('.form-group').removeClass('has-error');
- $(id_attr).removeClass('fa-exclamation-circle');
- },
- errorElement: 'span',
- errorClass: 'help-block',
- errorPlacement: function (error, element) {
- if (element.attr("name") == "dob_month" || element.attr("name") == "dob_day") {
- error.appendTo(element.parent("div").next("div"));
- } else if (element.attr("name") == "eula") {
- error.appendTo($('#eulaerror'));
- } else {
- error.insertAfter(element);
- }
- }
- });
- });
- </script>
- <footer class="footer">
- <div class="row">
- <div class="container">
- <div style="float: left;">
- <img src="//static.gameclub.ph/GameClub/images/gc-logo2.png">
- </div>
- <div style="float: left;">
- <div>
- <a href="javascript:void(0)" onclick="about()">About Us</a>
- |
- <!--<a href="javascript:void(0)" onclick="advertise()">Advertise With Us</a>-->
- <a href="" class="slideTo" data-slide="slide2">Advertise With Us</a>
- |
- <a href="javascript:void(0)" onclick="privacy()">Privacy Policy</a>
- |
- <a href="javascript:void(0)" onclick="terms()">Terms of Service</a>
- |
- <a href="javascript:void(0)" onclick="eula()">EULA</a>
- |
- <a href="javascript:void(0)" onclick="player()">Player Policies</a>
- </div>
- <div style="color: #666666;font-size: 12px;">
- © 2019 Smilegate Megaport, Inc. All rights reserved.<br/> Trademarks referenced herein belong to their respective owners.
- </div>
- </div>
- </div>
- </div>
- </footer>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement