Changeset 51 for trunk/index.php
- Timestamp:
- Jan 2, 2020, 12:34:24 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/index.php
r48 r51 13 13 require_once('Modules/School/School.php'); 14 14 require_once('Modules/Club/Club.php'); 15 require_once('Modules/Event/Event.php'); 16 require_once('Modules/Event/EventPage.php'); 15 17 16 18 if(isset($_SERVER['REMOTE_ADDR'])) session_start(); … … 220 222 '/tance/', 221 223 '/filmy/', 224 '/udalosti/', 222 225 ); 223 226 $Result = '<?xml version="1.0" encoding="UTF-8"?>'."\n". … … 230 233 '</url>'."\n"; 231 234 } 232 // MeetItems 235 236 // Meets 233 237 $DbResult = $this->Database->query('SELECT `Id`,`Time` FROM `MeetItem` WHERE (`Hidden`=0)'); 234 238 while ($DbRow = $DbResult->fetch_array()) … … 236 240 $Url = '/seznamka/inzerat/'.$DbRow['Id']; 237 241 $Time = MysqlDateTimeToTime($DbRow['Time']); 242 $Result .= '<url>'."\n". 243 ' <loc>'.$this->System->AbsoluteLink($Url).'</loc>'."\n". 244 ' <lastmod>'.date('c', $Time).'</lastmod>'."\n". 245 '</url>'."\n"; 246 } 247 248 // Events 249 $DbResult = $this->Database->query('SELECT `Id`,`TimeFrom` FROM `Event` WHERE (`Hidden`=0)'); 250 while ($DbRow = $DbResult->fetch_array()) 251 { 252 $Url = '/udalosti/udalost/'.$DbRow['Id']; 253 $Time = MysqlDateTimeToTime($DbRow['TimeFrom']); 238 254 $Result .= '<url>'."\n". 239 255 ' <loc>'.$this->System->AbsoluteLink($Url).'</loc>'."\n". … … 293 309 } 294 310 295 $Revision = 48; // Subversion revision296 $DatabaseRevision = 48; // SQL structure revision297 $ReleaseTime = strtotime('20 19-12-22');311 $Revision = 51; // Subversion revision 312 $DatabaseRevision = 51; // SQL structure revision 313 $ReleaseTime = strtotime('2020-01-01'); 298 314 299 315 $Application = new ApplicationTanec();
Note:
See TracChangeset
for help on using the changeset viewer.