📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv9.demodesign.com.tr
/
adminco
/
inc
📝
comments.php
← Geri Dön
<?php if(!defined('ADMIN_INCLUDED')) { exit; } ?> <?php switch(m_a_g('status')) { case '0': $title = LGA_COMMENTS_PENDING_APPROVAL; break; case '1': $title = LGA_COMMENTS_APPROVED; break; case '2': $title = LGA_ORDERS_PREPARE; break; case '3': $title = LGA_ORDERS_SHIPPED; break; case '4': $title = LGA_ORDERS_DELIVERED; break; case '5': $title = LGA_ORDERS_REFUND; break; case '6': $title = LGA_ORDERS_CANCELED; break; default: $title = LGA_ALL_COMMENTS; break; } if(m_a_g('status')=='') { $informations = $db->table('comments')->order('id','desc')->get(); } else { $informations = $db->table('comments')->where('status','=',m_a_g('status'))->order('id','desc')->get(); } ?> <div class="container-fluid"> <div class="row"> <div class="col-12"> <div class="page-title-box d-sm-flex align-items-center justify-content-between"> <a href="<?php echo ADMIN_URL; ?>/index.php?page=comments"><h4 class="mb-sm-0 font-size-18"><?php echo LGA_COMMENTS; ?></h4></a> <div class="page-title-right"> <ol class="breadcrumb m-0"> <li class="breadcrumb-item"><a href="<?php echo ADMIN_URL; ?>"><?php echo LGA_HOME; ?></a></li> <li class="breadcrumb-item active"><?php echo LGA_COMMENTS; ?></li> </ol> </div> </div> </div> </div> <div class="row"> <div class="col-12"> <div class="card"> <div class="card-header"> <h4 class="card-title"><?php echo LGA_COMMENT_LIST; ?> - <?php echo $title; ?></h4> </div> <div class="card-body"> <table id="datatable_default" class="table table-bordered dt-responsive nowrap w-100"> <thead> <tr> <th><?php echo LGA_CUSTOMER; ?></th> <th class="text-center"><?php echo LGA_PRODUCT; ?></th> <th class="text-center"><?php echo LGA_POINT; ?></th> <th class="text-center"><?php echo LGA_STATUS; ?></th> <th class="text-center"><?php echo LGA_DATE; ?></th> <th class="text-end"><?php echo LGA_ACTIONS; ?></th> </tr> </thead> <tbody> <?php if($informations['total_count']>0) { foreach($informations['data'] as $info) { echo ' <tr> <td>'.m_user('name',$info['u_id']).' '.m_user('lastname',$info['u_id']).'</td> <td>'.$db->table('products')->where('id','=',$info['p_id'])->get_var('title').'</td> <td class="text-center" data-order="'.$info['rate'].'">'.$info['rate'].'</td> <td class="text-center" data-order="'.$info['status'].'">'.m_admin_ajax_status('pages',$info['id'],$info['status']).'</td> <td class="text-center" data-order="'.strtotime($info['date']).'">'.m_date_to_tr($info['date']).'</td> <td class="text-end"> <a href="'.ADMIN_URL.'/index.php?page=comment_edit&id='.$info['id'].'"><span class="btn btn-sm btn-soft-primary"><i class="fa fa-edit"></i></span></a> <a class="delete" data-question="'.LGA_DELETE_QUESTION.'" href="'.ADMIN_URL.'/index.php?page=delete&table=comments&id='.$info['id'].'"><span class="btn btn-sm btn-soft-danger"><i class="fa fa-trash"></i></span></a> </td> </tr>'; } } ?> </tbody> </table> </div> </div> </div> </div> </div>
💾 Kaydet
İptal
📝 Yeniden Adlandır
İptal
Kaydet
🔐 Dosya İzinleri (chmod)
İzin Değeri:
Hızlı Seçim:
777
755
644
600
777
= Herkes okur/yazar/çalıştırır
755
= Sahip tam, diğerleri okur/çalıştırır
644
= Sahip okur/yazar, diğerleri okur
600
= Sadece sahip okur/yazar
İptal
Uygula