- Timestamp:
- Dec 25, 2018, 9:56:40 AM (6 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Import/TanecniSkola.php
r11 r15 78 78 else $MeetItem->Gender = Gender::Undefined; 79 79 $MeetItem->Message = trim(GetTextBetween($Item, '<p class="message">', '</p>')); 80 $MessageAge = GetAgeFromText($MeetItem->Message); 81 if ($MessageAge != '') $MeetItem->Age = $MessageAge; 82 $MessageHeight = GetHeightFromText($MeetItem->Message); 83 if ($MessageHeight != '') $MeetItem->Height = $MessageHeight; 80 if ($MenuItem->Age == '') 81 { 82 $MessageAge = GetAgeFromText($MeetItem->Message); 83 if ($MessageAge != '') $MeetItem->Age = $MessageAge; 84 } 85 if ($MenuItem->Height == '') 86 { 87 $MessageHeight = GetHeightFromText($MeetItem->Message); 88 if ($MessageHeight != '') $MeetItem->Height = $MessageHeight; 89 } 84 90 $MeetItem->Location = 'Praha'; 85 91 $MeetItem->Database = $this->Database; -
trunk/index.php
r13 r15 302 302 if ($MeetItem['Height'] != '') $Description .= '<br/>Výška: '.$MeetItem['Height'].' cm'; 303 303 if ($MeetItem['Weight'] != '') $Description .= '<br/>Váha: '.$MeetItem['Weight'].' kg'; 304 $Description .= '<br/> Škola: <a href="'.$MeetItem['SourceURL'].'">'.$MeetItem['SourceName'].'</a>';304 $Description .= '<br/>Zdroj: <a href="'.$MeetItem['SourceURL'].'">'.$MeetItem['SourceName'].'</a>'; 305 305 $RSS->Items[] = array( 306 306 'Title' => $Title, … … 332 332 $Output .= $Content; 333 333 $Output .= '<br/><div class="footer">Kontakt: <a href="mailto:'.$Config['Contact'].'">'.$Config['Contact'].'</a> '. 334 '<a href="https:// svn.zdechov.net/trac/tanec/">Zdrojový kód</a></div>';334 '<a href="https://app.zdechov.net/tanec/">Zdrojový kód</a></div>'; 335 335 $Output .= '</body></html>'; 336 336 return($Output);
Note:
See TracChangeset
for help on using the changeset viewer.