<?
    global $vis_language;
    $surveyTitle = $data[0];
    $clientDet = $data[1];
    $custom_field_var = $data[2];
?>
<div>
    <table cellpadding="0" cellspacing="0" width="100%">
        <tr><td width="83%"><h2 style="color:#b60e0d;font-weight:bold;"><?php echo $surveyTitle; ?></h2></td>
        </tr>
        <tr><td colspan="2"><div style="color:#666;"><? echo $clientDet[0]['first_name'].' '.$clientDet[0]['last_name']; ?></div></td></tr>
        <tr><td colspan="2"><div style="color:#666;"><? echo $clientDet[0]['email']; ?></div></td></tr>
    </table><br/>
    
<!--
    <table cellpadding="5" cellspacing="3" width="100%" cellspacing="0" style="border:1px solid #ddd;;color:#788288;">
        <tr><td style="background-color:#d9edf7;" colspan="2"><strong><? echo $vis_language['TXTSURVEYDETAILS']; ?></strong></td></tr>
-->
        <?php if($custom_field_var!='') echo $custom_field_var ; ?>
<!--
    </table>
-->
    </div>
</div>