1 <?php2 /*********************/
3 /* */
4 /*Version : 5.1.0*/
5 /*Author : RM*/
6 /*Comment : 071223*/
7 /* */
8 /*********************/
9
10 include_once( "inc/auth.php");11 include_once( "inc/utility_all.php");12 include_once( "inc/td_core.php");13 $query = "SELECT * from USER where USER_ID='".$LOGIN_USER_ID."'";14 $cursor = exequery( $connection, $query);15 if ( $ROW = mysql_fetch_array( $cursor) )16 {17 $SMS_ON = $ROW['SMS_ON'];18 $CALL_SOUND = $ROW['CALL_SOUND'];19 $PWD = $ROW['PASSWORD'];20 $PWD = substr( md5( keyed_str( $PWD, "BLVY" ) ), 0, 16);21 }22 $CHECK_SMS = 0;23 if ( find_id( $USER_FUNC_ID_STR, "42") )24 {25 $CHECK_SMS = 1;26 }27 else
28 {29 $query = "select * from SMS2_PRIV";30 $cursor = exequery(