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

master
candice 11 months ago
commit e0e1e98306

@ -91,12 +91,15 @@ class Feedback_model extends CI_Model {
$feedback_query =
$this->HT->query("
select top 40 tai_url,tad_content, tai_customerid, tai_title, tai_getdate, vci.cii2_name, g.GRI_EntranceDate, country.COI2_Country
select top 40 tai_url,tad_content, tai_customerid, tai_title, tai_getdate, vci.cii2_name, g.GRI_EntranceDate, coi2.COI2_Country
from Eva_TAInfo
left join Eva_TADetail on TAD_TAI_SN=TAI_SN
left join V_CIty_Info vci on vci.cii_sn = tai_cii_sn and vci.LGC_LGC = 1
left join GRoupInfo g on g.GRI_SN = TAI_GRI_SN
left JOIN V_Country_Info country on country.COI_SN = g.GRI_Country and country.LGC_LGC = 1
left JOIN ConfirmLineInfo cli on cli.COLI_GRI_SN = g.GRI_SN
left join CUstomerList cul on cul.CUL_COLI_SN = cli.COLI_SN and CUL_IsLinkMan = 1
left join MEmberInfo mei on mei.MEI_SN = cul.CUL_CUI_SN
left join COuntryInfo2 coi2 on coi2.COI2_COI_SN = mei.MEI_Country and COI2_LGC = 1
where TAD_Content is not null and vci.cii2_name = ? and tai_url not LIKE '%trustpilot.com%'
order by tai_getdate desc",
array($city_name_list[0]));
@ -105,12 +108,15 @@ class Feedback_model extends CI_Model {
$feedback_query =
$this->HT->query("
select top 40
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, country.COI2_Country
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, coi2.COI2_Country
from Eva_TAInfo
left join Eva_TADetail on TAD_TAI_SN=TAI_SN
left join V_CIty_Info vci on vci.cii_sn = tai_cii_sn and vci.LGC_LGC = 1
left join GRoupInfo g on g.GRI_SN = TAI_GRI_SN
left JOIN V_Country_Info country on country.COI_SN = g.GRI_Country and country.LGC_LGC = 1
left JOIN ConfirmLineInfo cli on cli.COLI_GRI_SN = g.GRI_SN
left join CUstomerList cul on cul.CUL_COLI_SN = cli.COLI_SN and CUL_IsLinkMan = 1
left join MEmberInfo mei on mei.MEI_SN = cul.CUL_CUI_SN
left join COuntryInfo2 coi2 on coi2.COI2_COI_SN = mei.MEI_Country and COI2_LGC = 1
where TAD_Content is not null and vci.cii2_name = ?
order by tai_getdate desc",
array($city_name_list[0]));
@ -152,12 +158,15 @@ class Feedback_model extends CI_Model {
$feedback_query =
$this->HT->query("
select top ?
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, country.COI2_Country
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, coi2.COI2_Country
from Eva_TAInfo
left join Eva_TADetail on TAD_TAI_SN=TAI_SN
left join V_CIty_Info vci on vci.cii_sn = tai_cii_sn and vci.LGC_LGC = 1
left join GRoupInfo g on g.GRI_SN = TAI_GRI_SN
left JOIN V_Country_Info country on country.COI_SN = g.GRI_Country and country.LGC_LGC = 1
left JOIN ConfirmLineInfo cli on cli.COLI_GRI_SN = g.GRI_SN
left join CUstomerList cul on cul.CUL_COLI_SN = cli.COLI_SN and CUL_IsLinkMan = 1
left join MEmberInfo mei on mei.MEI_SN = cul.CUL_CUI_SN
left join COuntryInfo2 coi2 on coi2.COI2_COI_SN = mei.MEI_Country and COI2_LGC = 1
where TAD_Content is not null and vci.cii2_name = ? and tai_url not LIKE '%trustpilot.com%'
order by tai_getdate desc",
array($enough_count, $city_name_list[1]));
@ -166,12 +175,15 @@ class Feedback_model extends CI_Model {
$feedback_query =
$this->HT->query("
select top ?
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, country.COI2_Country
tad_content, tai_customerid, tai_title, tai_getdate, tai_url, vci.cii2_name, g.GRI_EntranceDate, coi2.COI2_Country
from Eva_TAInfo
left join Eva_TADetail on TAD_TAI_SN=TAI_SN
left join V_CIty_Info vci on vci.cii_sn = tai_cii_sn and vci.LGC_LGC = 1
left join GRoupInfo g on g.GRI_SN = TAI_GRI_SN
left JOIN V_Country_Info country on country.COI_SN = g.GRI_Country and country.LGC_LGC = 1
left JOIN ConfirmLineInfo cli on cli.COLI_GRI_SN = g.GRI_SN
left join CUstomerList cul on cul.CUL_COLI_SN = cli.COLI_SN and CUL_IsLinkMan = 1
left join MEmberInfo mei on mei.MEI_SN = cul.CUL_CUI_SN
left join COuntryInfo2 coi2 on coi2.COI2_COI_SN = mei.MEI_Country and COI2_LGC = 1
where TAD_Content is not null and vci.cii2_name = ?
order by tai_getdate desc",
array($enough_count, $city_name_list[1]));

@ -30,10 +30,10 @@
<td class="hidden-xs feedback_logo">
<img alt="TrustPilot Rating"
class="img-responsive" width="382" height="193"
src="https://images.japanhighlights.com/allpicture/2025/05/e6e82f033e0b4619a0df404f74578d7f_cut_382x193_241_1748531605.jpg" style="margin-bottom: 15px;">
src="https://images.japanhighlights.com/allpicture/2025/05/e6e82f033e0b4619a0df404f74578d7f_cut_382x193_241_1748531605.jpg" loader="nolazy" style="margin-bottom: 15px;">
<img alt="TripAdvisor Rating"
class="img-responsive" width="306" height="176"
src="https://images.japanhighlights.com/allpicture/2025/05/dd7bda74592b44b3b98833e3e2f1448a_cut_306x176_241_1748531758.jpg">
src="https://images.japanhighlights.com/allpicture/2025/05/dd7bda74592b44b3b98833e3e2f1448a_cut_306x176_241_1748531758.jpg" loader="nolazy">
</td>
<?php foreach ($feedback_list as $index => $feedback) {?>
<td class="tour_feedback feedback_content">
@ -70,14 +70,14 @@
const infoIcon = document.querySelector('.review-aggregate__info');
const toolTip = document.querySelector('.popper__tooltip');
const closeButton = document.querySelector('.review_close');
infoIcon.addEventListener('click', function() {
toolTip.style.display = "block";
});
closeButton.addEventListener('click', function(event) {
toolTip.style.display = "none";
});
});
</script>
Loading…
Cancel
Save