2023-04-12 17:58:47 +08:00
|
|
|
<?php
|
|
|
|
|
header('Content-Type: text/plain; charset=utf-8');
|
2023-04-12 19:31:30 +08:00
|
|
|
header('Content-Disposition: attachment; filename="'.$callsign.'-'.$contest_id.'-'.date('dmY-Hi').'.cbr"');
|
2023-04-12 17:58:47 +08:00
|
|
|
|
|
|
|
|
$CI =& get_instance();
|
|
|
|
|
$CI->load->library('Cabrilloformat');
|
|
|
|
|
|
|
|
|
|
echo $CI->cabrilloformat->header($contest_id, $callsign, $claimed_score, $operators, $club, $name, $address1, $address2, $address3, $soapbox);
|
|
|
|
|
foreach ($qsos->result() as $row) {
|
|
|
|
|
echo $CI->cabrilloformat->qso($row);
|
|
|
|
|
}
|
|
|
|
|
echo $CI->cabrilloformat->footer();
|