<style type="text/css">
    .ticketadmin {
        font-weight: bold;
        color: red;
    }

    .tickettech {
        font-weight: bold; color: green;
    }

    .ticketuser {
        font-weight : bold;
        color       : black;
    }

    .body7green {
        font            : bold 7pt/11pt Verdana, Arial, Helvetica, sans-serif;
        text-decoration : none;
        color           : green;
    }

    .body7red {
        font            : bold 7pt/11pt Verdana, Arial, Helvetica, sans-serif;
        text-decoration : none;
        color           : red;
    }
</style>
<script type="text/javascript" src="javascript/modules/support.js?version={VERSION}"></script>
<div id="right">
    <div id="kb" class="block">
        <div class="block_title">
            <h3><b><a href="{RELATIVE_PATH}public">[l]Support Center[/l]</a> &raquo; <a href="#">[l]Support Ticket[/l]</a></b></h3>
        </div>
        <ul>
            <li>
                <h1>[l]Support Ticket[/l]: #{TICKET_ID} - {TICKET_SUBJECT}</h1>
                <hr />
                <div id="st_wrap">
                    <div class="st_l">
                        <p><b>[l]Status[/l]:</b> {TICKET_STATUS_LINK}</p>
                        <p><b>[l]Priority[/l]:</b> {TICKET_PRIORITY_LINK}</p>
                        <p><b>[l]Ticket Type[/l]:</b> {TICKET_TYPE_LINK}</p>
                        <p><b>[l]Opened by[/l]:</b> {TICKET_OWNERLINK}</p>
                    </div>
                    <div class="st_r">
                        <p><b>[l]Assigned to[/l]:</b> {TICKET_ASSIGNEE_LINK}</p>
                        <p><b>[l]Created[/l]:</b> {TICKET_DATESUBMITTED}</p>
                        <p><b>[l]Total Elapsed[/l]:</b> {TICKET_TIMEELAPSED}</p>
                        <p><b>[l]Plan Name[/l]:</b> {TICKET_PACKAGENAME}</p>
                    </div>
                    <!-- BEGIN DYNAMIC BLOCK: ticket_attachment -->
                    <div style="clear:both;">
                        <form name="attachmentForm_{ATTACHMENT_ID}" action="index.php?fuse=support&action=GetAttachment&file_id={ATTACHMENT_ID}&public=1" method="post">
                            <input type="hidden" name="troubleticketid" value="{TICKET_ID}">
                            <input type="hidden" name="email" value="{GUEST_EMAIL}">
                            <input type="hidden" name="accesscode" value="{ACCESS_CODE}">
                            <p>
                                <b>[l]Attachment[/l]:</b>
                                <a href="javascript:void(0);" onclick="document.forms['attachmentForm_{ATTACHMENT_ID}'].submit();">{ATTACHMENT_NAME}</a> - [l]Added by[/l] {ATTACHMENT_ADDEDBY} [l]on[/l] {ATTACHMENT_DATEADDED}
                            </p>
                        </form>
                    </div>
                    <!-- END DYNAMIC BLOCK: ticket_attachment -->
                </div>
                <form action="index.php?fuse={SUPPORT_FUSE}&action={ADDLOG_ACTION}{IS_PUBLIC}" id="submit_ticket" 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="" />
                    <fieldset>
                        <legend>[l]Messages[/l]</legend>
                        <div class="razmak">
                            <!-- BEGIN DYNAMIC BLOCK: ticketlog -->
                            <div class="ticket" id="div_log_{LOG_ID}">
                                <p class="ticket_caption">
                                  <span class='{LOG_LABELCOLOR}' style="font-weight:bold">{LOG_OWNER}</span>
                                  <!-- BEGIN DYNAMIC BLOCK: log_action -->
                                  -
                                  <span class="{LOG_ACTIONSTYLE}">{LOG_ACTIONTEXT}</span>
                                  <!-- END DYNAMIC BLOCK: log_action -->
                                  - [l]Submitted[/l]: {LOG_SUBMITTIME}
                                  <!-- BEGIN DYNAMIC BLOCK: viaEmail -->
                                  <div class="{LOG_LABELCOLOR}">([l]via E-mail[/l])</div>
                                  <!-- END DYNAMIC BLOCK: viaEmail -->
                                </p>
                                <hr />
                                <p>{LOG_MESSAGE}</p>
                            </div>
                            <!-- END DYNAMIC BLOCK: ticketlog -->
                            <!-- BEGIN DYNAMIC BLOCK: ticketreply -->
                            <!-- BEGIN DYNAMIC BLOCK: ticketreply_settings_customer -->
                            <label>[l]Set ticket status to[/l]:</label>
                            <select name="ticketstatus">
                              <option value="2" selected="selected">[l]Waiting on tech[/l]</option>
                              <!-- BEGIN DYNAMIC BLOCK: closeTicketOptionCustomer -->
                              <option value="-1">[l]Closed[/l]</option>
                              <!-- END DYNAMIC BLOCK: closeTicketOptionCustomer -->
                            </select><br />
                            <!-- END DYNAMIC BLOCK: ticketreply_settings_customer -->
                            <textarea rows="5" cols="40" id="message" name="message"></textarea>
                            <!-- BEGIN DYNAMIC BLOCK: attachfile -->
                            <p>
                                [l]Attach File[/l]:<br />
                                ([l]Max file size[/l]: {ADDLOG_FILEUPLOADSIZE})
                            </p>
                            <div id="fileFieldsContainer"> 
                                <div id="fileFields_0" style="margin:2px 0 2px 0">
                                    <input type="file" value="" name="file" id="file"/> 
                                    <a style="visibility:hidden; font-size:12px" href="#" onclick="javascript:remove(this);" >[l]Delete[/l]</a> 
                                </div> 
                            </div>
                            <p>
                                <a class='liveupdate' href="javascript:Clon('fileFields_0');">[l]Add a New File[/l]</a>
                            </p>
                            <!-- END DYNAMIC BLOCK: attachfile -->  
                            <!-- END DYNAMIC BLOCK: ticketreply -->
                        </div>
                        <input type="submit" value="[l]Submit Entry[/l]" class="st_submit" />
                    </fieldset>
                </form>
            </li>
        </ul>
    </div>
</div>
