<?php

$column_name    = $result['column_name'];
$title     		= $result['title'];
$display_date   = $result['display_date'];
$display_date   = str_replace('-', '.', $display_date);
$display_date   = substr($display_date, 0, 16);
$hit_count      = $result['hit_count'];
$comment_count  = $result['comment_count'];
$content        = $result['content'];
$main_img       = $result['main_img'];
$partner_idx  	= $result['partner_idx'];
$SES_MEMBER_ID  = $this->session->userdata('C_Member_Id');


$content_type = '2';



?>
	<div class="contents">
		<div class="wrap">
			<div class="list_left">
				<div class="news_list">
					<div class="view_header">
						<div><span class="beachblue" style="padding-right:5px;"><a href="/web/news/column">오피니언</a></span><a href="/web/news/columnist/<?=$partner_idx?>"><?=$column_name?></a></div>
						<h2><?=$title?></h2>
						<div class="time">입력   <?=$display_date?>
						    <span style="padding-left:10px">조회수 <span class="beachblue"><?=number_format($hit_count)?></span>회</span>
						    <span style="padding-left:10px">댓글 <span class="beachblue"><?=number_format($comment_count)?></span>개</span>
						</div>
					</div>
					<div class="column_contents">
		     			<h4 class="beachblue">댓글전체보기</h4>
		            </div>
					<? require_once(APPPATH."views/web/comm/comment_inc.php");?>
				</div>
			</div>
            <? include_once ('news_right_inc.php');?>
		</div>
	</div>

	 <? include_once ('news_footer_inc.php');?>
