<div> <?php if ($this->messageSuccess): ?> <p class="success"><?php $this->_($this->message); ?><br /></p> <?php else: ?> <p class="failure"><?php $this->_($this->message); ?><br /></p> <?php endif; ?> </div> <?php endif; ?> <div id="loginText"> <div class="ctr"> <img src="images/folder1_locked.jpg" width="64" height="64" alt="security" /> </div> <br /> <span>Welcome to CandidATS!</span><br /> <span style="font-size: 10px;">Version <?php echo(CATSUtility::getVersion()); ?></span> <?php if (ENABLE_DEMO_MODE && !($this->siteName != '' && $this->siteName != 'choose') || ($this->siteName == 'demo')): ?> <br /><br /> <a href="javascript:void(0);" onclick="demoLogin(); return false;">Login to Demo Account</a><br /> <?php endif; ?> </div> <div id="formBlock"> <form name="loginForm" id="loginForm" action="<?php echo(CATSUtility::getIndexName()); ?>?m=login&a=attemptLogin<?php if ($this->reloginVars != ''): ?>&reloginVars=<?php echo($this->reloginVars); ?><?php endif; ?>" method="post" onsubmit="return checkLoginForm(document.loginForm);" autocomplete="off"> <div id="subFormBlock"> <?php if ($this->siteName != '' && $this->siteName != 'choose'): ?> <?php if ($this->siteNameFull == 'error'): ?> <label>This site does not exist. Please check the URL and try again.</label> <br /> <br />