?
Current Path : /home1/savoy/public_html/savoyglobal.net/sgms/draft/application/views/Training/ |
Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 |
Current File : /home1/savoy/public_html/savoyglobal.net/sgms/draft/application/views/Training/single_document.php |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); $this->load->view('documentreadyfunctions'); ?> <div class="select-bar"> <label><img src="<?=base_url()?>assets/images/backbutton.png" title="Back" class="clickimage" onclick="viewdata('training','viewintrainingsearch','search_document','view_document','<?=$_SESSION['pagenum'];?>')" alt="Back" align = "center" width="25" height="25" /> </label> <span class="heading"> Document Details</span> </div> <fieldset> <?php $attributes=array('id'=>'validateform','class'=>'customForm'); echo form_open('',$attributes); $document_categories=$this->mastermodel->getdatas('document_category','document_category_id'); ?> <ul> <li> <label for="data">Document Name</label> <div class="record_entry"> <?=$this->mastermodel->getSingleFieldValue('document','document_name','document_id',$viewinfo->document_id);?> </div> </li> <li> <label for="data">Category Name</label> <div class="record_entry"> <?=$this->mastermodel->getSingleFieldValue('document_category','document_category_name','document_category_id',$viewinfo->document_category_id);?> </div> </li> <li> <label for="data">Description</label> <div class="record_entry"> <?php echo $viewinfo->description; ?> </div> </li> <li> <label for="data">Document</label> <?php if($viewinfo->file_path != "") { ?> <a href="<?=base_url()?>assets/uploads/<?=$viewinfo->file_path;?>">Download</a> <?php } ?> </li> </ul> <?php echo form_close();?> </fieldset>