📁 PHP Dosya Yöneticisi
/
/
home
/
demodesigncom
/
e-ticaretv9.demodesign.com.tr
/
adminco
/
inc
📝
brands.php
← Geri Dön
<?php if(!defined('ADMIN_INCLUDED')) { exit; } ?> <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"> <h4 class="mb-sm-0 font-size-18"><?php echo LGA_BRANDS; ?></h4> <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_BRANDS; ?></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_BRANDS_LIST; ?></h4> <div class="text-end"> <a href="<?php echo ADMIN_URL; ?>/index.php?page=brand_add"><span class="btn btn-success btn-label"><i class="fa fa-plus-circle label-icon"></i> <?php echo LGA_BRAND_ADD; ?></span></a> </div> </div> <div class="card-body"> <table id="datatable_default" class="table table-bordered dt-responsive nowrap w-100"> <thead> <tr> <th><?php echo LGA_BRAND_NAME; ?></th> <th class="text-center"><?php echo LGA_PRODUCTS; ?></th> <th class="text-center"><?php echo LGA_STATUS; ?></th> <th class="text-end"><?php echo LGA_ACTIONS; ?></th> </tr> </thead> <tbody> <?php $informations = $db->table('brands')->order('id','desc')->get(); if($informations['total_count']>0) { foreach($informations['data'] as $info) { $pc_count = number_format($db->table('products')->where('b_id','=',$info['id'])->count()); echo ' <tr> <td>'.$info['title'].'</td> <td class="text-center"><a href="'.ADMIN_URL.'/index.php?page=products&b_id='.$info['id'].'"><span class="btn btn-light waves-effect btn-label waves-light" style="width:100px"><i class="fa fa-cubes label-icon"></i> '.$pc_count.'</span></a></td> <td class="text-center" data-order="'.$info['status'].'">'.m_admin_ajax_status('brands',$info['id'],$info['status']).'</td> <td class="text-end"> <a href="'.ADMIN_URL.'/index.php?page=brand_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_BRAND_DELETE_QUESTION.'" href="'.ADMIN_URL.'/index.php?page=delete&table=brands&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