Exemplo n.º 1
0
 function quehuong()
 {
     $header = new header();
     $header->music('Nhạc quê hương');
     if (isset($_REQUEST['id'])) {
         $path = str_replace('http://www.nhachaynhat.net/', '', $_REQUEST['id']);
         $url = $_REQUEST['id'];
     } else {
         $path = "/";
         $url = "http://www.nhachaynhat.net/2013/11/lien-khuc-nhac-que-huong-hay-nhat.html";
     }
     $indexpage = "?quehuong";
     $trans = new web_transfer();
     $indexpage = '/';
     $base = '/';
     $trans->initiate_news($url, $indexpage);
     $trans->converturl($url, $base);
     $content = '';
     $trans->start_transfer("www.nhachaynhat.net");
     $trans->getcontent($content);
     $data['content'] = $content;
     $this->load->view('music/quehuong', $data);
 }
Exemplo n.º 2
0
 function tinhkhucbathu()
 {
     //start analytic
     $analytic = new analytic();
     $analytic->myweb('general');
     //end analytic
     $header = new header();
     $header->music("Tình khúc bất hủ");
     $this->load->view('/music/tinhkhucbathu');
     //$this->output->cache(3);
 }