message_9.phtml
3.25 KB
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
<?php
//p(\config::get( 'global#domains/www' ));
$lang_id = $this->seoUrl->getLangId();
$message_body_for_customer =
'<table width="100%" border="0" cellspacing="0" cellpadding="0" style="background: #ffffff; font-family:Arial; font-size:14px; color: #4a4a4a;">'.
'<tr>'.
'<td align="center" valign="top">'.
// HEADER STARTS
'<table width="600" cellspacing="0" cellpadding="0" border="0">'.
'<tr>'.
'<td height="76" width="143" valign="top" style="background: #ffffff;"></td>'.
'<td height="76" valign="top" style="background: #ffffff;">'.
'<a href="http://'.\config::get( 'global#domains/www' ).'" target="_blank"><img src="http://semena.in.ua/images/logo.png" width="314" height="76"></a>'.
'</td>'.
'<td height="76" width="143" valign="top" style="background: #ffffff;"></td>'.
'</tr>'.
'</table>'.
// HEADER END
// CONTENT STARTS
'<table width="600" cellpadding="10" cellspacing="0" border="0" style="border-collapse: collapse; font-size:14px; margin:15px 0 0 0;">'.
'<tr>'.
'<td width="80%" >'.
'<p>Здравствуйте, админ</p>'.
'<p>'.
'Клиент запросил сверку на сайте'."\n".
'</p>'.
'<p>'.
'Номер заявки: '.$data['callback_id']."\n".
'</p>'.
'<p>'.
'по датам: '.$data['date']."\n".
'</p>'.
'<p>'.
'от: '.$data['name']."\n".
'</p>'.
'<p>'.
'тел: '.( !empty( $data['phone'] ) ? $data['phone'] : 'Не указан' )."\n".
'</p>'.
'<p>'.
'email: '.( !empty( $data['email'] ) ? $data['email'] : 'Не указан' )."\n".
'</p>'.
'<p>комментарии: '.$data['comments'].'</p>'.
'</td>'.
'</tr>'.
'</table>'.
'<br />'.
// CONTENT END
// FOOTER STARTS
'<table width="600" height="29" cellspacing="0" cellpadding="0" border="0">'.
'<tr>'.
'<td width="600"height="60" style="background: #4fa32c;">'.
'<p style="margin:10px 10px 0 10px; color:#ffffff; font-size:11px;">ТМ "ПРОФЕСІЙНЕ НАСІННЯ" та ТМ "ПРОФЕСІФНІ ДОБРИВА" - зареєстровані торгівельні марки. Усі права захищено.</p>'.
'</td>'.
'</tr>'.
'</table>'.
// FOOTER END
'</td>'.
'</tr>'.
'</table>';
echo($message_body_for_customer);