Cloudlog/application/views/adif/data/exportsat.php

18 wiersze
629 B
PHP
Czysty Zwykły widok Historia

2019-01-07 16:58:23 +00:00
<?php
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"')
?>
Cloudlog ADIF export
2022-12-11 22:04:41 +00:00
<ADIF_VER:5>3.1.4
<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>
<?php
$CI =& get_instance();
$CI->load->library('AdifHelper');
foreach ($qsos->result() as $qso) {
echo $CI->adifhelper->getAdifLine($qso);
}