|
@@ 133-141 (lines=9) @@
|
| 130 |
|
} else { |
| 131 |
|
print '<th class="arrival"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/airport_arrival_asc"><span class="nomobile">'._("Flying to").'</span><span class="mobile">'._("To").'</span></a> <i class="fa fa-sort small"></i></th>'; |
| 132 |
|
} |
| 133 |
|
if ($_GET['sort'] == "date_asc") |
| 134 |
|
{ |
| 135 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_desc" class="active">'._("Expected Time").'</a> <i class="fa fa-caret-up"></i></th>'; |
| 136 |
|
} else if ($_GET['sort'] == "date_desc") |
| 137 |
|
{ |
| 138 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc" class="active">'._("Expected Time").'</a> <i class="fa fa-caret-down"></i></th>'; |
| 139 |
|
} else { |
| 140 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc">'._("Expected Time").'</a> <i class="fa fa-sort small"></i></th>'; |
| 141 |
|
} |
| 142 |
|
print '</thead>'; |
| 143 |
|
} else if (strtolower($current_page) == "acars-latest" || strtolower($current_page) == "acars-archive"){ |
| 144 |
|
print '<thead>'; |
|
@@ 299-307 (lines=9) @@
|
| 296 |
|
} |
| 297 |
|
if (strtolower($current_page) == "date") |
| 298 |
|
{ |
| 299 |
|
if ($_GET['sort'] == "date_asc") |
| 300 |
|
{ |
| 301 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_desc" class="active">'._("Time").'</a> <i class="fa fa-caret-up"></i></th>'; |
| 302 |
|
} else if ($_GET['sort'] == "date_desc") |
| 303 |
|
{ |
| 304 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc" class="active">'._("Time").'</a> <i class="fa fa-caret-down"></i></th>'; |
| 305 |
|
} else { |
| 306 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc">'._("Time").'</a> <i class="fa fa-sort small"></i></th>'; |
| 307 |
|
} |
| 308 |
|
} elseif (strtolower($current_page) == "currently") { |
| 309 |
|
if ($_GET['sort'] == "date_asc") |
| 310 |
|
{ |
|
@@ 308-318 (lines=11) @@
|
| 305 |
|
} else { |
| 306 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc">'._("Time").'</a> <i class="fa fa-sort small"></i></th>'; |
| 307 |
|
} |
| 308 |
|
} elseif (strtolower($current_page) == "currently") { |
| 309 |
|
if ($_GET['sort'] == "date_asc") |
| 310 |
|
{ |
| 311 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_desc" class="active">'._("Date first seen").'</a> <i class="fa fa-caret-up"></i></th>'; |
| 312 |
|
} else if ($_GET['sort'] == "date_desc") |
| 313 |
|
{ |
| 314 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc" class="active">'._("Date first seen").'</a> <i class="fa fa-caret-down"></i></th>'; |
| 315 |
|
} else { |
| 316 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_asc">'._("Date first seen").'</a> <i class="fa fa-sort small"></i></th>'; |
| 317 |
|
} |
| 318 |
|
} else { |
| 319 |
|
if ($_GET['sort'] == "date_asc") |
| 320 |
|
{ |
| 321 |
|
print '<th class="time"><a href="'.$page_url.'/'.$limit_start.','.$limit_end.'/date_desc" class="active">'._("Date").'</a> <i class="fa fa-caret-up"></i></th>'; |