| @@ 105-112 (lines=8) @@ | ||
| 102 | AND t.topic_attr_user <> ' . ANONYMOUS; |
|
| 103 | $result = $this->db->sql_query($sql); |
|
| 104 | ||
| 105 | while ($row = $this->db->sql_fetchrow($result)) |
|
| 106 | { |
|
| 107 | $this->_name[$row['user_id']] = array( |
|
| 108 | 'user_id' => (int) $row['user_id'], |
|
| 109 | 'username' => $row['username'], |
|
| 110 | 'user_colour' => $row['user_colour'], |
|
| 111 | ); |
|
| 112 | } |
|
| 113 | $this->db->sql_freeresult(); |
|
| 114 | } |
|
| 115 | } |
|
| @@ 144-151 (lines=8) @@ | ||
| 141 | $result = $this->db->sql_query($sql); |
|
| 142 | ||
| 143 | $this->_name = array(); |
|
| 144 | while ( $row = $this->db->sql_fetchrow($result) ) |
|
| 145 | { |
|
| 146 | $this->_name[$row['user_id']] = array( |
|
| 147 | 'user_id' => (int) $row['user_id'], |
|
| 148 | 'username' => $row['username'], |
|
| 149 | 'user_colour' => $row['user_colour'], |
|
| 150 | ); |
|
| 151 | } |
|
| 152 | $this->db->sql_freeresult(); |
|
| 153 | } |
|
| 154 | ||