';
echo '';
echo 'Year | ';
foreach ($result as $master) {
echo '' . $master->Year . ' | ';
}
echo '
';
echo '';
echo 'Days | ';
foreach ($result as $master) {
echo '' . $master->Days . ' | ';
}
echo '
';
echo '
';
}
?>
Longest streak with QSOs in the log
A maximum of the 10 longest streaks are shown!
session->userdata('user_date_format')) {
// If Logged in and session exists
$custom_date_format = $this->session->userdata('user_date_format');
} else {
// Get Default date format from /config/cloudlog.php
$custom_date_format = $this->config->item('qso_date_format');
}
?>
';
echo '';
echo 'Streak (continuous days with QSOs) | ';
echo 'Begin date | ';
echo 'End date | ';
echo '
';
foreach ($streaks as $streak) {
echo '';
echo '' . $streak['highstreak'] . ' | ';
$beginstreak_newdate = strtotime($streak['beginstreak']);
echo '' . date($custom_date_format, $beginstreak_newdate) . ' | ';
$endstreak_newdate = strtotime($streak['endstreak']);
echo '' . date($custom_date_format, $endstreak_newdate) . ' | ';
echo '
';
}
echo '
';
}
else {
echo '';
}
?>
Current streak with QSOs in the log
';
echo '';
echo 'Current streak (continuous days with QSOs) | ';
echo 'Begin date | ';
echo 'End date | ';
echo '
';
echo '';
echo '' . $currentstreak['highstreak'] . ' | ';
$beginstreak_newdate = strtotime($currentstreak['beginstreak']);
echo '' . date($custom_date_format, $beginstreak_newdate) . ' | ';
$endstreak_newdate = strtotime($currentstreak['endstreak']);
echo '' . date($custom_date_format, $endstreak_newdate) . ' | ';
echo '
';
echo '
';
}
elseif (is_array($almostcurrentstreak)) {
?>
If you make a QSO today, you can continue to extend your streak... or else your current streak will be broken!
';
echo '';
echo 'Current streak (continuous days with QSOs) | ';
echo 'Begin date | ';
echo 'End date | ';
echo '
';
echo '';
echo '' . $almostcurrentstreak['highstreak'] . ' | ';
$beginstreak_newdate = strtotime($almostcurrentstreak['beginstreak']);
echo '' . date($custom_date_format, $beginstreak_newdate) . ' | ';
$endstreak_newdate = strtotime($almostcurrentstreak['endstreak']);
echo '' . date($custom_date_format, $endstreak_newdate) . ' | ';
echo '
';
echo '
';
}
else {
echo '×No current streak found!
';
}
?>