query("SELECT * FROM system_post WHERE post_type = 'website-page-menu' LIMIT 1") ; // check table exsits if ($mysqli_page_website->num_rows > 0){ $row_page_website = $mysqli_page_website->fetch_array(MYSQLI_ASSOC) ; } ?>
query("SELECT * FROM branch WHERE deleted_at IS NULL".$user_branch_permission_sql_123) ; if ( $get_branch->num_rows > 0 ){ if($row_user['user_permission'] == 'user'){ echo '
'; } } $get_branch = $mysqli->query("SELECT * FROM branch WHERE deleted_at IS NULL") ; if ( $get_branch->num_rows > 0 ){ if($row_user['user_permission'] == 'admin'){ echo '
'; } } ?>
query($mysqli_query." ORDER BY post_order") ; if ($mysqli_notification->num_rows > 0){ $top_notification = '' ; while ($row_notification = $mysqli_notification->fetch_array(MYSQLI_ASSOC)){ $top_notification .= '
  • '.dataFilter($row_notification['post_title']) .'
  • ' ; } echo ' ' ; } ?>