Changeset 587 for trunk/admin/user_perm.php
- Timestamp:
- Oct 30, 2004, 5:42:29 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/user_perm.php
r393 r587 122 122 $query.= ' WHERE user_id = '.$_GET['user_id']; 123 123 $query.= ';'; 124 mysql_query( $query );124 pwg_query( $query ); 125 125 // selecting all private categories 126 126 $query = 'SELECT id'; … … 128 128 $query.= " WHERE status = 'private'"; 129 129 $query.= ';'; 130 $result = mysql_query( $query );130 $result = pwg_query( $query ); 131 131 while ( $row = mysql_fetch_array( $result ) ) 132 132 { … … 138 138 $query.= ' ('.$_GET['user_id'].','.$row['id'].')'; 139 139 $query.= ';'; 140 mysql_query ( $query );140 pwg_query ( $query ); 141 141 } 142 142 } … … 158 158 $query.= ' FROM '.PREFIX_TABLE.'groups'; 159 159 $query.= ';'; 160 $result = mysql_query( $query );160 $result = pwg_query( $query ); 161 161 $groups = array(); 162 162 while ( $row = mysql_fetch_array( $result ) ) … … 169 169 $query.= ' WHERE user_id = '.$_GET['user_id']; 170 170 $query.= ';'; 171 $result = mysql_query( $query );171 $result = pwg_query( $query ); 172 172 $usergroups = array(); 173 173 while ( $row = mysql_fetch_array( $result ) ) … … 180 180 $query.= " WHERE status = 'private'"; 181 181 $query.= ';'; 182 $result = mysql_query( $query );182 $result = pwg_query( $query ); 183 183 while ( $row = mysql_fetch_array( $result ) ) 184 184 { … … 198 198 $query.= ' AND cat_id = '.$row['id']; 199 199 $query.= ';'; 200 $subresult = mysql_query( $query );200 $subresult = pwg_query( $query ); 201 201 $authorized_groups = array(); 202 202 while ( $subrow = mysql_fetch_array( $subresult ) )
Note: See TracChangeset
for help on using the changeset viewer.