query("SELECT * FROM function ORDER BY function_id ASC");
if($result) {
while ( $row = $result->fetch_assoc() ){
$val = explode(',', $row['accountType']);
foreach ( $val as $v){
if ( $_SESSION['accountType'] == $v[0] ){
$id = $row['function_id'];
$url = $row['function_url'];
$title = $row['function_name'];
$subTitle = $row['function_subTitle'];
$img_src = $row['function_img'];
$img_ic = $row['function_ic'];
include(dir_rootPHP.'_global/html/get_clickBox_25.php');
}
}
}
}
?>