<!-- start page content -->
            <div class="page-content-wrapper">
                <div class="page-content">
                    <div class="page-bar">
                        <div class="page-title-breadcrumb">
                            <div class=" pull-left">
                                <div class="page-title">Admit Card</div>
                            </div>
                            <ol class="breadcrumb page-breadcrumb pull-right">
                                <li><i class="fa fa-home"></i>&nbsp;<a class="parent-item" href="index.html">Home</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li><a class="parent-item" href="">Students</a>&nbsp;<i class="fa fa-angle-right"></i>
                                </li>
                                <li class="active">Admit Card</li>
                            </ol>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-md-12 col-sm-12">
                            <div class="card card-box">
                                <div class="card-head">
                                    <header>Admit Card</header>                                   
                                </div>								
                                <div class="card-body" id="bar-parent">
								<?php if($message!='success') {?>								
                                    <form id="form_sample_1" class="form-horizontal" action="#" method="post">
                                        <div class="form-body">
                                        <div class="form-group row <?php if(form_error('enroll_no') || $message=='fail'){ ?>has-error<?php } ?>">
                                                <label class="control-label col-md-3">Enrollment No.
                                                    <span class="required"> * </span>
                                                </label>
                                                <div class="col-md-5">
                                                    <input type="text" name="enroll_no"  id="enroll_no" placeholder="Enter Enrollment No" class="form-control input-height" value="<?=set_value('enroll_no');?>" /> 
													<span class="help-block"> <?=($message=='fail'?'Enrollment ID. Admit Card is not Available': form_error('enroll_no')); ?> </span>
													</div>													
                                            </div>                                                                                     
											<div class="form-actions">
                                            <div class="row">
                                                <div class="offset-md-3 col-md-9">
                                                    <button type="submit" class="btn btn-info">Submit</button>                                                    
                                                </div>
                                            	</div>
                                       		 </div>
										</div>
                                    </form>
									<?php }
                                if($message=='success') {
								?>
								
								     <div class="card-body ">					                                   
					                                    <div class="table-scrollable">
					                                    <table class="table table-striped table-bordered table-hover table-checkable order-column valign-middle">
					                                        <thead>
					                                            <tr>
					                                            	<th>S No.</th>                                                
					                                                <th> Type </th>					                                               
					                                                <th class="center"> Action</th>
																</tr>
					                                        </thead>
					                                        <tbody>
															<tr class="odd gradeX">
																	<td class="patient-img">
																			1
																	</td>																	
																	<td class="left"><?=$type;?></td>
																	<td class="center">																		
																	<a href="<?=$pdf_url;?>" download><label class="btn btn-primary disable-node">Download</label></a>
																		
																	</td>
																	
															</tr>
															</tbody>
					                                    </table>
					                                    </div>
					                                </div>
					                           
								<?php } ?>
								
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <!-- end page content -->
			