File Manager
Create Folder
Create File
Upload File
Home
/ Directory >
/
home1
/
swachhmaharashtr
/
public_html
/
app
/
views
/
partials
/
odfprotocol
Item Name
Actions
add.php
Delete
Rename
Edit
edit.php
Delete
Rename
Edit
list.php
Delete
Rename
Edit
view.php
Delete
Rename
Edit
Edit File: add.php
<?php $comp_model = new SharedController; $page_element_id = "add-page-" . random_str(); $current_page = $this->set_current_page_link(); $csrf_token = Csrf::$token; $show_header = $this->show_header; $view_title = $this->view_title; $redirect_to = $this->redirect_to; ?> <section class="page" id="<?php echo $page_element_id; ?>" data-page-type="add" data-display-type="" data-page-url="<?php print_link($current_page); ?>"> <?php if( $show_header == true ){ ?> <div class="bg-light p-3 mb-3"> <div class="container"> <div class="row "> <div class="col "> <h4 class="record-title">Add New Odfprotocol</h4> </div> </div> </div> </div> <?php } ?> <div class=""> <div class="container"> <div class="row "> <div class="col-md-7 comp-grid"> <?php $this :: display_page_errors(); ?> <div class="bg-light p-3 animated fadeIn page-content"> <form id="odfprotocol-add-form" role="form" novalidate enctype="multipart/form-data" class="form page-form form-horizontal needs-validation" action="<?php print_link("odfprotocol/add?csrf_token=$csrf_token") ?>" method="post"> <div> <div class="form-group "> <div class="row"> <div class="col-sm-4"> <label class="control-label" for="tital">Tital <span class="text-danger">*</span></label> </div> <div class="col-sm-8"> <div class=""> <input id="ctrl-tital" value="<?php echo $this->set_field_value('tital',""); ?>" type="text" placeholder="Enter Tital" required="" name="tital" class="form-control " /> </div> </div> </div> </div> <div class="form-group "> <div class="row"> <div class="col-sm-4"> <label class="control-label" for="filepath">Filepath <span class="text-danger">*</span></label> </div> <div class="col-sm-8"> <div class=""> <div class="dropzone required" input="#ctrl-filepath" fieldname="filepath" data-multiple="false" dropmsg="Choose files or drag and drop files to upload" btntext="Browse" filesize="50" maximum="1"> <input name="filepath" id="ctrl-filepath" required="" class="dropzone-input form-control" value="<?php echo $this->set_field_value('filepath',""); ?>" type="text" /> <!--<div class="invalid-feedback animated bounceIn text-center">Please a choose file</div>--> <div class="dz-file-limit animated bounceIn text-center text-danger"></div> </div> </div> </div> </div> </div> </div> <div class="form-group form-submit-btn-holder text-center mt-3"> <div class="form-ajax-status"></div> <button class="btn btn-primary" type="submit"> Submit <i class="fa fa-send"></i> </button> </div> </form> </div> </div> </div> </div> </div> </section>