<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title>JamKazam</title>

  <style>
      p {
          margin-bottom:0px;
          line-height:140%;
      }
      a {
        color: #ffcc00 !important;
      }
  </style>

</head>

<body bgcolor="#000000" style="margin-top:10px;font-family:Arial, Helvetica, sans-serif;">
<table bgcolor="#262626" width="650" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="http://www.jamkazam.com/assets/email/header.png" width="650" height="183" alt="JamKazam"></td>
  </tr>
</table>
<table bgcolor="#262626" width="650" align="center" cellpadding="30" cellspacing="0">

  <tr>
    <td align="left"><h1 style="font-size:22px;font-weight:normal;margin-top:0px"><font color="#F34E1C" face="Arial, Helvetica, sans-serif"><%= yield(:title) %></font></h1>
      <p><font size="3" color=<%= @batch_body ? "#FFFFFF" : "#AAAAAA" %> face="Arial, Helvetica, sans-serif"><%= @batch_body ? @batch_body.html_safe : yield %></font></p>
      <br>
    </td>
  </tr>

  <% unless @suppress_user_has_account_footer == true %>
  <tr>
    <td>
      <table bgcolor="#21474C" cellpadding="10" cellspacing="0">
        <tr>
          <td align="left">

            <!-- CALL OUT BOX -->
            <p style="margin-top:0px"><font size="2" color="#7FACBA" face="Arial, Helvetica, sans-serif">This email was sent to you because you have an account at <a style="color: #ffcc00;" href="http://www.jamkazam.com">JamKazam</a>.&nbsp;&nbsp;Click <a style="color: #ffcc00;" href="http://www.jamkazam.com/unsubscribe/#{@user.unsubscribe_token}">here to unsubscribe</a> and update your profile settings.
            </font></p>
          </td></tr></table>

    </td>
  </tr>

  <% end %>
</table>
<table align="center" width="650" cellpadding="10" bgcolor="#156572" cellspacing="0">
  <tr>
    <td align="center" valign="top">
    <% [:twitter, :facebook, :google].each do |site| %>
       <%= link_to(image_tag("http://www.jamkazam.com/assets/content/icon_#{site}.png", :style => "vertical-align:top"), "http://www.jamkazam.com/endorse/@USERID/#{site}?src=email") %>&nbsp;
    <% end %>
    </td>
  </tr>
  <tr>
      <td align="center"><font size="1" color="#ffffff" face="Arial, Helvetica, sans-serif">Copyright &copy; <%= Time.now.year %> JamKazam, Inc. All rights reserved.</font>
    </td>
  </tr>
</table>

</body>
</html>
