source: branches/version-2_13-dev/data/Smarty/templates/admin/mail/index.tpl @ 23620

Revision 23620, 5.5 KB checked in by miyamura, 10 years ago (diff)

#2622 メルマガ拒否している会員にも、重要なお知らせはメール配信できるようにする

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2/*
3 * This file is part of EC-CUBE
4 *
5 * Copyright(c) 2000-2014 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
25<div id="mail" class="contents-main">
26<form name="search_form" id="search_form" method="post" action="?">
27    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
28    <input type="hidden" name="mode" value="search" />
29    <h2>配信先検索条件設定</h2>
30
31    <!--{* 検索条件設定テーブルここから *}-->
32    <table>
33        <!--{include file="`$smarty.const.TEMPLATE_ADMIN_REALDIR`/adminparts/form_customer_search.tpl"}-->
34        <tr>
35            <th>配信形式</th>
36            <td colspan="3">
37                <!--{assign var=key value="search_htmlmail"}-->
38                <!--{if $arrErr[$key]}--><span class="attention"><!--{$arrErr[$key]}--></span><br /><!--{/if}-->
39                <!--{html_radios name=$key options=$arrHtmlmail separator="&nbsp;" selected=$arrForm[$key].value}--><br />
40                <span class="attention">「全員(メルマガ拒否している会員も含む) 」を選択される場合は、メンテナンス告知など、運用関連の配信のみとして下さい。</span>
41            </td>
42        </tr>
43        <tr>
44            <th>配信メールアドレス種別</th>
45            <td colspan="3">
46                <!--{assign var=key value="search_mail_type"}-->
47                <!--{html_radios name=$key options=$arrMailType separator="<br />" selected=$arrForm[$key].value|default:1}-->
48            </td>
49        </tr>
50    </table>
51    <!--{* 検索条件設定テーブルここまで *}-->
52
53    <div class="btn">
54        <p class="page_rows">検索結果表示件数
55        <!--{assign var=key value="search_page_max"}-->
56        <select name="<!--{$key}-->">
57            <!--{html_options options=$arrPageRows selected=$arrForm[$key]}-->
58        </select> 件</p>
59        <div class="btn-area">
60            <ul>
61                <li><a class="btn-action" href="javascript:;" onclick="eccube.fnFormModeSubmit('search_form', 'search', '', ''); return false;"><span class="btn-next">この条件で検索する</span></a></li>
62            </ul>
63        </div>
64    </div>
65</form>
66
67<!--{if count($arrErr) == 0 and ($smarty.post.mode == 'search' or $smarty.post.mode == 'delete' or $smarty.post.mode == 'back')}-->
68
69<form name="form1" id="form1" method="post" action="?">
70    <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
71    <input type="hidden" name="mode" value="" />
72    <!--{foreach key=key item=item from=$arrHidden}-->
73    <!--{if is_array($item)}-->
74        <!--{foreach item=c_item from=$item}-->
75            <input type="hidden" name="<!--{$key}-->[]" value="<!--{$c_item|h}-->" />
76        <!--{/foreach}-->
77    <!--{else}-->
78    <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" />
79    <!--{/if}-->
80    <!--{/foreach}-->
81
82    <h2>検索結果一覧</h2>
83    <div class="btn">
84        <span class="attention"><!--検索結果数--><!--{$tpl_linemax}-->件</span>&nbsp;が該当しました。
85        <!--{if $smarty.const.ADMIN_MODE == '1'}-->
86            <a class="btn-normal" href="javascript:;" onclick="eccube.setModeAndSubmit('delete_all','',''); return false;"><span>検索結果を全て削除</span></a>
87        <!--{/if}-->
88        <!--{if $tpl_linemax > 0}-->
89            <a class="btn-normal" href="javascript:;" onclick="document.form1['mode'].value='input'; document.form1.submit(); return false;"><span>配信内容を設定する</span></a>
90        <!--{/if}-->
91    </div>
92
93    <!--{if count($arrResults) > 0}-->
94        <!--{include file=$tpl_pager}-->
95
96        <!--検索結果表示テーブル-->
97        <table class="list">
98        <col width="10%" />
99        <col width="25%" />
100        <col width="35%" />
101        <col width="15%" />
102        <col width="15%" />
103            <tr>
104                <th>会員ID</th>
105                <th>名前</th>
106                <th>メールアドレス</th>
107                <th>希望配信</th>
108                <th>登録・更新日</th>
109            </tr>
110            <!--{section name=i loop=$arrResults}-->
111            <tr>
112                <td class="center"><!--{$arrResults[i].customer_id}--></td>
113                <td><!--{$arrResults[i].name01|h}--> <!--{$arrResults[i].name02|h}--></td>
114                <td><!--{$arrResults[i].email|h}--></td>
115                <!--{assign var="key" value="`$arrResults[i].mailmaga_flg`"}-->
116                <td class="center"><!--{$arrHtmlmail[$key]|default:'なし'}--></td>
117                <td class="center"><!--{$arrResults[i].update_date|sfDispDBDate}--></td>
118            </tr>
119            <!--{/section}-->
120        </table>
121        <!--検索結果表示テーブル-->
122    <!--{/if}-->
123</form>
124
125<!--{/if}-->
126</div>
Note: See TracBrowser for help on using the repository browser.