2011-09-21 13:30:01 +00:00
|
|
|
<?php
|
2019-07-23 19:25:09 +00:00
|
|
|
header('Content-Type: text/plain; charset=utf-8');
|
2013-10-30 20:14:11 +00:00
|
|
|
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"')
|
2011-09-21 13:30:01 +00:00
|
|
|
?>
|
2019-10-12 22:44:51 +00:00
|
|
|
<ADIF_VERS:5>3.1.0
|
2012-12-16 13:04:50 +00:00
|
|
|
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\n"; ?>
|
|
|
|
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\n"; ?>
|
2011-09-21 13:30:01 +00:00
|
|
|
<EOH>
|
|
|
|
|
2020-11-14 18:50:27 +00:00
|
|
|
<?php
|
|
|
|
$CI =& get_instance();
|
|
|
|
$CI->load->library('adifhelper');
|
|
|
|
|
|
|
|
foreach ($qsos->result() as $qso) {
|
|
|
|
echo $CI->adifhelper->getAdifLine($qso);
|
2020-11-16 18:24:49 +00:00
|
|
|
}
|