<script type="text/javascript" src="javascript/modules/support.js?version={VERSION}"></script>
<script type="text/javascript">
    function validateSearchTicketForm(form)
    {
        var strAlertMessageArr = getFormErrors(form);

        if (strAlertMessageArr.length > 0) {
            alert(strAlertMessageArr.join("\n"));
            return false;
        }

        return true;
    }
</script>

<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]Ticket Status[/l]</a></b></h3>
    </div>
    <ul>
        <li>
            <h1>[l]Ticket Status[/l]</h1>
            <p class="st" style=" background: url({RELATIVE_PATH}templates/{TEMPLATE}/images/public/icon_submit_ticket.jpg) no-repeat  0 8px;">
                [l]You can view the status of your ticket by entering your email and any ticket ID in the fields below.[/l]
                [l]Once logged in you can add a reply.[/l]
            </p>
        </li>
        <li>
            <form action="index.php?fuse=support&amp;view=ViewTicketDetails&amp;public=1" id="submit_ticket" method="post">

                <div style="padding-left: 15px;">
                    <span class="label130">[l]E-mail[/l]:</span>
                    <input type="text" id="email" name="email" />
                    <input type="hidden" name="r_email" value="[l]E-mail[/l]" />
                    <br />
                    <span class="label130">[l]Ticket ID[/l]:</span>
                    <input type="text" id="ticketID" name="ticketID" />
                    <input type="hidden" name="r_ticketID" value="[l]Ticket ID[/l]" />
                </div>

                <br />

                <fieldset>
                    <legend>[l]Verification Code[/l]</legend>
                    <table>
                        <tr>
                            <td>
                                <img name="captcha" id="antiflood" src="modules/clients/captcha.php" border="0" alt="" />
                            </td>
                            <td style="padding-left:20px">
                                <label>[l]Enter the code[/l]: </label>
                                <input type="text" id="accesscode" name="accesscode" />
                                <input type="hidden" name="r_accesscode" value="[l]Verification Code[/l]" />
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <div class="st_submit">
                    <input type="submit" name="button" onclick="return validateSearchTicketForm(form);" value='[l]Submit[/l]' />
                </div>
            </form>
        </li>
    </ul>
</div>
