BACKD00R 1337
Server IP : 164.52.202.56  /  Your IP : 216.73.216.204
Web Server : Apache
System : Linux e2e-70-56.ssdcloudindia.net 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64
User : rubyaromatics ( 1052)
PHP Version : 7.2.34
Directory (0755) :  /home/rubyaromatics/public_html/controller/../crm/application/views/account_group/

[  Home  ][  Terminal  ][  Upload File  ]

Current File : /home/rubyaromatics/public_html/controller/../crm/application/views/account_group/add.php
 <?php
/*defined('BASEPATH') OR exit('No direct script access allowed');
$p = array('admin','manager');
if(!(in_array($this->session->userdata('type'),$p))){
  redirect('auth');
}*/
  $this->load->view('layout/header');
?>
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h5>
        <ol class="breadcrumb">
          <li><a href="<?php echo base_url('auth/dashboard'); ?>"><i class="fa fa-dashboard"></i> 
                <!-- Dashboard -->
                <?php echo $this->lang->line('header_dashboard'); ?></a></li>
          <li><a href="<?php echo base_url('accountgroup'); ?>">
               Account Group 
              <!-- <?php echo $this->lang->line('customer_header'); ?> --></a>
          </li>
          <li class="active">New Account Group
             <!--  <?php echo $this->lang->line('add_customer_label'); ?> -->
          </li>
        </ol>
      </h5>    
    </section>
      <section class="content">
      <div class="row">
      <!-- right column -->
        <div class="col-md-12">
          <div class="box">
            <div class="box-header with-border">
              <h3 class="box-title">
                New Account Group
                <!-- <?php echo $this->lang->line('add_customer_header'); ?> -->
              </h3>
            </div>
            <!-- /.box-header -->
            <?php echo $this->session->flashdata('success');?>
             <!-- <?php echo validation_errors();?> -->
              <?php if(isset($error)) { echo $error; }?>
            <div class="box-body">
              <div class="col-sm-6">
                <div class="row">
                  <form class="form-horizontal" role="form" method="post" action="add">
                    <div class="panel-body">
                      <div class="form-group">
                        <label  for="branch">Branch <span style="color:red;">*</span></label>
                        <select class="form-control select2" id="branch" name="branch">
                          <option value="">Select</option>
                          <?php
                            foreach($branch as $name)
                            {
                              echo "<option value='$name[branch_id]' " . set_select('branch', $name['branch_id']) . " >". $name['branch_name']."</option>";
                            }
                          ?>
                        </select>
                          <span class="validation-color" id="err_branch_name"><?php echo form_error('branch'); ?></span>
                      </div>
                      <div class="form-group">
                        <label   for="group_title">Group Title <span style="color:red;">*</span></label>
                        <input type="text" class="form-control" placeholder="Group Title" id="group_title" name="group_title" value="<?php echo set_value('group_title'); ?>">
                        <span class="validation-color" id="err_branch_name"><?php echo form_error('group_title'); ?></span>
                      </div>
                      <div class="form-group">
                        <label  for="category">Category</label>
                          <select class="form-control select2" id="category" name="category">
                            <option value="Assets">Assets</option>
                            <option value="Liabilities">Liabilities</option>
                            <option value="Income">Income</option>
                            <option value="Expense">Expense</option>
                          </select>
                          <span class="validation-color" id="err_branch_name"><?php echo form_error('category'); ?></span>
                      </div>
                      <div class="form-group">
                        <label   for="opening_balance">Opening Balance Amount</label>
                        <input type="text" class="form-control" placeholder="Opening Balance Amount" id="opening_balance" name="opening_balance" value="<?php echo set_value('opening_balance'); ?>">
                        <span class="validation-color" id="err_branch_name"><?php echo form_error('opening_balance'); ?></span>
                      </div>
                      <div class="panel-body">
                        <p>
                          <button class="btn btn-primary" type="submit">Submit</button>
                          <a href="<?php echo base_url(); ?>index.php/accountgroup" class="btn btn-default" type="button">Cancel</a>
                        </p>
                      </div>
                    </div>
                  </form>
                </div>
              </div>
        <!-- page end-->
            </div>
          </div>
        </div>
      </div>
        </section>
        <!--body wrapper end-->
  </div>
<?php
  $this->load->view('layout/footer');
?>

security is just an illusion