|
@@ 2424-2434 (lines=11) @@
|
| 2421 |
|
'children' => array(), |
| 2422 |
|
), |
| 2423 |
|
); |
| 2424 |
|
while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 2425 |
|
{ |
| 2426 |
|
$row['real_name'] = strtr($row['real_name'], array('&' => '&', '<' => '<', '>' => '>', '"' => '"')); |
| 2427 |
|
|
| 2428 |
|
$xml_data['items']['children'][] = array( |
| 2429 |
|
'attributes' => array( |
| 2430 |
|
'id' => $row['id_member'], |
| 2431 |
|
), |
| 2432 |
|
'value' => $row['real_name'], |
| 2433 |
|
); |
| 2434 |
|
} |
| 2435 |
|
$smcFunc['db_free_result']($request); |
| 2436 |
|
|
| 2437 |
|
return $xml_data; |
|
@@ 2476-2486 (lines=11) @@
|
| 2473 |
|
'children' => array(), |
| 2474 |
|
), |
| 2475 |
|
); |
| 2476 |
|
while ($row = $smcFunc['db_fetch_assoc']($request)) |
| 2477 |
|
{ |
| 2478 |
|
$row['group_name'] = strtr($row['group_name'], array('&' => '&', '<' => '<', '>' => '>', '"' => '"')); |
| 2479 |
|
|
| 2480 |
|
$xml_data['items']['children'][] = array( |
| 2481 |
|
'attributes' => array( |
| 2482 |
|
'id' => $row['id_group'], |
| 2483 |
|
), |
| 2484 |
|
'value' => $row['group_name'], |
| 2485 |
|
); |
| 2486 |
|
} |
| 2487 |
|
$smcFunc['db_free_result']($request); |
| 2488 |
|
|
| 2489 |
|
return $xml_data; |