Changeset 683 for trunk/Modules
- Timestamp:
 - Aug 5, 2014, 11:02:46 PM (11 years ago)
 - Location:
 - trunk/Modules/News
 - Files:
 - 
      
- 3 edited
 
- 
          
  ImportTvBeskyd.php (modified) (2 diffs)
 - 
          
  ImportZdechovCzNews.php (modified) (2 diffs)
 - 
          
  ImportZdechovCzRecords.php (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/Modules/News/ImportTvBeskyd.php
r635 r683 16 16 //$Encoding = new Encoding(); 17 17 //$Content = addslashes($Encoding->ToUTF8(file_get_contents($SourceURL), 'win1250')); 18 $Content = file_get_contents($SourceURL);18 $Content = @file_get_contents($SourceURL); 19 19 while(strpos($Content, $StartText) !== false) 20 20 { … … 34 34 //echo('Description: '.$Description.'<br>'); 35 35 //echo('Link: '.$Link.'<br><hr>'); 36 36 37 37 $DbResult = $System->Database->select('News', 'Id', '`Title`="'.$System->Database->real_escape_string($Title).'" AND `Category`='.$Category); 38 38 //echo($System->Database->LastQuery);  - 
      
trunk/Modules/News/ImportZdechovCzNews.php
r622 r683 15 15 $Category = 12; 16 16 $Author = 'Automat'; 17 $Content = file_get_contents($SourceURL);17 $Content = @file_get_contents($SourceURL); 18 18 while(strpos($Content, $StartText) !== false) 19 19 { … … 29 29 $Title = substr($Content, 0, strpos($Content, '<')); 30 30 $Description = ''; 31 31 32 32 33 33 /*  - 
      
trunk/Modules/News/ImportZdechovCzRecords.php
r622 r683 15 15 $Category = 11; 16 16 $Author = 'Automat'; 17 $Content = file_get_contents($SourceURL);17 $Content = @file_get_contents($SourceURL); 18 18 while(strpos($Content, $StartText) !== false) 19 19 { … … 29 29 $Title = substr($Content, 0, strpos($Content, '<')); 30 30 $Description = ''; 31 31 32 32 33 33 /*  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  