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
|
|
|
?>
|
2022-02-06 20:52:22 +00:00
|
|
|
Cloudlog ADIF export
|
|
|
|
<ADIF_VER:5>3.1.2
|
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"; ?>
|
|
|
|
<PROGRAMVERSION:<?php echo strlen('Version ' . $this->config->item('app_version')); ?>>Version <?php echo $this->config->item('app_version')."\r\n"; ?>
|
2011-09-21 13:30:01 +00:00
|
|
|
<EOH>
|
|
|
|
|
2020-11-14 18:50:27 +00:00
|
|
|
<?php
|
|
|
|
$CI =& get_instance();
|
2020-11-17 17:35:48 +00:00
|
|
|
$CI->load->library('AdifHelper');
|
2020-11-14 18:50:27 +00:00
|
|
|
|
|
|
|
foreach ($qsos->result() as $qso) {
|
|
|
|
echo $CI->adifhelper->getAdifLine($qso);
|
2020-11-16 21:19:10 +00:00
|
|
|
}
|