示例#1
0
文件: admin.php 项目: asmari/zcosp
 public function theme_list()
 {
     $data = $this->themes->get_rows();
     $total_data = $this->themes->get_count();
     $thead = array('<th style="width:20px">ID</th>', '<th>Nama tema</th>', '<th>Status</th>');
     parent::table_config('themes', 'daftar tema', 'tambah', 'hapus', $thead, $data, $total_data);
 }
示例#2
0
文件: admin.php 项目: asmari/zcosp
 private function user_list()
 {
     $data = $this->user->get_rows();
     $total_data = $this->user->get_count();
     $this->delete_user();
     $thead = array('<th style="width:20px">ID</th>', '<th>Username</th>', '<th>Status user</th>', '<th>Status IM</th>', '<th>Tgl dibuat</th>', '<th>Tgl diupdate</th>', '<th>Terakhir login</th>');
     parent::table_config('user', 'daftar user', 'Tambah', 'Hapus', $thead, $data, $total_data);
 }
示例#3
0
文件: admin.php 项目: asmari/zcosp
 private function customer_list()
 {
     $customer = $this->customer->get_all_customer('all_records');
     $total_customer = $this->customer->get_all_customer('total_data');
     $this->delete_customer();
     $thead = array('<th>Username</th>', '<th>Tgl registrasi</th>');
     parent::table_config('customer', 'daftar pelanggan', '', 'Hapus', $thead, $customer, $total_customer);
 }
示例#4
0
文件: admin.php 项目: asmari/zcosp
 /**
  * Daftar semua produk
  **/
 private function product_list()
 {
     $product = $this->product->get_all_product('', '', 'all_records');
     $total_product = $this->product->get_all_product('', '', 'total_data');
     $this->delete_product();
     $thead = array('<th>Nama Produk</th>', '<th>Tgl dibuat</th>', '<th>Tgl diupdate</th>');
     parent::table_config('product', 'daftar produk', 'Tambah', 'Hapus', $thead, $product, $total_product);
 }
示例#5
0
文件: admin.php 项目: asmari/zcosp
 public function review_list()
 {
     $review = $this->review->get_all_review('all_records');
     $total_review = $this->review->get_all_review('total_data');
     $this->delete_review();
     $thead = array('<th>Komentar dari</th>', '<th>Tgl komentar</th>');
     parent::table_config('comments', 'daftar komentar', '', 'hapus', $thead, $review, $total_review);
 }
示例#6
0
文件: admin.php 项目: asmari/zcosp
 private function brand_list()
 {
     $brand = $this->brand->get_all_brand('all_records');
     $total_brand = $this->brand->get_all_brand('total_data');
     $this->delete_brand();
     $thead = array('<th>Nama brand</th>', '<th>Tgl dibuat</th>', '<th>Tgl diupdate</th>');
     parent::table_config('brand', 'daftar brand', 'tambah', 'hapus', $thead, $brand, $total_brand);
 }
示例#7
0
文件: admin.php 项目: asmari/zcosp
 private function home_slider_list()
 {
     $home_slider = $this->hs->get_all_home_slider('', 'all_records');
     $total_home_slider = $this->hs->get_all_home_slider('', 'total_data');
     $this->delete_home_slider();
     $thead = array('<th>Gambar</th>', '<th>Status</th>', '<th>Tgl dibuat</th>', '<th>Tgl diupdate</th>');
     parent::table_config('home_slider', 'daftar home slider', 'Tambah', 'Hapus', $thead, $home_slider, $total_home_slider);
 }
示例#8
0
文件: admin.php 项目: asmari/zcosp
 public function banner_list()
 {
     $banner = $this->banner->get_all_banner('', 'all_records');
     $total_banner = $this->banner->get_all_banner('', 'total_data');
     $this->delete_banner();
     $thead = array('<th>Nama Banner</th>', '<th>Status</th>', '<th>Tgl dibuat</th>', '<th>Tgl diupdate</th>');
     parent::table_config('banner', 'daftar banner', 'Tambah', 'Hapus', $thead, $banner, $total_banner);
 }
示例#9
0
文件: admin.php 项目: asmari/zcosp
 private function messages_list()
 {
     $messages = array();
     $total_messages = 0;
     $this->delete_messages();
     $thead = array('<th>Judul</th>', '<th>Tanggal</th>');
     parent::table_config('messages', 'daftar pesan', 'Buat pesan baru', 'Hapus', $thead, $messages, $total_messages);
 }
示例#10
0
文件: admin.php 项目: asmari/zcosp
 private function category_list()
 {
     $pcategory = $this->pcategory->get_all_pcategory('all_records');
     $total_pcategory = $this->pcategory->get_all_pcategory('total_data');
     $thead = array('<th>Nama Kategori</th>', '<th>Tgl buat</th>', '<th>Tgl diperbaharui</th>');
     $this->delete_pcategory();
     parent::table_config('product_category', 'daftar kategori produk', 'tambah', 'hapus', $thead, $pcategory, $total_pcategory);
 }
示例#11
0
文件: admin.php 项目: asmari/zcosp
 public function module_list()
 {
     $module = $this->mod->get_rows();
     $thead = array('<th>Nama module</th>', '<th>Ukuran</th>', '<th>Tgl Install</th>');
     parent::table_config('modules', 'daftar modul', 'tambah', 'hapus', $thead, $module);
 }
示例#12
0
文件: admin.php 项目: asmari/zcosp
 private function order_list()
 {
     $order = $this->order->get_all_order();
     $thead = array('<th>Kode transaksi</th>', '<th>Tgl pembelian</th>', '<th>Status</th>');
     parent::table_config('order', 'daftar penjualan', '', 'Hapus', $thead, $order);
 }
示例#13
0
文件: admin.php 项目: asmari/zcosp
 public function comment_list()
 {
     $comments = array();
     $thead = array('<th>Komentar dari</th>', '<th>Tgl komentar</th>');
     parent::table_config('comments', 'daftar komentar', '', '', 'hapus', '', $thead, $comments);
 }