<?php $baseUrl = Yii::app()->getBaseUrl(true); ?>
<!DOCTYPE html>
<html>
    <head>
        <title>PLEASE FILL YOUR DETAILS</title>
    </head>
    <body style="margin: 0; padding: 0; background-color: #FAFAFA;">
        <table width="700" border="0" align="center"  style="font-family:tahoma;border:1px solid #ccc; font-size:12px; color:#333; padding:0 25px;background:#f5f5f5;" >
            <tr >
                <td><table width="700" border="0" cellspacing="5" cellpadding="5" >
                        <tr>
                            <td width="58" align="right" valign="middle">
                                <?php echo CHtml::image($baseUrl . '/images/mail/lead.png'); ?>
                            </td>
                            <td width="306"><h1 style=" font-family:tahoma;font-size:18px; padding:5px 0; margin:0px; color:#dc032e; text-align:center; text-transform:uppercase">PLEASE FILL YOUR DETAILS FILL YOUR DETAILS </h1>
                                <h2 style=" font-family:tahoma;font-size:13px; padding:0 0 5px; margin:0px; color:#000; text-align:left"> <?php // echo "test";   ?> </h2>
                            </td>
                            <td width="286" align="right" valign="middle"></td>
                        </tr>
                    </table></td>
            </tr>
            <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="5" style="font-family:tahoma;font-size:12px; padding: 10px;">
                        <tr>
                            <td width="90%">Dear <?php echo $modelcompany->company_name; ?>,</td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
                        <tr>
                            <td>This Is an Auto Generated Email from Norden communication Middle East Fze<br/> 
                                We are requesting you to follow the link mentioned in the mail to fill up your details into our system<br/><br/>
                                Please click below link to fill your details
                            </td>
                        </tr> 
                        
                        <tr>
                            <td><span style="font-size:13px; font-weight: bold"><?php echo CHtml::link("Click Here", $linkToCustomer); ?> </span>or Copy Paste "<span style="font-size:13px; font-weight: bold"> <?php echo $linkToCustomer; ?></span> " without quotes, to your browser</td>
                        </tr>
                        <tr>
                            <td>
                             Below shows the details we have.   
                            </td>
                        </tr>
                        <tr>
                            <td><?php echo $companyDetails['body']; ?></td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
                        <tr>
                            <td></td>
                        </tr>
                        <tr>
                            <td style="font-family:tahoma;text-align:center; background:#ddd; padding:5px 0">
                                <?php echo CHtml::link("Mail sent from Norden communication Middle East Fze at" . date('y/m/d h:m a'), "http://www.nordencommunication.com/", array('target' => '_blank')); ?>
                            </td>
                        </tr>
                    </table></td>
            </tr>
        </table>
    </body>
</html>