<?php
$id = $convert->decode($_GET['id']);
$GetStudentDetail=mysql_query("SELECT * FROM  `lead2017` WHERE  `id` ='$id'");
$GetStudentDetail1=mysql_fetch_assoc($GetStudentDetail);

?>
<link type="text/css" href="assets/plugins/form-daterangepicker/daterangepicker-bs3.css" rel="stylesheet">    <!-- DateRangePicker -->

<link type="text/css" href="assets/plugins/gridforms/gridforms/gridforms.css" rel="stylesheet"> 									<!-- Gridforms -->

<div class="page-content">
                            <ol class="breadcrumb">
                                
<li><a href="index.html">Home</a></li>
<li>Lead Profile</li>
<li class="active"><a href="#">View Query</a></li>
                            </ol>
                            <div class="container-fluid">
                                 
<div data-widget-group="group1">
    <div class="row">
    	<div class="col-md-12">
			<div class="panel panel-white" data-widget='{"draggable": "false"}'>
				<div class="panel-heading">
					<h2>Lead Details</h2>
					<!-- <div class="panel-ctrls" data-actions-container="" data-action-collapse='{"target": ".panel-body"}'></div> -->
				</div>
				<div class="panel-body">
					<form class="grid-form" method="post" action="action-pages/telecaller/remark-action.php" enctype="multipart/form-data" id="validate-form" data-parsley-validate="" novalidate="">
					<input type="hidden" name="lead" value="<?php echo $id; ?>" />
						<fieldset>
							
							
							
							
							
							
							<div data-row-span="4">
								<div data-field-span="1"><label><h6>Student Name</h6></label>
									<h4><?php echo $GetStudentDetail1['name']; ?></h4>
								</div>
								<div data-field-span="2">
									<label><h6>Email.</h6></label>
									
						        <h4><?php echo $GetStudentDetail1['email']; ?></h4>
						   
								</div>

								<div data-field-span="1">
									<label><h6>Contact No</h6></label>
									<h4><?php echo $GetStudentDetail1['mobile']; ?></h4>
								</div>
							</div>
							
<div data-row-span="4" style="">
						
								
<div data-field-span="2" style="">
									<label><h6>Course</h6></label>
									<label>
                                   <h4><?php 
								  // echo "SELECT * FROM  `sgvu_courses` WHERE  `course_id` ='$GetStudentDetail1[course]'";
		$GetCourse=mysql_query("SELECT * FROM  `sgvu_courses` WHERE  `course_id` ='$GetStudentDetail1[course]'");
		$GetCourse1=mysql_fetch_assoc($GetCourse);
		echo $GetCourse1['coursename'];
		
		 ?>
		 </h4>
                                   
                                   </label> 								</div>
								
								<div data-field-span="1" style="">
									<label><h6>Status</h6></label>
									<select name="status" class="form-control" style="border:none" required="">
           <option value="1">Interested</option>
           <option value="2">Not Interested</option>
          </select>
								</div>
								<div data-field-span="1" style="">
									<label><h6>Call Back Date</h6></label>
									<input type="text" class="form-control" id="datepicker" name="call_back" placeholder="mm/dd/yyyy" >
								</div>								
					
							</div>
                    
             
                            
                            
                            
                            
                        

                        
                                                    
                            
<div data-row-span="1" style="">
						
								
<div data-field-span="1" style="width:100%">
									<label><h6>New Remark</h6></label>
					<label>
					<textarea name="remark" class="form-control" rows="3" cols="100" placeholder="Enter your comment...."  required=""></textarea>
					</label> 								
				  </div>
								
						</div>
						</fieldset>


					
					
						
						<div class="clearfix pt-md">
							<div class="" align="">
							
							
							          
                                      <select name="user" class="form-control" style="border:none; width:250px" required="">
           <option value="">Allocated To</option>
         <?php
         $GetUser=mysql_query("SELECT * FROM  `admin` WHERE  `role` ='203' ORDER BY  `admin`.`name` ASC");
		 while($GetUser1=mysql_fetch_assoc($GetUser))
		 {
         ?>
         
           <option value="<?php echo $GetUser1['admin_id']; ?>"><?php echo $GetUser1['name']; ?></option>
           <?php } ?>
         
          </select>

								
							</div>
						</div>
                        
                        <div class="clearfix pt-md">
							<div class="" align="center">
							
							
							          <input type="submit" class="btn-primary btn" id="submit" name="submit" value="Submit">

								
							</div>
						</div>
                        
					</form>
					
				</div>
			</div>
		</div>
	</div>
</div>
                            </div> <!-- .container-fluid -->
                        </div>
						
						<script type="text/javascript" src="assets/js/jquery-1.10.2.min.js"></script> 							<!-- Load jQuery -->
<script type="text/javascript" src="assets/js/jqueryui-1.10.3.min.js"></script> 							<!-- Load jQueryUI -->
<script type="text/javascript" src="assets/js/bootstrap.min.js"></script> 								<!-- Load Bootstrap -->
<script type="text/javascript" src="assets/js/enquire.min.js"></script> 									<!-- Load Enquire -->

<script type="text/javascript" src="assets/plugins/velocityjs/velocity.min.js"></script>					<!-- Load Velocity for Animated Content -->
<script type="text/javascript" src="assets/plugins/velocityjs/velocity.ui.min.js"></script>

<script type="text/javascript" src="assets/plugins/wijets/wijets.js"></script>     						<!-- Wijet -->

<script type="text/javascript" src="assets/plugins/codeprettifier/prettify.js"></script> 				<!-- Code Prettifier  -->
<script type="text/javascript" src="assets/plugins/bootstrap-switch/bootstrap-switch.js"></script> 		<!-- Swith/Toggle Button -->

<script type="text/javascript" src="assets/plugins/bootstrap-tabdrop/js/bootstrap-tabdrop.js"></script>  <!-- Bootstrap Tabdrop -->

<script type="text/javascript" src="assets/plugins/iCheck/icheck.min.js"></script>     					<!-- iCheck -->

<script type="text/javascript" src="assets/plugins/nanoScroller/js/jquery.nanoscroller.min.js"></script> <!-- nano scroller -->

<script type="text/javascript" src="assets/js/application.js"></script>
<script type="text/javascript" src="assets/demo/demo.js"></script>
<script type="text/javascript" src="assets/demo/demo-switcher.js"></script>

<!-- End loading site level scripts -->
    
    <!-- Load page level scripts-->
    
<script type="text/javascript" src="assets/plugins/gridforms/gridforms/gridforms.js"></script>  								<!-- Gridforms -->
<script>
// See Docs
	window.ParsleyConfig = {
    	  successClass: 'has-success'
		, errorClass: 'has-error'
		, errorElem: '<span></span>'
		, errorsWrapper: '<span class="help-block"></span>'
		, errorTemplate: "<div></div>"
		, classHandler: function(el) {
    		return el.$element.closest(".form-group");
		}
	};
</script>

<script type="text/javascript" src="assets/plugins/form-parsley/parsley.js"></script>  					<!-- Validate Plugin / Parsley -->
<script type="text/javascript" src="assets/plugins/form-daterangepicker/moment.min.js"></script>              			<!-- Moment.js for Date Range Picker -->

<script type="text/javascript" src="assets/plugins/form-colorpicker/js/bootstrap-colorpicker.min.js"></script> 			<!-- Color Picker -->

<script type="text/javascript" src="assets/plugins/form-daterangepicker/daterangepicker.js"></script>     				<!-- Date Range Picker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datepicker/bootstrap-datepicker.js"></script>      			<!-- Datepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-timepicker/bootstrap-timepicker.js"></script>      			<!-- Timepicker -->
<script type="text/javascript" src="assets/plugins/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script> <!-- DateTime Picker -->

<script type="text/javascript" src="assets/plugins/clockface/js/clockface.js"></script>     								<!-- Clockface -->


<script type="text/javascript" src="assets/demo/demo-pickers.js"></script>
<script type="text/javascript" src="assets/demo/demo-formvalidation.js"></script>
<script type="text/javascript" src="assets/demo/demo-pickers.js"></script>
<script type="text/javascript" src="assets/demo/demo-formcomponents.js"></script>
    <!-- Load page level scripts-->
    
