2019-01-07 16:58:23 +00:00
|
|
|
<?php
|
2019-07-23 19:25:09 +00:00
|
|
|
header('Content-Type: text/plain; charset=utf-8');
|
2019-01-07 16:58:23 +00:00
|
|
|
header('Content-Disposition: attachment; filename="'.$this->session->userdata('user_callsign').'-'.date('dmY-Hi').'.adi"')
|
|
|
|
?>
|
2022-02-06 20:52:22 +00:00
|
|
|
Cloudlog ADIF export
|
2022-12-11 22:04:41 +00:00
|
|
|
<ADIF_VER:5>3.1.4
|
2021-04-21 10:23:01 +00:00
|
|
|
<PROGRAMID:<?php echo strlen($this->config->item('app_name')); ?>><?php echo $this->config->item('app_name')."\r\n"; ?>
|
2022-12-12 06:53:52 +00:00
|
|
|
<PROGRAMVERSION:<?php echo strlen($this->config->item('app_version')); ?>><?php echo $this->config->item('app_version')."\r\n"; ?>
|
2019-01-07 16:58:23 +00:00
|
|
|
<EOH>
|
|
|
|
|
2020-11-23 18:52:30 +00:00
|
|
|
<?php
|
|
|
|
$CI =& get_instance();
|
|
|
|
$CI->load->library('AdifHelper');
|
|
|
|
|
|
|
|
foreach ($qsos->result() as $qso) {
|
|
|
|
echo $CI->adifhelper->getAdifLine($qso);
|
|
|
|
}
|