Changeset 303 for trunk/team.php
- Timestamp:
- Jan 4, 2010, 10:57:57 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/team.php
r302 r303 185 185 $Team = mysql_fetch_assoc($Database->SQLCommand('SELECT *, (SELECT count(*) FROM `user` WHERE `team` = `Team`.`Id`) as `NumberUser`, (SELECT SUM('.substr($Columns, 0, -3).') FROM user '.$Joins.' WHERE `team` = `Team`.`Id`) as `NumberTranslate` FROM `Team` WHERE `Id`='.$_GET['id'])); 186 186 $DbResult = $Database->SQLCommand('SELECT user FROM user WHERE ID='.$Team['Leader']); 187 if(mysql_num_rows($DbResult) > 0) $Leader = mysql_fetch_assoc($DbResult); 188 else $Leader = ''; 187 if(mysql_num_rows($DbResult) > 0) 188 { 189 $Leader = mysql_fetch_assoc($DbResult); 190 $Leader = $Leader['user']; 191 } else $Leader = ''; 189 192 190 193 echo('<strong>Překladatelský tým '.$Team['Name'].'</strong><br />'.
Note:
See TracChangeset
for help on using the changeset viewer.