Changeset 32 for trunk/Import
- Timestamp:
- Dec 30, 2018, 8:14:55 PM (6 years ago)
- Location:
- trunk/Import
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Import/Amblar.php
r31 r32 62 62 else if ($Parts[2] == 'dní') $MeetItem->Time = strtotime("-".$Parts[1]." days"); 63 63 else if ($Parts[2] == 'dny') $MeetItem->Time = strtotime("-".$Parts[1]." days"); 64 } else $MeetItem->Time = HumanDateT imeToTime($MeetItem->Time.' '.HumanTime(time()));64 } else $MeetItem->Time = HumanDateToTime($MeetItem->Time); 65 65 $MeetItem->Email = ''; 66 66 $MeetItem->Message = ''; -
trunk/Import/AstraPraha.php
r31 r32 24 24 $MeetItem = new MeetItem(); 25 25 $MeetItem->Time = trim(GetTextBetween($Item, 'Vloženo:', '</p>')); 26 $MeetItem->Time = HumanDateT imeToTime($MeetItem->Time.' '.HumanTime(time()));26 $MeetItem->Time = HumanDateToTime($MeetItem->Time); 27 27 28 28 $MeetItem->Gender = trim(GetTextBetween($Item, '<h3 class=\'dating-heading\'>', '</h3>')); -
trunk/Import/Eso.php
r31 r32 36 36 } 37 37 $MeetItem->Time = trim($Small); 38 $MeetItem->Time = HumanDateT imeToTime($MeetItem->Time.' '.HumanTime(time()));38 $MeetItem->Time = HumanDateToTime($MeetItem->Time); 39 39 $MeetItem->Message = trim(GetTextBetween($Item, '<p class="lead">', '</p>')); 40 40 $MeetItem->Age = GetAgeFromText($MeetItem->Message); -
trunk/Import/Seznamka.php
r31 r32 40 40 $MeetItem->Age = trim(str_replace('let', '', $MeetItem->Age)); 41 41 $MeetItem->Location = trim(GetTextBetween($Item, ' rel="nofollow">', '</a></span>')); 42 $MeetItem->Time = HumanDateT imeToTime(trim(GetTextBetween($Item, '> </a>', '</span>')).' '.HumanTime(time()));42 $MeetItem->Time = HumanDateToTime(trim(GetTextBetween($Item, '> </a>', '</span>'))); 43 43 $MeetItem->Message = trim(strip_tags(GetTextBetween($Item, 'margin-top:10px;\'>', '</div>'))); 44 44 $MeetItem->Link = GetTextBetween($Item, "<a href='", "'"); -
trunk/Import/TanecniSkola.php
r31 r32 47 47 { 48 48 $MeetItem = new MeetItem(); 49 $MeetItem->Time = HumanDateT imeToTime(trim(GetTextBetween($Item, '<h3>', '</h3>')).' '.HumanTime(time()));49 $MeetItem->Time = HumanDateToTime(trim(GetTextBetween($Item, '<h3>', '</h3>'))); 50 50 if ($MeetItem->Time != null) 51 51 {
Note:
See TracChangeset
for help on using the changeset viewer.