115 lines
5.3 KiB
HTML
115 lines
5.3 KiB
HTML
<%loop results%>
|
|
<table width="99%" border="0" cellspacing="0" cellpadding="0" align="center">
|
|
<tr>
|
|
<td><img src="<%image_url%>/pics/1pixel.gif" width="1" height="3"></td>
|
|
</tr>
|
|
<tr bgcolor="#C5E1A3">
|
|
<td>
|
|
<table width="100%" border="0" cellspacing="1" cellpadding="1">
|
|
<tr class="bold_white">
|
|
<td bgcolor="#336600">
|
|
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
|
<tr>
|
|
<td class="bold_white" height="20"><img src="<%image_url%>/icons/<%ifnot mli_done%>draft.gif<%else%>sent.gif<%endif%>" align="texttop" vspace=1 hspace=1>Mailing Details</td>
|
|
<td align="right" class="body" valign="middle">
|
|
<%set separator = ' <img src="'%>
|
|
<%set separator .= $image_url%>
|
|
<%set separator .= '/pics/bul_white.gif" width="5" height="8" style="position: relative; top: -1px"> '%>
|
|
<%if mli_scheduled%><a href="glist.cgi?do=mli_schedule_modify;mli_id=<%mli_id%><%if lookup%>;lu=<%lookup%><%endif%><%if fd%>;fd=<%fd%><%endif%><%if id%>;id=<%id%><%endif%><%if url%>;<%url%><%endif%><%hidden_query%>"><font color="#FFFFFF">Edit Schedule</font></a><%endif%> <%separator%>
|
|
<a href="javascript:rs('Details','glist.cgi?do=mli_home&p=1&mli_id=<%mli_id%><%if users%>&users=1<%endif%>;d=1<%hidden_query%>',550,650,0,20,'Yes')" title="Preview Mailing"><font color="#FFFFFF">Preview</font></a>
|
|
<a href="glist.cgi?do=mli_home&<%if id%>id=<%id%><%endif%><%if fd%>&fd=<%fd%><%endif%><%if url%>&<%url%><%endif%><%hidden_query%>"><img src="<%image_url%>/icons/close.gif" width="17" height="16" border=0 alt="Close" align="texttop"></a>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" border="0" bgcolor="#FFFFFF" cellspacing="1" cellpadding="1" align=center>
|
|
<tr class=body>
|
|
<td class=body colspan=2><b>Mailing ID: <%mli_id%></b></td>
|
|
</tr>
|
|
<%if mli_done%>
|
|
<tr class=body>
|
|
<td class=body colspan=2>Mailing Completed: <%GList::HTML::date_get('mli_done','%dddd%, %mmmm% %dd%, %yyyy%, %hh%:%mm%:%ss%')%> <b>by <%mli_user_id_fk%></b></td>
|
|
</tr>
|
|
<%endif%>
|
|
<tr class=body>
|
|
<td class=body colspan=2> </td>
|
|
</tr>
|
|
<tr class=body>
|
|
<td class=body width=15%>To:</td>
|
|
<td>
|
|
<a href="javascript:rs('Details','glist.cgi?do=mli_recipients&eml_mailing_id_fk=<%mli_id%>',550,650,0,20,'Yes')"><%total%> recipient<%if total > 1%>s<%endif%></a>
|
|
</td>
|
|
</tr>
|
|
<tr class=body>
|
|
<td class=body>From:</td>
|
|
<td><%if mli_name%>"<%mli_name%>" < <%mli_from%> ><%else%><%mli_from%><%endif%></td>
|
|
</tr>
|
|
<tr class=body>
|
|
<td class=body>Reply To:</td>
|
|
<td class=body><%mli_reply_to%></td>
|
|
</tr>
|
|
<tr class=body>
|
|
<td class=body>Return-path:</td>
|
|
<td class=body><%mli_bounce_email%></td>
|
|
</tr>
|
|
<%if mli_charset%>
|
|
<tr class=body>
|
|
<td class=body>Charset:</td>
|
|
<td><%mli_charset%></td>
|
|
</tr>
|
|
<%endif%>
|
|
<tr class=body>
|
|
<td class=body>Subject:</td>
|
|
<td><%mli_subject%></td>
|
|
</tr>
|
|
<%GList::HTML::generate_attachments('mli_id')%>
|
|
<%if attachments%>
|
|
<tr class=body>
|
|
<td class=body valign=top>Attachments:</td>
|
|
<td>
|
|
<table border="0" cellspacing="2" cellpadding="2">
|
|
<%loop attachments%>
|
|
<tr class=body >
|
|
<td class=body><%mat_file_name%> (<%GList::Tools::friendly_size($mat_file_size)%>)</td>
|
|
<td class=body><i>
|
|
<a href="javascript:rs('Details','glist.cgi?do=mli_fview&fn=<%mat_id%>&fd=<%mli_id%>',550,650,0,20,'Yes')">view</a>
|
|
<a href="glist.cgi?do=mli_fdownload&fn=<%mat_id%>&fd=<%mli_id%>">download</a></i>
|
|
</td>
|
|
</tr>
|
|
<%endloop%>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
<%if mli_message_text%>
|
|
<tr class=body height=310>
|
|
<td class=body colspan=2 valign=top><b>Text Message:</b><br />
|
|
<table width="100%" height="100%"cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
|
<tr class=body>
|
|
<td valign=top>
|
|
<div style="position: relative; width:100%; height:300px; overflow:auto;"><%GList::HTML::html_unescape($mli_message_text)%></div>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
<%if mli_message_html%>
|
|
<tr class=body height=310>
|
|
<td class=body colspan=2 valign=top><b>HTML Message:</b><br />
|
|
<table width="100%" height="100%" cellpadding="0" cellspacing="0" STYLE="height:290px; overflow:auto;border:1px solid #CCCCCC;">
|
|
<tr><td valign=top><div style="position: relative; width:100%; height:300px; overflow:auto;"><%mli_message_html%></div></td></tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
<%endif%>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<%endloop%>
|
|
|
|
|