PATH:
home
/
centosnipponia
/
public_html
/
ticketing.nipponia.com
/
include
/
client
<?php $info = $_POST; if (!isset($info['timezone'])) $info += array( 'backend' => null, ); if (isset($user) && $user instanceof ClientCreateRequest) { $bk = $user->getBackend(); $info = array_merge($info, array( 'backend' => $bk->getBkId(), 'username' => $user->getUsername(), )); } $info = Format::htmlchars(($errors && $_POST)?$_POST:$info); ?> <h1><?php echo __('Account Registration'); ?></h1> <p><?php echo __( 'Use the forms below to create or update the information we have on file for your account' ); ?> </p> <form action="account.php" method="post"> <?php csrf_token(); ?> <input type="hidden" name="do" value="<?php echo Format::htmlchars($_REQUEST['do'] ?: ($info['backend'] ? 'import' :'create')); ?>" /> <table width="800" class="padded"> <tbody> <?php $cf = $user_form ?: UserForm::getInstance(); $cf->render(array('staff' => false, 'mode' => 'create')); ?> <tr> <td colspan="2"> <div><hr><h3><?php echo __('Preferences'); ?></h3> </div> </td> </tr> <tr> <td width="180"> <?php echo __('Time Zone');?>: </td> <td> <?php $TZ_NAME = 'timezone'; $TZ_TIMEZONE = $info['timezone']; include INCLUDE_DIR.'staff/templates/timezone.tmpl.php'; ?> <div class="error"><?php echo $errors['timezone']; ?></div> </td> </tr> <tr> <td colspan=2"> <div><hr><h3><?php echo __('Access Credentials'); ?></h3></div> </td> </tr> <?php if ($info['backend']) { ?> <tr> <td width="180"> <?php echo __('Login With'); ?>: </td> <td> <input type="hidden" name="backend" value="<?php echo $info['backend']; ?>"/> <input type="hidden" name="username" value="<?php echo $info['username']; ?>"/> <?php foreach (UserAuthenticationBackend::allRegistered() as $bk) { if ($bk->getBkId() == $info['backend']) { echo $bk->getName(); break; } } ?> </td> </tr> <?php } else { ?> <tr> <td width="180"> <?php echo __('Create a Password'); ?>: </td> <td> <input type="password" size="18" name="passwd1" maxlength="128" value="<?php echo $info['passwd1']; ?>"> <span class="error"> <?php echo $errors['passwd1']; ?></span> </td> </tr> <tr> <td width="180"> <?php echo __('Confirm New Password'); ?>: </td> <td> <input type="password" size="18" name="passwd2" maxlength="128" value="<?php echo $info['passwd2']; ?>"> <span class="error"> <?php echo $errors['passwd2']; ?></span> </td> </tr> <?php } ?> </tbody> </table> <!--osta--> <script> $('.required').closest('td').addClass("client-required"); $(".required").html(function(i, html){ return html.replace("*", ""); }); </script> <hr> <p style="text-align: center;"> <input type="submit" value="<?php echo __('Register'); ?>"/> <input type="button" value="<?php echo __('Cancel'); ?>" onclick="javascript: window.location.href='index.php';"/> </p> </form> <?php if (!isset($info['timezone'])) { ?> <!-- Auto detect client's timezone where possible --> <script type="text/javascript" src="<?php echo ROOT_PATH; ?>js/jstz.min.js?53339df"></script> <script type="text/javascript"> $(function() { var zone = jstz.determine(); $('#timezone-dropdown').val(zone.name()).trigger('change'); }); </script> <?php }
[+]
..
[-] login.inc.php
[edit]
[-] accesslink.inc.php
[edit]
[-] staff.inc.php
[edit]
[-] register.confirmed.inc.php
[edit]
[-] faq.inc.php
[edit]
[-] login.tpl.php
[edit]
[-] pwreset.request.php
[edit]
[-] register.inc.php
[edit]
[-] open.inc.php
[edit]
[-] header.inc.php
[edit]
[-] register.confirm.inc.php
[edit]
[-] kb-categories.inc.php
[edit]
[-] faq-category.inc.php
[edit]
[-] kb-search.inc.php
[edit]
[-] pwreset.sent.php
[edit]
[-] profile.inc.php
[edit]
[-] view.inc.php
[edit]
[-] pwreset.login.php
[edit]
[-] knowledgebase.inc.php
[edit]
[+]
templates
[-] tickets.inc.php
[edit]
[-] footer.inc.php
[edit]
[-] edit.inc.php
[edit]
[-] .htaccess.disabled
[edit]