Changeset 26 for trunk/Meet.php
- Timestamp:
 - Dec 27, 2018, 3:47:30 PM (7 years ago)
 - File:
 - 
      
- 1 edited
 
- 
          
  trunk/Meet.php (modified) (3 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Meet.php
r25 r26 129 129 $Start++; 130 130 $Result = trim(substr($Result, $Start, $Pos - $Start)); 131 break;131 if (is_numeric($Result)) break; 132 132 } else break; 133 133 } … … 165 165 { 166 166 $Text = strtolower($Text); 167 $Result = GetNumberBeforeText($Text, 'let'); 167 $Result = GetNumberAfterText($Text, 'je mi'); 168 if ($Result == '') $Result = GetNumberAfterText($Text, 'jsem'); 168 169 if ($Result == '') $Result = GetNumberBeforeText($Text, 'rokov'); 169 170 if ($Result == '') $Result = GetNumberBeforeText($Text, 'letou'); 170 if ($Result == '') $Result = GetNumberAfterText($Text, 'je mi'); 171 if ($Result == '') $Result = GetNumberAfterText($Text, 'jsem'); 171 if ($Result == '') $Result = GetNumberBeforeText($Text, 'let'); 172 172 if ($Result == '') $Result = GetNumberAfterText($Text, 'čerstvých'); 173 173 if ($Result == '') $Result = GetAgeHeightWeightFromText($Text)[0]; … … 181 181 function GetHeightFromText($Text) 182 182 { 183 $Text = strtolower($Text); 184 $Result = GetNumberBeforeText($Text, 'cm'); 185 if ($Result == '') $Result = GetNumberAfterText($Text, 'měřím'); 183 $Text = strtolower($Text); 184 $Result = GetNumberAfterText($Text, 'měřím'); 186 185 if ($Result == '') $Result = GetNumberAfterText($Text, 'merim'); 186 if ($Result == '') $Result = GetNumberBeforeText($Text, 'cm'); 187 187 if ($Result == '') $Result = GetNumberBeforeText($Text, 'bez podpatků'); 188 188 if ($Result == '') $Result = GetAgeHeightWeightFromText($Text)[1];  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  ![(please configure the [header_logo] section in trac.ini)](/tanec/chrome/site/your_project_logo.png)