Location: PHPKode > projects > OpenBizMap > openbizmap/mydata/script/skin_login.html
<?php

$skin='header';
if(file_exists(cfg_data_path.'/config/script/skin_'.$skin.'.html'))
{
  include(cfg_data_path.'/config/script/skin_'.$skin.'.html');
}
else
{
  include(cfg_data_path.'/script/skin_'.$skin.'.html');
}

?>

  <form id="login" action="index.php" method="post">
  <input name="odb_login" type="hidden" value="login" />
  <input name="odb_search" type="hidden" value="<?php echo get('search'); ?>" />
  <input name="odb_script" type="hidden" value="<?php echo get('script'); ?>" />
  <input id="odb_width" name="odb_width" type="hidden" value="1000" />

<script>
  document.getElementById('odb_width').value=self.innerWidth;
</script>

  <table style="border:#888 1px solid; background: #fff; margin: 20px auto 20px auto;">
    <tr>
      <td rowspan="6" style="background:#fff; width:50px; border-right:#aaa 1px solid; text-align:center;"><img style="margin:5px;" src="images/login.gif" /></td>
      <td colspan="3" style="width:300px; height:70px; text-align:center;"><h1><?php echo cfg_skin_name; ?></h1>
        <?php
          echo '<p style="color:#fff; margin:10px; font-size:larger; background-color:#f00;">'.$message.'</p>';
        ?>
      </td>
      <?php
        if(defined('cfg_login_info') and cfg_login_info!='')
        {
          echo '<td rowspan="6" style="background:#fff; border-left:#aaa 1px solid; text-align:left; padding:10px;">';
          echo cfg_login_info;
          echo '</td>';
        }
      ?>

    </tr>
		<tr>
			<td style="text-align:center;"><?php myecho('User'); ?></td>
			<td style="width:130px; height:30px;"><input type="text" name="odb_username" value="<?php if(!strpos(USERNAME,'Guest')) echo USERNAME; ?>">
			</td>
      <td style="width:30px;">&nbsp;</td>
		</tr>
		<tr>
			<td style="text-align:center;"><?php myecho('Password'); ?></td>
			<td style="width:130px; height:30px;"><input type="password" name="odb_password" value="">
			</td>
      <td>&nbsp;</td>
		</tr>

    <tr>
			<td><?php if(cfg_rememberme=='ON') { ?><td style="width:130px; height:30px;"> <input style="margin:0 10px 0 0; vertical-align:text-bottom;" type='checkbox' name='odb_rememberme'><?php myecho('Remember me'); } ?></td>
      <td>&nbsp;</td>
		</tr>
		<tr>
      <td>&nbsp;</td>
			<td style="text-align:right; padding-bottom:15px;" >
				<input class="submit" type="submit" value="<?php myecho('Enter'); ?>" />
			</td>
      <td>&nbsp;</td>
		</tr>
    <tr>
			<td style="text-align:right; padding:5px;" colspan="3"><a href="index.php?odb_skin=newuser"><?php myecho('New User'); ?></a> | <a href="index.php?odb_skin=forgot"><?php myecho('Forgot password?'); ?></a></td>
		</tr>
	</table>
  </form>


<?php

$skin='footer';
if(file_exists(cfg_data_path.'/config/script/skin_'.$skin.'.html'))
{
  include(cfg_data_path.'/config/script/skin_'.$skin.'.html');
}
else
{
  include(cfg_data_path.'/script/skin_'.$skin.'.html');
}

?>
Return current item: OpenBizMap