上线信息推荐管理

hotfix/paypal-note
ycc 4 years ago
parent 33a57226fc
commit be84a8f665

@ -1110,6 +1110,9 @@ class Information extends CI_Controller
$exclude_ids[] = $data->is_id;
//读取附加移动端图片
$data->mobile_photo=get_meta($data->ic_id, 'meta_addon_picture_mobile');
if(empty($data->mobile_photo)){
$data->mobile_photo='https://data.asiahighlights.com/image/travel-guide/thailand/info-template-recommended.jpg';
}
}
return array($recommand->ir_name => $data);
}

@ -7,7 +7,8 @@
<?php if(!empty($recommands['Tour A'])){ ?>
<div class="tournext">
<img src="<?php echo $recommands['Tour A']->mobile_photo; ?>"
<img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour A']->ic_title; ?>">
<div class="nextbg">
<div class="tournextname"><a href="<?php echo $recommands['Tour A']->ic_url; ?>"><?php echo $recommands['Tour A']->ic_title; ?></a></div>
@ -19,7 +20,8 @@
<?php if(!empty($recommands['Tour B'])){ ?>
<div class="tournext">
<img src="<?php echo $recommands['Tour B']->mobile_photo; ?>"
<img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour B']->ic_title; ?>">
<div class="nextbg">
<div class="tournextname"><a href="<?php echo $recommands['Tour B']->ic_url; ?>"><?php echo $recommands['Tour B']->ic_title; ?></a></div>
@ -31,7 +33,8 @@
<?php if(!empty($recommands['Tour C'])){ ?>
<div class="tournext">
<img src="<?php echo $recommands['Tour C']->mobile_photo; ?>"
<img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour C']->ic_title; ?>">
<div class="nextbg">
<div class="tournextname"><a href="<?php echo $recommands['Tour C']->ic_url; ?>"><?php echo $recommands['Tour C']->ic_title; ?></a></div>
@ -43,7 +46,8 @@
<?php if(!empty($recommands['Tour D'])){ ?>
<div class="tournext">
<img src="<?php echo $recommands['Tour D']->mobile_photo; ?>"
<img src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Tour D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Tour D']->ic_title; ?>">
<div class="nextbg">
<div class="tournextname"><a href="<?php echo $recommands['Tour D']->ic_url; ?>"><?php echo $recommands['Tour D']->ic_title; ?></a></div>
@ -60,7 +64,8 @@
<?php if(!empty($recommands['Article A'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article A']->ic_url; ?>"> <img
src="<?php echo $recommands['Article A']->mobile_photo; ?>"
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article A']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article A']->ic_title; ?>"></a>
<div class="nextarticlebg">
<div class="nextarticlename">
@ -73,7 +78,8 @@
<?php if(!empty($recommands['Article B'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article B']->ic_url; ?>"> <img
src="<?php echo $recommands['Article B']->mobile_photo; ?>"
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article B']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article B']->ic_title; ?>"></a>
<div class="nextarticlebg">
<div class="nextarticlename">
@ -86,7 +92,8 @@
<?php if(!empty($recommands['Article C'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article C']->ic_url; ?>"> <img
src="<?php echo $recommands['Article C']->mobile_photo; ?>"
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article C']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article C']->ic_title; ?>"></a>
<div class="nextarticlebg">
<div class="nextarticlename">
@ -99,7 +106,8 @@
<?php if(!empty($recommands['Article D'])){ ?>
<div class="nextarticle">
<a href="<?php echo $recommands['Article D']->ic_url; ?>"> <img
src="<?php echo $recommands['Article D']->mobile_photo; ?>"
src="https://data.asiahighlights.com/grey.gif" loader="lazy"
originalsrc="<?php echo $recommands['Article D']->mobile_photo; ?>"
class="img-responsive" alt="<?php echo $recommands['Article D']->ic_title; ?>"></a>
<div class="nextarticlebg">
<div class="nextarticlename">

@ -205,8 +205,9 @@
...</a>
<div class="trustPilotIconBig">
<img class="img-responsive"
src="https://data.asiahighlights.com/pic/trustpilot-new-icon.png"
src="https://data.asiahighlights.com/grey.gif"
originalsrc="https://data.asiahighlights.com/pic/trustpilot-new-icon.png"
loader="lazy"
style="margin: 10px 0;">
Rated
4.8 out of 5 | Excellent
@ -222,7 +223,7 @@
<div class="aboutusright">
<div class="bottompctitle">Featured on</div>
<img src="https://data.chinahighlights.com/pic/guide/info-template-feature-on.png" loader="lazy" width="436" height="250" style="width: 77%;" originalsrc="https://data.chinahighlights.com/pic/guide/info-template-feature-on.png" alt="Medias" class="img-responsive bottomfeature" style="opacity: 1; transition: opacity 0.5s ease-in-out 0s;">
<img src="https://data.asiahighlights.com/grey.gif" loader="lazy" width="436" height="250" style="width: 77%;" originalsrc="https://data.chinahighlights.com/pic/guide/info-template-feature-on.png" alt="Medias" class="img-responsive bottomfeature" style="opacity: 1; transition: opacity 0.5s ease-in-out 0s;">
</div>
@ -265,9 +266,9 @@
<div class="bottomlogo">
<div class="footerbox">
<img
src="https://data.chinahighlights.com/image/asia/asia-highlights-bottom-logo.png" width="114"
height="71" class="img-responsive bottomlogopc">
<img src="https://data.asiahighlights.com/grey.gif"
originalsrc="https://data.chinahighlights.com/image/asia/asia-highlights-bottom-logo.png" width="114"
height="71" loader="lazy" class="img-responsive bottomlogopc">
<span class="bottomcopyright">© 2016-2021 Asia Highlights — Discovery Your Way! </span>
<span class="bottomprivacy"><a href="/privacy.htm" target="_blank">Privacy Policy</a> | <a
href="/terms-of-use.htm" target="_blank">Terms</a></span>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save