<?php
/**
Template Name: Earth WelCart
*/
global $usces;
?>
<!-- ScrollToTop Button -->
<a class="bloc-button btn btn-d scrollToTop" onclick="scrollToTarget('1')">
<span class="fa fa-chevron-up"></span>
</a>
<!-- ScrollToTop Button END-->
<!-- Footer - footer -->
<style>
.ttweets {
display: none;
}
</style>
<div class="bgc-anti-flash-white l-bloc" id="footer">
<div class="container bloc-footer">
<div class="row">
<!-- <div class="col-sm-12">
<h5 class="tc-2 sm-shadow mg-lg icon-outer-space sm-shadow icon-taupe-gray animated fadeInUp">
<span class="ion ion-social-twitter icon-twitter-blue"></span> twitterで投稿したメッセージを自動で表示することができます。設定するにはプログラミングの知識が必要です。 about 16 minutes ago
</h5>
<div class="divider-h">
<span class="divider"></span>
</div>
</div> -->
</div>
<div class="row voffset">
<div class="col-sm-6">
<ul class="list-unstyled">
<li>
<h4 class="mg-md sm-shadow">
<span class="ion ion-ios-folder-outline animated fadeInUp"> インデックス</span>
</h4>
</li>
</ul>
<?php if (has_nav_menu('primary-menu', 'earth')) { ?>
<?php wp_nav_menu(array('container' => false, 'menu_class' => 'list-unstyled', 'theme_location' => 'primary-menu', 'fallback_cb' => 'display_home')); ?>
<?php } else { ?>
<?php wp_nav_menu(array('menu' => 'primary-nav', 'menu_class' => 'list-unstyled')); ?>
<?php } ?>
</div>
<!-- <div class="col-sm-4">
<ul class="list-unstyled">
<li>
<h4 class="mg-md sm-shadow">
<span class="ion ion-ios-pulse animated fadeInUp animDelay04"> ベストセラー</span>
</h4>
</li>
</ul>
<ul class="list-unstyled">
<?php usces_list_bestseller(10); ?>
</ul>
</div> -->
<?php if (!dynamic_sidebar('other-widget-area')) : ?>
<!-- <div class="col-sm-3">
<ul class="list-sp-md list-unstyled">
<li>
<h4 class="mg-md sm-shadow animated fadeInUp animDelay04">
<span class="ion ion-ios-copy-outline"> 最新のブログ</span>
</h4>
</li>
</ul>
<ul class="list-sp-md list-unstyled">
<?php
$args = array('numberposts' => '5', 'post_type' => 'post', 'post_status' => 'publish',);
$recent_posts = wp_get_recent_posts($args);
foreach ($recent_posts as $recent) {
echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"] . '</a> </li> ';
}
?>
</ul>
</div> -->
<?php endif; ?>
<div class="col-sm-6 member-login">
<!-- member-login START -->
<div class="panel animDelay08 panel-rd">
<!-- panel START -->
<div class="panel-body">
<!-- panel-body START -->
<h4 class="mg-md sm-shadow text-center animated fadeInUp animDelay06">
<span class="ion ion-ios-person"></span> メンバーログイン
</h4>
<div class="loginbox">
<!-- loginbox START -->
<?php if (!usces_is_login()) { ?>
<form name="loginwidget" id="loginform" action="<?php echo USCES_MEMBER_URL; ?>" method="post">
<!-- form START -->
<div class="form-group">
<label><?php _e('メールアドレス', 'usces') ?></label>
<input type="text" name="loginmail" id="loginmail" class="form-control" placeholder="メール" value="<?php echo usces_remembername('return'); ?>" size="50" tabindex="10" />
</div>
<div class="form-group">
<label><?php _e('パスワード', 'usces') ?></label>
<input type="password" name="loginpass" class="form-control" placeholder="パスワード" id="loginpass" class="loginpass" value="<?php echo usces_rememberpass('return'); ?>" size="50" tabindex="20" />
</div>
<div class="checkbox">
<label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="90" <?php echo usces_remembercheck('return'); ?> /> <?php _e('ログイン情報を保持', 'usces') ?></label>
</div>
<p class="submit text-center fadeInUp animDelay06 animated">
<input type="submit" class="btn btn-clean btn-rd btn-taupe-gray btn-lg fadeInUp animated" name="member_login" id="member_login" value="<?php _e('ログイン', 'usces') ?>" tabindex="100" />
</p>
<?php
echo apply_filters('usces_filter_login_inform', NULL);
$noncekey = 'post_member' . $usces->get_uscesid(false);
wp_nonce_field( $noncekey, 'wel_nonce' );
?>
</form><!-- form END -->
<p class="text-right">
<a href="<?php echo USCES_LOSTMEMBERPASSWORD_URL; ?>" class="link-underline" title="<?php _e('パスワードをお忘れですか?', 'usces') ?>"><?php _e('パスワードをお忘れですか?', 'usces') ?></a>
</p>
</div><!-- loginbox END -->
</div><!-- panel-body END -->
<div class="panel panel-footer bgc-anti-flash-white-dkgrey btn-light-gray">
<h4 class="mg-clear text-center sm-shadow">
<span class="ion ion-ios-compose-outline fadeInUp animDelay06 animated">
<a href="<?php echo USCES_NEWMEMBER_URL; ?>" title="<?php _e('新規会員登録する', 'usces') ?>"><?php _e('新規会員登録する', 'usces') ?></a></span>
</h4>
<?php } else { ?>
<?php printf(__('Mr/Mrs %s', 'usces'), usces_the_member_name()); ?><br />
<?php echo usces_loginout(); ?><br />
<a href="<?php echo USCES_MEMBER_URL; ?>"><?php _e('Membership information', 'usces') ?></a>
<?php } ?>
</div>
</div><!-- panel END -->
</div><!-- member-login END -->
</div>
</div>
</div>
<!-- Footer - footer END -->
<!-- Footer - footer_search -->
<div class="bloc bgc-white-smoke l-bloc" id="footer_search">
<div class="container bloc-search">
<div class="row">
<span class="search-icon ion ion-ios-search icon-md pull-left col-xs-offset-4 animated fadeInUp"></span>
<div class="col-sm-4 margin0">
<form role="search" method="get" id="form-1395" class="animated fadeInUp" action="">
<div>
<input type="text" value="" name="s" class="form-control" id="search_filed" data-validation-required-message="search_filed is required." maxlength="50" placeholder="検索">
</div>
</form>
</div>
</div>
</div>
</div>
<!-- Footer - footer_search END -->
<!-- Footer - footer_social END -->
<!-- Footer - All Rights Reserved -->
<div class="bloc bgc-dark-jungle-green-2 d-bloc" id="allrightsreserved">
<div class="container bloc-sm">
<div class="row">
<div class="col-sm-12 col-md-8 col-md-offset-2">
<h5 class="text-center mg-clear tc-silver textcolour-white animated fadeInUp animDelay08">
<strong>© Copyright <?php echo date('Y'); ?>. Hyper Trade All Rights Reserved.</strong>
</h5>
</div>
</div>
</div>
</div>
<!-- Footer - All Rights Reserved END -->
</div>
<!-- Main container END -->
<?php wp_footer(); ?>
<script>
(function() {
var quotes = $(".ttweets");
var quoteIndex = -1;
function showNextQuote() {
++quoteIndex;
quotes.eq(quoteIndex % quotes.length)
.fadeIn(2000)
.delay(2000)
.fadeOut(2000, showNextQuote);
}
showNextQuote();
})();
</script>
</body>
</html>