| 9 | | |
|---|
| 10 | | <link href="templates/{$SKIN_NAME}/css/main.css" rel="stylesheet" type="text/css"> |
|---|
| 11 | | <link href="templates/{$SKIN_NAME}/css/menu.css" rel="stylesheet" type="text/css"> |
|---|
| 12 | | <link href="templates/{$SKIN_NAME}/css/style-def.css" rel="stylesheet" type="text/css"> |
|---|
| 13 | | {literal} |
|---|
| 14 | | <script language="javascript"> |
|---|
| 15 | | <!-- |
|---|
| 16 | | var mywin |
|---|
| 17 | | var prevdiv="dummydiv" |
|---|
| 18 | | function imgidclick_plus(imgID,divID) |
|---|
| 19 | | { |
|---|
| 20 | | |
|---|
| 21 | | var agt=navigator.userAgent.toLowerCase(); |
|---|
| 22 | | // *** BROWSER VERSION *** |
|---|
| 23 | | // Note: On IE5, these return 4, so use is_ie5up to detect IE5. |
|---|
| 24 | | var is_major = parseInt(navigator.appVersion); |
|---|
| 25 | | var is_minor = parseFloat(navigator.appVersion); |
|---|
| 26 | | |
|---|
| 27 | | // Note: Opera and WebTV spoof Navigator. We do strict client detection. |
|---|
| 28 | | // If you want to allow spoofing, take out the tests for opera and webtv. |
|---|
| 29 | | var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) |
|---|
| 30 | | && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) |
|---|
| 31 | | && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1)); |
|---|
| 32 | | var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); |
|---|
| 34 | | |
|---|
| 35 | | if (is_ie){ |
|---|
| 36 | | if (document.all(divID).style.display == "none" ) |
|---|
| 37 | | { |
|---|
| 38 | | document.all(divID).style.display=""; |
|---|
| 39 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/minus.gif"; |
|---|
| 40 | | } |
|---|
| 41 | | else |
|---|
| 42 | | { |
|---|
| 43 | | document.all(divID).style.display="None"; |
|---|
| 44 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/plus.gif"; |
|---|
| 45 | | } |
|---|
| 46 | | // Only for I.E |
|---|
| 47 | | window.event.cancelBubble=true; |
|---|
| 48 | | }else{ |
|---|
| 49 | | if (document.getElementById(divID).style.display == "none" ) |
|---|
| 50 | | { |
|---|
| 51 | | document.getElementById(divID).style.display=""; |
|---|
| 52 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/minus.gif"; |
|---|
| 53 | | } |
|---|
| 54 | | else |
|---|
| 55 | | { |
|---|
| 56 | | document.getElementById(divID).style.display="None"; |
|---|
| 57 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/plus.gif"; |
|---|
| 58 | | } |
|---|
| 59 | | } |
|---|
| 60 | | } |
|---|
| 61 | | |
|---|
| 62 | | function imgidclick(imgID,divID, imgbase, imgchange) |
|---|
| 63 | | { |
|---|
| 64 | | |
|---|
| 65 | | var agt=navigator.userAgent.toLowerCase(); |
|---|
| 66 | | // *** BROWSER VERSION *** |
|---|
| 67 | | // Note: On IE5, these return 4, so use is_ie5up to detect IE5. |
|---|
| 68 | | var is_major = parseInt(navigator.appVersion); |
|---|
| 69 | | var is_minor = parseFloat(navigator.appVersion); |
|---|
| 70 | | |
|---|
| 71 | | // Note: Opera and WebTV spoof Navigator. We do strict client detection. |
|---|
| 72 | | // If you want to allow spoofing, take out the tests for opera and webtv. |
|---|
| 73 | | var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) |
|---|
| 74 | | && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) |
|---|
| 75 | | && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1)); |
|---|
| 76 | | var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); |
|---|
| 77 | | |
|---|
| 78 | | |
|---|
| 79 | | if (is_ie){ |
|---|
| 80 | | if (document.all(divID).style.display == "none" ) |
|---|
| 81 | | { |
|---|
| 82 | | document.all(divID).style.display=""; |
|---|
| 83 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 84 | | } |
|---|
| 85 | | else |
|---|
| 86 | | { |
|---|
| 87 | | document.all(divID).style.display="None"; |
|---|
| 88 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 89 | | } |
|---|
| 90 | | window.event.cancelBubble=true; |
|---|
| 91 | | }else{ |
|---|
| 92 | | if (document.getElementById(divID).style.display == "none" ) |
|---|
| 93 | | { |
|---|
| 94 | | document.getElementById(divID).style.display=""; |
|---|
| 95 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 96 | | } |
|---|
| 97 | | else |
|---|
| 98 | | { |
|---|
| 99 | | document.getElementById(divID).style.display="None"; |
|---|
| 100 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 101 | | } |
|---|
| 102 | | } |
|---|
| 103 | | } |
|---|
| 104 | | //--> |
|---|
| 105 | | </script> |
|---|
| 106 | | {/literal} |
|---|
| | 10 | <link href="templates/{$SKIN_NAME}/css/main.css" rel="stylesheet" type="text/css"> |
|---|
| | 11 | <link href="templates/{$SKIN_NAME}/css/menu.css" rel="stylesheet" type="text/css"> |
|---|
| | 12 | <link href="templates/{$SKIN_NAME}/css/style-def.css" rel="stylesheet" type="text/css"> |
|---|
| | 13 | <script type="text/javascript" src="./javascript/jquery/jquery.js"></script> |
|---|
| | 14 | <script type="text/javascript" src="./javascript/jquery/jquery.debug.js"></script> |
|---|
| | 15 | <script type="text/javascript" src="./javascript/jquery/ilogger.js"></script> |
|---|
| | 16 | <script type="text/javascript" src="./javascript/jquery/handler_jquery.js"></script> |
|---|
| 129 | | // Note: Opera and WebTV spoof Navigator. We do strict client detection. |
|---|
| 130 | | // If you want to allow spoofing, take out the tests for opera and webtv. |
|---|
| 131 | | var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) |
|---|
| 132 | | && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) |
|---|
| 133 | | && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1)); |
|---|
| 134 | | var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); |
|---|
| 135 | | |
|---|
| 136 | | |
|---|
| 137 | | if (is_ie){ |
|---|
| 138 | | if (document.all(divID).style.display == "none" ) |
|---|
| 139 | | { |
|---|
| 140 | | document.all(divID).style.display=""; |
|---|
| 141 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/minus.gif"; |
|---|
| 142 | | } |
|---|
| 143 | | else |
|---|
| 144 | | { |
|---|
| 145 | | document.all(divID).style.display="None"; |
|---|
| 146 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/plus.gif"; |
|---|
| 147 | | } |
|---|
| 148 | | // Only for I.E |
|---|
| 149 | | window.event.cancelBubble=true; |
|---|
| 150 | | }else{ |
|---|
| 151 | | if (document.getElementById(divID).style.display == "none" ) |
|---|
| 152 | | { |
|---|
| 153 | | document.getElementById(divID).style.display=""; |
|---|
| 154 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/minus.gif"; |
|---|
| 155 | | } |
|---|
| 156 | | else |
|---|
| 157 | | { |
|---|
| 158 | | document.getElementById(divID).style.display="None"; |
|---|
| 159 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/plus.gif"; |
|---|
| 160 | | } |
|---|
| 161 | | } |
|---|
| 162 | | } |
|---|
| 163 | | |
|---|
| 164 | | function imgidclick(imgID,divID, imgbase, imgchange) |
|---|
| 165 | | { |
|---|
| 166 | | |
|---|
| 167 | | var agt=navigator.userAgent.toLowerCase(); |
|---|
| 168 | | // *** BROWSER VERSION *** |
|---|
| 169 | | // Note: On IE5, these return 4, so use is_ie5up to detect IE5. |
|---|
| 170 | | var is_major = parseInt(navigator.appVersion); |
|---|
| 171 | | var is_minor = parseFloat(navigator.appVersion); |
|---|
| 172 | | |
|---|
| 173 | | // Note: Opera and WebTV spoof Navigator. We do strict client detection. |
|---|
| 174 | | // If you want to allow spoofing, take out the tests for opera and webtv. |
|---|
| 175 | | var is_nav = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) |
|---|
| 176 | | && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) |
|---|
| 177 | | && (agt.indexOf('webtv')==-1) && (agt.indexOf('hotjava')==-1)); |
|---|
| 178 | | var is_ie = ((agt.indexOf("msie") != -1) && (agt.indexOf("opera") == -1)); |
|---|
| 179 | | |
|---|
| 180 | | |
|---|
| 181 | | if (is_ie){ |
|---|
| 182 | | if (document.all(divID).style.display == "none" ) |
|---|
| 183 | | { |
|---|
| 184 | | document.all(divID).style.display=""; |
|---|
| 185 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 186 | | } |
|---|
| 187 | | else |
|---|
| 188 | | { |
|---|
| 189 | | document.all(divID).style.display="None"; |
|---|
| 190 | | document.all(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 191 | | } |
|---|
| 192 | | window.event.cancelBubble=true; |
|---|
| 193 | | }else{ |
|---|
| 194 | | if (document.getElementById(divID).style.display == "none" ) |
|---|
| 195 | | { |
|---|
| 196 | | document.getElementById(divID).style.display=""; |
|---|
| 197 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 198 | | } |
|---|
| 199 | | else |
|---|
| 200 | | { |
|---|
| 201 | | document.getElementById(divID).style.display="None"; |
|---|
| 202 | | document.getElementById(imgID).src="templates/{/literal}{$SKIN_NAME}{literal}/images/kicons/"+imgchange; |
|---|
| 203 | | } |
|---|
| 204 | | } |
|---|
| 205 | | } |
|---|
| 206 | | //--> |
|---|
| 207 | | </script> |
|---|
| 208 | | {/literal} |
|---|
| | 27 | {if ($popupwindow == 0)} |
|---|
| 213 | | |
|---|
| 214 | | <li><a href="userinfo.php?section=1"><strong>{php} echo gettext("ACCOUNT INFO");{/php}</strong></a></li> |
|---|
| 215 | | |
|---|
| 216 | | {if $A2Bconfig.webcustomerui.cdr==1 } |
|---|
| 217 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 218 | | <li><a href="call-history.php?section=2"><strong>{php} echo gettext("CALL HISTORY");{/php}</strong></a></li> |
|---|
| 219 | | {/if} |
|---|
| 220 | | |
|---|
| 221 | | {if $A2Bconfig.webcustomerui.voucher==1 } |
|---|
| 222 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 223 | | <li><a href="A2B_entity_voucher.php?form_action=list§ion=3"><strong>{php} echo gettext("VOUCHER");{/php}</strong></a></li> |
|---|
| 224 | | {/if} |
|---|
| | 33 | |
|---|
| | 34 | |
|---|
| | 35 | |
|---|
| | 36 | <div> |
|---|
| | 37 | <ul><li><a href="userinfo.php?section=1"><strong>{php} echo gettext("ACCOUNT INFO");{/php}</strong></a></li></ul> |
|---|
| | 38 | |
|---|
| | 39 | {if $A2Bconfig.webcustomerui.sipiaxinfo==1 } |
|---|
| | 40 | <li><a href="#" target="_self"></a></li> |
|---|
| | 41 | <ul><li><a href="A2B_entity_sipiax_info.php?section=1"><strong>{php} echo gettext("SIP/IAX INFO");{/php}</strong></a></li></ul> |
|---|
| | 42 | {/if} |
|---|
| | 43 | |
|---|
| | 44 | {if $A2Bconfig.webcustomerui.cdr==1 } |
|---|
| | 45 | <li><a href="#" target="_self"></a></li> |
|---|
| | 46 | <ul><li><a href="call-history.php?section=2"><strong>{php} echo gettext("CALL HISTORY");{/php}</strong></a></li></ul> |
|---|
| | 47 | {/if} |
|---|
| | 48 | |
|---|
| | 49 | {if $A2Bconfig.webcustomerui.voucher==1 } |
|---|
| | 50 | <li><a href="#" target="_self"></a></li> |
|---|
| | 51 | <ul><li><a href="A2B_entity_voucher.php?form_action=list§ion=3"><strong>{php} echo gettext("VOUCHER");{/php}</strong></a></li></ul> |
|---|
| | 52 | {/if} |
|---|
| | 53 | |
|---|
| | 54 | <li><a href="#" target="_self"></a></li> |
|---|
| | 55 | </div> |
|---|
| 242 | | <li><ul> |
|---|
| 243 | | <li><a href="invoices.php?section=4"><strong>{php} echo gettext("Invoices");{/php}</strong></a></li> |
|---|
| 244 | | |
|---|
| 245 | | <li><a href="A2B_entity_billed_summary.php?section=4"><strong>{php} echo gettext("Billed Summary");{/php}</strong></a></li> |
|---|
| 246 | | |
|---|
| 247 | | <li><a href="A2B_entity_billed_details.php?section=4"><strong>{php} echo gettext("Billed Details");{/php}</strong></a></li> |
|---|
| 248 | | |
|---|
| 249 | | <li><a href="A2B_entity_unbilled_summary.php?section=4"><strong>{php} echo gettext("UnBilled Summary");{/php}</strong></a></li> |
|---|
| 250 | | |
|---|
| 251 | | <li><a href="A2B_entity_unbilled_details.php?section=4"><strong>{php} echo gettext("UnBilled Details");{/php}</strong></a></li> |
|---|
| 252 | | |
|---|
| 253 | | <li><a href="A2B_entity_call_details.php?section=4"><strong>{php} echo gettext("Call Details");{/php}</strong></a></li> |
|---|
| 254 | | </ul></li> |
|---|
| | 74 | <li><ul> |
|---|
| | 75 | <li><a href="A2B_entity_call_details.php?section=4"><strong>{php} echo gettext("Invoice Details");{/php}</strong></a></li> |
|---|
| | 76 | <li><a href="A2B_entity_view_invoice.php?section=4"><strong>{php} echo gettext("View Invoices");{/php}</strong></a></li> |
|---|
| | 77 | <li><a href="invoices_customer.php?section=4"><strong>{php} echo gettext("Current Invoice");{/php}</strong></a></li> |
|---|
| | 78 | </ul></li> |
|---|
| 259 | | {if $A2Bconfig.webcustomerui.did==1 } |
|---|
| 260 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 261 | | <li><a href="A2B_entity_did.php?form_action=list§ion=5"><strong>{php} echo gettext("DID");{/php}</strong></a></li> |
|---|
| 262 | | {/if} |
|---|
| 263 | | |
|---|
| 264 | | {if $A2Bconfig.webcustomerui.speeddial==1 } |
|---|
| 265 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 266 | | <li><a href="A2B_entity_speeddial.php?atmenu=speeddial&stitle=Speed+Dial§ion=6"><strong>{php} echo gettext("SPEED DIAL");{/php}</strong></a></li> |
|---|
| 267 | | {/if} |
|---|
| 268 | | |
|---|
| 269 | | {if $A2Bconfig.webcustomerui.ratecard==1 } |
|---|
| 270 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 271 | | <li><a href="A2B_entity_ratecard.php?form_action=list§ion=7"><strong>{php} echo gettext("RATECARD");{/php}</strong></a></li> |
|---|
| 272 | | {/if} |
|---|
| 273 | | |
|---|
| 274 | | {if $A2Bconfig.webcustomerui.simulator==1 } |
|---|
| 275 | | <li><a href=<a href="#" target="_self"></a></a></li> |
|---|
| 276 | | <li><a href="simulator.php?section=8"><strong>{php} echo gettext("SIMULATOR");{/php}</strong></a></li> |
|---|
| 277 | | {/if} |
|---|
| 278 | | |
|---|
| 279 | | {if $A2Bconfig.webcustomerui.callback==1 } |
|---|
| 280 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 281 | | <li><a href="callback.php?section=9"><strong>{php} echo gettext("CALLBACK");{/php}</strong></a></li> |
|---|
| 282 | | {/if} |
|---|
| 283 | | |
|---|
| 284 | | {if $A2Bconfig.webcustomerui.webphone==1 } |
|---|
| 285 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 286 | | <li><a href="webphone.php?section=11"><strong>{php} echo gettext("WEB-PHONE");{/php}</strong></a></li> |
|---|
| 287 | | {/if} |
|---|
| 288 | | |
|---|
| 289 | | {if $A2Bconfig.webcustomerui.callerid==1 } |
|---|
| 290 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 291 | | <li><a href="A2B_entity_callerid.php?atmenu=callerid&stitle=CallerID§ion=12"><strong>{php} echo gettext("ADD CALLER ID");{/php}</strong></a></li> |
|---|
| 292 | | {/if} |
|---|
| 293 | | |
|---|
| 294 | | {if $A2Bconfig.webcustomerui.password==1 } |
|---|
| 295 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 296 | | <li><a href="A2B_entity_password.php?atmenu=password&form_action=ask-edit&stitle=Password§ion=13"><strong>{php} echo gettext("PASSWORD");{/php}</strong></a></li> |
|---|
| 297 | | {/if} |
|---|
| 298 | | |
|---|
| 299 | | <li><a href="#" target="_self"></a></a></li> |
|---|
| 300 | | <li><a href="logout.php?logout=true" target="_parent"><font color="#DD0000"><strong>{php} echo gettext("LOGOUT");{/php}</strong></font></a></li> |
|---|
| | 85 | {if $A2Bconfig.webcustomerui.did==1 } |
|---|
| | 86 | <li><a href="#" target="_self"></a></li> |
|---|
| | 87 | <ul><li><a href="A2B_entity_did.php?form_action=list§ion=5"><strong>{php} echo gettext("DID");{/php}</strong></a></li></ul> |
|---|
| | 88 | {/if} |
|---|
| | 89 | |
|---|
| | 90 | {if $A2Bconfig.webcustomerui.speeddial==1 } |
|---|
| | 91 | <li><a href="#" target="_self"></a></li> |
|---|
| | 92 | <ul><li><a href="A2B_entity_speeddial.php?atmenu=speeddial&stitle=Speed+Dial§ion=6"><strong>{php} echo gettext("SPEED DIAL");{/php}</strong></a></li></ul> |
|---|
| | 93 | {/if} |
|---|
| | 94 | |
|---|
| | 95 | {if $A2Bconfig.webcustomerui.ratecard==1 } |
|---|
| | 96 | <li><a href="#" target="_self"></a></li> |
|---|
| | 97 | <ul><li><a href="A2B_entity_ratecard.php?form_action=list§ion=7"><strong>{php} echo gettext("RATECARD");{/php}</strong></a></li></ul> |
|---|
| | 98 | {/if} |
|---|
| | 99 | |
|---|
| | 100 | {if $A2Bconfig.webcustomerui.simulator==1 } |
|---|
| | 101 | <li><a href="#" target="_self"></a></li> |
|---|
| | 102 | <ul><li><a href="simulator.php?section=8"><strong>{php} echo gettext("SIMULATOR");{/php}</strong></a></li></ul> |
|---|
| | 103 | {/if} |
|---|
| | 104 | |
|---|
| | 105 | {if $A2Bconfig.webcustomerui.callback==1 } |
|---|
| | 106 | <li><a href="#" target="_self"></a></li> |
|---|
| | 107 | <ul><li><a href="callback.php?section=9"><strong>{php} echo gettext("CALLBACK");{/php}</strong></a></li></ul> |
|---|
| | 108 | {/if} |
|---|
| | 109 | |
|---|
| | 110 | {if $A2Bconfig.webcustomerui.webphone==1 } |
|---|
| | 111 | <li><a href="#" target="_self"></a></li> |
|---|
| | 112 | <ul><li><a href="webphone.php?section=11"><strong>{php} echo gettext("WEB-PHONE");{/php}</strong></a></li></ul> |
|---|
| | 113 | {/if} |
|---|
| | 114 | |
|---|
| | 115 | {if $A2Bconfig.webcustomerui.callerid==1 } |
|---|
| | 116 | <li><a href="#" target="_self"></a></li> |
|---|
| | 117 | <ul><li><a href="A2B_entity_callerid.php?atmenu=callerid&stitle=CallerID§ion=12"><strong>{php} echo gettext("ADD CALLER ID");{/php}</strong></a></li></ul> |
|---|
| | 118 | {/if} |
|---|
| | 119 | |
|---|
| | 120 | {if $A2Bconfig.webcustomerui.password==1 } |
|---|
| | 121 | <li><a href="#" target="_self"></a></li> |
|---|
| | 122 | <ul><li><a href="A2B_entity_password.php?atmenu=password&form_action=ask-edit&stitle=Password§ion=13"><strong>{php} echo gettext("PASSWORD");{/php}</strong></a></li></ul> |
|---|
| | 123 | {/if} |
|---|
| | 124 | |
|---|
| | 125 | <li><a href="#" target="_self"></a></li> |
|---|
| | 126 | <ul><li><a href="logout.php?logout=true" target="_parent"><font color="#DD0000"><strong>{php} echo gettext("LOGOUT");{/php}</strong></font></a></li></ul> |
|---|