Commit 3665412ebb13e04f2517c63ad39bed71394cdfc7
1 parent
6fa28c15
fix
Showing
2 changed files
with
9 additions
and
16 deletions
Show diff stats
src/app/tasks/templates/basket/abandoned.php
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | <table border="0" cellpadding="0" cellspacing="0" width="660"> | 27 | <table border="0" cellpadding="0" cellspacing="0" width="660"> |
28 | <tr><td height="23" valign="top"></td></tr> | 28 | <tr><td height="23" valign="top"></td></tr> |
29 | <tr> | 29 | <tr> |
30 | - <td width="203px" height="70" align="left" background="images/logo.png" style="background-position:left 10px;background-repeat:no-repeat;" valign="top"><a href="http://semena.in.ua?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank" style="border:none;"><img src="images/link.png" border="none" height="50" width="174"></a></td> | 30 | + <td width="203px" height="70" align="left" background="images/logo.png" style="background-position:left 10px;background-repeat:no-repeat;" valign="top"><a href="http://semena.in.ua?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank" style="border:none;"><img src="http://semena.in.ua/images/link.png" border="none" height="50" width="174"></a></td> |
31 | <td width="308" align="center" height="70" background="images/tel_all.png" style="background-position-y: 7px;background-repeat:no-repeat;"></td> | 31 | <td width="308" align="center" height="70" background="images/tel_all.png" style="background-position-y: 7px;background-repeat:no-repeat;"></td> |
32 | <td align="right" valign="top"> | 32 | <td align="right" valign="top"> |
33 | <table border="0" cellpadding="0" cellspacing="0"> | 33 | <table border="0" cellpadding="0" cellspacing="0"> |
@@ -65,29 +65,29 @@ | @@ -65,29 +65,29 @@ | ||
65 | <table cellspacing="0" cellpadding="0" border="0" width="660"> | 65 | <table cellspacing="0" cellpadding="0" border="0" width="660"> |
66 | <tr> | 66 | <tr> |
67 | <td width="65" height="65" background="http://semena.in.ua/images/f-1.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 67 | <td width="65" height="65" background="http://semena.in.ua/images/f-1.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
68 | - <a href="http://semena.in.ua/semena_ovoshchey_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a> | 68 | + <a href="http://semena.in.ua/semena_ovoshchey_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a> |
69 | </td> | 69 | </td> |
70 | <td width="20" valign="top"></td> | 70 | <td width="20" valign="top"></td> |
71 | <td width="65" height="65" background="http://semena.in.ua/images/f-2.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 71 | <td width="65" height="65" background="http://semena.in.ua/images/f-2.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
72 | - <a href="http://semena.in.ua/semena_tsvetov_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 72 | + <a href="http://semena.in.ua/semena_tsvetov_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
73 | <td width="20" valign="top"></td> | 73 | <td width="20" valign="top"></td> |
74 | <td width="65" height="65" background="http://semena.in.ua/images/f-3.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 74 | <td width="65" height="65" background="http://semena.in.ua/images/f-3.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
75 | - <a href="http://semena.in.ua/udobrenija_i_sredstva_zashchity_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 75 | + <a href="http://semena.in.ua/udobrenija_i_sredstva_zashchity_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
76 | <td width="20" valign="top"></td> | 76 | <td width="20" valign="top"></td> |
77 | <td width="65" height="65" background="http://semena.in.ua/images/f-4.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 77 | <td width="65" height="65" background="http://semena.in.ua/images/f-4.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
78 | - <a href="http://semena.in.ua/gazonnye_travy_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 78 | + <a href="http://semena.in.ua/gazonnye_travy_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
79 | <td width="20" valign="top"></td> | 79 | <td width="20" valign="top"></td> |
80 | <td width="65" height="65" background="http://semena.in.ua/images/f-5.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 80 | <td width="65" height="65" background="http://semena.in.ua/images/f-5.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
81 | - <a href="http://semena.in.ua/sadjenci_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 81 | + <a href="http://semena.in.ua/sadjenci_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
82 | <td width="20" valign="top"></td> | 82 | <td width="20" valign="top"></td> |
83 | <td width="65" height="65" background="http://semena.in.ua/images/f-6.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 83 | <td width="65" height="65" background="http://semena.in.ua/images/f-6.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
84 | - <a href="http://semena.in.ua/tovary_dlja_sada_i_ogoroda_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 84 | + <a href="http://semena.in.ua/tovary_dlja_sada_i_ogoroda_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
85 | <td width="20" valign="top"></td> | 85 | <td width="20" valign="top"></td> |
86 | <td width="65" height="65" background="http://semena.in.ua/images/f-7.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 86 | <td width="65" height="65" background="http://semena.in.ua/images/f-7.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
87 | - <a href="http://semena.in.ua/zootovari_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 87 | + <a href="http://semena.in.ua/zootovari_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
88 | <td width="20" valign="top"></td> | 88 | <td width="20" valign="top"></td> |
89 | <td width="65" height="65" background="http://semena.in.ua/images/f-8.jpg" style="background-position:center center;background-repeat:no-repeat;"> | 89 | <td width="65" height="65" background="http://semena.in.ua/images/f-8.jpg" style="background-position:center center;background-repeat:no-repeat;"> |
90 | - <a href="http://semena.in.ua/biopreparati_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="images/link.png" border="none"></a></td> | 90 | + <a href="http://semena.in.ua/biopreparati_1c_20/ru?utm_source=newsletter&utm_campaign=lost%20basket&utm_medium=email" target="_blank"><img width="65" height="65" valign="top" align="left" src="http://semena.in.ua/images/link.png" border="none"></a></td> |
91 | </tr> | 91 | </tr> |
92 | <tr><td height="10px"></td></tr> | 92 | <tr><td height="10px"></td></tr> |
93 | <tr> | 93 | <tr> |
src/lib/sendmail.php
@@ -299,13 +299,6 @@ namespace | @@ -299,13 +299,6 @@ namespace | ||
299 | 'Content-Transfer-Encoding: 8bit'."\n". | 299 | 'Content-Transfer-Encoding: 8bit'."\n". |
300 | 'X-Mailer: PHP/' . phpversion(); | 300 | 'X-Mailer: PHP/' . phpversion(); |
301 | 301 | ||
302 | - //msg body | ||
303 | -// $view = new \Phalcon\Mvc\View(); | ||
304 | -// $view->setViewsDir( ROOT_PATH.config::get( 'dirs/viewsDir' ) ); | ||
305 | -// $view->start(); | ||
306 | -// $view->render( 'basket', 'abandoned' ); | ||
307 | -// $view->finish(); | ||
308 | -// $body = $view->getContent(); | ||
309 | $body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'basket/abandoned.php'); | 302 | $body = file_get_contents(ROOT_PATH.config::get( 'dirs/viewsDir' ).'basket/abandoned.php'); |
310 | 303 | ||
311 | if( mail( $email, $data_base['subject'], $body, $header, '-f '.$email_from ) ) { | 304 | if( mail( $email, $data_base['subject'], $body, $header, '-f '.$email_from ) ) { |