Changeset 683
- Timestamp:
- Aug 5, 2014, 11:02:46 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Application/Version.php
r682 r683 1 1 <?php 2 2 3 $Revision = 68 2; // Subversion revision3 $Revision = 683; // Subversion revision 4 4 $DatabaseRevision = 679; // SQL structure revision 5 5 $ReleaseTime = strtotime('2014-08-05'); -
trunk/Common/Form/Types/MacAddress.php
r606 r683 29 29 return('"'.addslashes($Value).'"'); 30 30 } 31 31 32 32 function Validate($Item) 33 33 { 34 34 if($Item['Null'] and ($Item['Value'] == '')) return(true); 35 return(preg_match('/^([0-9A-F]{2}[: -]){5}([0-9A-F]{2})$/', $Item['Value']));35 return(preg_match('/^([0-9A-F]{2}[:]){5}([0-9A-F]{2})$/', $Item['Value'])); 36 36 } 37 37 -
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.