1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2007 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"> |
---|
23 | <h2> |
---|
24 | <img src="<!--{$TPL_DIR}-->img/top/news.jpg" width="400" height="29" alt="新着情報" /> |
---|
25 | </h2> |
---|
26 | |
---|
27 | <p>☆★☆ 新着情報は<a href="<!--{$smarty.const.URL_DIR}-->rss/index.php" target="_blank">RSS</a>で配信しています。★☆★</p> |
---|
28 | |
---|
29 | <!--{section name=data loop=$arrNews}--> |
---|
30 | <dl> |
---|
31 | <dt><!--{$arrNews[data].news_date_disp|date_format:"%Y年%m月%d日"}--></dt> |
---|
32 | <dd> |
---|
33 | <!--{if $arrNews[data].news_url}--> |
---|
34 | <a href="<!--{$arrNews[data].news_url}-->" |
---|
35 | <!--{if $arrNews[data].link_method eq "2"}--> |
---|
36 | target="_blank" |
---|
37 | <!--{/if}-->> |
---|
38 | <!--{/if}--> |
---|
39 | <!--{$arrNews[data].news_title|escape|nl2br}--> |
---|
40 | <!--{if $arrNews[data].news_url}--> |
---|
41 | </a> |
---|
42 | <!--{/if}--><br /> |
---|
43 | <!--{$arrNews[data].news_comment|escape|nl2br}--> |
---|
44 | </dd> |
---|
45 | </dl> |
---|
46 | <!--{/section}--> |
---|
47 | </div> |
---|