whoami7 - Manager
:
/
proc
/
self
/
root
/
home
/
papecmvm
/
www
/
application
/
views
/
portfolio
/
Upload File:
files >> //proc/self/root/home/papecmvm/www/application/views/portfolio/portfolio_cat_add.php
<?php require_once(APPPATH.'views/header.php');?> <?php require_once(APPPATH.'views/menu.php');?> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header"> <h1> <?php if (!isset($view)) {?> <?php echo "Add Portfolio Category"; ?> <?php }else{?> <?php echo "Edit Portfolio Category";} ?> </h1> <ol class="breadcrumb"> <li><a href="<?php echo site_url('admin/welcome')?>"><i class="fa fa-dashboard"></i> Dashboard</a></li> <li> <a href="<?php echo site_url('admin/portfolioCategory')?>">Portfolio Category</a></li> <li class="active"><?php if (!isset($view)) {?> <?php echo "Add Portfolio Category"; ?> <?php }else{?> <?php echo "Edit Portfolio Category";} ?> </li> </ol> </section> <!-- Main content --> <section class="content"> <?php $attributes = array('class' =>'defaultForm','data-bv-message'=>'This value is not valid', 'data-bv-feedbackicons-validating'=>'glyphicon glyphicon-refresh'); if (isset($view)) {?> <?php $this->load->model('alldata','model'); $encrypted_id = $this->model->encryptdata($view[0]['portfolio_cat_id']); echo form_open_multipart("admin/portfoliocategory/edit_portfoliocategory/{$encrypted_id}",$attributes); ?> <?php }else{?> <?php echo form_open_multipart('admin/portfoliocategory/add_portfoliocategory',$attributes); ?> <?php }?> <!-- /.row --> <div class="row"> <div class="col-xs-12"> <div class="box box-success"> <div class="box-header"> </div><!-- /.box-header --> <div class="box-body"> <div class="form-group"> <label>Portfolio Category</label> <input type="text" class="form-control" data-bv-regexp-message="Special characters not allowed..." pattern='^[^\`\~\@\#\$\%\^\*\[\]\{\}\\;:<>=+"]+$' placeholder="Portfolio Category" name="portfolio_cat_name" value="<?php if(isset($view)){echo $view[0]['portfolio_cat_name'];}?>" required data-bv-notempty-message="The portfolio category is required and cannot be empty" /> </div> <button class="btn btn-primary bg-blue" name="save" value="save" type="submit">Save</button> </div><!-- /.box-body --> </div><!-- /.box --> </div><!--End .col-xs-12--> </div> <!-- /.row --> <?php echo form_close(); ?> <!-- /.Form data --> </section><!-- /.content --> </div><!-- /.content-wrapper --> <?php require_once(APPPATH.'views/footer.php');?>
Copyright ©2021 || Defacer Indonesia