Reworked DXCC award. Changed look a bit, and added form for selection.

Setting of start/end in dxcc_entities was fixed as well. This is needed to be able to select/deselect deleted entites.
This commit is contained in:
AndreasK79
2020-03-03 12:39:45 +01:00
parent 0628e3bdb3
commit e8941cf17d
4 changed files with 473 additions and 36 deletions

View File

@@ -31,8 +31,8 @@ class Update extends CI_Controller {
$count = 0;
foreach ($xml_data->entities->entity as $entity) {
$startinfo = strtotime($record->start);
$endinfo = strtotime($record->end);
$startinfo = strtotime($entity->start);
$endinfo = strtotime($entity->end);
$start_date = ($startinfo) ? date('Y-m-d H:i:s',$startinfo) : null;
$end_date = ($endinfo) ? date('Y-m-d H:i:s',$endinfo) : null;