1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 LOCKON CO.,LTD. All Rights Reserved. |
---|
5 | * |
---|
6 | * http://www.lockon.co.jp/ |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or |
---|
9 | * modify it under the terms of the GNU General Public License |
---|
10 | * as published by the Free Software Foundation; either version 2 |
---|
11 | * of the License, or (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
21 | *}--> |
---|
22 | <div id="newsarea" class="bloc_outer"> |
---|
23 | <h2><img src="<!--{$TPL_URLPATH}-->img/icon/ico_block_news.gif" width="27" height="20" alt="*" class="title_icon" /> |
---|
24 | 新着情報</h2> |
---|
25 | <div class="bloc_body"> |
---|
26 | <p>☆★☆ 新着情報は<a href="<!--{$smarty.const.ROOT_URLPATH}-->rss/<!--{$smarty.const.DIR_INDEX_URL}-->" target="_blank">RSS</a>で配信しています。★☆★</p> |
---|
27 | |
---|
28 | <!--{section name=data loop=$arrNews}--> |
---|
29 | <!--{assign var="date_array" value="-"|explode:$arrNews[data].news_date_disp}--> |
---|
30 | <dl> |
---|
31 | <dt><!--{$date_array[0]}-->年<!--{$date_array[1]}-->月<!--{$date_array[2]}-->日</dt> |
---|
32 | <dd> |
---|
33 | <a |
---|
34 | <!--{if $arrNews[data].news_url}--> |
---|
35 | href="<!--{$arrNews[data].news_url}-->" |
---|
36 | <!--{if $arrNews[data].link_method eq "2"}--> |
---|
37 | target="_blank" |
---|
38 | <!--{/if}--> |
---|
39 | <!--{/if}--> |
---|
40 | > |
---|
41 | <!--{$arrNews[data].news_title|h|nl2br}--></a><br /> |
---|
42 | <!--{$arrNews[data].news_comment|h|nl2br}--> |
---|
43 | </dd> |
---|
44 | </dl> |
---|
45 | <!--{/section}--> |
---|
46 | </div> |
---|
47 | </div> |
---|