<?php 
  use App\Models\Emailtemplates; 
  use App\Models\Upload;  
  use App\Models\Option; 
?>
<?php
    $header = Emailtemplates::where("type","onlineUser")->first();
?>
@if(Option::getvalue('stickyHeaderLogo') != "")
    <?php $darkLogo = Upload::getimageurl(Option::getvalue('stickyHeaderLogo')); ?>
@else
    <?php $darkLogo = 'frontend/img/logo-dark.png'; ?>
@endif
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center" style="max-width:600px;padding:5px;font-family:Calibri,sans-serif;"> 
    <tbody>
    <tr> 
     <td align="left" style="padding-bottom:10px"><a style="outline:none;border:0px" href="#" title="" target="_blank"><img border="0" align="absbottom" alt="" style="display:block" src="{!! $darkLogo !!}" width="200px" height="35px"></a> </td> 
    </tr> 
    @if($header && $header->image != "")
        <tr> 
         <td> <a style="outline:none;border:0px" href="#" title="" target="_blank"><img border="0" align="absbottom" alt="" style="display:block" src="{!! $header->image !!}" class="CToWUd"></a> </td> 
        </tr> 
    @endif
    <tr> 
     <td style="border-left:1px solid #ddd;border-right:1px solid #ddd;font-weight:bold;color:#333;text-align:center;padding-top:20px;padding-bottom:20px;font-size:18px;padding-left:15px;padding-right:15px">Hello {{$insert->email}}</td> 
    </tr> 
    <tr> 
    <td style="border-left:1px solid #ddd;border-right:1px solid #ddd;color:#333;text-align:left;line-height:18px;padding-bottom:20px;font-size:14px;padding-left:15px;padding-right:15px"> Thank you for registering with Bodyfuelz.com<br><br>
     We're delighted to have you as a registered customer. By being a registered customer, you'll enjoy such advantages as faster checkout, detailed order status information, an address book and wishlist.</td> 
    </tr> 
    <tr> 
     <td align="center" style="border-left:1px solid #ddd;border-right:1px solid #ddd;padding-bottom:30px;padding-top:15px;padding-left:15px;"> <a href="{{URL::asset('')}}" style="font-size:18px;padding:5px 10px;background:#D71921;text-decoration:none;color:#fff;" target="_blank">Login to your Account</a></td> 
    </tr>
    <td style="border-left:1px solid #ddd;border-right:1px solid #ddd;color:#333;text-align:left;line-height:18px;padding-bottom:20px;font-size:14px;padding-left:15px;padding-right:15px"> Best Wishes,<br><b>{!! Emailtemplates::getemailtemplates("regards") !!}</b></td> 
    </tr>
    <tr> 
     <td bgcolor="#E2E2E2" style="font-size:13px;text-align:center;color:#000;padding-left:20px;padding-top:10px;padding-bottom:10px">{!! Emailtemplates::getemailtemplates("footerText") !!}<a href="http://www.bodyfuelz.com/" target="_blank">www.bodyfuelz.com</a> </td> 
    </tr> 
  </tbody>
</table>