<?php include('add_header.php'); ?>

<div class="bio_main">
    	<div class="bio_inner">
        	<div class="container">
            	<div class="col-lg-12 padding_part ">
                	<div class="bio_content">
<center><h1>Add Article</h1></center>
<div class="col-lg-3 col-sm-12 col-xs-12 bio_content2 text-center">
</div>
                         <div class="col-lg-6 col-sm-12 col-xs-12 bio_content2 text-center">


<form id="contact" name="contact" method="post" action="<?php echo base_url();?>adminpanel/store_article" target="" onsubmit="return get_validate1();"> 
  <?php echo form_hidden('user_id',$this->session->userdata('user_id')); ?>

					  <div id="input"><input type="text" placeholder="Title" name="title" id="title" value="<?php echo set_value('title'); ?>" class="get_in_name" onfocus="this.placeholder = ''" onblur="this.placeholder='title'" >
<span id="span11"><?php echo form_error('title'); ?></span></div>

 <div id="input"><input type="text" placeholder="Slug" name="slug" id="slug" value="<?php echo set_value('slug'); ?>" class="get_in_name" onfocus="this.placeholder = ''" onblur="this.placeholder='title'" >
<span id="span11"><?php echo form_error('slug'); ?></span></div>


<div id="input"> <textarea id="body" name="body" rows="10" cols="80"><?php echo set_value('body'); ?></textarea> 
<span id="span31"><?php echo form_error('body'); ?></span></div> 
					  

					  <div class="col-lg-12 learn_btn text-center">

<input class="send_btn" id="form_btn" type="submit" name="submit" value="Submit" />
					       
				      </div>
                              
</form>

                     </div>

<div class="col-lg-12 col-sm-12 col-xs-12 bio_content2 text-center">   
</div>
                        
                    </div>
                </div>
            </div>
        </div>
    </div><!--bio_main -->

<?php include('add_footer.php'); ?>