forked from kkprakasa/telek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
teltree.php
47 lines (38 loc) · 1.03 KB
/
teltree.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?php
//defined('_SECURE_') or die('Forbidden');
/*
if(!auth_isvalid()){
auth_block();
}
*/
//echo "Halo duniahh";
switch(_OP_){
case "mulai":
echo "Daftar dong ah";
break;
case "daftar":
echo "mulai dong ah";
break;
case "gabung":
echo "gabung dong ah";
break;
}
$list /*$gpid*/ = dba_search(_DB_PREF_ . '_featurePhonebook_group', 'id', array(
'uid' => 1, //---$uid
'code' => 'IL' //---$group_code
));
foreach($list as $kkk){
foreach($kkk as $key => $val){
echo $key." => ".$val. "<br />";
}
}
$mobile = '+628568218424';
$uid = user_mobile2uid('08568218424');
$list01 = dba_search(_DB_PREF_ . '_featurePhonebook', 'id', array(
'uid' => 1,
'mobile' => $mobile
));
var_dump($list01[0]['id']);
logger_print($list[0]['id'], 4,'test');
echo '<br />'.$mobile;
//empty