1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2011 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | <form name="form1" id="form1" method="post" action="?"> |
---|
25 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
26 | <div class="btn"> |
---|
27 | <a class="btn-action" href="./template_input.php"><span class="btn-next">テンプレートを新規入力</span></a> |
---|
28 | </div> |
---|
29 | <!--{if count($arrTemplates) > 0}--> |
---|
30 | <div id="mail" class="contents-main"> |
---|
31 | <table class="list center"> |
---|
32 | <col width="15%" /> |
---|
33 | <col width="35%" /> |
---|
34 | <col width="20%" /> |
---|
35 | <col width="10%" /> |
---|
36 | <col width="10%" /> |
---|
37 | <col width="10%" /> |
---|
38 | <tr> |
---|
39 | <th>作成日</th> |
---|
40 | <th>subject</th> |
---|
41 | <th>メール形式</th> |
---|
42 | <th>編集</th> |
---|
43 | <th>削除</th> |
---|
44 | <th>プレビュー</th> |
---|
45 | </tr> |
---|
46 | <!--{section name=data loop=$arrTemplates}--> |
---|
47 | <tr> |
---|
48 | <td><!--{$arrTemplates[data].create_date|date_format:'%Y/%m/%d'|h}--></td> |
---|
49 | <td class="left"><!--{$arrTemplates[data].subject|h}--></td> |
---|
50 | <!--{assign var=type value=$arrTemplates[data].mail_method|h}--> |
---|
51 | <td><!--{$arrMagazineType[$type]}--></td> |
---|
52 | <td><a href="./template_input.php?mode=edit&template_id=<!--{$arrTemplates[data].template_id}-->">編集</a></td> |
---|
53 | <td><a href="#" onclick="fnDelete('?mode=delete&id=<!--{$arrTemplates[data].template_id}-->'); return false;">削除</a></td> |
---|
54 | <td><a href="#" onclick="win03('./preview.php?mode=template&template_id=<!--{$arrTemplates[data].template_id}-->','preview','650','700'); return false;" target="_blank">プレビュー</a></td> |
---|
55 | </tr> |
---|
56 | <!--{/section}--> |
---|
57 | </table> |
---|
58 | </div> |
---|
59 | <!--{/if}--> |
---|
60 | </form> |
---|