first commit
This commit is contained in:
79
application/views/m/news/news_comment.php
Executable file
79
application/views/m/news/news_comment.php
Executable file
@@ -0,0 +1,79 @@
|
||||
<?php
|
||||
$press_logo = $result['logo_img'];
|
||||
$press_name = $result['press_name'];
|
||||
$org_url = $result['org_url'];
|
||||
$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'];
|
||||
$category_code = $result['category_code'];
|
||||
$category_name1 = $result['category_name1'];
|
||||
$category_name2 = $result['category_name2'];
|
||||
$category_name3 = $result['category_name3'];
|
||||
$category_code1 = substr($category_code, 0, 2);
|
||||
$category_code2 = substr($category_code, 0, 4);
|
||||
$category_code3 = substr($category_code, 0, 6);
|
||||
|
||||
$weather_icon = '';
|
||||
if(count($arr_weather) > 0){
|
||||
$weather_icon = $arr_weather['weather_icon'];
|
||||
$continent = $arr_weather['continent'];
|
||||
$country = $arr_weather['country'];
|
||||
$weather_content = $arr_weather['weather_content'];
|
||||
|
||||
}
|
||||
$SES_MEMBER_ID = $this->session->userdata('C_Member_Id');
|
||||
$content_type = '1';
|
||||
|
||||
?>
|
||||
<?
|
||||
$page_title = '뉴스';
|
||||
$page_title_link = '/m/#news';
|
||||
require_once(APPPATH."/views/m/common/light_header.php");?>
|
||||
|
||||
|
||||
<div class="article_cont article_cont_fixed">
|
||||
<div class="news_list">
|
||||
<div class="view_header">
|
||||
<div>
|
||||
<a href=""><span class="logo_company"><img src="<?=$press_logo?>" width="20" height="17" alt="logo"></span><?=$press_name?></a>
|
||||
</div>
|
||||
<h2 style="padding-right: 75px;"><?=$title?>
|
||||
<? if(count($arr_weather) > 0){?>
|
||||
<div class="spirit_weather" style="float: right; margin-top: 5px;">
|
||||
<ul class="w_info">
|
||||
<li><img src="<?=$weather_icon?>" style="width:48px"></li>
|
||||
<li style="color:#fff">
|
||||
|
||||
<table style="line-height: 22px;width:100%; margin-top: 10px;">
|
||||
<tr>
|
||||
<td style="font-size:18px; padding-top: 15px;"><?=$weather_content?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="w_location"><?=$continent?> <span style="padding:0 5px;"><img src="/img/web/w_bg.gif" style="padding-top:8px;"></span><?=$country?></div>
|
||||
</div>
|
||||
<? }?></h2>
|
||||
<div class="time">
|
||||
<span style="padding-right:10px;">조회수 <span class="beachblue"><a><?=number_format($hit_count)?></a></span>회</span>
|
||||
<span style="padding-right:10px">댓글 <span class="beachblue"><a><?=number_format($comment_count)?></a></span>개</span>
|
||||
<span style="margin-right:10px;"><a class="share_btn btn btn-default br20 " style=" padding:2px 10px;"><img src="/img/mobile/img_upload3.gif"> </a></span>
|
||||
<span class="fr"><a href="javascript:zoom_out();"><img src="/img/mobile/s_a.gif"></a><a href="javascript:zoom_in();"><img src="/img/mobile/l_a.gif" style="padding-left:5px;"></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="reply">
|
||||
<p class="reply_title" style="padding-top: 20px;">댓글전체보기</p>
|
||||
</div>
|
||||
<? require_once(APPPATH."views/m/common/comment_inc.php");?>
|
||||
|
||||
</div>
|
||||
|
||||
<? require_once(APPPATH."views/web/comm/share_box_inc.php"); ?>
|
||||
|
||||
<? require_once(APPPATH."views/m/news/news_footer_inc.php");?>
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user