<?php

/* @var $this yii\web\View */
/* @var $user common\models\User */

use yii\helpers\Html;
use common\models\Settings;

?>

<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
    <tr>
        <td valign="top" align="center" background="">

            <!--begin spacer -->
            <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                <tr>
                    <td align="left" valign="top" style="font-size:30px; line-height:30px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="30" border="0" /></td>
                </tr>
            </table>
            <!--end spacer -->
            <!--Begin Header2 -->
            <table width="600" border="0" cellspacing="0" cellpadding="0" style="-moz-border-radius:0px; -webkit-border-radius:0px; border:solid 1px #cccccc; border-radius:1px;" class="width270" >
                <tr>
                    <td align="left" valign="top">
                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:8px; line-height:8px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="8" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" class="aligncenter">
                                    <a href=""><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/logo.jpg" width="51" height="58" alt="Taskon" border="0"/></a>
                                </td>
                                <td align="right" valign="middle" bgcolor="#ffffff" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#808080; font-size:20px; mso-line-height-rule:exactly; line-height:28px;">Добро пожаловать</td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>
                        <!--End Header2 -->


                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" style="font-size:16px; line-height:16px;" class="hide">
                            <tbody><tr>
                                <td align="left" width="20" valign="top" style="font-size:16px; line-height:16px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="8" border="0"></td>
                                <td align="left" valign="top" style="font-size:16px; line-height:16px; border-bottom:#e3e3e3 solid 1px;" class="hideborder"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="8" border="0"></td>
                                <td width="20" align="left" valign="top" style="font-size:16px; line-height:16px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="8" border="0"></td>
                            </tr>
                            </tbody></table>


                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:15px; line-height:15px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="15" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#ffffff" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#424242; font-size:16px; mso-line-height-rule:exactly; line-height:30px; font-weight: bold;">Добрый день!</td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>

                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#ffffff" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;">
                                    Уведомляем Вас о том, что Вы были зарегистрированы на сайте <?=Settings::getValue('setting-project-name')?>.<br> Для входа используйте следующие пароли доступа:
                                </td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#f0f7fc" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#1397c1; font-size:14px; mso-line-height-rule:exactly; line-height:18px; padding: 10px 20px;">
                                    <span class="btn_resp" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; font-size:14px; line-height:18px; text-decoration: none; color:#1397c1;"><strong>Логин:</strong> <?=$user->email;?></span>
                                </td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#f0f7fc" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#1397c1; font-size:14px; mso-line-height-rule:exactly; line-height:18px; padding: 10px 20px;">
                                    <span class="btn_resp" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; font-size:14px; line-height:18px; text-decoration: none; color:#1397c1;"><strong>Пароль:</strong> <?=$user->password;?></span>
                                </td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:15px; line-height:15px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="15" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->


                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#f7f7f7" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->
                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#f7f7f7" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#f7f7f7" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#f7f7f7" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;">
                                    В целях безопасности просим Вас не передавать пароль третьим лицам.
                                </td>

                                <td align="left" valign="top" bgcolor="#f7f7f7" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>


                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#f7f7f7" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:20px; line-height:20px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="20" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:15px; line-height:15px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="15" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->


                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="left" valign="middle" bgcolor="#ffffff" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#666666; font-size:14px; mso-line-height-rule:exactly; line-height:18px;">
                                    С уважением, команда <?=Settings::getValue('setting-project-name')?>.
                                </td>

                                <td align="left" valign="top" bgcolor="#FFFFFF" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:15px; line-height:15px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="15" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->



                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#0e3242" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#0e3242" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:10px; line-height:10px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="10" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->

                        <table width="600" border="0" cellspacing="0" cellpadding="0" class="width270">
                            <tr>
                                <td align="left" valign="top" bgcolor="#0e3242" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>

                                <td align="center" valign="middle" bgcolor="#0e3242" style="font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; color:#ffffff; font-size:14px; mso-line-height-rule:exactly; line-height:24px;">

                                    Если у Вас есть вопросы обратитесь к администратору сервиса<br> на адрес <?=Html::a(Settings::getValue('content-support-email'), 'mailto:'.Settings::getValue('content-support-email'), ['style'=>"font-family: 'Trebuchet MS',  Arial, Helvetica, sans-serif; font-size:14px; line-height:24px; color:#1397c1; margin-right: 20px;"])?>

                                </td>

                                <td align="left" valign="top" bgcolor="#0e3242" width="20"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="20" height="1" border="0" style="display:block;"></td>
                            </tr>
                        </table>
                        <!--begin spacer -->
                        <table width="600" border="0" cellspacing="0" cellpadding="0" bgcolor="#0e3242" class="width270">
                            <tr>
                                <td align="left" valign="top" style="font-size:20px; line-height:20px"><img src="<?=Yii::$app->params['frontUrl'];?>/images/letter/spacer.gif" width="1" height="20" border="0" /></td>
                            </tr>
                        </table>
                        <!--end spacer -->






                    </td>
                </tr>


                </tbody></table>

            <!--END A-2 -->

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