0) { $i=1; while($link_row=re_db_fetch_array($link_res)) { if($link_row['link_page']!='' && $link_row['link_page']!='#') $main_link=SITE_URL.$link_row['link_page']; else $main_link='#'; /* if($link_row['menu_images']!="") { $img=' '; } else { $img=''; } */ //echo '
  • '.$img.''.$link_row['link_text'].''; echo '
  • '.$link_row['link_text'].''; $i++; $sublink_query="select * from `".TABLE_HEADER_LINK."` where parent_id=".$link_row['link_id']." and status=1 and link_id in (select link_id from `".TABLE_USER_MENU_MASTER."` where ((add_right = '1' or edit_right = '1' or view_right = '1' or delete_right = '1') and (user_id='".$ids."'))) order by sort_order"; $sublink_res=re_db_query($sublink_query); if(re_db_num_rows($sublink_res)>0) { $i=0; echo '
      '; while($sublink_row=re_db_fetch_array($sublink_res)) { echo '
    • '.$sublink_row['link_text'].''; if(@count($defaults_link[$i])>=1 && $session_type==3 && $link_row['link_id']==1) { echo '
    • '.$defaults_link_text[$i].''; } $subsublink_query="select * from `".TABLE_HEADER_LINK."` where parent_id=".$sublink_row['link_id']." and status=1 and link_id in (select link_id from `".TABLE_USER_MENU_MASTER."` where ((add_right = '1' or edit_right = '1' or view_right = '1' or delete_right = '1') and (user_id='".$ids."'))) order by sort_order"; $subsublink_res=re_db_query($subsublink_query); if(re_db_num_rows($subsublink_res)>0) { echo '
        '; while($subsublink_row=re_db_fetch_array($subsublink_res)) { echo '
      • '.$subsublink_row['link_text'].''; echo '
      • '; }echo '
      '; }echo '
    • '; $i++; }echo '
    '; }echo '
  • '; } } else { ?>
  • Masters
    • Course Details
    • Trainer Profile
    • Student Profile
    • Batch Entry
      • Set Workshop Date/Session
  • Routines
    • Attendance
    • Cover UP Session
    • Lesson Guidelines
  • Reports
    • Last Level Fees Received
    • Master Reports
      • Student Profile
      • Batch Profile
    • Daily Batch Status Report
    • Batch Status Report
    • Student New Admission Report
    • Student Dropout Report
    • Student Dropout Notification Report
    • Student Centre Transfer Report
    • Student On Break Report
    • Student Resume Break Report
    • Class and CI Avalibility Report
    • Certificate Issue Report
    • Parents Attendence Report
    • Cover UP Session Report
    • Batch Performance Report
    • Student Performance Report
  • Utilities
    • Student Dropout