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.ROOT_URLPATH`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> |
---|
32 | <!--{if $arrNews[data].news_url}--><a href="<!--{$arrNews[data].news_url|h}-->"><!--{/if}--><!--{$arrNews[data].news_title|h}--><!--{if $arrNews[data].news_url}--></a><!--{/if}--> |
---|
33 | </div> |
---|
34 | <!--{/section}--> |
---|
35 | |
---|
36 | </div> |
---|
37 | </div> |
---|
38 | |
---|
39 | <!--{/if}--> |
---|
40 | |
---|
41 | |
---|
42 | <!--{elseif $smarty.server.PHP_SELF == $mypage}--> |
---|
43 | |
---|
44 | <!--{if $arrMemberNews}--> |
---|
45 | <h3>お知らせ</h3> |
---|
46 | <div id="block-news-mypage"> |
---|
47 | |
---|
48 | <!--{section name=data loop=$arrMemberNews max=3}--> |
---|
49 | <div class=" "> |
---|
50 | <span><!--{$arrMemberNews[data].news_date_disp|date_format:"%m.%d"}--></span> |
---|
51 | <!--{if $arrMemberNews[data].news_url}--><a href="<!--{$arrMemberNews[data].news_url|h}-->"><!--{/if}--> |
---|
52 | <!--{$arrMemberNews[data].news_title|h}--> |
---|
53 | <!--{if $arrMemberNews[data].news_url}--></a><!--{/if}--> |
---|
54 | </div> |
---|
55 | <!--{/section}--> |
---|
56 | |
---|
57 | </div> |
---|
58 | <!--{/if}--> |
---|
59 | |
---|
60 | <!--{/if}--> |
---|