<?php include("parent/callMe.php"); ?>
<?php  include("sessioncheck.php"); 


     $pageName=basename($_SERVER['PHP_SELF']);

    
     $m->where("page_name", $pageName);
     $video = $m->get("eduportal_modules_pages_detail");


$branch=$_SESSION['branch'];
$WorkAssignListings = $m->query("SELECT sec.*, cls.* FROM edu_adm_section_detail as sec LEFT JOIN edu_class_config as cls ON sec.class_id = cls.class_id where cls.class_id!='' and cls.branch_id='$branch' and sec.branch_id='$branch' ORDER BY cls.class_id asc");

?>

<!DOCTYPE html>
<html lang="en">
  <head>
   
    <title> Staff Card | EduPortal </title>
    <?php include('RootMe/css_links.php');?>
   
  </head>
 
  <body class="nav-md">
    <div class="container body">
      <div class="main_container">
        <div class="col-md-3 left_col">
     
            <?php include('RootMe/sidebar.php');?>

              <?php include('RootMe/header.php');?>
     
        <!-- page content -->
            <div class="right_col" role="main">

              <a href="<?php echo $_SESSION['dashboard'];?>">Dashboard </a> &nbsp; <i style="" class="fa fa-angle-double-right"></i>  &nbsp; 
            Staff Cards
          <br><br>

            <div class="row" style="background-color: white;">


      <?php if ($video[0]['video_url']!=NULL) { ?>
  
  <a href="watch_video.php?videourl=<?php echo $video[0]['video_url'];?>" target="_blank" class="btn btn-success" style="padding: 10px 10px; font-size:14px;color:white;float: right;"><i class="fa fa-play"></i>&nbsp;&nbsp;Watch Demo</a>

<?php } ?>

<br>
       

  			<form class="form-style-7" action="<?php echo DOMAIN.AgentDirectory;?>parent/InsertMe.php" method="post"  enctype="multipart/form-data">

           <input type="hidden" name="action" value="colorschemeTeacherCard"> 
           <input type="hidden" id="date"  name="class_id" value="<?php echo $WorkAssignListVal['class_id']; ?>" />
           <input type="hidden" id="date"  name="section" value="<?php echo $WorkAssignListVal['section_id']; ?>" />
                  <div class="col-md-6"> 
                  <label>Please Choose Color Scheme</label>  
                  <input class="form-control" type="Color" name="color" style="height: 52px;">              
                  </div>
               
                 <br><br><br><br>

            <div class="modal-footer">

            <button type="submit" class="btn btn-primary" name="submit" >Print </button>
              


            </div>



                 </form>
  

        </div> 
        </div>

            </div>
          </div>
        </div>
        <!-- /page content -->
  

        <?php include('RootMe/js_linksscript.php');?>
  
  </body>
</html>
