<!--Cabecalho -->
<?php $this->load->view('commons/cabecalho'); ?>
<!--Header -->
<?php $this->load->view('commons/header'); ?>
<br><br>
<style>
@media only screen and (min-width: 768px){
    #form-r{
        margin-top: 50px;
        
    }
     #bote{
        
        margin-top: 25px;
    }
    
 
   
    
    

}
    </style>
<div class="container"> 
    <div class="row" id="form-r">
        
        <form method="GET" action="<?= base_url('curso') ?>">

            <div class="col m12 s12">
                <div class="input-field col m9 s12">
                    <i class="material-icons prefix">search</i>  
                    <input id="curso-p" type="text" class="validate curso-p" name="nome" required="">
                    <label for="curso-p">Digite uma palavra</label>
                     
                </div>
                
               <button class="btn waves-effect waves-light btn-curso btn-end col m2 s12" id="bote" type="submit" style="padding-left: 20px; padding-right: 20px;">Pesquisar</button>
            </div>

        </form>
    </div>
    
    <div class="opcao-d">    
        <div class="row">
            <div class="col s12">
                <?php echo $this->session->flashdata('matriculado-l-erro'); ?>
                    <?php echo $this->session->flashdata('sucesso-escolha'); ?>

            </div>
            
        </div>
    </div>
</div>
<?php 
$this->load->library('user_agent');
if($this->agent->is_mobile()) {  
?>
<div class="collection opcao-m">
    <?php echo $this->session->flashdata('sucesso-escolha'); ?>
    
</div>
<?php } ?>
<!--Opcao -->
<br><br>
<?php if (isset($_SESSION['aluno']) == FALSE) { ?> 
<?php $this->load->view('commons/opcao'); ?>
<?php }  ?>
<?php $this->load->view('commons/rodape'); ?>
