<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">
        <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
        <title>TalhaTraining</title>
    </head>
    <body>  
        <table style="table-layout: fixed; width: 100%">
            <tr style="background-color: #80c12c;">
                <td>
                <span style="background-color: #80c12c ;height: 100px;width: 100%">
                    <img style="width: 80px;height: 90px; float: left" src="<?php echo base_url();?>email_asset/images/tt_logo.png" alt="TalhaTraining" title="TalhaTraining">
                    <h4 style="color: #a70b0c; float: left">TalhaTraining</h4>
                    </span>
                </td>
            </tr>
            
            <tr style="width:100%;height:100px;color:#a70b0c">
            <td>
                <table>
                    <tr>
                        <td>
                            <p>Dear Valuable User,</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>Greeting from TalhaTraining.</p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p><?php 
                                    if($video_course->person_id == 1){ ?>
                                        TalhaTraining invited you to join in educational network.
                                <?php }else{ ?>
                                       <?php echo $video_course->person_first_name. ' '.$video_course->person_last_name ;?> invited you to join in TalhaTraining educational network and view his/her exacting video course <?php echo $video_course->video_course_title; ?>.
                                <?php } ?>
                            </p>
                        </td>
                    </tr>
                    
                    <tr>
                        <td>
                            <p><a href="<?php echo base_url() .'sign-up'; ?>" target="_blank"><button type="button" style="background-color: #a70b0c;border: medium none;border-radius: 5px;color: #fff;">Join TT</button></a></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p><a href="<?php echo base_url() .'view-single-video-course/'. $video_course->url; ?>" target="_blank"><button type="button" style="background-color: #a70b0c;border: medium none;border-radius: 5px;color: #fff;">View Course</button></a></p>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>Thank You.</p>                                                           
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>Sincerely,</p>                                                           
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <p>TalhaTraining Team</p>                                                     
                        </td>
                    </tr>
                </table>
                </td>                
            </tr>
        </table>
    </body>
</html> 