public function denounceEmailBodyTable($accuser, $denouncedText) { $hello = 'Hola Admin'; $html = '<table style="background:#fff; margin: 0; padding: 0;" width="100%" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody> <tr> <td align="center"> <table width="600" border="0" cellpadding="0" cellspacing="0" align="center"> <tbody> <tr> <td align="center" style="padding-top: 25px;"> <img src="' . JURI::base() . 'images/mailing/logo.png"> </td> </tr> <tr> <td style="padding-top: 25px;"> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td style="padding: 0; width: 239px; height: 47px; background-repeat: no-repeat;" background="' . JURI::base() . 'images/mailing/recorte1.png"></td> <td style="max-width: 126px !important; width: 126px !important; height: 21px; background-repeat: repeat-x; padding: 11px 0 15px 0; width: 126px; font-family: georgia; font-size: 13px; line-height: 21px; color: #ffffff; text-align: center;" background="' . JURI::base() . 'images/mailing/recorte3.png" title="' . $hello . '">' . ideary::truncateText($hello, 11) . ',</td> <td style="padding: 0; width: 235px; height: 47px; background-repeat: no-repeat;" background="' . JURI::base() . 'images/mailing/recorte2.png"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td style="min-width: 20px; width: 20px; background-repeat: repeat-y;" background="' . JURI::base() . 'images/mailing/recorte4.png"></td> <td> <p style="min-width: 500px; max-width: 500px; width: 500px; word-break: break-all; padding: 21px 30px; font-family: georgia; font-size: 14px; line-height: 28px; text-align: left; color: #898989;"><a href="' . JRoute::_(JURI::base() . 'index.php?option=com_contact&view=public&id=' . $accuser->id) . '" target="_blank" style="font-weight: bold;text-decoration: none;color: #898989;">' . $accuser->name . '</a> ha denunciado el texto <a href="' . JRoute::_(JURI::base() . 'index.php?option=com_content&view=article&id=' . $denouncedText->text_id) . '" target="_blank" style="font-weight: bold;text-decoration: none;color: #898989;">"' . $denouncedText->title . '"</a> escrito por <a href="' . JRoute::_(JURI::base() . 'index.php?option=com_contact&view=public&id=' . $denouncedText->user_id) . '" target="_blank" style="font-weight: bold;text-decoration: none;color: #898989;">' . $denouncedText->name . '</a></p> </td> <td style="min-width: 20px; width: 20px; background-repeat: repeat-y;" background="' . JURI::base() . 'images/mailing/recorte5.png"></td> </tr> </table> </td> </tr> <tr> <td> <table border="0" cellpadding="0" cellspacing="0"> <tr> <td style="min-width: 20px; width: 20px; background-repeat: repeat-y;" background="' . JURI::base() . 'images/mailing/recorte4.png"></td> <td style="width: 185px;"></td> <td> <a href="' . JRoute::_(JURI::base() . 'index.php?option=com_content&view=article&id=' . $denouncedText->text_id) . '" style="text-decoration: none; cursor: pointer;" target="_blank"> <span style="display: block; behavior: url(border-radius.htc); border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; width: 190px; background: #bc5b5e; text-align: center; font-family: georgia; font-size: 16px; line-height: 16px; color: #ffffff; padding: 15px 0 14px 0;"> Ver texto </span> </a> </td> <td style="width: 185px;"></td> <td style="min-width: 20px; width: 20px; background-repeat: repeat-y;" background="' . JURI::base() . 'images/mailing/recorte5.png"></td> </tr> </table> </td> </tr> <tr style="height: 50px;"> <td style="background-repeat: no-repeat; min-height: 50px; height: 50px !important; width: 600px; padding-top: 50px;" background="' . JURI::base() . 'images/mailing/recorte8.png"></td> </tr> <tr> <td align="center"> <p style="word-break: break-word; margin: 0; font-family: georgia; font-size: 11px; line-height: 14px; color: #bfbebe;">Si deseas no seguir recibiendo estos mensajes, podés <a href="#" style="text-decoration: none;"><span style="color: #7a877b;">desuscribirte.</span></a></p> <p style="word-break: break-word; margin: 0; font-family: georgia; font-size: 11px; line-height: 14px; color: #bfbebe;">Para más información, podés leer nuestros <a href="#" style="text-decoration: none;"><span style="color: #7a877b;">Términos y condiciones.</span></a></p> <img src="' . JURI::base() . 'images/mailing/b.png" style="margin-top: 13px;"> <p style="word-break: break-word; margin: 3px 0 0 0; font-family: georgia; font-size: 11px; line-height: 14px; color: #bfbebe;">© 2013 | <a style="text-decoration: none; color: #7a877b;" href="http://www.ideary.com.ar" target="_blank">www.ideary.com.ar</a></p> </td> </tr> </tbody> </table> </td> </tr> </tbody> </table>'; return $html; }