<?php $this->load->view('includes/header'); ?>  
<div class="page-title">                    
  <h2><span ></span><?php echo $heading_title; ?></h2>
  <div class="buttons">
    <a href="<?php echo site_url(); ?>sitepanel/meta/redirection" class="btn btn-primary pull-right">Cancel</a>  
  </div>
</div>
<div class="page-content-wrap">
  <div class="row">
    <div class="col-md-12">
      <div class="panel panel-default">
        <div class="panel-body">              


          <?php
          validation_message();
          error_message();
          echo form_open('sitepanel/meta/addredirection/');
          ?>
          <div class="row">
            <div class="form-group">
              <label class="col-md-2 col-lg-2 col-xs-12 col-md-offset-3 col-lg-offset-3 control-label"><span class="required">*</span>Old URL</label>
              <div class="col-md-5 col-lg-5 col-xs-12">     
                <input type="text" class="form-control" name="old_url" value="<?php echo set_value('old_url'); ?>" />
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-md-12 col-lg-12"></div>
          </div>
          <div class="row">
            <div class="form-group">
              <label class="col-md-2 col-lg-2 col-xs-12 col-md-offset-3 col-lg-offset-3 control-label"><span class="required">*</span>New URL</label>
              <div class="col-md-5 col-lg-5 col-xs-12">     
                <input type="text" class="form-control" name="new_url" value="<?php echo set_value('new_url'); ?>" />
              </div>
            </div>
          </div>
          <div class="row">
            <div class="col-md-12 col-lg-12"></div>
          </div>
          <div class="row">
            <div class="form-group">
              <div class="col-md-8">
                <input type="submit" name="sub" value="Add" class="btn bg-red pull-right" />
                <input type="hidden" name="action" value="add301"  />
              </div>
            </div>
          </div>
          <?php echo form_close(); ?>


        </div>
      </div>
    </div>
  </div>
</div>
<?php $this->load->view('includes/footer'); ?>