<?php
        include("homeheader.php");

    ?>

  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
          <div class="left_col scroll-view">
            <div class="navbar nav_title" style="border: 0;">
              <a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Instant Airtime </span></a>
            </div>

            <div class="clearfix"></div>

			
            <!-- menu profile quick info -->
            <div class="profile">
              <div class="profile_pic">
                <img src="images/user.png" alt="..." class="img-circle profile_img">
              </div>
             <div class="profile_info">

                <span>Welcome,</span>
				<h2> <?php $fname = $dat['fname']; $lname = $dat['lname']; echo $fname." ".$lname ?> </h2>
             <!--   <h2>John Doe</h2> -->
              </div>
            </div>
            <!-- /menu profile quick info -->

            <br />

            <!-- sidebar menu -->
            <div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
              <div class="menu_section">
			  <br/>
                <h3>General</h3>
                <ul class="nav side-menu">
                  <li ><a  href="homepage.php" ><i class="fa fa-home"></i>  Home <span class="fa fa-chevron-right"></span></a> </li>
                  <li ><a><i class="fa fa-edit"></i> My Contacts <span class="fa fa-chevron-down"></span></a> 
				  <ul class="nav child_menu">
					    <li><a  href="addnewcontact.php"  ><i class="fa fa-bug"></i>Add New Contact<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="viewcontacts.php"  ><i class="fa fa-bug"></i>View Contacts<span class="fa fa-chevron-right"></span></a> </li>
					   </ul>
				  </li>
                  <li ><a><i class="fa fa-desktop"></i> Groups <span class="fa fa-chevron-down"></span></a> 
				        <ul class="nav child_menu">
					   <li><a  href="creategroup.php" ><i class="fa fa-bug"></i>Create Group<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="viewgroups.php" ><i class="fa fa-bug"></i>View Groups<span class="fa fa-chevron-right"></span></a> </li>
					   </ul>
				  </li>
                  <li  ><a><i class="fa fa-table"></i> Send Airtime <span class="fa fa-chevron-down"></span></a>  
				   <ul class="nav child_menu">
                     <li><a  href="sendtome.php" ><i class="fa fa-bug"></i> Send To My phone<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="sendtogroup.php" ><i class="fa fa-bug"></i>Send To Group<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="selectcontacttosend.php" ><i class="fa fa-bug"></i>Select from Contacts<span class="fa fa-chevron-right"></span></a> </li>
					   </ul>
					  				  
				  </li>
                  <li class="active" ><a><i class="fa fa-bar-chart-o"></i> Purchase Airtime <span class="fa fa-chevron-down"></span></a> 
				   <ul class="nav child_menu">
                     <li><a  href="purchasetome.php" ><i class="fa fa-bug"></i> Topup My Line<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="purchasetogroup.php" ><i class="fa fa-bug"></i>Topup To Group<span class="fa fa-chevron-right"></span></a> </li>
						<li><a  href="selectcontacttopurchase.php" ><i class="fa fa-bug"></i>Select from Contacts<span class="fa fa-chevron-right"></span></a> </li>
					   </ul>
				  </li>
				   <li><a><i class="fa fa-bar-chart-o"></i> View Reports <span class="fa fa-chevron-down"></span></a>  
				      <!--  <ul class="nav side-menu"> -->
					   <ul class="nav child_menu">
					    <li><a  href="airtimebuyinghistory.php" ><i class="fa fa-bug"></i>Airtime Purchase History<span class="fa fa-chevron-right"></span></a> </li>
						<li><a href="airtimesendinghistory.php" ><i class="fa fa-bug"></i>Airtime Sending History<span class="fa fa-chevron-right"></span></a> </li>
					   </ul>
				   </li>
                </ul>
              </div>

            </div>
			 </div>
        </div>
		
		<?php
        include("topmenubar.php");

         ?>
		 
		 
		 <!-- page content -->
        <div class="right_col" role="main">
		  <!-- /top navigation -->
		     <div class="row">
          <!-- top tiles -->
          <div class="row tile_count">
            <div class="col-md-2 col-sm-4 col-xs-6 tile_stats_count">
              <p>Airtime Portal </p>
            </div>
            
          </div>
		  </div>
          <!-- /top tiles -->
		 
		 
		  
		  content here
		  
		  
		  
		  
		  
		  
		  </div>
		  
		  
		          <!-- /page content. End of main -->

     <?php include("footerlinks.php"); ?>

		  
		  