 <?php
								if(isset($_SESSION['login_user']))
	{
	$login_session=$_SESSION['login_user'];
	$login_type=$_SESSION['login_type'];
	
	}
	?>      
        <ul class="nav nav-pills nav-sidebar flex-column" data-widget="treeview" role="menu" data-accordion="false">
          <!-- Add icons to the links using the .nav-icon class
               with font-awesome or any other icon font library -->
               <li class="nav-item">
            <a href="welcome-home.php?title=Dashboard" class="nav-link">
              <i class="nav-icon fas fa-th"></i>
              <p>
                Dashboard
                <span class="right badge badge-danger">Home</span>
              </p>
            </a>
          </li> 
          <?php if(($codeec!="")&&($codeecs!="")){  ?>
          <li class="nav-item has-treeview menu-open">
            <a href="#" class="nav-link active">
              <i class="nav-icon fas fa-tachometer-alt"></i>
              <p>
                FEED INFORMATION
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <?php if($login_type=="admin"){ ?>
            <ul class="nav nav-treeview" style="background-color:#666666">
              <li class="nav-item">
                <a href="feed_coll_info.php?active1=1&title=College Information" class="nav-link <?php if($_GET['active1']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>FEED COLLEGE INFO.</p>
                </a>
              </li>
               <li class="nav-item">
                <a href="feed_course_type.php?active266=1&title=FEED COURSE TYPE" class="nav-link <?php if($_GET['active266']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>FEED COURSE TYPE</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="feed_course.php?active2=1&title=Courses" class="nav-link <?php if($_GET['active2']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>FEED COURSE</p>
                </a>
              </li>
              
             <li class="nav-item">
                <a href="feed_subject.php?active3=1&title=Feed Subject" class="nav-link <?php if($_GET['active3']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>FEED SUBJECT</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="feed_session.php?active4=1&title=Feed Session" class="nav-link <?php if($_GET['active4']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>SESSION</p>
                </a>
              </li>
             <li class="nav-item">
              <a href="feed_course_session.php?active5=1&title=Feed Course / Year" class="nav-link <?php if($_GET['active5']!=""){echo "active";} ?>">
              <i class="far fa-circle nav-icon"></i>
                  <p>COURSE YEAR</p>
              </a>
             </li>
			<li class="nav-item">
                <a href="feed_student_type.php?active6=1&title=Student Type" class="nav-link <?php if($_GET['active6']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>STUDENT TYPE</p>
                </a>
              </li>
                   <li class="nav-item">
                <a href="feed_fees.php?active7=1&title=Fees" class="nav-link <?php if($_GET['active7']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>FEES</p>
                </a>
              </li>        
            </ul> 
<li class="nav-item">
            <a href="software_pay.php?active899=1&title=Software Payment Details" target="_blank" class="nav-link <?php if($_GET['active899']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               CMS : Payment Info
              </p>
             
                <span class="right badge badge-danger">Due</span>
            </a>
          	</li>  <?php } ?>
                    <?php if($login_type!="teacher"){?>
                    <li class="nav-item">
            <a href="http://rnsc.mdsoftware.co.in/old/index.php?college=<?php echo $code; ?>&session=<?php echo $session; ?>" target="_blank" class="nav-link">
              <i class="nav-icon far fa-image"></i>
              <p>
               Fill Online Form
              </p>
            </a>
          	</li> 
 			<?php /*?><li class="nav-item">
            <a href="Daily_report.php?active8=1&title=Daily Fee Collection Report" class="nav-link <?php if($_GET['active8']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               D.F.C. Report
              </p>
            </a>
          	</li> <?php */?>
           <?php /*?> <li class="nav-item">
            <a href="user_manage.php?active9=1&title=User Management" class="nav-link <?php if($_GET['active9']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               User Links Access
              </p>
            </a>
          	</li><?php */?>
            <li class="nav-item">
            <a href="report.php?active10=1&title=Report" target="_blank" class="nav-link <?php if($_GET['active10']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               REPORT
              </p>
            </a>
          	</li>
            <li class="nav-item">
            <a href="virification_stu.php?active11=1&title=Student Verification Module" class="nav-link <?php if($_GET['active11']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               Student Verification
              </p>
            </a>
          	</li><?php /*?>
            <li class="nav-item">
            <a href="Student_veryfication.php?active12=1&title=Exam Form Verification" class="nav-link <?php if($_GET['active12']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               Exam Form Verific
              </p>
            </a>
          	</li>
            <li class="nav-item">
            <a href="uni_Student_veryfication.php?active13=1&title=University Form Verification" class="nav-link <?php if($_GET['active13']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               University Form Verific
              </p>
            </a>
          	</li>
            <li class="nav-item">
            <a href="Scholarship_veryfication.php?active14=1&title=Scholarship Form Verification" class="nav-link <?php if($_GET['active14']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               Scholarship Form Verific
              </p>
            </a>
          	</li><?php */?>
            <li class="nav-item">
            <a href="pay_fees.php?active16=1&title=Pay College Fee" class="nav-link <?php if($_GET['active16']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               Pay Fees
              </p>
            </a>
          	</li>
            <?php /*?><li class="nav-item">
            <a href="id_card.php?active17=1&title=Print Student ID Card" class="nav-link <?php if($_GET['active17']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-image"></i>
              <p>
               I-Card
              </p>
            </a>
          	</li><?php */?>
          
            
            <?php } ?>       
          <?php /*?><li class="nav-item has-treeview">
            <a href="#" class="nav-link <?php if($_GET['active']!=""){echo "active";} ?>">
              <i class="nav-icon fas fa-copy"></i>
              <p>
               Attendance
                <i class="fas fa-angle-left right"></i>
                <span class="badge badge-info right">Feed</span>
              </p>
            </a>
            <ul class="nav nav-treeview">
                 <li class="nav-item">
                <a href="stu_att_1.php?active1=21&title=Student Attendance" class="nav-link <?php if($_GET['active21']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Attendance Student</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="stu_att_1_barcode.php?active22=1&title=Student Attendance By BARCODE" class="nav-link <?php if($_GET['active22']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Attendance Barcode</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="att_view.php?active23=1&title=View Student Attendance" class="nav-link <?php if($_GET['active23']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>View Att. Student</p>
                </a>
              </li>
              </ul>
          </li><?php */?>
           <?php /*?><li class="nav-item has-treeview">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-copy"></i>
              <p>
               Teachers
                <i class="fas fa-angle-left right"></i>
                <span class="badge badge-info right">*</span>
              </p>
            </a>
            <ul class="nav nav-treeview">
            <?php if($login_type=="admin"){ ?>
              <li class="nav-item">
                <a href="add_teacher.php?active24=1&title=Add Teacher" class="nav-link <?php if($_GET['active24']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Add Teachers</p>
                </a>
              </li>
              <?php } ?>
              <li class="nav-item">
                <a href="view_teacher.php?active25=1&title=View Teacher" class="nav-link <?php if($_GET['active25']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>View Teachers</p>
                </a>
              </li>
               <?php if($login_type=="admin"){ ?>
              <li class="nav-item">
                <a href="salary_payment_en.php?active26=1&title=Create Teachers Salary" class="nav-link <?php if($_GET['active26']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Create Salary</p>
                </a>
              </li>
              <?php } ?>
              <li class="nav-item">
                <a href="search_srno_teacher.php?active27=1&title=View Salary" class="nav-link <?php if($_GET['active27']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>View Salary</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="search_salary_report.php?active28=1&title=Salary Report" class="nav-link <?php if($_GET['active28']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Report</p>
                </a>
              </li>
              </ul>
          </li><?php */?>
          
          <?php if($login_type!="teacher"){?>
          <li class="nav-item has-treeview">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-chart-pie"></i>
              <p>
                PRINT
                <i class="right fas fa-angle-left"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
            <?php if($login_type=="admin"){ ?>
              <li class="nav-item">
               <?php /*?> <a href="master_file_user.php?active29=1" class="nav-link <?php if($_GET['active29']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>View Master Details</p>
                </a><?php */?>
              </li>
              <?php } ?>
              <li class="nav-item">
                <a href="subject_wise_report.php?active30=1&title=Print Student Subject Wise" class="nav-link <?php if($_GET['active30']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Subject-Wise</p>
                </a>
              </li>
                     <?php /*?><li class="nav-item">
                <a href="phone_no_report.php?active32=1&title=Print Student Mobile Number" class="nav-link <?php if($_GET['active32']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>MOBILE NO</p>
                </a>
              </li><?php */?>
            </ul>
          </li>
          <?php } ?>
          <?php /*?><li class="nav-item has-treeview">
            <a href="#" class="nav-link">
              <i class="nav-icon fas fa-tree"></i>
              <p>
                Credit Debit
                <i class="fas fa-angle-left right"></i>
              </p>
            </a>
            <ul class="nav nav-treeview">
              <li class="nav-item">
                <a href="feed_party_details.php?active33=1&title=Feed Party" class="nav-link <?php if($_GET['active33']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Feed Party</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="create_voucher.php?active34=1&title=Create Voucher" class="nav-link <?php if($_GET['active34']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Create Voucher</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="repor_datet.php?active35=1&title=Report By Date" class="nav-link <?php if($_GET['active35']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Report-Date</p>
                </a>
              </li>
              <li class="nav-item">
                <a href="reportdc.php?active36=1&title=Report By Party" class="nav-link <?php if($_GET['active36']!=""){echo "active";} ?>">
                  <i class="far fa-circle nav-icon"></i>
                  <p>Party-</p>
                </a>
              </li>
              
            </ul>
          </li><?php */?>
          <?php if($login_type!="teacher"){?>
         <?php /*?> <li class="nav-item">
            <a href="delete_report.php?active37=1&title=Delete History" class="nav-link <?php if($_GET['active37']!=""){echo "active";} ?>">
            <i class="nav-icon far fa-circle text-danger"></i>
              <p>Delete History</p>
            </a>
          </li>
           <li class="nav-item">
            <a href="backup.php?active38=1&title=Backup" class="nav-link <?php if($_GET['active38']!=""){echo "active";} ?>">
                          <i class="fas fa-circle nav-icon"></i>

              <p class="text">Backup</p>
            </a>
          </li>

          <li class="nav-item">
            <a href="upload/index.php?active39=1&title=File Upload" class="nav-link <?php if($_GET['active39']!=""){echo "active";} ?>">
              <i class="nav-icon far fa-circle text-warning"></i>
              <p>Uplaod Files</p>
            </a>
          </li><?php */?>
           <?php }} ?>
          
        </ul>
     
                          
