Changeset 132


Ignore:
Timestamp:
Feb 24, 2009, 4:59:50 PM (15 years ago)
Author:
maron
Message:

Oprava exportu týmu a načítání levelů pouze u výpisu týmu

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/index.php

    r131 r132  
    331331        //zatrhlí pouze z týmu
    332332        if(array_key_exists('team', $_GET)) {
     333                $ExportSetting['users-selection'] = array();
    333334                $Query = 'SELECT ID FROM user WHERE team = '.$_GET['team'];
    334335        $ID = $Database->SQLCommand($Query);
    335                 $ExportSetting['users-selection'] = mysql_fetch_row($ID);
     336        while($LineTeam = mysql_fetch_assoc($ID))
     337                        $ExportSetting['users-selection'][] = $LineTeam['ID'];
    336338        }
    337339
  • trunk/team.php

    r131 r132  
    55ShowPage();
    66
    7 include('img_level.php');
    87
    98if (array_key_exists('gointeam', $_GET)) {
     
    3029        if (array_key_exists('team', $_GET)) {
    3130                //zobrazení týmu
     31                include('img_level.php');
    3232                $Columns = '';
    3333                $Joins = '';
Note: See TracChangeset for help on using the changeset viewer.