<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>{pageTitle}</title>
    <link rel="Shortcut Icon" href="../favicon.ico"/>

    <script type="text/javascript">
        var relativePath = "{RELATIVE_PATH}";var gFuse = "{FUSE}";var gView = "{VIEW}"; var gDateFormat = "{DATE_FORMAT}";
        var showTicketSummary={SHOWTICKETSUMMARY};var showCustomerDropdown={SHOWCUSTOMERDROPDOWN};var showLastSeen={SHOWLASTSEEN};
    </script>

    <!-- can't minimize prototype yet... sorry -->
    <script type="text/javascript" src="../javascript/prototype.js"></script>
    <!-- language file for javascript text -->
    <script type="text/javascript" src="../newedge/utilities/min/index.php?g=adminjs"></script>
    <script type="text/javascript" src="../newedge/utilities/min/index.php?f=javascript/language/{LANGUAGE}.js{adminjsfiles}"></script>

    <link rel="stylesheet" type="text/css" href="../newedge/utilities/min/index.php?g=admincss" />
    <!-- BEGIN DYNAMIC BLOCK: adminDynamicCssFiles -->
    <link type="text/css" rel="stylesheet" href="../newedge/utilities/min/index.php?f={admincssfiles}" />
    <!-- END DYNAMIC BLOCK: adminDynamicCssFiles -->

</head>

<body onunload="closeHelpWindow();">

<div id="header">
    <!-- Main Menu -->
    <div id="nav">
        <ul>
        <!-- BEGIN DYNAMIC BLOCK: dropdownMenu -->
            <li class="{CLASS}">
                <span><a href="{moduleLink}">{MODULENAME}</a></span>
                <div class="dropdown" {MENUDIVSTYLE}>
                    <!-- BEGIN DYNAMIC BLOCK: dropdownMenuItemList -->
                    <ul>
                        <!-- BEGIN DYNAMIC BLOCK: dropdownMenuItem -->
                        <li class="{ITEM_CLASS}">{ITEM_LINK}</li>
                        <!-- END DYNAMIC BLOCK: dropdownMenuItem -->
                    </ul>
                    <!-- END DYNAMIC BLOCK: dropdownMenuItemList -->
                </div>
            </li>
        <!-- END DYNAMIC BLOCK: dropdownMenu -->
        </ul>
    </div>
    <!-- BEGIN DYNAMIC BLOCK: subMenu -->
        <ul id="subnav">
            <!-- BEGIN DYNAMIC BLOCK: subMenuItem -->
            <li class="{SUBITEM_CLASS}">{SUBITEM_LINK}</li>
            <!-- END DYNAMIC BLOCK: subMenuItem -->
        </ul>
    <!-- END DYNAMIC BLOCK: subMenu -->
    <div id="user">
            [l]Welcome[/l] {userFirstname} | <a href="index.php?fuse=admin&amp;view=EditAddAdminAccount">[l]My Profile[/l]</a> | <a onclick="showNotes()">[l]My Notes[/l]</a> | <a onclick="addTeamStatus()">[l]My Status[/l]</a>
    </div>
    <div class="searchquery">
        <img id="searchsubmit" width="23" height="21" alt="[l]Search[/]" style="cursor: pointer;position: absolute; top: 1px;" width="13" height="13" src="../templates/admin/images/sitewide/searchbg-left.png"/><input id="searchquerytextfield" type="text" size="14" name="searchquerytextfield" style="height: 14px;"/>
    </div>
    <!-- change #header h1 to with your logo in main.css -->
    <h1 class="mainlogo"><a href="http://www.clientexec.com"></a></h1>
    <img id="logout" src="../templates/admin/images/logout.png" usemap="#logoutMap" alt="[lh]Logout[/lh]"/>
    <map name="logoutMap" id="logoutMap">
        <area shape="poly" coords="0,0,90,90,90,0" href="index.php?fuse=newedge&amp;action=Logout" alt="[lh]Logout[/lh]"/>
    </map>
</div>

<div id="main">

    <div id="left-col">
        <div class="container" style="min-height: 250px;">
            <div class="heading"><a onclick="showSideBarSettings();" href="javascript:void(0);"><img width=16" height="16" src="../templates/admin/images/gear.png" alt="" border="0" /></a>[l]Action Menu[/l]</div>
            <div id="selectedcustomernav" class="inside" style="padding-bottom:0px !important;">
                <input type="text" id="remote-users" style="width:143px !important;display:none"/>
                <div class="selectedcustomer" style="text-align:{selectedCustomerTextAlign};{selectedCustomerDisplay}">
                    <!-- BEGIN DYNAMIC BLOCK: profilecard -->
                    <a class="staff-note" href="javascript:void();" onclick="showClientNotes();return false;"></a>
                    <span id="activecustomermenuselector" style="padding-top:2px;float:right; {MENUSELECTOR}"><img src="../templates/admin/images/open_black.gif"></span>
                    <!-- END DYNAMIC BLOCK: profilecard -->
                    <span id="selectedcustomer">{ACTIVEPROFILE}</span>
                </div>

                <!-- BEGIN DYNAMIC BLOCK: selecteduserdropdown -->
                <div class="dropdown">
                    <ul>
                        <li class="first"><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Products">Products</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Billing">Billing</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_RecurringCharges">Recurring</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Invoices">Invoices</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Accounts">Alt Accounts</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Notes">Notes</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Password">Password</a></li>
                        <li><img width="7" height="9" src="../images/sub_dot.gif" />&nbsp;&nbsp;<a href="index.php?fuse=clients&view=Admin_Profile_Events">Events</a></li>
                    </ul>
                </div>
                <!-- END DYNAMIC BLOCK: selecteduserdropdown -->

            </div>
            
            <div id="viewactionitems"></div>
            
            <!-- BEGIN DYNAMIC BLOCK: actionmenuitems -->
            <div class="inside" style="padding-top:0px; padding-bottom:0px;{openitemsdisplaystyle}">
                <ul class="links" style="margin-left:0px;!important;">
                    <li id='blankforvalidation1' style="display:none">&nbsp;</li>
                    <!-- BEGIN DYNAMIC BLOCK: openitem -->
                    <li>{openitemname}</li>
                    <!-- END DYNAMIC BLOCK: openitem -->
                </ul>
            </div>
            <div class="inside" style="padding-top:0px; padding-bottom:0px;{viewactionsdisplaystyle}">
                <h5 style="padding-left:11px;">[l]Available Actions[/l]</h5>
                <ul class="links" style="margin-left:0px;!important;">
                    <li id='blankforvalidation2' style="display:none">&nbsp;</li>
                    <!-- BEGIN DYNAMIC BLOCK: viewaction -->
                    <li>{viewactionlink}</li>
                    <!-- END DYNAMIC BLOCK: viewaction -->
                </ul>
            </div>
            <!-- END DYNAMIC BLOCK: actionmenuitems -->

            <div id="supportticketsummary"></div>

            <!-- BEGIN DYNAMIC BLOCK: supportticketsummary -->
            <h5 style="padding-left:21px;">[l]Support Tickets[/l]</h5>
            <div id="supportfilterlinks" style="padding-bottom:20px;">
                <ul>
                    <li class="filters">
                        <a id="filtertoggle" href="javascript:toggleTicketParent('filtertoggle','Ticket_Sidebar_FilterToggle');" class="toggle">*</a>
                        <a style="text-decoration:none;" href="javascript:toggleTicketParent('filtertoggle','Ticket_Sidebar_FilterToggle');"><img alt="*" border="0" style="position:relative;top:4px;padding-right:1px;" width="16" height="16" src="../templates/admin/images/funnel-small.png"/>Filters</a>
                        <ul id="filtertoggle_options" style="display:{togglefilter};">
                            <li class="">
                                <span class="count"><a href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=open">{allopencount}</a></span>
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow.gif"/><a qTip="[l]All open tickets[/l]" href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=open">[l]All Open[/l]</a>
                            </li>
                            <li class="">
                                <span class="count"><a href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=mytickets">{myticketscount}</a></span>
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow.gif"/><a qTip="[l]Tickets assigned to me[/l]" href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=mytickets">[l]My Tickets[/l]</a>
                            </li>
                            <li class="">
                                <span class="count"><a href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=unassigned">{notassignedcount}</a></span>
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow.gif"/><a qTip="[l]Waiting to get assigned[/l]" href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter=unassigned">[l]Not Assigned[/l]</a>
                            </li>

                            <!-- BEGIN DYNAMIC BLOCK: filter_item -->
                            <li class="">
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow.gif"/><a title="{ticketfilter_name} [l]Tickets[/l]" href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter={ticketfilter_id}">{ticketfilter_name}</a>
                            </li>
                             <!-- END DYNAMIC BLOCK: filter_item -->
                             <li class="">
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow-end.gif"/><a title="[l]Create New Filter[/l]" href="javascript:createNewFilter();">[l]Create New Filter[/l]</a>
                             </li>
                        </ul>
                    </li>
                    <li class="filters">
                        <a id="departmenttoggle" href="javascript:toggleTicketParent('departmenttoggle','Ticket_Sidebar_DepartmentToggle');" class="toggle">*</a>
                        <a style="text-decoration:none;" href="javascript:toggleTicketParent('departmenttoggle','Ticket_Sidebar_DepartmentToggle');"><img alt="*" border="0" style="position:relative;top:4px;padding-right:1px;" height="16" width="16" src="../templates/admin/images/folder-small.png"/>Departments</a>
                        <ul id="departmenttoggle_options" style="display:{toggledepartment};">
                             <!-- BEGIN DYNAMIC BLOCK: department_item -->
                            <li class="">
                                <img alt="" class="x-tree-elbow" src="../javascript/ext/images/gray-extend/tree/elbow.gif"/><a title="[l]{ticketfilter_name} Department Tickets[/l]" href="index.php?fuse=support&amp;view=ViewTickets&amp;searchfilter={ticketfilter_id}">{ticketfilter_name}</a>
                            </li>
                             <!-- END DYNAMIC BLOCK: department_item -->
                        </ul>
                    </li>
                </ul>
            </div>
            <!-- END DYNAMIC BLOCK: supportticketsummary -->
            
        </div>
        <div class="container" style="margin-bottom:5px !important;">
            <div class="heading">[l]Online[/l]</div>
            <div class="inside">
                Who's Online
                <ul class="dots" id="onlineusers">
                  <li style="display:none"><!-- empty li for validation purposes --></li>
                </ul>

                <span id='lastxseen' style="display:none;">Last {LASTXLIMIT} Seen</span>
                <ul class="dots" id="offlineusers">
                  <li style="display:none"><!-- empty li for validation purposes --></li>
                </ul>
            </div>
        </div>
        <div style="text-align:center;font-size:10px;margin-left:3px;color:#919191; margin-bottom:45px;">
            Installed Version: {INSTALLEDVERSION}<br/>
            <span style="color:red;">{LATESTVERSION}</span>
        </div>
    </div>
    
    <div id="right-col">
        <div class="wrap">
            <div class="container">
                <div class="heading"><span style="float:right;" id="headinglabelright"></span><span id="headinglabel"></span><span style="float:right;" ><a onclick="loadHelp();" qTip="Context Help" href="javascript:void(0);"><img alt="help" id="headinglabelhelp" style="mouse:pointer;padding-right:5px;display:none;" width="16" height="16" src="../templates/admin/images/question-frame.png" border="0" /></a></span></div>
                <div id="breadcrumb"><span style="padding-left:10px;"><a href="index.php?fuse=home">Home</a> > <span id="breadcrumb_dynamic"></span> <span id="breadcrumb_headinglabel"></span></span></div>
                    <div class="inside">