<div class="panel panel-default">

    <div class="panel-heading">
        <h6 class="panel-title">
            <a href="<?php echo site_url('everbright/digitalcontent_add'); ?>"><i class="fa fa-align-justify"></i></a> 
            Digital Content Info| Add
        </h6>
        <a href="<?php echo site_url('everbright/digitalcontent'); ?>" class="pull-right btn btn-circle btn-xs btn-default"><i class="fa fa-times"></i>Cancel</a>
    </div>

    <div class="panel-body">
        <form action="<?php echo site_url('everbright/do_upload_digitalcontent'); ?>" method="post" class="form-horizontal validate" role="form" enctype="multipart/form-data"> 
            <div class="row">
				<!-- Gross Weigth -->
					<?php 
                        $querysc = $this->main_model->sclass();
                    ?>
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Class<span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <select data-placeholder="(:-- Select Class --:)" name="sclass" class="required  select-search">
                               
							   <option value=""></option>
							   <?php foreach($querysc as $rowsc): ?>
                                <option value="<?php echo $rowsc['name']; ?>"><?php echo $rowsc['name']; ?></option>
								<?php endforeach; ?>
                              
                            </select>                            
                        </div>
                        
                    </div> 
                </div>	
				<?php 
                        $querytcr = $this->main_model->teacher();
                    ?>
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Teacher<span class="mandatory">*</span></label>
                        <div class="col-sm-8">
                            <select data-placeholder="(:-- Select Teacher --:)" name="steacher" class="required  select-search">
                               
							   <option value=""></option>
							   <?php foreach($querytcr as $rowtcr): ?>
                                <option value="<?php echo $rowtcr['name']; ?>"><?php echo $rowtcr['name']; ?></option>
								<?php endforeach; ?>
                              
                            </select>                            
                        </div>
                        
                    </div> 
                </div>
                                 
            </div>
                      
            
			<div class="row">
                <!-- ATTN -->
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Subject<span class="mandatory">*</span> </label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control" placeholder="Subject" name="ssubject">
                        </div>
                    </div> 
                </div> 
                <!-- SHIPPER -->
                <div class="col-md-6">                   
                    <div class="form-group">
                        <label class="col-sm-4 control-label text-right">Title<span class="mandatory">*</span> </label>
                        <div class="col-sm-8">
                            <input type="text" class="required  form-control" placeholder="Title" name="title">
                        </div>
                    </div> 
                </div>                    
            </div>
			 
            <div class="row">			
                <!-- Gross Weigth -->
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4 text-right">File Type<span class="mandatory">*</span> </label>
                        <div class="col-md-8">
                            <input type="text" class="required  form-control" placeholder="File Type" name="file_type">
                        </div>
                    </div>
                </div>	
                <!-- VOL -->
                <div class="col-md-6">
                    <div class="form-group">
                        <label class="control-label col-md-4 text-right">File </label>
                        <div class="col-md-8">
                            <input type="file" name="pic_file" id="pic_file">
                       
						</div>
                    </div>
                </div>				
            </div>
			
            <div class="form-actions text-right">
                <button type="submit" value="Submit" class="btn btn-primary"><i class="fa fa-check"></i> Submit</button>
            </div>
        </form>
    </div>

</div>
