2011-07-06 16:15:48 +00:00
|
|
|
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.mousewheel-3.0.4.pack.js"></script>
|
|
|
|
|
|
|
|
<script type="text/javascript" src="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
|
|
|
|
|
|
|
|
<link rel="stylesheet" type="text/css" href="<?php echo base_url() ;?>/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
$(".qsobox").fancybox({
|
|
|
|
'width' : '75%',
|
|
|
|
'height' : '75%',
|
|
|
|
'autoScale' : false,
|
|
|
|
'transitionIn' : 'none',
|
|
|
|
'transitionOut' : 'none',
|
|
|
|
'type' : 'iframe'
|
|
|
|
});
|
2011-04-25 15:24:01 +00:00
|
|
|
|
2011-07-06 16:15:48 +00:00
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<h2>Logbook</h2>
|
2011-06-17 12:52:00 +00:00
|
|
|
<?php if($this->session->flashdata('notice')) { ?>
|
|
|
|
<div id="message" >
|
|
|
|
<?php echo $this->session->flashdata('notice'); ?>
|
|
|
|
</div>
|
|
|
|
<?php } ?>
|
|
|
|
|
2011-04-25 15:24:01 +00:00
|
|
|
<div class="wrap_content">
|
|
|
|
|
2011-06-17 12:52:00 +00:00
|
|
|
|
|
|
|
<table class="logbook" width="100%">
|
|
|
|
<tr class="log_title titles">
|
2011-04-25 15:24:01 +00:00
|
|
|
<td>Date</td>
|
|
|
|
<td>Time</td>
|
|
|
|
<td>Call</td>
|
|
|
|
<td>Mode</td>
|
|
|
|
<td>Sent</td>
|
|
|
|
<td>Recv</td>
|
|
|
|
<td>Band</td>
|
|
|
|
<td>Country</td>
|
2011-07-06 16:15:48 +00:00
|
|
|
<td></td>
|
2011-04-25 15:24:01 +00:00
|
|
|
</tr>
|
|
|
|
|
2011-06-17 12:52:00 +00:00
|
|
|
<?php $i = 0; foreach ($results->result() as $row) { ?>
|
|
|
|
<?php echo '<tr class="tr'.($i & 1).'">'; ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('d/m/y', $timestamp); ?></td>
|
|
|
|
<td><?php $timestamp = strtotime($row->COL_TIME_ON); echo date('H:i', $timestamp); ?></td>
|
2011-07-06 16:15:48 +00:00
|
|
|
<td><a class="qsobox" href="<?php echo site_url('logbook/view')."/".$row->COL_PRIMARY_KEY; ?>"><?php echo strtoupper($row->COL_CALL); ?></a></td>
|
2011-04-25 15:24:01 +00:00
|
|
|
<td><?php echo $row->COL_MODE; ?></td>
|
|
|
|
<td><?php echo $row->COL_RST_SENT; ?></td>
|
|
|
|
<td><?php echo $row->COL_RST_RCVD; ?></td>
|
|
|
|
<td><?php echo $row->COL_BAND; ?></td>
|
|
|
|
<td><?php echo $row->COL_COUNTRY; ?></td>
|
2011-07-06 16:15:48 +00:00
|
|
|
<td><a href="<?php echo site_url('qso/edit'); ?>/<?php echo $row->COL_PRIMARY_KEY; ?>" ><img src="<?php echo base_url(); ?>/images/application_edit.png" width="16" height="16" alt="Edit" /></a></td>
|
2011-04-25 15:24:01 +00:00
|
|
|
</tr>
|
2011-06-17 12:52:00 +00:00
|
|
|
<?php $i++; } ?>
|
2011-04-25 15:24:01 +00:00
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<?php echo $this->pagination->create_links(); ?>
|
|
|
|
</div>
|