kopia lustrzana https://github.com/magicbug/Cloudlog
Merge pull request #2481 from tudacs/fix_sota
Make SOTA-CSV-export safer by adding quotespull/2497/head
commit
2dad61ac35
|
@ -35,6 +35,16 @@ $bands = array(
|
|||
);
|
||||
foreach ($qsos as $qso) {
|
||||
$timestamp = strtotime($qso['COL_TIME_ON']);
|
||||
print "V2,".$qso['station_callsign'].",".$qso['COL_MY_SOTA_REF'].",".date('d/m/y', $timestamp).",".date('Hi', $timestamp).",".$bands[$qso['COL_BAND']].",".$qso['COL_MODE'].",".$qso['COL_CALL'].",".$qso['COL_SOTA_REF'].",".$qso['COL_COMMENT']."\n";
|
||||
printf("V2,%s,%s,%s,%s,%s,%s,%s,%s,\"%s\"\n",
|
||||
$qso['station_callsign'],
|
||||
$qso['COL_MY_SOTA_REF'],
|
||||
date('d/m/y', $timestamp),
|
||||
date('Hi', $timestamp),
|
||||
$bands[$qso['COL_BAND']],
|
||||
$qso['COL_MODE'],
|
||||
$qso['COL_CALL'],
|
||||
$qso['COL_SOTA_REF'],
|
||||
$qso['COL_COMMENT']
|
||||
);
|
||||
}
|
||||
?>
|
||||
|
|
Ładowanie…
Reference in New Issue