Merge branch 'master' of github.com:hainatravel/information-system

hotfix/paypal-note
赵鹏 2 years ago
commit d17137f8ae

@ -660,7 +660,7 @@ class Information extends CI_Controller
true
);
$information->ic_content = str_replace(
'<!--@FEEDBACK_NEWEST@-->',
'<!--@NEWEST_FEEDBACK@-->',
$feedback_newest_content,
$information->ic_content
);
@ -980,6 +980,18 @@ class Information extends CI_Controller
file_put_contents($html_path, $template, LOCK_EX);
}
public function test_feedback()
{
$feedback_newest = $this->Feedback_model->get_feedback_newest();
var_dump($feedback_newest);
$feedback_newest_content = $this->load->view(
'ch-feedback-newest',
array('feedback_list' => $feedback_newest),
true);
var_dump($feedback_newest_content);
}
public function make_www_cache_gh($device, $information, $recommand_information)
{
$data = array();
@ -1141,6 +1153,18 @@ class Information extends CI_Controller
$information->ic_content = str_replace('<!--@TOUR-FORM-TAG@-->', $tour_form_content, $information->ic_content);
}
$feedback_newest = $this->Feedback_model->get_feedback_newest();
$feedback_newest_content = $this->load->view(
$template_path . '-feedback-newest',
array('feedback_list' => $feedback_newest),
true
);
$information->ic_content = str_replace(
'<!--@NEWEST_FEEDBACK@-->',
$feedback_newest_content,
$information->ic_content
);
if (is_file('D:/wwwroot/origin-www.globalhighlights.com/css/gh-global.css')) { //主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速
$main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.globalhighlights.com/css/gh-global.css'));
} else {
@ -1408,6 +1432,18 @@ class Information extends CI_Controller
}
}
$feedback_newest = $this->Feedback_model->get_feedback_newest();
$feedback_newest_content = $this->load->view(
$template_path . '-feedback-newest',
array('feedback_list' => $feedback_newest),
true
);
$information->ic_content = str_replace(
'<!--@NEWEST_FEEDBACK@-->',
$feedback_newest_content,
$information->ic_content
);
//主样式表,内联模式
if (is_file('D:/wwwroot/origin-www.asiahighlights.com/css/mobile-first.css')) { //主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速
$main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.asiahighlights.com/css/mobile-first.css'));

@ -21,10 +21,15 @@ class Index extends CI_Controller
, 'gl' => 'guilinchina'
, 'sht' => 'shanghaihighlights'
, 'gm' => 'chinarundreisen'
, 'gmhw' => 'chinarundreisen'
, 'jp' => 'arachina'
, 'jphw' => 'arachina'
, 'ru' => 'chinahighlights_ru'
, 'ruhw' => 'chinahighlights_ru'
, 'it' => 'viaggio-in-cina'
, 'ithw' => 'viaggio-in-cina'
, 'vac' => 'viaje-a-china'
, 'vachw' => 'viaje-a-china'
, 'vc' => 'voyageschine'
, 'vchw' => 'voyageschine',
); //站点日志存储库,每个网站对应一个
@ -43,9 +48,15 @@ class Index extends CI_Controller
$orders = $this->wwwlogs_model->get_update_list(10);
if ($orders) {
foreach ($orders as $item) {
$this->orders_view_path($item->COLI_SN, strtolower($item->COLI_WebCode), $item->COLI_SenderIP);
$site_code = strtolower($item->COLI_WebCode);
if (in_array($site_code, array('gm', 'gmhw', 'jp', 'jphw', 'ru', 'ruhw', 'it', 'ithw', 'vac', 'vachw', 'vc', 'vchw'))) {
$this->orders_view_path_int($item->COLI_SN, $site_code, $item->COLI_SenderIP, 0, $item->COLI_OrderDetailText);
} else {
$this->orders_view_path($item->COLI_SN, $site_code, $item->COLI_SenderIP);
}
echo 'COLI_WebCode:' . $item->COLI_WebCode . ' COLI_ID:' . $item->COLI_ID . ' COLI_SenderIP:' . $item->COLI_SenderIP . '<br/>';
}
// echo 'test async v6';
}
// test
@ -116,38 +127,55 @@ class Index extends CI_Controller
}
//定时抓取订单日志 - 国际站
public function orders_view_path_int( /*$COLI_SN, $sitecode = 'cht', $ip, $offset = 0*/)
public function orders_view_path_int($COLI_SN, $sitecode = 'cht', $ip, $offset = 0, $order_text)
{
// 测试数据 - 2
$COLI_SN = 1004250;
$sitecode = 'vchw';
$ip = '2a01:cb1c:8190:df00:dc11:12fb:3ed1:1bcb';
$offset = 0;
//$COLI_SN = 1004250;
//$sitecode = 'gmhw';
//$ip = '2a00:6020:41c7:3900:20c1:3c5c:c854:7095';
//$offset = 0;
//$order_text = 'Gaid-> GA1.2.1747854879.1682254516 <-Gaid
//YandexId-> 1682254516819066352 <-YandexId
//clino :g-de-in-2
//startdate :2023-08-06
//adultnum :4
//Reiseroute Klasse :4 sterne hotel
//tourname :Rundreisen Nordindien 3 Wochen
//tages :21
//Reiseroutennummer :14083
//Geschlecht :
//Name :Firestone
//nationality :?sterreich
//E-Mail :AnaAnaki@hotmail.com
//Telefon :+4369918253609
//来源页面 :https://www.chinarundreisen.com/indien/top-indien-reiseziele/
//
//from:android
//Mozilla/5.0 (Linux; Android 9; SM-G950F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Mobile Safari/537.36 X-Middleton/1';
// 匹配clientId的正则表达式
$yarndexPat = "/YandexId->(.+?)<-YandexId/";
// 检查文本是否匹配正则表达式
if (preg_match($yarndexPat, $order_text, $yandexMatches)) {
$client_id = trim($yandexMatches[1]);
} else {
$gaPat = "/Gaid->(.+?)<-Gaid/";
if (preg_match($gaPat, $order_text, $gaMatches)) {
$client_id = trim($gaMatches[1]);
} else {
$client_id = "-- Match not found --";
}
}
// echo $client_id;
$query_string = "
* | select time_local,http_referer,request_uri,http_user_agent,http_x_forwarded_for
remote_addr,request_method,request_time,status,body_bytes_sent,upstream_response_time from log where
request_uri NOT like '%.jpg'
and request_uri NOT like '%.JPG'
and request_uri NOT like '%.png'
and request_uri NOT like '%.gif'
and request_uri NOT like '%.css'
and request_uri NOT like '%.webp'
and request_uri NOT like '%.js'
and request_uri NOT like '%.woff'
and request_uri NOT like '%.ttf'
and request_uri NOT like '%.eot'
and request_uri NOT like '%.ico'
and request_uri NOT like '/guide-use.php%'
and request_uri NOT like '/index.php%'
and request_uri NOT like '/secureforms/form_token'
and request_uri NOT like '/ip/'
and request_uri NOT like '/ajax/getads/'
and request_uri NOT like '/public/template/footer.html'
and request_uri NOT like '/public/%'
and (remote_addr='$ip' OR http_x_forwarded_for like '%$ip%')
"; //ORDER BY time_local ASC 时间精度不够,会导致相同排序错误,只能用系统默认排序
$from = time() - 604800; //往前 604800(7天), 1296000(15天)
request_uri like '/io/?event=pageview%'
and (remote_addr='$ip' OR http_x_forwarded_for like '%$ip%' OR request_uri like '%$client_id%')
ORDER BY __time__ DESC
"; // 同时使用IP和用户ID
$from = time() - 604800 * 4; //往前 604800(7天), 1296000(15天)
$to = time();
$request = new Aliyun_Log_Models_GetLogsRequest('globalhoghlights', $this->logstore[$sitecode], $from, $to, '', $query_string, 100, $offset, true);
try {
@ -159,8 +187,27 @@ class Index extends CI_Controller
foreach ($log->getContents() as $key => $value) {
$LogData->$key = $value;
}
// $this->wwwlogs_model->add('wwwlogs', $LogData);
print_r($LogData);
// 调整数据: http_referer -> request_uri, request_uri.ref -> http_referer
if (isset($LogData->http_referer) && isset($LogData->request_uri)) {
$request_uri = $LogData->request_uri;
$http_referer = $LogData->http_referer;
// http_referer -> request_uri
$LogData->request_uri = $LogData->http_referer;
// request_uri.ref -> http_referer
$query_string_tmp = urldecode($request_uri);
parse_str($query_string_tmp, $params);
if (isset($params['ref'])) {
$LogData->http_referer = $params['ref'];
} else {
$LogData->http_referer = '(not set)';
}
}
// print_r($LogData);
$this->wwwlogs_model->add('wwwlogs', $LogData);
}
} catch (Aliyun_Log_Exception $ex) {
print_r($ex);

@ -60,11 +60,10 @@ class wwwlogs_model extends CI_Model
public function get_list()
{
$this->topnum ? $sql = "SELECT TOP " . $this->topnum : $sql = "SELECT ";
// 国际暂时不需要从这个里获取 - lmr - 移除 'gm','jp','ru','it','vac','vc'
$sql .= "
COLI_SN,COLI_ID, COLI_WebCode,COLI_Name, COLI_OrderDetailText, COLI_OrderStartDate,COLI_SenderIP,COLI_WebCode,COLI_ApplyDate from ConfirmLineInfo
where 1=1
and COLI_WebCode in ('cht','ah','gh','ct','yz','sht','gl')
and COLI_WebCode in ('cht','ah','gh','ct','yz','sht','gl','gm','jp','ru','it','vac','vc','gmhw','jphw','ruhw','ithw','vachw','vchw')
and not exists (select top 1 1 from InfoManager.dbo.wwwlogs where wl_COLI_SN=COLI_SN )
and COLI_SenderIP is not null
and DeleteFlag=0
@ -86,4 +85,4 @@ class wwwlogs_model extends CI_Model
}
}
}
}

@ -0,0 +1,41 @@
<div class="visible-xs" style="font-size: 18px;font-weight: 600;text-align: center;font-style: italic;margin-top: 50px;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 10px auto 5px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 15px auto 5px; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center; font-weight: 600;font-size:18px; font-style: italic;"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 0px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png">
Based on 10,000+ reviews </div>
</div>
<p class="visible-xs" style="margin-bottom: 0; ">
<img alt="Tour Review" class="img-responsive" src="https://data.asiahighlights.com/image/about/logo-black.png"
style="width: 180px; margin: 0 auto 10px auto">
</p>
<div class="table-responsive">
<table>
<tbody>
<tr>
<td class="hidden-xs">
<div class="feedback_logo" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 5px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 10px auto 0px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png"> <img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 10px auto; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center;font-weight: 600;font-size:18px;font-style: italic;line-height: 18px;margin-top: 25px;">Based on 10,000+ reviews</div>
</div>
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>
<td>
<div class="tour_feedback">
<div class="feedback_content">
<strong>
<?php echo $feedback['title'] ?>
</strong>
<p>
<?php echo $feedback['content'] ?>
</p>
<a href="<?php echo $feedback['url'] ?>" target="_blank">More</a>
</div>
<div class="customer_name">
<?php echo $feedback['customer'] ?>,
<?php echo $feedback['createdOn'] ?>
</div>
</div>
</td>
<?php }?>
</tr>
</tbody>
</table>
</div>

@ -1,27 +1,15 @@
<p class="visible-xs" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic; padding-bottom: 5px;">
<img src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"
class="img-responsive" style="margin: 0 auto;">
<img alt="Tour Review" class="img-responsive"
src="https://data.chinahighlights.com/image/travelguide/best-china/trip-advisor-logp-bg-global-highlights.png"
style="width: 180px;
display: block;
margin: 10px auto;">
Based on 10,000+ reviews
</p>
<div class="visible-xs" style="font-size: 18px;font-weight: 600;text-align: center;font-style: italic;margin-top: 50px;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 10px auto 5px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 15px auto 5px; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center; font-weight: 600;font-size:18px; font-style: italic;"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 0px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png">
Based on 10,000+ reviews </div>
</div>
<div class="table-responsive">
<table>
<tbody>
<tr>
<td class="hidden-xs">
<div class="feedback_logo" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic;">
<img src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"
class="img-responsive" style="margin: 0 auto;">
<img alt="Tour Review" class="img-responsive"
src="https://data.chinahighlights.com/image/travelguide/best-china/trip-advisor-logp-bg-global-highlights.png" style="width: 180px;
display: block;
margin: 10px auto;">
Based on 10,000+ reviews
</div>
<div class="feedback_logo" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 5px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 10px auto 0px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png"> <img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 10px auto; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center;font-weight: 600;font-size:18px;font-style: italic;line-height: 18px;margin-top: 25px;">Based on 10,000+ reviews</div>
</div>
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>

@ -1,27 +1,15 @@
<p class="visible-xs" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic; padding-bottom: 5px;">
<img src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"
class="img-responsive" style="margin: 0 auto;">
<img alt="Tour Review" class="img-responsive"
src="https://data.chinahighlights.com/image/travelguide/best-china/trip-advisor-logp-bg-global-highlights.png"
style="width: 180px;
display: block;
margin: 10px auto;">
Based on 10,000+ reviews
</p>
<div class="visible-xs" style="font-size: 18px;font-weight: 600;text-align: center;font-style: italic;margin-top: 50px;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 10px auto 5px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 15px auto 5px; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center; font-weight: 600;font-size:18px; font-style: italic;"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 0px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png">
Based on 10,000+ reviews </div>
</div>
<div class="table-responsive">
<table>
<tbody>
<tr>
<td class="hidden-xs">
<div class="feedback_logo" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic;">
<img src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"
class="img-responsive" style="margin: 0 auto;">
<img alt="Tour Review" class="img-responsive"
src="https://data.chinahighlights.com/image/travelguide/best-china/trip-advisor-logp-bg-global-highlights.png" style="width: 180px;
display: block;
margin: 10px auto;">
Based on 10,000+ reviews
</div>
<div class="feedback_logo" style="font-size: 18px; font-weight: 600; text-align: center; font-style: italic;"><img alt="" class="img-responsive" height="69" src="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png" style="margin: 0px auto; width: 160px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="175" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/awards/china-highlights-ta-2022-certificate.png"> <img alt="" src="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" style="display: block; margin: 5px auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" loader="lazy" originalsrc="https://data.chinahighlights.com/image/aboutus/feedback/five-star.png" width="104" height="20"><img alt="Tour Review" class="img-responsive" height="278" src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px; display: block; margin: 10px auto 0px; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="1133" loader="lazy" originalsrc="https://data.asiahighlights.com/image/about/logo-black.png"> <img alt="" height="40" src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="margin: 10px auto; display: block; width: 150px; height: auto; opacity: 1; transition: opacity 0.5s ease-in-out 0s;" width="211" loader="lazy" originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png">
<div style="text-align:center;font-weight: 600;font-size:18px;font-style: italic;line-height: 18px;margin-top: 25px;">Based on 10,000+ reviews</div>
</div>
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>

@ -1153,7 +1153,7 @@ ready(el => {
const selectedOption = airportOrRailwayStation.options[airportOrRailwayStation.selectedIndex];
const indexOf72 = selectedOption.getAttribute('data-hour').indexOf('72');
const indexOf144 = selectedOption.getAttribute('data-hour').indexOf('144');
if (diffInDays < 1 || diffInDays > 2 || indexOf72 == -1) {
visa72hours = false;
error_72hours.show();
@ -1169,6 +1169,14 @@ ready(el => {
if (validateSuccess) {
tip_box.show();
reason_box.hide();
if (visa72hours) {
qualify_72hours.show();
}
if (visa144hours) {
qualify_144hours.show();
}
} else {
tip_box.hide();
qualify_no.show();

@ -0,0 +1,61 @@
<div style="text-align:center;font-weight: 600; font-size:18px; margin-top: 50px; font-style: italic;" class="visible-xs">
<img src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="
margin: 0 auto 10px auto;
display: block;
width: 200px;
">
Rated 4.9 out of 5 |
Excellent
<br>
Based on 10,000+ reviews
</div>
<p class="visible-xs" style="margin-bottom: 0; ">
<img alt="Tour Review" class="img-responsive" src="https://data.asiahighlights.com/image/about/logo-black.png"
style="width: 180px; margin: 0 auto 10px auto">
</p>
<div class="table-responsive">
<table>
<tbody>
<tr>
<td class="hidden-xs">
<div class="feedback_logo">
<img src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png" style="
margin: 0 auto 10px auto;
display: block;
width: 200px;
">
<div style="text-align:center; font-weight: 600;font-size:18px; font-style: italic;">Rated 4.9 out of 5 |
Excellent<br>Based on 10,000+ reviews</div>
<img alt="Tour Review" class="img-responsive"
src="https://data.asiahighlights.com/image/about/logo-black.png" style="width: 150px;
display: block;
margin: 20px auto 0 auto;">
</div>
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>
<td>
<div class="tour_feedback">
<div class="feedback_content">
<strong>
<?php echo $feedback['title'] ?>
</strong>
<p>
<?php echo $feedback['content'] ?>
</p>
<a href="<?php echo $feedback['url'] ?>" target="_blank">More</a>
</div>
<div class="customer_name">
<?php echo $feedback['customer'] ?>,
<?php echo $feedback['createdOn'] ?>
</div>
</div>
</td>
<?php }?>
</tr>
</tbody>
</table>
</div>
Loading…
Cancel
Save