<?php 
$this->load->view("top_application"); 
?>
<section>
  <div class="tz">
    <!--LEFT SECTION-->
    <div class="tz-l">      
      <?php $this->load->view("members/left"); ?>
    </div>
    <!--CENTER SECTION-->
    <div class="tz-4"> 
      <div class="tz-2-com tz-4-main">
        <h4>Add Category</h4>
        <div class="db-list-com tz-db-table">
          <div class="ds-boar-title">
            <h2>Add Category</h2>
          </div>
          <div class="hom-cre-acc-left hom-cre-acc-right">
            <div class="">
              <?php
              echo validation_message();
              echo error_message();
              ?>
              <form class="" action="" enctype="multipart/form-data" method="post">
                <div class="row">
                  <div class="input-field col s12">
                    <input id="category_name" name="category_name" type="text" value="<?php echo set_value('category_name'); ?>" class="validate">
                    <label for="category_name">Category Name*</label>
                  </div>
                </div>
                <div class="row">
                  <div class="input-field col s12"><h4>Category Image</h4></div>
                </div>
                <div class="row">
                  <div class="input-field col s12">
                    <input name="category_image" type="file" class="validate" />
                  </div>
                </div>
                <div class="row">
                  <div class="input-field col s12">
                    <input id="category_alt" name="category_alt" type="text" value="<?php echo set_value('category_alt'); ?>" class="validate">
                    <label for="category_alt">Category Alt.</label>
                  </div>
                </div>
                <div class="row">
                  <div class="input-field col s12">
                    <textarea id="category_description" name="category_description" class="validate"><?php echo set_value('category_description'); ?></textarea>
                    <label for="category_description">Category Description</label>
                  </div>
                </div>
                

                <div class="row">
                  <div class="input-field col s12 v2-mar-top-40 text-center"> <button class="waves-effect waves-light btn-large btn btn-danger" type="submit">Add Category</button> </div>
                </div>
              </form>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</section>
<?php $this->load->view("bottom_application"); ?>