/var/www/hkosl.com/sinomax/survey/test2.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
<?php
    
require_once('webadmin/basic_info.php');

    
$id       54;
    
$campaign get_campaign($id1);

    require_once(
"inc/class.phpmailer.php");
    
//send password to member

    
$email_to_customer_subject $campaign{"companyname_en"} . " - Complete " $campaign["name_en"] . " Survey";
    
//email content to customer

?>

<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="Generator" content="Microsoft Word 15 (filtered medium)">
    <!--[if !mso]>
    <style>v\: * {
        behavior: url(#default#VML);
    }

    o\: * {
        behavior: url(#default#VML);
    }

    w\: * {
        behavior: url(#default#VML);
    }

    .shape {
        behavior: url(#default#VML);
    }
    </style><![endif]-->
    <style><!--
        /* Font Definitions */
        @font-face {
            font-family: Helvetica;
            panose-1: 2 11 6 4 2 2 2 2 2 4;
        }

        @font-face {
            font-family: 新細明體;
            panose-1: 2 2 5 0 0 0 0 0 0 0;
        }

        @font-face {
            font-family: "Cambria Math";
            panose-1: 2 4 5 3 5 4 6 3 2 4;
        }

        @font-face {
            font-family: Calibri;
            panose-1: 2 15 5 2 2 2 4 3 2 4;
        }

        @font-face {
            font-family: "\@新細明體";
            panose-1: 2 2 5 0 0 0 0 0 0 0;
        }

        @font-face {
            font-family: "MS PGothic";
            panose-1: 2 11 6 0 7 2 5 8 2 4;
        }

        @font-face {
            font-family: "\@MS PGothic";
            panose-1: 2 11 6 0 7 2 5 8 2 4;
        }

        /* Style Definitions */
        p.MsoNormal, li.MsoNormal, div.MsoNormal {
            margin: 0cm;
            margin-bottom: .0001pt;
            font-size: 12.0pt;
            font-family: "MS PGothic", sans-serif;
            mso-fareast-language: JA;
        }

        a:link, span.MsoHyperlink {
            mso-style-priority: 99;
            color: blue;
            text-decoration: underline;
        }

        a:visited, span.MsoHyperlinkFollowed {
            mso-style-priority: 99;
            color: purple;
            text-decoration: none none;
        }

        span.hide-for-small {
            mso-style-name: hide-for-small;
        }

        span.EmailStyle18 {
            mso-style-type: personal-reply;
            font-family: "Calibri", sans-serif;
            color: #1F497D;
        }

        .MsoChpDefault {
            mso-style-type: export-only;
            font-size: 10.0pt;
        }

        @page WordSection1 {
            size: 612.0pt 792.0pt;
            margin: 72.0pt 90.0pt 72.0pt 90.0pt;
        }

        div.WordSection1 {
            page: WordSection1;
        }

        .desc img {
            width: 100%;
        }

        .container1 p {
            margin-bottom: 0;
        }

        .nowrap{
            white-space: nowrap;
            vertical-align: top;
        }

        body{
            font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
        }
        --></style>
    <!--[if gte mso 9]>
    <xml>
        <o:shapedefaults v:ext="edit" spidmax="1028"/>
    </xml><![endif]--><!--[if gte mso 9]>
    <xml>
        <o:shapelayout v:ext="edit">
            <o:idmap v:ext="edit" data="1"/>
        </o:shapelayout>
    </xml><![endif]--></head>
<body lang="ZH-TW" style="background:#e4e6ea;">
<div class="WordSection1">
    <div>
        <div align="center">
            <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" style="width:600px;min-width:200px">
                <tr>
                    <td style="background:white;padding:0cm 0cm 0cm 0cm;border-collapse:collapse!important">
                        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="600" style="    width: 600px; margin: 0 auto;height:75.0pt;border-collapse:collapse;border-collapse:collapse!important">
                            <tr>
                                <td style="background:#1a3363;padding:7.5pt 15.0pt 0.5pt 15.0pt;border-spacing:0; text-align:center;">
                                    <a href="#" target="_blank" title="SINOMAX"><img border="0" id="_x0000_i1027" src="<?= $site_info["url"?>images/email1.png" alt="SINOMAX"></a>
                                </td>
                            </tr>
                        </table>

                        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="600" style="width:450.0pt;border-collapse:collapse;border-collapse:collapse!important;">
                            <tr>
                                <td style="background:white;border-spacing:0">
                                    <div style="background:#1a3363;">
                                        <img border="0" id="_x0000_i1027" src="<?= $site_info["url"?>images/email2.png" alt="SINOMAX">
                                    </div>

                                    <div style="margin: 0 auto;border-left: 10px solid #1a3363;border-right: 10px solid #1a3363; text-align: center;" class="container1">
                                        <div style="width: 580px;max-width: 580px;margin: 0 auto; text-align: left;">
                                            <!-- order -->
                                            <div style="padding: 0 5px;">
                                                <table border="0" cellpadding="5" cellspacing="0" style="width: 100%;font-size: 15px;">
                                                    <tr>
                                                        <td colspan="2" class="content" style="text-align: right">
                                                            訂單狀態 : 處理中
                                                        </td>
                                                    </tr>

                                                    <tr>

                                                        <td style="width: 50%;  vertical-align: top;">
                                                            <table border="0" cellpadding="5" cellspacing="0" style="width: 100%;font-size: 15px;">
                                                                <tr>
                                                                    <td class="nowrap">訂單編號 :</td>
                                                                    <td>1002Z000000xx</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">收件人名字 :</td>
                                                                    <td>XXX XXX XXX</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">收件人姓氏 :</td>
                                                                    <td>XXX</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">收件人電話 :</td>
                                                                    <td>XXXXXXXX</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">備註 :</td>
                                                                    <td></td>
                                                                </tr>
                                                            </table>

                                                        </td>

                                                        <td style="width: 50%;  vertical-align: top;">
                                                            <table border="0" cellpadding="5" cellspacing="0" style="width: 100%;font-size: 15px;">
                                                                <tr>
                                                                    <td class="nowrap">會員姓名 :</td>
                                                                    <td>XXX XXX XXX</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">取貨方式 :</td>
                                                                    <td>送貨</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">收件人地址 :</td>
                                                                    <td>XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX
                                                                        XXX
                                                                    </td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">地區 :</td>
                                                                    <td>XXX XXX XXX</td>
                                                                </tr>

                                                                <tr>
                                                                    <td class="nowrap">購買日期 :</td>
                                                                    <td>2016-09-19 23:55:38</td>
                                                                </tr>
                                                            </table>
                                                        </td>
                                                    </tr>

                                                </table>

                                            </div>

                                            <br>

                                            <div style="padding: 0 5px;">
                                                <!-- for normal product -->

                                                <table border="1" cellpadding="5" cellspacing="0" style="width: 100%;    font-size: 13px;border: 1px solid #ccc; border-collapse: collapse;">

                                                    <tr>
                                                        <th colspan="5" style="text-align:
left">訂單詳情
                                                        </th>
                                                    </tr>

                                                    <tr>
                                                        <th class="content" width="40%" style="text-align: left;">產品名稱
                                                        </th>
                                                        <th class="content" width="15%">產品編號</th>
                                                        <th class="content" width="17%">單價</th>
                                                        <th class="content" width="10%">數量</th>
                                                        <th class="content" width="18%">總計</th>
                                                    </tr>

                                                    <tr style="text-align:
center;">
                                                        <td class="content" style="text-align:
left">
                                                            OCTASPRING 彈簧護頸枕 ()
                                                        </td>

                                                        <td class="content">
                                                            11-0497-00
                                                        </td>

                                                        <td class="content">
                                                            $1,299
                                                        </td>

                                                        <td class="content">
                                                            2
                                                        </td>

                                                        <td class="content">
                                                            $2,598
                                                        </td>
                                                    </tr>
                                                </table>

                                                <br>

                                                <table border="1" cellpadding="5" cellspacing="0" style="width: 100%;font-size: 13px;border: 1px solid #ccc; border-collapse: collapse;">

                                                    <tr style="text-align: center;">
                                                        <td width="82%" class="content" align="right">
                                                            產品總計 :
                                                        </td>

                                                        <td width="18%" class="content">
                                                            $2,598
                                                        </td>
                                                    </tr>

                                                    <tr style="text-align:
center;">
                                                        <td class="content" align="right">
                                                            折扣 :
                                                        </td>

                                                        <td class="content">
                                                            -$800
                                                        </td>
                                                    </tr>

                                                </table>

                                                <br>

                                                <table border="1" cellpadding="5" cellspacing="0" style="width: 100%;font-size: 13px;border: 1px solid #ccc; border-collapse: collapse;">
                                                    <tr style="text-align: center;">
                                                        <td class="content" align="right" width="82%">
                                                            <p style="font-weight: bold; color:
red;">帳單總計 :</p>
                                                        </td>

                                                        <td class="content" width="18%">
                                                            <p style="font-weight: bold; color:
red;">
                                                                $1,798</p>
                                                        </td>
                                                    </tr>

                                                </table>

                                                <br>

                                            </div>

                                            <!-- end order -->
                                        </div>

                                    </div>

                                </td>

                            </tr>

                        </table>

                        <div style="background:#1a3363;">
                            <img border="0" id="_x0000_i1027" src="<?= $site_info["url"?>images/email3.png" alt="SINOMAX">
                        </div>

                        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="600" style="width:450.0pt;border-collapse:collapse;word-break:break-word;border-left: 10px solid #1a3363;border-right: 10px solid #1a3363;background:#1a3363;">
                            <tbody>
                            <tr>
                                <td align="center" valign="middle" style="padding:6.5pt 2.5pt 2.5pt 2.5pt;border-spacing:0em;font-size:22px;color: #fff;">

                                    DOWNLOAD OUR MOBILE APP
                                </td>
                            </tr>
                            <tr>
                                <td align="center" valign="middle" style="padding:7.5pt 17.5pt 0pt 17.5pt;border-spacing:0em;">
                                    <a href="https://itunes.apple.com/hk/app/sinomax/id972941924"><img src="<?= $site_info["url"?>images/app_store.png" border="0" alt="App Store" style="height: 35px;"></a><a href="https://play.google.com/store/apps/details?id=com.sinomax.app" style="margin-left: 50px;"><img src="<?= $site_info["url"?>images/google_play.png" border="0" alt="Google play" style="height: 35px;"></a>

                                </td>
                            </tr>
                            </tbody>
                        </table>

                        <table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="600" style="width:450.0pt;border-collapse:collapse;word-break:break-word">
                            <tbody>
                            <tr>
                                <td valign="top" style="padding:12.5pt 17.5pt 7.5pt 17.5pt;border-spacing:0em;font-size:8.5pt;text-align: center;color:#FFFFFF;background: #1a3363;">
                                    <div class="copyright fl">
                                        <a href="https://www.facebook.com/SinomaxLife/"><img src="<?= $site_info["url"?>images/fb.png" border="0" width="35" alt="Facebook"></a><img src="<?= $site_info["url"?>images/survey_icon_line.png" border="0" height="25"><a href="https://www.youtube.com/channel/UCPIbTu7Zs1w6jMGBOe4YrCg"><img src="<?= $site_info["url"?>images/survey_icon_youtube.png" alt="YouTube" width="42" border="0"></a><img src="<?= $site_info["url"?>images/survey_icon_line.png" border="0" height="25"><a href="http://eshop.sinomax.com"><img src="<?= $site_info["url"?>images/survey_icon_cart.png" border="0" width="42" alt="eSHOP"></a><br><br>Copyright
                                        2016 © Sinomax Health and Household Products Limited. All Rights
                                        Reserved.<br><br>
                                        如欲取消訂閱推廣電郵,請以該電郵地址發電郵至<a href="mailto:cs@sinomax.com" style="color:#FFFFFF;">cs@sinomax.com</a>,並清楚列明「取消訂閱推廣電郵」。

                                        You can choose to opt out of receiving email from SINOMAX at any time. Please
                                        send an email to <a href="mailto:cs@sinomax.com" style="color:#FFFFFF;">cs@sinomax.com</a>
                                        from the email address you wish to unsubscribe by stating "Unsubscribe me from
                                        email marketing" in email.

                                    </div>
                                </td>
                            </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>
</body>
</html>