public function header_config() { switch ($_GET['act']) { case 'detail': $product = $this->product->get_product($_GET['id']); $title = $product['name']; $meta_key = $product['meta_key']; $meta_desc = $product['meta_desc']; break; default: $title = 'semua produk'; $meta_key = 'meta keyword for semua produk'; $meta_desc = 'meta description for semua produk'; break; } parent::site_head_config($title, $meta_key, $meta_desc); }
public function header_config() { switch ($_GET['view']) { case 'about-us': $title = 'Tentang Kami'; $meta_key = ''; $meta_desc = ''; break; case 'contact-us': $title = 'Hubungi Kami'; $meta_key = ''; $meta_desc = ''; break; case 'privacy-policy': $title = 'Syarat & Ketentuan'; $meta_key = ''; $meta_desc = ''; break; default: break; } parent::site_head_config($title, $meta_key, $meta_desc); }
public function header_config() { switch ($_GET['act']) { case 'login': $title = '- login'; break; case 'register': $title = '- register'; break; case 'cart': $title = '- cart'; break; case 'checkout': $title = '- checkout'; break; default: break; } parent::site_head_config('customer ' . $title, 'meta keyword for customer ' . $title, 'meta description for customer ' . $title); }
public function header_config() { parent::site_head_config('home title', 'meta keyword for home', 'meta description for home'); }
public function header_config() { parent::site_head_config('Keranjang belanja', '', ''); }
public function header_config() { $pcategory = $this->pcategory->get_pcategory($_GET['id']); parent::site_head_config($pcategory['name'], $pcategory['meta_key'], $pcategory['meta_desc']); }