<{strip}>

<div class="row margin-bottom-40">
<{include file="db:`$mydirname`_head.html"}>
<div class="content-page">
 <div class="row">
	<{if $in_category_block or $kanren_block}>
    <div class="three fourth padded">
  <{/if}>
  		<h2 class="mainside padded"><{$story.title}></h2>
			<div class="align-right padded">
	     	<span class="topicon facebookicon"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=<{$mydirurl}>?page=article&amp;storyid=<{$story.id}>"><i class=" icon-2x icon-facebook-square"></i></a></span>
				<span class="topicon twittericon"><a target="_blank" href="http://twitter.com/share?url=<{$mydirurl}>?page=article&amp;storyid=<{$story.id}>"><i class="icon-2x icon-twitter"></i></a></span>
				<span class="topicon lineicon"><a target="_blank" href="http://line.me/R/msg/text/?<{$mydirurl}>?page=article&amp;storyid=<{$story.id}>"><i class="icon-2x icon-line"></i></a></span>
			</div>
  		<hr>
  		<div class="d3news-img">
    		<img src="<{$story.titleimg}>">
  		</div>
    	<div class="padded"><{$story.text}></div>
      <ul class="d3news-info">
        <li><i class="icon-user"></i> By <{$story.uname}></li>
        <li><i class="icon-calendar"></i> <{$story.posttime}></li>
        <li><i class="icon-eye"></i> <{$story.hits}></li>
        <li><i class="icon-tags"></i> <{$story.topic}> </li>
        <{if $story.adminlink}>
          <li><a href="<{$mydirurl}>/index.php?page=submit&amp;storyid=<{$story.id}>"><i class="fa fa-pencil-square-o"></i> 編集</a> </li>
          <li><a href="<{$mydirurl}>/index.php?page=submit&amp;op=delete&amp;storyid=<{$story.id}>"><i class="fa fa-eraser"></i> 削除</a> </li>
        <{/if}>
      </ul>
      <div style="text-align: left;">
          <{if $pagenav}>Page <{$pagenav}><{/if}>
      </div>
      <{if $disp_print_icon or $disp_tell_icon}>
        <div style="text-align: right;">
          <{if $disp_print_icon}>
            <a href="<{$mydirurl}>/index.php?page=print&amp;storyid=<{$story.id}>">
              <i class="icon-print icon-2x"></i>
            </a>&nbsp;
          <{/if}>
          <{if $disp_tell_icon}>
            <a target="_top" href="<{$mail_link}>">
              <i class="icon-external-link icon-2x"></i>
            </a>
          <{/if}>
        </div>
      <{/if}>
	 		<{if $in_category_block or $kanren_block}>
      </div>
      <div class="one fourth padded hide-on-small-tablet hide-on-mobile">
	 			<{if $kanren_block}>
        	<{* RELATED ARTICLES *}>
        	<{include file="db:`$mydirname`_relations.html"}>
				<{/if}>
	 			<{if $in_category_block}>
        <{* RECENT NEWS IN THIS CATEGORY *}>
        <{include file="db:`$mydirname`_category.html"}>
	 			<{/if}>
      </div>
			<{/if}>
    </div>
  </div>
</div>
<{/strip}>
