Changeset 826 for trunk/Modules/User
- Timestamp:
- Apr 16, 2016, 9:58:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserPage.php
r825 r826 17 17 function ShowContacts() 18 18 { 19 $Query = 'SELECT `Contact`.`Value`, (SELECT `Name` FROM `ContactCategory` WHERE `ContactCategory`.`Id` = `Contact`.`Category`) AS `Category` '.19 $Query = 'SELECT `Contact`.`Value`, `Contact`.`Description`, (SELECT `Name` FROM `ContactCategory` WHERE `ContactCategory`.`Id` = `Contact`.`Category`) AS `Category` '. 20 20 'FROM `Contact` WHERE `User` = '. 21 21 $this->System->User->User['Id']; … … 31 31 array('Name' => 'Category', 'Title' => 'Skupina'), 32 32 array('Name' => 'Value', 'Title' => 'Hodnota'), 33 array('Name' => 'Description', 'Title' => 'Popis'), 33 34 ); 34 35 $Order = GetOrderTableHeader('Contacts', $TableColumns, 'Value', 0); … … 40 41 while($Contact = $DbResult->fetch_assoc()) 41 42 { 42 $Output .= '<tr><td>'.$Contact['Category'].'</td>'. 43 '<td>'.$Contact['Value'].'</td></tr>'; 43 $Output .= '<tr>'. 44 '<td>'.$Contact['Category'].'</td>'. 45 '<td>'.$Contact['Value'].'</td>'. 46 '<td>'.$Contact['Description'].'</td>'. 47 '</tr>'; 44 48 } 45 49 $Output .= '</table>';
Note:
See TracChangeset
for help on using the changeset viewer.