<p>{if $newTicket}</p>
<p>Ticket #<a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&amp;id={$ticket_id}"><strong>{$ticket_tid}</strong></a> has been opened by <strong>{$changer}</strong>.</p>
<p>Client: {$client_name}{if $client_id} #{$client_id}{/if}<br />Department: {$ticket_department}<br />Subject: {$ticket_subject}<br />Priority: {$ticket_priority}</p>
<div class="quoted-content">{$newTicket}</div>
<p>{else}</p>
<p>Ticket #<a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&amp;id={$ticket_id}"><strong>{$ticket_tid}</strong></a> {if $newReply || $newNote}has had a new {if $newReply}reply{else}note{/if} posted by{else}has been updated by{/if} <strong>{$changer}</strong>.</p>
<p>{if $changes}</p>
<p>{foreach $changes as $change}{/foreach}</p>
<table class="keyvalue-table" style="border-collapse: collapse; mso-table-lspace: 0pt; mso-table-rspace: 0pt;">
<tbody>
<tr>
<td>{$change@key}:</td>
<td><span style="background-color: #ffe7e7; text-decoration: line-through;">{$change.old}</span> <span style="background-color: #ddfade;">{$change.new}</span></td>
</tr>
</tbody>
</table>
<p>{/if} {if $newReply}</p>
<div class="quoted-content">{$newReply}</div>
<p>{/if} {if $newNote}</p>
<div class="quoted-content">{$newNote}</div>
<p>{/if} {if $newAttachments}{$newAttachments}{/if} {/if}</p>
<p>You can respond to this ticket by simply replying to this email or through the admin area at the url below.</p>
<p><a href="{$whmcs_admin_url}supporttickets.php?action=viewticket&amp;id={$ticket_id}"> {$whmcs_admin_url}supporttickets.php?action=viewticket&amp;id={$ticket_id} </a></p>