|
|
@ -205,7 +205,7 @@ class Welcome extends CI_Controller {
|
|
|
|
$http_host = 'http://www.chinahighlights.com/';
|
|
|
|
$http_host = 'http://www.chinahighlights.com/';
|
|
|
|
$https_host = 'https://www.chinahighlights.com/';
|
|
|
|
$https_host = 'https://www.chinahighlights.com/';
|
|
|
|
$data['all_information'] =
|
|
|
|
$data['all_information'] =
|
|
|
|
$this->Information_model->search_all_text($http_host, 150);
|
|
|
|
$this->Information_model->search_all_text($http_host, 200);
|
|
|
|
echo 'count: '.count($data['all_information']).'<br/>';
|
|
|
|
echo 'count: '.count($data['all_information']).'<br/>';
|
|
|
|
if (empty($data['all_information'])) {
|
|
|
|
if (empty($data['all_information'])) {
|
|
|
|
echo 'nothing transform to https';
|
|
|
|
echo 'nothing transform to https';
|
|
|
@ -213,7 +213,7 @@ class Welcome extends CI_Controller {
|
|
|
|
foreach ($data['all_information'] as $item) {
|
|
|
|
foreach ($data['all_information'] as $item) {
|
|
|
|
|
|
|
|
|
|
|
|
if (empty($item->ic_url) || empty($item->ic_type) ||
|
|
|
|
if (empty($item->ic_url) || empty($item->ic_type) ||
|
|
|
|
empty($item->ic_seo_keywords) || empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
|
|
|
|
empty($item->ic_seo_title) || empty($item->ic_seo_description)) {
|
|
|
|
echo '<span style="color: red;">['.$item->ic_title .'] ['.$item->ic_url.']</span> <br/>';
|
|
|
|
echo '<span style="color: red;">['.$item->ic_title .'] ['.$item->ic_url.']</span> <br/>';
|
|
|
|
continue;
|
|
|
|
continue;
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|