<!-- BEGIN DYNAMIC BLOCK: ticketlog -->
<div id="ticketentry-{TICKETENTRY_ID}" class="ticketentry">
	<div id="sender-{TICKETENTRY_ID}" class="sender {LOG_LABELCOLOR} left" style="border-top: 1px solid #EBEBEB;">
	  <strong>{LOG_OWNER}</strong>
	  <!-- BEGIN DYNAMIC BLOCK: viaEmail -->
	([l]via E-mail[/l])
	<!-- END DYNAMIC BLOCK: viaEmail -->
	<br />
	  <img alt="" qtip="Image pulled from gravatar.com." src="{profileurl}" width="60" height="60" style="border:3px solid #D9D9D9; margin:10px 0 5px;" /><br />
	  {LOG_TIMEBETWEENPOSTS}
	</div>
	<div id="message-{TICKETENTRY_ID}" class="message">
	  <div class="timestamp {LOG_LABELCOLOR}" style="border-top: 1px solid #EBEBEB;">[l]Submitted[/l]: {LOG_SUBMITTIME}
	  <!-- BEGIN DYNAMIC BLOCK: log_action -->
	  <div style="float:right;">{LOG_ACTIONTEXT}</div>
	<!-- END DYNAMIC BLOCK: log_action -->
	  </div>
	  <div class="ticket-message-entry">
	  	{LOG_MESSAGE}
	  </div>
	</div>
</div>
<!-- END DYNAMIC BLOCK: ticketlog -->


<!-- BEGIN DYNAMIC BLOCK: ticketreply -->
<form id="SupportForm" action="index.php?fuse={SUPPORT_FUSE}&action={ADDLOG_ACTION}" method="post" enctype="multipart/form-data">
  <input type="hidden" name="troubleticketid" value="{TICKET_ID}" />
  <input type="hidden" name="email" value="{GUEST_EMAIL}" />
  <input type="hidden" name="accesscode" value="{ACCESS_CODE}" />
  <input type="hidden" name="userid" value="{MYUSERID}" />
  <input type="hidden" name="usertype" value="{MYUSERTYPE}" />
  <input type="hidden" name="ticketSummary" value="" />
  
  <table class="ts2" cellspacing="0">
  <tr>
    <td colspan="2" class="label" style="text-align:left;">[l]Reply To Ticket[/l]</td>
  </tr>
  <tr>
    <td colspan="2">
    
        <textarea name="message" class="textarea" id="message" rows="10" style="width:99%;">{ADMINSIG}</textarea>
    </td>
  </tr>
    <!-- BEGIN DYNAMIC BLOCK: attachfile -->
  <tr>
    <td class="label">[l]Attach File[/l]:</td>
    <td>
    <div id="fileFieldsContainer"> 
        <div id="fileFields_0">
            <input type="file" value="" name="file" id="file" style="border:0;"/> 
            <a style="visibility:hidden;padding-left:5px;">[l]Delete[/l]</a>
        </div> 
    </div><br />
    ([l]Max file size[/l]: {ADDLOG_FILEUPLOADSIZE}{ADDLOG_FILEUPLOADEXTENSIONS})<br />
    <a class='liveupdate' href="javascript:Clon('fileFields_0');">[l]Add a New File[/l]</a>
    </td>
  </tr>
    <!-- END DYNAMIC BLOCK: attachfile -->  
    <!-- BEGIN DYNAMIC BLOCK: ticketreply_cannot_attach -->
    <span style="color:red">[l]Directory 'uploads/support' is not writable[/l]</span>
    <!-- END DYNAMIC BLOCK: ticketreply_cannot_attach -->

    <!-- BEGIN DYNAMIC BLOCK: ticketreply_settings_customer -->
    <tr>
    <td class="label">[l]Set status to[/l]:</td>
    <td>
        <select name=ticketstatus>
              <option value=2 Selected>[l]Waiting on tech[/l]</option>
              <!-- BEGIN DYNAMIC BLOCK: closeTicketOptionCustomer -->
              <option value=-1>[l]Closed[/l]</option>
              <!-- END DYNAMIC BLOCK: closeTicketOptionCustomer -->
            </select>
    </td>
     </tr>
     <!-- END DYNAMIC BLOCK: ticketreply_settings_customer -->

</table>  

        <!-- END DYNAMIC BLOCK: ticketreply_settings_customer -->


        <!-- BEGIN DYNAMIC BLOCK: ticketreply_settings_customer_hidden -->
            <input type="hidden" name="ticketstatus" value="2" />
        <!-- END DYNAMIC BLOCK: ticketreply_settings_customer_hidden -->
        
          <input class="submit" type="submit" onclick="return submitTicketLog(this.form, true);" value='[l]Submit Entry[/l]' />


</form>
<!-- END DYNAMIC BLOCK: ticketreply -->

<script type="text/javascript">
$(document).ready(function() {
	$('.sender').each(function(el){
	    $(this).height($(this).next().height()-22); 
	});;	
});
</script>
