Changeset 526
- Timestamp:
- Feb 20, 2013, 11:45:54 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/export/export.php
r525 r526 35 35 $this->UserNames = substr($this->UserNames, 2); 36 36 37 $DbResult = $this->Database->query('SELECT * FROM `ClientVersion` WHERE `Id`='.$this->Export['ClientVersion']); 38 $this->ClientVersion = $DbResult->fetch_assoc(); 37 if($this->Export['ClientVersion'] != '') 38 { 39 $DbResult = $this->Database->query('SELECT * FROM `ClientVersion` WHERE `Id`='.$this->Export['ClientVersion']); 40 $this->ClientVersion = $DbResult->fetch_assoc(); 41 } else $this->ClientVersion = ''; 39 42 } 40 43 41 44 function BuildQuery($Group, $Columns = '', $Version = '') 42 45 { 43 global $TranslationTree ;46 global $TranslationTree, $Config; 44 47 45 48 if ($Version <> '') … … 140 143 global $Config, $TranslationTree, $AoWoWconf; 141 144 142 require_once('../aowow/configs/config.php');145 //require_once('../aowow/configs/config.php'); 143 146 144 147 $Buffer = $this->ExportToMangosSQL(); … … 196 199 global $TranslationTree, $User; 197 200 198 $this->LoadFilters( $this->Id);201 $this->LoadFilters(); 199 202 200 203 $Buffer = '<?xml version="1.0" encoding="utf-8"?>'."\n". -
trunk/export/index.php
r525 r526 580 580 $Export->Id = $_GET['ExportId']; 581 581 $Export->Init(); 582 if($Export->ClientVersion == '') $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL); 583 else { 584 $Export->LoadFilters(); 585 586 if($Export->ClientVersion['BuildNumber'] == '') $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL); 582 $Export->LoadFilters(); 583 584 if(($Export->Export['ClientVersion'] == '') or ($Export->ClientVersion['BuildNumber'] == '')) 585 $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL); 587 586 else { 588 587 $GroupListQuery = 'SELECT `Group`.* FROM `Group` '. … … 640 639 $Output .= '<tr><td><strong>Celkem</strong></td><td><strong>'.$Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'.ProgressBar(150, round($Percent, 2)).'</strong></td></tr>'; 641 640 $Output .= '</table>'; 642 }643 641 } 644 642 return($Output); -
trunk/includes/Page.php
r525 r526 157 157 while($DbUser = $DbResult->fetch_assoc()) 158 158 { 159 $Name = '<a href=" user.php?user='.$DbUser['ID'].'">'.$DbUser['Name'].'</a>';159 $Name = '<a href="'.$System->Link('/user.php?user='.$DbUser['ID']).'">'.$DbUser['Name'].'</a>'; 160 160 $Output .= '<strong>'.$Name.'</strong><br />'; 161 161 } -
trunk/includes/Version.php
r525 r526 1 1 <?php 2 2 3 $Revision = 52 5; // Subversion revision3 $Revision = 526; // Subversion revision 4 4 $DatabaseRevision = 524; 5 5 $ReleaseTime = '2013-02-20';
Note:
See TracChangeset
for help on using the changeset viewer.