<?php /* Smarty version 2.6.31, created on 2024-05-11 15:20:04
         compiled from /home/tcms/home/html/themes/impresscms/theme.html */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('function', 'owslider', '/home/tcms/home/html/themes/impresscms/theme.html', 166, false),)), $this); ?>
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js ie ie6 lt-ie7 lt-ie8 lt-ie9 lt-ie10"><![endif]-->
<!--[if IE 7]>   <html class="no-js ie ie7 lt-ie8 lt-ie9 lt-ie10"><![endif]-->
<!--[if IE 8]>   <html class="no-js ie ie8 lt-ie9 lt-ie10"><![endif]-->
<!--[if IE 9]>   <html class="no-js ie ie9 lt-ie10"><![endif]-->
<!--[if gt IE 9]><html class="no-js ie ie10"  lang="ja" prefix="og: http://ogp.me/ns#"><![endif]-->
<!--[if !IE]><!--><html class="no-js" lang="ja" prefix="og: http://ogp.me/ns#"><!--<![endif]-->
  <head>
	<?php $this->assign('theme_name', $this->_tpl_vars['xoTheme']->folderName); ?>
	<?php if ($this->_tpl_vars['og_title']): ?>
	 	<title><?php echo $this->_tpl_vars['og_title']; ?>
<?php if ($this->_tpl_vars['xoops_pagetitle'] != ''): ?>/<?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
 : <?php endif; ?><?php echo $this->_tpl_vars['xoops_sitename']; ?>
</title>
	<?php else: ?>
  	<title><?php if ($this->_tpl_vars['xoops_pagetitle'] != ''): ?><?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
 : <?php endif; ?><?php echo $this->_tpl_vars['xoops_sitename']; ?>
</title>
	<?php endif; ?>
	<meta http-equiv="content-type" content="text/html; charset=<?php echo $this->_tpl_vars['xoops_charset']; ?>
" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
	<meta name="robots" content="<?php echo $this->_tpl_vars['xoops_meta_robots']; ?>
" />
	<meta name="keywords" content="<?php echo $this->_tpl_vars['xoops_meta_keywords']; ?>
" />
	<?php if ($this->_tpl_vars['og_description']): ?>
		<meta name="description" content="<?php echo $this->_tpl_vars['og_description']; ?>
" />
	<?php else: ?>
		<meta name="description" content="<?php echo $this->_tpl_vars['xoops_meta_description']; ?>
" />
	<?php endif; ?>
	<meta name="rating" content="<?php echo $this->_tpl_vars['xoops_meta_rating']; ?>
" />
	<meta name="author" content="<?php echo $this->_tpl_vars['xoops_meta_author']; ?>
" />
	<meta name="copyright" content="<?php echo $this->_tpl_vars['xoops_meta_copyright']; ?>
" />
	<meta name="generator" content="" />


	<meta property="og:title" content="<?php if ($this->_tpl_vars['xoops_pagetitle'] != ''): ?><?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
 : <?php endif; ?><?php echo $this->_tpl_vars['xoops_sitename']; ?>
" />
	<?php if ($this->_tpl_vars['xoops_requesturi'] == '/index.php' || $this->_tpl_vars['xoops_requesturi'] == '/'): ?>
		<meta property="og:type" content="website" />
	<?php else: ?>
		<meta property="og:type" content="article" />
	<?php endif; ?>

	<?php if ($this->_tpl_vars['og_description']): ?>
		<meta property="og:description" content="<?php echo $this->_tpl_vars['og_description']; ?>
" />
	<?php else: ?>
		<meta property="og:description" content="<?php echo $this->_tpl_vars['xoops_meta_description']; ?>
" />
	<?php endif; ?>
	<meta property="og:url" content="<?php echo $this->_tpl_vars['icms_url']; ?>
<?php echo $this->_tpl_vars['xoops_requesturi']; ?>
" />
	<?php if ($this->_tpl_vars['og_title']): ?>
	 	<meta property="og:site_name" content="<?php echo $this->_tpl_vars['og_title']; ?>
<?php if ($this->_tpl_vars['xoops_pagetitle'] != ''): ?>/<?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
 : <?php endif; ?><?php echo $this->_tpl_vars['xoops_sitename']; ?>
" />
	<?php else: ?>
	 	<meta property="og:site_name" content="<?php if ($this->_tpl_vars['xoops_pagetitle'] != ''): ?><?php echo $this->_tpl_vars['xoops_pagetitle']; ?>
 : <?php endif; ?><?php echo $this->_tpl_vars['xoops_sitename']; ?>
" />
	<?php endif; ?>
	<?php if ($this->_tpl_vars['og_image']): ?>
		<meta property="og:image" content="<?php echo $this->_tpl_vars['og_image']; ?>
" />
	<?php else: ?>
		<meta property="og:image" content="<?php echo $this->_tpl_vars['icms_url']; ?>
/uploads/d3news/noimage.png" />
	<?php endif; ?>

	<link rel="shortcut icon" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
icons/favicon.ico" />
	<link rel="apple-touch-icon" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
icons/icon.png" />

<!-- Theme name -->
<!-- framework css -->
	<!--[if gt IE 9]><!-->
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork.css">
	<!--<![endif]--><!--[if lte IE 9]>
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork-core.css">
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork-type.css">
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork-ui.css">
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork-anim.css">
    <link type="text/css" rel="stylesheet" href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
css/groundwork-ie.css">
	<![endif]-->
  <link href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/owl.carousel/assets/owl.carousel.css" rel="stylesheet">
  <link href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/font-awesome/css/font-awesome.min.css" rel="stylesheet">
  <link href="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
style.css" rel="stylesheet">


  <!-- Module Header -->
  	<?php echo $this->_tpl_vars['xoops_module_header']; ?>


  <script src="<?php echo $this->_tpl_vars['icms_url']; ?>
/libraries/jquery/modernizr-custom.js"></script>
  <script src="<?php echo $this->_tpl_vars['icms_url']; ?>
/libraries/jquery/ui/datepicker-ja.js"></script>
	<script src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/jquery-migrate.min.js" type="text/javascript"></script>
	<script>
		var gagaga = "<?php echo $this->_tpl_vars['icms_imageurl']; ?>
images/up.png";
	</script>
  <script src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/back-to-top.js" type="text/javascript"></script>
  <script src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/owl.carousel/owl.carousel.js" type="text/javascript"></script><!-- slider for products -->
  <script src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/jquery.within-1.0.min.js" type="text/javascript"></script>
  <script type="text/javascript" src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
plugins/groundwork.all.js"></script>

	<?php if ($this->_tpl_vars['icms_isuser']): ?>
	<?php else: ?>
		<script src="/fb.js"></script>
	<?php endif; ?>


	<script>
		$(function(){
			$('.toplinkbtn').on('click',function(){
				var mdir = $(this).attr('mydir');
				var myurl="/modules/"+mdir;
				location.href=myurl;
			})
		});
	</script>

	<script>
		$(function(){
			$('#facebook_login, #facebook_login2').on('click',function(){
				FB.login(function(response){
					checkLoginState(response);
				})
			})
		});
	</script>

</head>
<!-- Head END -->

<!-- Body BEGIN -->
<body id="<?php echo $this->_tpl_vars['xoops_dirname']; ?>
">


    <div class="row">
      <div class="one half padded">
        <a href="<?php echo $this->_tpl_vars['icms_url']; ?>
"><img src="<?php echo $this->_tpl_vars['icms_imageurl']; ?>
images/logo.png" alt="TacmicCMS"></a>
      </div>
      <div class="one half padded">
						<?php if ($this->_tpl_vars['xoops_isuser']): ?>
						<a href="/modules/toroku" class="brown"><i class="icon-pencil-alt"></i> 投稿</a>&nbsp;
						<a href="/modules/mypage" class="brown"><i class="icon-book"></i> マイページ</a>&nbsp;
						<a href="/user.php?op=logout" class="brown"><i class="icon-sign-out-alt"></i> ログアウト</a>
						<?php else: ?>
						<a href="/user.php" class="brown"><i class="icon-sign-in-alt"></i> ログイン</a>&nbsp;
							<input type="button" class="blue" id="facebook_login" value="FB Login">
						<?php endif; ?>
      </div>
    </div>
		<nav class="nav mobile black gap-top noradius"  title="Menu" role="navigation" >
      <ul>
        <?php $_from = $this->_tpl_vars['sitemap']['modules']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }$this->_foreach['i'] = array('total' => count($_from), 'iteration' => 0);
if ($this->_foreach['i']['total'] > 0):
    foreach ($_from as $this->_tpl_vars['module']):
        $this->_foreach['i']['iteration']++;
?>
          <?php if ($this->_tpl_vars['module']['parent'] || $this->_tpl_vars['module']['sublinks']): ?>
        		<li role="<?php echo $this->_tpl_vars['module']['name']; ?>
">
          		<button class="toplinkbtn" mydir="<?php echo $this->_tpl_vars['module']['directory']; ?>
"><?php echo $this->_tpl_vars['module']['name']; ?>
</button>
							<ul>
								<li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/<?php echo $this->_tpl_vars['module']['directory']; ?>
/"><?php echo $this->_tpl_vars['module']['name']; ?>
</a></li>
                <?php $_from = $this->_tpl_vars['module']['parent']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['parent']):
?>
                  <li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/<?php echo $this->_tpl_vars['module']['directory']; ?>
/<?php echo $this->_tpl_vars['parent']['url']; ?>
"><?php echo $this->_tpl_vars['parent']['title']; ?>
</a></li>
                <?php endforeach; endif; unset($_from); ?>
							</ul>
						</li>
          <?php else: ?>
            <li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/modules/<?php echo $this->_tpl_vars['module']['directory']; ?>
/"><?php echo $this->_tpl_vars['module']['name']; ?>
</a></li>
          <?php endif; ?>
				<?php endforeach; endif; unset($_from); ?>
				<?php if ($this->_tpl_vars['xoops_isuser']): ?>
					<?php if ($this->_tpl_vars['xoops_isadmin']): ?>
						<li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/admin.php">ADMIN</a></li>
					<?php else: ?>
						<li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php?op=logout">Log Out</a></li>
					<?php endif; ?>
				<?php else: ?>
					<li><a href="<?php echo $this->_tpl_vars['xoops_url']; ?>
/user.php">Log In</a></li>
				<?php endif; ?>
			</ul>
    </nav>
        <?php if ($this->_tpl_vars['xoops_requesturi'] == '/index.php' || $this->_tpl_vars['xoops_requesturi'] == '/'): ?>
    	<?php echo smarty_function_owslider(array(), $this);?>

    <?php endif; ?>



  <div class="container">
    <div class="row">
      <div class="three fourth padded">
        <?php if ($this->_tpl_vars['xoBlocks']['page_topcenter']): ?>
      		<?php $_from = $this->_tpl_vars['xoBlocks']['page_topcenter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
        		<section class="container" id="block<?php echo $this->_tpl_vars['block']['id']; ?>
">
      				<?php if ($this->_tpl_vars['block']['title'] != ''): ?>
      					<div class="box info"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
      				<?php endif; ?>
      				<div class="padded">
      					<?php echo $this->_tpl_vars['block']['content']; ?>

      				</div>
        		</section>
          <?php endforeach; endif; unset($_from); ?>
        <?php endif; ?>
        <?php if ($this->_tpl_vars['xoBlocks']['page_topleft'] || $this->_tpl_vars['xoBlocks']['page_topright']): ?>
          <div class="row">
            <div class="one half padded">
          	<?php if ($this->_tpl_vars['xoBlocks']['page_topleft']): ?>
          		<?php $_from = $this->_tpl_vars['xoBlocks']['page_topleft']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
          			<div>
          					<?php if ($this->_tpl_vars['block']['title'] != ''): ?>
          						<div class="box orange"> <?php echo $this->_tpl_vars['block']['title']; ?>
</div>
          					<?php endif; ?>
          					<div class="padded">
          						<?php echo $this->_tpl_vars['block']['content']; ?>

          					</div>
          			</div>
          		<?php endforeach; endif; unset($_from); ?>
          	<?php endif; ?>
            </div>
            <div class="one half padded">
          	<?php if ($this->_tpl_vars['xoBlocks']['page_topright']): ?>
          		<?php $_from = $this->_tpl_vars['xoBlocks']['page_topright']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
          			<div>
          					<?php if ($this->_tpl_vars['block']['title'] != ''): ?>
          						<div class="box pink"> <?php echo $this->_tpl_vars['block']['title']; ?>
</div>
          					<?php endif; ?>
          					<div class="padded">
          						<?php echo $this->_tpl_vars['block']['content']; ?>

          					</div>
          			</div>
          		<?php endforeach; endif; unset($_from); ?>
          	<?php endif; ?>
            </div>
          </div>
        <?php endif; ?>

        <?php if ($this->_tpl_vars['xoops_contents']): ?>
          <div class="contents">
          <!-- Module content -->
        		<?php echo $this->_tpl_vars['xoops_contents']; ?>

        	</div>
        <?php endif; ?>

      	<?php if ($this->_tpl_vars['xoBlocks']['page_bottomcenter']): ?>
					<div class="padded">&nbsp;</div>
      		<?php $_from = $this->_tpl_vars['xoBlocks']['page_bottomcenter']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
        		<section class="container" id="block<?php echo $this->_tpl_vars['block']['id']; ?>
">
      				<?php if ($this->_tpl_vars['block']['title'] != ''): ?>
      					<div class="box blue"><?php echo $this->_tpl_vars['block']['title']; ?>
</div>
      				<?php endif; ?>
      				<div  class="padded">
      					<?php echo $this->_tpl_vars['block']['content']; ?>

      				</div>
        		</section>
          <?php endforeach; endif; unset($_from); ?>
        <?php endif; ?>

      </div>

    	<?php if ($this->_tpl_vars['xoBlocks']['canvas_left'] || $this->_tpl_vars['xoBlocks']['canvas_right']): ?>
      <div class="one fourth padded">
        	<!-- Right column -->
        	<?php if ($this->_tpl_vars['xoBlocks']['canvas_left']): ?>
        		<?php $_from = $this->_tpl_vars['xoBlocks']['canvas_left']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
              <div class="main-section">
      			  <?php if ($this->_tpl_vars['block']['title']): ?><div class="success box"><?php echo $this->_tpl_vars['block']['title']; ?>
</div><?php endif; ?>
        			 <div class="padded"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>
      			  </div>
          	<?php endforeach; endif; unset($_from); ?>
          <?php endif; ?>
        	<!-- Right column -->
        	<?php if ($this->_tpl_vars['xoBlocks']['canvas_right']): ?>
        		<?php $_from = $this->_tpl_vars['xoBlocks']['canvas_right']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['block']):
?>
              <div class="main-section">
      			  <?php if ($this->_tpl_vars['block']['title']): ?><div class="success box"><?php echo $this->_tpl_vars['block']['title']; ?>
</div><?php endif; ?>
        			 <div class="padded"><?php echo $this->_tpl_vars['block']['content']; ?>
</div>
      			  </div>
          	<?php endforeach; endif; unset($_from); ?>
          <?php endif; ?>
  		</div>
			<?php endif; ?>
  	</div>
  </div>


<!-- BEGIN FOOTER -->
	<footer class="gap-top bounceInUp animated">
    <div class="box square charcoal">
      <div class="row padded">
        <div class="align-center">
        	<?php echo $this->_tpl_vars['icms_footer']; ?>

        </div>
    	</div>
    </div>
  </footer>
    <!-- END FOOTER -->

</body>
<!-- END BODY -->
</html>