You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
309 B
15 lines
309 B
<?php
|
|
require_once('../ajax_asm.php');
|
|
|
|
if( $CUser->Data['id'] > 1 ){
|
|
$Data = array();
|
|
$QS = "SELECT * FROM `module_modem_phonebook`";
|
|
$RV = $DATABASE->Query( $QS );
|
|
if( count( $RV ) ){
|
|
$DATA = $RV;
|
|
};
|
|
echo json_encode( $Data );
|
|
exit();
|
|
};
|
|
header( 'location: /' );
|
|
?>
|