source: branches/version-2_5-dev/data/Smarty/templates/sphone/frontparts/bloc/news.tpl @ 19802

Revision 19802, 2.1 KB checked in by Seasoft, 13 years ago (diff)

#834(パラメータの定数名に「URL」を含むにもかかわらず、パスのみのものがある) 一部改修

Line 
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<!--{assign var=mypage value="`$smarty.const.SMARTPHONE_URL_PATH`mypage/index.php"}-->
23<!--{if $smarty.server.PHP_SELF != $mypage}-->
24
25<!--{if $arrNews}-->
26<div id="block-news" class="block-center">
27<div class="create-box">
28
29<!--{section name=data loop=$arrNews max=3}-->
30<div class="anews">
31<span><!--{$arrNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
32<!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|h}-->"><!--{/if}-->
33<!--{$arrNews[data].news_title|h}-->
34<!--{if $arrNews[data].news_url}--></a><!--{/if}-->
35</div>
36<!--{/section}-->
37
38</div>
39</div>
40
41<script type="text/javascript" language="JavaScript">
42//<![CDATA[
43initNews(); //カテゴリーリストの初期化
44//]]>
45</script>
46<!--{/if}-->
47
48
49<!--{elseif $smarty.server.PHP_SELF == $mypage}-->
50
51<!--{if $arrMemberNews}-->
52<h3>お知らせ</h3>
53<div id="block-news-mypage">
54
55<!--{section name=data loop=$arrMemberNews max=3}-->
56<div class=" ">
57<span><!--{$arrMemberNews[data].news_date_disp|date_format:"%m.%d"}--></span>&nbsp;
58<!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|h}-->"><!--{/if}-->
59<!--{$arrMemberNews[data].news_title|h}-->
60<!--{if $arrMemberNews[data].news_url}--></a><!--{/if}-->
61</div>
62<!--{/section}-->
63
64</div>
65<!--{/if}-->
66
67<!--{/if}-->
Note: See TracBrowser for help on using the repository browser.