public function actionView()
 {
     $Art = new Article();
     $config = new Configweb_model();
     $id = $config->url_decode($_GET['id']);
     $data['result'] = $Art->Get_article_by_id($id);
     $this->render("//article/view", $data);
 }
 public function actionView()
 {
     $config = new Configweb_model();
     $prodult = new Product();
     $type_id = $config->url_decode($_GET['type']);
     $data['type_id'] = $type_id;
     $data['type_name'] = $prodult->get_type_name($type_id);
     $data['product'] = $prodult->get_product_all($type_id);
     $data['count_product_type'] = $prodult->get_count_product_type($type_id);
     $this->render("//product/show_product_all", $data);
 }