<?php include("parent/callMe.php"); ?>
<?php  include("sessioncheck.php"); ?>
<?php include('RootMe/css_links.php');?> 
<?php 
//echo $_REQUEST['parentId'];
$m->where("branch_id", $_SESSION['branch']);	

$m->where("parents_id", $_REQUEST['parentId']);	

$m->where("status", 0);

$WorkAssignListVal = $m->get("eduportal_parents_access");

//print_r($WorkAssignListVal);

$cell_number=$WorkAssignListings[0]['cell_no'];



  $soft_link="https://parents.eduportal-pk.com/";



?>
<style type="text/css">

h1 {

	text-align: center;

	font-family: Tahoma, Arial, sans-serif;

	color: #333333;

	margin: 16px 0;

}

.popup .content {

	max-height: 30%;

	overflow: auto;

}

</style>

<h1><?php echo $WorkAssignListVal[0]['parents_name'];?></h1>

<div class="content">

  <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="ParentsSMS"> 
           <input type="hidden" id="date"  name="experience" value="<?php echo $_SESSION['experience']; ?>" />
           <input type="hidden" id=""  name="parents_name" value="<?php echo $WorkAssignListVal[0]['parents_name']; ?>" />

             
                  
                  <div class="col-md-12" style="padding:8px;"  id="">

                       <div class="form-group ">

                          <label class="required" style="text-align: left;"> Mobile No</label>
                              <input name="cell_no"  id="cell_no_student" value="<?php echo $WorkAssignListVal[0]['parents_cellno'];?>" type="number" class="form-control"/>
                       
                          </div>
                  </div>
              

                  <div class="col-md-12" style="padding:8px;"  id="col1">

                       <div class="form-group ">

                          <label class="required"> Message</label>
<textarea name="parentAccessMessage"  type="text" class="form-control" style="height:235px; text-align: left;"><?php
 echo " Dear ".$WorkAssignListVal[0]['parents_name'].",
  Login Detail
  Username:".$WorkAssignListVal[0]['parents_cellno']." 
  Password:".$WorkAssignListVal[0]['password']."
  Portal Link:".$soft_link."
  From:".$_SESSION['branch_name'];
  ?></textarea>
                       
                          </div>
                  </div>
                                       
                  </div>
               
                

            <div class="modal-footer">

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


            </div>



                 </form>
</div>





