Changeset 541
- Timestamp:
- May 27, 2013, 10:38:07 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r525 r541 8 8 9 9 if(array_key_exists('search', $_GET)) $Search = $_GET['search']; 10 else $Search = $_POST['search']; 10 else if(array_key_exists('search', $_POST)) $Search = $_POST['search']; 11 else $Search = ''; 11 12 12 13 $Output = '<table class="BaseTable"><tr><th>Skupina</th><th>Výsledků</th></tr>'; -
trunk/export/index.php
r539 r541 564 564 $Export = $DbResult->fetch_assoc(); 565 565 if($Export['OutputType'] == '') $Output .= ShowMessage('Nevybrán typ exportu', MESSAGE_CRITICAL); 566 else if($Export['ClientVersion'] == '') $Output .= ShowMessage('Export nemá vybránu verzi klienta', MESSAGE_CRITICAL); 566 567 else { 567 568 $DbResult = $System->Database->query('SELECT * FROM `ExportOutputType` WHERE `Id`='.$Export['OutputType']); 568 569 if($DbResult->num_rows > 0) 569 570 { 570 $DbResult = $System->Database->query('SELECT * FROM `ExportVersion` WHERE `ExportType`='.$Export[ 'OutputType'].' AND `ClientVersion`='.$Export['ClientVersion']);571 $DbResult = $System->Database->query('SELECT * FROM `ExportVersion` WHERE (`ExportType`='.$Export['OutputType'].') AND (`ClientVersion`='.$Export['ClientVersion'].')'); 571 572 if($DbResult->num_rows > 0) 572 573 { 573 $System->Database->query('UPDATE Export SET UsedCount = UsedCount + 1 WHERE Id='.$Export['Id']);574 $System->Database->query('UPDATE `Export` SET `UsedCount` = `UsedCount` + 1 WHERE `Id`='.$Export['Id']); 574 575 $Output = ExportOutput($Export['Id'], $Export['OutputType']); 575 576 } else $Output = ShowMessage('Nebyla vybrána požadovaná verze klienta.', MESSAGE_CRITICAL); -
trunk/includes/Version.php
r540 r541 1 1 <?php 2 2 3 $Revision = 54 0; // Subversion revision3 $Revision = 541; // Subversion revision 4 4 $DatabaseRevision = 539; // Database structure revision 5 $ReleaseTime = '2013-05- 18';5 $ReleaseTime = '2013-05-27'; 6 6 7 7 ?> -
trunk/userlist.php
r539 r541 9 9 if(array_key_exists('search', $_GET)) 10 10 { 11 $_SESSION['Where'] = ' WHERE `User`.` User` LIKE "%'.$_GET['search'].'%"';11 $_SESSION['Where'] = ' WHERE `User`.`Name` LIKE "%'.$_GET['search'].'%"'; 12 12 } 13 13 if(array_key_exists('team', $_GET))
Note:
See TracChangeset
for help on using the changeset viewer.