2011-04-25 15:24:01 +00:00
|
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
|
|
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
|
|
|
<head>
|
|
|
|
<title>Web Logbook</title>
|
|
|
|
<link rel="stylesheet" href="<?php echo base_url();?>css/reset.css" type="text/css" />
|
2011-06-17 12:52:00 +00:00
|
|
|
<link type="text/css" href="<?php echo base_url(); ?>css/flick/jquery-ui-1.8.12.custom.css" rel="stylesheet" />
|
|
|
|
|
|
|
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-1.5.1.min.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="<?php echo base_url(); ?>js/jquery-ui-1.8.12.custom.min.js"></script>
|
2011-04-25 15:24:01 +00:00
|
|
|
|
2011-06-17 12:52:00 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function(){
|
|
|
|
// Accordion
|
|
|
|
$("#tabs").tabs();
|
|
|
|
$( "button, input:submit", ".wrap_content" ).button();
|
2011-08-19 16:12:27 +00:00
|
|
|
$( "#admin" ).click(function() {
|
2011-08-19 16:26:11 +00:00
|
|
|
$( "#submenu" ).toggle( 'blinds', null, 500 );
|
|
|
|
$( "#clear" ).toggle( 'blinds', null, 500 );
|
2011-08-19 16:12:27 +00:00
|
|
|
return false;
|
|
|
|
});
|
2011-06-17 12:52:00 +00:00
|
|
|
});
|
|
|
|
</script>
|
2011-04-25 15:24:01 +00:00
|
|
|
<style type="text/css" media="screen" >
|
2011-06-22 17:40:07 +00:00
|
|
|
body { background-color: #e6e6e6; font-family: Arial, "Trebuchet MS", sans-serif; }
|
2011-06-17 12:52:00 +00:00
|
|
|
td { padding: 1px;}
|
2011-06-22 17:40:07 +00:00
|
|
|
.tr1 td { background:none repeat scroll 0 0 #F0FFFF; }
|
2011-08-18 00:30:05 +00:00
|
|
|
.partial td, .logbook td, .users td { padding: 5px; }
|
2011-08-19 16:26:11 +00:00
|
|
|
#submenu { height: 30px; color:#ffffff; clear: both; <?php
|
2011-08-19 16:12:27 +00:00
|
|
|
|
|
|
|
switch ($this->uri->segment(1)) {
|
|
|
|
case "user":
|
|
|
|
?> display: normal; <?php
|
|
|
|
break;
|
|
|
|
default:
|
|
|
|
?> display: none; <?php
|
|
|
|
}
|
|
|
|
|
|
|
|
?>}
|
|
|
|
#nav { background-image: url('<?php echo base_url(); ?>/images/nav_bg.gif'); height: 39px; color:#ffffff; border-bottom: 1px solid #9bc9ed; }
|
2011-07-06 16:15:48 +00:00
|
|
|
.log_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
|
2011-08-18 00:30:05 +00:00
|
|
|
.auth_title { background-image: url('<?php echo base_url(); ?>/images/grey_bg.png'); background-repeat: repeat-x; color: #439bf6; }
|
|
|
|
.small { font-size: 9px; }
|
2011-08-19 16:12:27 +00:00
|
|
|
.error { color: #a00; }
|
2011-06-17 12:52:00 +00:00
|
|
|
|
2011-04-25 15:24:01 +00:00
|
|
|
/* Nav List CSS */
|
|
|
|
ul#navlist { font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
|
|
|
|
ul#navlist li.active { float: left; background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
|
|
|
|
ul#navlist li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: none; text-align:center; }
|
|
|
|
#navlist .active a{ color: #ebebeb ; }
|
|
|
|
#navlist a { float: left; display: block; color: #ebebeb; text-decoration: none; padding-top: 7px; padding-left: 6px; padding-right: 5px; text-align:center; }
|
|
|
|
#navlist a:hover { }
|
|
|
|
|
2011-08-19 16:12:27 +00:00
|
|
|
/* Submenu List CSS */
|
|
|
|
ul#sublist { font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
|
|
|
|
ul#sublist li.active { float: left; background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
|
2011-08-19 16:26:11 +00:00
|
|
|
ul#sublist li { float: left; margin: 2px 2px 0 3px; height:20px; border-bottom: none; text-align:center; background-color: #fff; padding: 3px;}
|
2011-08-19 16:12:27 +00:00
|
|
|
#sublist .active a{ color: #ebebeb ; }
|
|
|
|
#sublist a { float: left; display: block; color: #000; text-decoration: none; padding-top: 0px; padding-left: 6px; padding-right: 5px; text-align:center; }
|
|
|
|
#sublist a:hover { }
|
|
|
|
|
2011-08-18 00:30:05 +00:00
|
|
|
ul#user { float: right; font: bold 15px "Trebuchet MS", sans-serif; list-style-type: none; margin: 0; margin-left: 10px; }
|
|
|
|
ul#user li.active { background-image: none; background-color: #fff; margin: 2px 2px 0 3px; height:34px; text-align:center; }
|
|
|
|
ul#user li { float: left; margin: 2px 2px 0 3px; height:43px; border-bottom: none; text-align:center; }
|
|
|
|
#user .active a{ color: #ebebeb ; }
|
|
|
|
#user a { float: left; display: block; color: #ebebeb; text-decoration: none; padding-top: 7px; padding-left: 6px; padding-right: 5px; text-align:center; }
|
|
|
|
#user a:hover { }
|
|
|
|
|
|
|
|
|
2011-06-17 12:52:00 +00:00
|
|
|
.wrap_content { margin: 0 auto; width: 780px; border: 1px solid #d7d7d7; background-color: #ffffff; padding-bottom: 5px; }
|
|
|
|
|
|
|
|
#footer { margin: 0 auto; width: 780px; text-align: center; padding-top: 5px; padding-bottom: 5px; font-size: 12px; }
|
|
|
|
|
|
|
|
#message { margin: 0 auto; width: 770px; border: 1px solid #fcefa1; background-color: #fbfaf3; padding: 5px; margin-top: 5px; margin-bottom: 5px; font-weight: bold; font-size: 12px; }
|
2011-07-21 23:10:09 +00:00
|
|
|
#message p { line-height: 1.7; margin: 0px 0; }
|
2011-04-25 15:24:01 +00:00
|
|
|
.clear { clear: both; }
|
2011-06-17 12:52:00 +00:00
|
|
|
h2 { margin: 0 auto; width: 780px; font-weight: bold; font-size: 23px; margin-top: 5px; margin-bottom: 10px; }
|
2011-06-22 17:40:07 +00:00
|
|
|
h3 { font-weight: bold; font-size: 16px; margin: 5px; }
|
2011-06-17 12:52:00 +00:00
|
|
|
table .titles { font-weight: bold; }
|
|
|
|
#tabs { margin: 5px; }
|
|
|
|
|
|
|
|
/* QSO Logging CSS */
|
|
|
|
#callsign { text-transform: uppercase; }
|
|
|
|
.controls { margin: 5px; }
|
|
|
|
.title { padding-top: 5px; padding-bottom: 5px; color: #0073EA; font-weight: bold; }
|
2011-06-22 17:40:07 +00:00
|
|
|
#qso_input { border: 1px solid #dddddd; margin: 5px; padding: 2px; }
|
|
|
|
.input_date { width: 70px; }
|
|
|
|
.input_time { width: 54px; }
|
2011-07-21 23:10:09 +00:00
|
|
|
#locator { width: 55px; text-transform: uppercase; }
|
2011-06-22 17:40:07 +00:00
|
|
|
#country { border: none; }
|
|
|
|
#locator_info { font-size: 13px; }
|
2011-07-24 22:33:08 +00:00
|
|
|
#name { width: 145px; }
|
|
|
|
#comment { width: 89.5%; }
|
2011-06-17 12:52:00 +00:00
|
|
|
|
|
|
|
.dash_left { float: left; width: 430px; }
|
|
|
|
.dash_sidebar { float: right; width: 350px; }
|
|
|
|
.note { padding: 5px; }
|
2011-08-18 00:30:05 +00:00
|
|
|
.auth { padding: 5px; }
|
2011-06-17 12:52:00 +00:00
|
|
|
#notes_add { padding: 5px; }
|
|
|
|
#search_box { padding: 5px; }
|
2011-07-21 23:10:09 +00:00
|
|
|
|
|
|
|
a { text-decoration: none; color: #000; }
|
|
|
|
a:hover { text-decoration: underline; }
|
|
|
|
|
2011-07-24 22:33:08 +00:00
|
|
|
|
|
|
|
ul.notes_list {list-style-type: circle; padding-left: 20px; }
|
|
|
|
|
2011-07-21 23:10:09 +00:00
|
|
|
p {
|
|
|
|
line-height: 1.7;
|
|
|
|
margin: 10px 0;
|
|
|
|
}
|
|
|
|
|
2011-08-17 15:12:41 +00:00
|
|
|
.contest_wrap { margin: 0 auto; width: 95%; }
|
|
|
|
.contest_wrap h2 { margin: 0; width: 100%; font-weight: bold; font-size: 23px; margin-top: 5px; margin-bottom: 10px; }
|
|
|
|
.contest_view { margin: 0 auto; width: 100%; border: 1px solid #d7d7d7; background-color: #ffffff; padding: 5px; }
|
2011-08-18 16:08:04 +00:00
|
|
|
.contest_sidebar {
|
|
|
|
width: 30%;
|
|
|
|
float: right;
|
|
|
|
margin: 0 auto;
|
|
|
|
}
|
2011-04-25 15:24:01 +00:00
|
|
|
</style>
|
2011-06-17 12:52:00 +00:00
|
|
|
|
|
|
|
<script src="http://maps.google.com/maps?file=api&v=2&key=<?php echo $this->config->item('google_maps_api'); ?>&sensor=true"
|
|
|
|
type="text/javascript"></script>
|
2011-04-25 15:24:01 +00:00
|
|
|
</head>
|
|
|
|
|
2011-06-17 12:52:00 +00:00
|
|
|
<body onunload="GUnload()">
|
2011-04-25 15:24:01 +00:00
|
|
|
|
|
|
|
<div id="nav">
|
|
|
|
|
|
|
|
<ul id="navlist">
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php if((($this->config->item('use_auth')) && ($this->session->userdata('user_type') >= $this->config->item('auth_mode'))) || $this->config->item('use_auth') === FALSE) { ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
<li><a href="<?php echo site_url();?> " title="Dashboard">Dashboard</a></li>
|
|
|
|
<li><a href="<?php echo site_url('logbook');?>" title="View Log">View Log</a></li>
|
2011-06-17 12:52:00 +00:00
|
|
|
<li><a href="<?php echo site_url('search');?>" title="Search">Search</a></li>
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE) { ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
<li><a href="<?php echo site_url('qso');?>" title="Add QSO">Add QSO</a></li>
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php } ?>
|
2011-08-17 15:12:41 +00:00
|
|
|
<li><a href="<?php echo site_url('contest');?>" title="Contests">Contests</a></li>
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && ($this->session->userdata('user_type') >= 2)) || $this->config->item('use_auth') === FALSE){ ?>
|
2011-06-17 12:52:00 +00:00
|
|
|
<li><a href="<?php echo site_url('notes');?>" title="Notes">Notes</a></li>
|
2011-08-18 01:33:32 +00:00
|
|
|
<?php } ?>
|
2011-08-18 00:30:05 +00:00
|
|
|
<li><a href="<?php echo site_url('statistics');?>" title="Statistics">Statistics</a></li>
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) || $this->config->item('use_auth') === FALSE) { ?>
|
2011-08-19 16:12:27 +00:00
|
|
|
<li><a href="#" id="admin">Admin</a></li>
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php }} ?>
|
2011-08-18 00:30:05 +00:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<?php if($this->config->item('use_auth')) { ?>
|
|
|
|
<ul id="user">
|
|
|
|
<?php if($this->session->userdata('user_id')) { ?>
|
2011-08-19 19:33:37 +00:00
|
|
|
<li><a href="<?php echo site_url('user/profile');?>"><?php echo $this->session->userdata('user_name'); ?></a></li>
|
2011-08-18 00:30:05 +00:00
|
|
|
<li><a href="<?php echo site_url('user/logout');?>">Logout</a></li>
|
|
|
|
<?php } else { ?>
|
|
|
|
<li><a href="<?php echo site_url('user/login');?>">Log in</a></li>
|
|
|
|
<?php } ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
</ul>
|
2011-08-18 00:30:05 +00:00
|
|
|
<?php } ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
</div>
|
2011-08-19 16:12:27 +00:00
|
|
|
<div id="submenu">
|
|
|
|
<ul id="sublist">
|
2011-08-19 17:24:56 +00:00
|
|
|
<?php if(($this->config->item('use_auth') && $this->session->userdata('user_type') >= 99) || $this->config->item('use_auth') === FALSE){ ?>
|
2011-08-19 16:26:11 +00:00
|
|
|
<li class="ui-corner-all"><a href="<?php echo site_url('user');?>" title="Users">Users</a></li>
|
|
|
|
<li><a href="<?php echo site_url('setup');?>" title="Setup">Setup</a></li>
|
2011-08-19 16:12:27 +00:00
|
|
|
<?php } ?>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2011-08-19 16:26:11 +00:00
|
|
|
<div id="clear" class="clear"></div>
|