Cloudlog/application/views/backup/exportall.php
2022-12-11 23:04:41 +01:00

14 lines
440 B
PHP

Cloudlog ADIF export
<ADIF_VER:5>3.1.4
<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')); ?>><?php echo $this->config->item('app_version')."\n"; ?>
<EOH>
<?php
$CI =& get_instance();
$CI->load->library('AdifHelper');
foreach ($qsos->result() as $qso) {
echo $CI->adifhelper->getAdifLine($qso);
}