Changeset 28 for trunk/index.php
- Timestamp:
- Sep 13, 2019, 12:20:47 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r27 r28 99 99 if ($Query != null) $URL .= '&query='.$Query; 100 100 if ($StartNumber != null) $URL .= '&startNumber='.$StartNumber; 101 //echo($URL.'<br/>');102 101 $Content = file_get_contents($URL); 103 102 $JSON = json_decode($Content, true); … … 279 278 { 280 279 $Time = time(); 281 $Items = $this->QueryRunnersAll('teams', 520); 282 $Items = array_merge($Items, $this->QueryRunnersAll('families')); 283 $Items = array_merge($Items, $this->QueryRunnersAll('')); 280 $Items = $this->QueryRunnersAll('all'); 284 281 $ItemsWithoutProgress = array(); 285 282 foreach ($Items as $Item) … … 295 292 $Import = $DbResult->fetch_assoc(); 296 293 } else $Import = array('Hash' => ''); 297 //if ($Import['Hash'] != $Hash)294 if ($Import['Hash'] != $Hash) 298 295 { 299 296 $this->Sync($Items, $Time); … … 805 802 global $Config; 806 803 804 $Lang = 'en'; 807 805 $Output = '<?xml version="1.0" encoding="'.$this->Config['Encoding'].'"?>'."\n". 808 806 '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'. 809 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang=" cs" lang="cs">'.807 '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="'.$Lang.'" lang="'.$Lang.'">'. 810 808 '<head>'. 811 809 '<link rel="stylesheet" href="'.$this->Link('/style.css').'" type="text/css" media="all" />'.
Note:
See TracChangeset
for help on using the changeset viewer.