<?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 col-md-6">
                <div class="row">
    	<div class="col-md-12">Name: <?php echo $GetStudentDetail1['name']; ?></div>
        <div class="col-md-12">Program: <?php 
		$GetCourse=mysql_query("SELECT * FROM  `sgvu_courses` WHERE  `course_id` ='$GetStudentDetail1[course]'");
		$GetCourse1=mysql_fetch_assoc($GetCourse);
		echo $GetCourse1['coursename'];
		
		 ?></div>
        <div class="col-md-12">Contact No: <?php echo $GetStudentDetail1['mobile']; ?></div>
        <div class="col-md-12">Email Id: <?php echo $GetStudentDetail1['email']; ?></div>
        </div>
                
                
                
					<div class="panel-body">
					<div class="scroll-content" tabindex="0">
						<ul class="mini-timeline">
							<?php
							$GetList=mysql_query("SELECT * FROM  `lead_caller_remark` WHERE  `lead_id` =1 ORDER BY  `lead_caller_remark`.`time` DESC ");
							while($GetList1=mysql_fetch_assoc($GetList))
							{
							?>
                            
                            <li class="mini-timeline-lime">
								<div class="timeline-icon"></div>
								<div class="timeline-body">
									<div class="timeline-content">
										<font size="+1" color="#000000"><?php echo $GetList1['comment']; ?></font>
										<span class="time"><?php echo date('d M Y H:i:s', $GetList1['time']); ?></span>
									</div>
								</div>
							</li>

							<?php } ?>
							
							
							

							

							

							<li class="mini-timeline-indigo">
								<div class="timeline-icon"></div>
								<div class="timeline-body">
									<div class="timeline-content">
										<form>
                                        <span class="time">
                                        <textarea name="remark" class="form-control" rows="3" cols="50" style="width:500px" placeholder="Enter Your Comment..."></textarea></span>
                                        <span class="time" style="padding-top:10px">
                                       <input type="radio" name="status" value="1" checked="checked" /> Interested &nbsp;&nbsp;&nbsp;&nbsp; <input type="radio" name="status" value="1" /> Not Interested
                                       </span>
                                        <span class="time" style="padding-top:10px">
                                        <input type="text" class="form-control" id="datepicker" name="call_back" placeholder="Choose Call Back Date (If Any)" style="width:200px"></span>
                                       <span class="time" style="padding-top:10px">
                                        <input type="submit" class="btn-primary btn" id="submit" name="submit" value="Submit"></span>
                                        
                                        
                                        </form>
										
									</div>
								</div>
							</li>
							
						</ul>
					</div>
				<div class="scroll-track"><div class="scroll-thumb" style="height: 175px; transform: translate(0px, 0px);"></div></div></div>
					
				</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-->
    
