PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
staff
<?php include_once(INCLUDE_DIR.'staff/login.header.php'); $info = ($_POST && $errors)?Format::htmlchars($_POST):array(); // osta require_once $_SERVER['DOCUMENT_ROOT'] . ROOT_PATH . "/osta/php/functions.php"; $opt = get_config(); if ($thisstaff && $thisstaff->is2FAPending()) $msg = "2FA Pending"; ?> <div id="brickwall"></div> <div id="loginBox"> <div id="blur"> <div id="background"></div> </div> <!--osta--> <a id="header-logo" href="<?php echo ROOT_PATH; ?>scp/"> <div id="login-title"> <div id="header-text"> <div id="header-title"> <?php echo $opt["title"]; ?> </div> </div> <div id="header-image"> <img src="<?php echo get_logo( $opt, "staff" )?>?<?php echo strtotime($cfg->lastModified('staff_logo_id')); ?>" alt="osTicket — <?php echo __('Customer Support System'); ?>"/> </div> <div id="header-default"> <?php $file_name = ROOT_DIR ."osta/inc/default-logo.html"; echo file_get_contents($file_name); ?> </div> </div> </a> <h3><?php echo Format::htmlchars($msg); ?></h3> <div class="banner"><small><?php echo ($content) ? Format::display($content->getLocalBody()) : ''; ?></small></div> <div id="loading" style="display:none;" class="dialog"> <h1><i class="icon-spinner icon-spin icon-large"></i> <?php echo __('Verifying');?></h1> </div> <form action="login.php" method="post" id="login" onsubmit="attemptLoginAjax(event)"> <?php csrf_token(); if ($thisstaff && $thisstaff->is2FAPending() && ($bk=$thisstaff->get2FABackend()) && ($form=$bk->getInputForm($_POST))) { // Render 2FA input form include STAFFINC_DIR . 'templates/dynamic-form-simple.tmpl.php'; ?> <fieldset style="padding-top:10px;"> <input type="hidden" name="do" value="2fa"> <button class="submit button pull-center" type="submit" name="submit"><i class="icon-signin"></i> <?php echo __('Verify'); ?> </button> </fieldset> <?php } else { ?> <input type="hidden" name="do" value="scplogin"> <fieldset> <!--osta--> <div id="login-userid"></div><input type="text" name="userid" id="name" value="<?php echo $info['userid']; ?>" placeholder="<?php echo __('Email or Username'); ?>" autofocus autocorrect="off" autocapitalize="off"> <div id="login-password"></div><input type="password" name="passwd" id="pass" placeholder="<?php echo __('Password'); ?>" autocorrect="off" autocapitalize="off"> <button class="submit button pull-right" type="submit" name="submit"><i class="icon-signin"></i> <?php echo __('Log In'); ?> </button> <div id="pw-reset"><h3><a id="reset-link" class="<?php if (!$show_reset || !$cfg->allowPasswordReset()) echo 'hidden'; ?>" href="pwreset.php"><?php echo __('Forgot My Password'); ?></a></h3></div> </fieldset> <?php } ?> </form> <?php if (($bks=StaffAuthenticationBackend::getExternal())) { ?> <div class="or"> <hr/> </div><?php foreach ($bks as $bk) { ?> <div class="external-auth"><?php $bk->renderExternalLink(); ?></div><br/><?php } } ?> <div id="company"> <div class="content"> <?php echo __('Copyright'); ?> © <?php echo Format::htmlchars($ost->company) ?: date('Y'); ?> </div> </div> </div> <div id="poweredBy"><?php echo __('Powered by'); ?> <a href="http://www.osticket.com" target="_blank"> <img alt="osTicket" src="images/osticket-grey.png" class="osticket-logo"> </a> </div> <script> document.addEventListener('DOMContentLoaded', function() { if (undefined === window.getComputedStyle(document.documentElement).backgroundBlendMode) { document.getElementById('loginBox').style.backgroundColor = 'white'; } }); function attemptLoginAjax(e) { $('#loading').show(); var objectifyForm = function(formArray) { //serialize data function var returnArray = {}; for (var i = 0; i < formArray.length; i++) { returnArray[formArray[i]['name']] = formArray[i]['value']; } return returnArray; }; if ($.fn.effect) { // For some reason, JQuery-UI shake does not considere an element's // padding when shaking. Looks like it might be fixed in 1.12. // Thanks, https://stackoverflow.com/a/22302374 var oldEffect = $.fn.effect; $.fn.effect = function (effectName) { if (effectName === "shake") { $('#loading').hide(); var old = $.effects.createWrapper; $.effects.createWrapper = function (element) { var result; var oldCSS = $.fn.css; $.fn.css = function (size) { var _element = this; var hasOwn = Object.prototype.hasOwnProperty; return _element === element && hasOwn.call(size, "width") && hasOwn.call(size, "height") && _element || oldCSS.apply(this, arguments); }; result = old.apply(this, arguments); $.fn.css = oldCSS; return result; }; } return oldEffect.apply(this, arguments); }; } var form = $(e.target), data = objectifyForm(form.serializeArray()) data.ajax = 1; $('button[type=submit]', form).attr('disabled', 'disabled'); $.ajax({ url: form.attr('action'), method: 'POST', data: data, cache: false, success: function(json) { $('button[type=submit]', form).removeAttr('disabled'); if (!typeof(json) === 'object' || !json.status) return; switch (json.status) { case 401: if (json && json.redirect) document.location.href = json.redirect; if (json && json.message) $('#login-message').text(json.message) if (json && json.show_reset) $('#reset-link').show() if ($.fn.effect) { $('#loginBox').effect('shake') } // Clear the password field $('#pass').val('').focus(); break case 302: if (json && json.redirect) document.location.href = json.redirect; break } }, }); e.preventDefault(); e.stopPropagation(); e.stopImmediatePropagation(); return false; } </script> <!--[if IE]> <style> #loginBox:after { background-color: white !important; } </style> <![endif]--> <script type="text/javascript" src="<?php echo ROOT_PATH; ?>js/jquery-ui-1.13.2.custom.min.js?0375576"></script> <?php if (osta_is_demo()): ?> <?php include ROOT_DIR . 'osta/inc/back-button.html'; ?> <?php include ROOT_DIR . 'osta/inc/database-reset-warning.html'; ?> <?php endif; ?> </body> </html>
[+]
..
[-] faq-categories.inc.php
[edit]
[-] settings-autoresp.inc.php
[edit]
[-] login.header.php
[edit]
[-] ticket-tasks.inc.php
[edit]
[-] task-view.inc.php
[edit]
[-] staff.inc.php
[edit]
[-] index.php
[edit]
[-] dynamic-list.inc.php
[edit]
[-] settings-tickets.inc.php
[edit]
[-] page.inc.php
[edit]
[-] emails.inc.php
[edit]
[-] dynamic-forms.inc.php
[edit]
[-] cannedresponses.inc.php
[edit]
[-] settings-system.inc.php
[edit]
[-] categories.inc.php
[edit]
[-] faq.inc.php
[edit]
[-] user-view.inc.php
[edit]
[-] plugin-instance.inc.php
[edit]
[-] plugin-add.inc.php
[edit]
[-] login.tpl.php
[edit]
[-] department.inc.php
[edit]
[-] syslogs.inc.php
[edit]
[-] template.inc.php
[edit]
[-] category.inc.php
[edit]
[-] ticket-relations.inc.php
[edit]
[-] header.inc.php
[edit]
[-] schedule.inc.php
[edit]
[-] faq-view.inc.php
[edit]
[-] settings-alerts.inc.php
[edit]
[-] settings-users.inc.php
[edit]
[-] pages.inc.php
[edit]
[-] slaplans.inc.php
[edit]
[-] team.inc.php
[edit]
[-] helptopics.inc.php
[edit]
[-] role.inc.php
[edit]
[-] settings-pages.inc.php
[edit]
[-] users.inc.php
[edit]
[-] faq-category.inc.php
[edit]
[-] orgs.inc.php
[edit]
[-] pwreset.sent.php
[edit]
[-] settings-agents.inc.php
[edit]
[-] settings-emails.inc.php
[edit]
[+]
osta
[-] templates.inc.php
[edit]
[-] theme.inc.php
[edit]
[-] helptopic.inc.php
[edit]
[-] profile.inc.php
[edit]
[-] email.inc.php
[edit]
[-] ticket-open.inc.php
[edit]
[-] roles.inc.php
[edit]
[-] ticket-view.inc.php
[edit]
[-] schedules.inc.php
[edit]
[-] departments.inc.php
[edit]
[-] pwreset.login.php
[edit]
[-] filter.inc.php
[edit]
[-] queues-ticket.inc.php
[edit]
[-] plugin.inc.php
[edit]
[-] slaplan.inc.php
[edit]
[-] filters.inc.php
[edit]
[-] dashboard.inc.php
[edit]
[-] pwreset.php
[edit]
[-] tpl.inc.php
[edit]
[-] cannedresponse.inc.php
[edit]
[-] dynamic-form.inc.php
[edit]
[-] teams.inc.php
[edit]
[-] dynamic-lists.inc.php
[edit]
[-] tasks.inc.php
[edit]
[-] banrule.inc.php
[edit]
[-] ticket-edit.inc.php
[edit]
[-] settings-kb.inc.php
[edit]
[-] plugins.inc.php
[edit]
[-] directory.inc.php
[edit]
[-] apikeys.inc.php
[edit]
[-] org-view.inc.php
[edit]
[-] system.inc.php
[edit]
[+]
templates
[-] staffmembers.inc.php
[edit]
[-] banlist.inc.php
[edit]
[-] footer.inc.php
[edit]
[-] settings-tasks.inc.php
[edit]
[-] apikey.inc.php
[edit]
[-] queue.inc.php
[edit]
[-] .htaccess.disabled
[edit]