4 require(
"ck_hticket.i");
7 if (!CheckPerm($link, $Hu, basename($_SERVER[
'SCRIPT_NAME']), $_SERVER[
'REMOTE_ADDR'])) {
11 header(
"Location: /hcuadm/hcu_noperm.prg");
15 require(
"dms_imp_val.i");
16 $dms_ok=array(
'sys_opt'=>
'array',
'btnShowType'=>
'string',
'action'=>
'string',
17 'orderby'=>
'string',
'reset_cookie'=>
'digits');
23 $ivrHostName =
'ivr.homecu.net';
26 if ($reset_cookie == 1) {
27 HCU_setcookie_env($SYSENV,
"Monitor_View",
"", $now);
28 } elseif (!isset($orderby) && !isset($sys_opt)) {
30 if (isset($_COOKIE[
'Monitor_View'])) {
33 parse_str ($_COOKIE[
'Monitor_View']);
38 if (empty($orderby)) {
43 $sql_order =
"www_server,lower(user_name)";
47 $sql_order =
"lower(user_name)";
48 $use_field =
"user_name";
51 $sql_order =
"upper(vendor)";
52 $use_field =
"vendor";
55 $sql_order =
"upper(name)";
56 $use_field =
"orgname";
59 $sql_order =
"upper(state), lower(user_name)";
60 $use_field =
"cu_state";
66 WHEN (coalesce(system_options, 0) & $SYS_TYPE_CLOSED) = $SYS_TYPE_CLOSED 68 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_ASP)) = ($SYS_TYPE_BATCH + $SYS_TYPE_ASP) 70 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_IVR)) = ($SYS_TYPE_BATCH + $SYS_TYPE_IVR) 72 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_VOIP)) = ($SYS_TYPE_BATCH + $SYS_TYPE_VOIP) 74 WHEN (coalesce(system_options, 0) & $SYS_TYPE_BATCH) = $SYS_TYPE_BATCH 76 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_ASP)) = ($SYS_TYPE_LIVE + $SYS_TYPE_ASP) 78 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_IVR)) = ($SYS_TYPE_LIVE + $SYS_TYPE_IVR) 80 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_VOIP)) = ($SYS_TYPE_LIVE + $SYS_TYPE_VOIP) 82 WHEN (coalesce(system_options, 0) & $SYS_TYPE_LIVE) = $SYS_TYPE_LIVE 84 WHEN (coalesce(system_options, 0) & $SYS_TYPE_IVR) = $SYS_TYPE_IVR 86 WHEN (coalesce(system_options, 0) & $SYS_TYPE_VOIP) = $SYS_TYPE_VOIP 88 WHEN (coalesce(system_options, 0) & $SYS_TYPE_WEBONLY) = $SYS_TYPE_WEBONLY 102 if (isset($sys_opt)) {
105 foreach ($sys_opt as $opt_value) {
106 $bit_sys_opt = ($bit_sys_opt | $opt_value);
109 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
110 } elseif (isset($sys_opt)) {
111 $bit_sys_opt = $sys_opt;
112 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
113 } elseif (isset($cookie_sys_opt)) {
114 $bit_sys_opt = $cookie_sys_opt;
115 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
119 $cookie_val =
"orderby=$orderby&cookie_sys_opt=$bit_sys_opt";
120 HCU_setcookie_env($SYSENV,
"Monitor_View", $cookie_val, time() + 86400);
122 if ($bit_sys_opt > 0 ) {
123 $sql_sys_opt =
" WHERE (system_options & $bit_sys_opt) > 0 ";
125 $sql =
"SELECT user_name, www_server, vendor, rtrim(name) as name, 126 trim(home_page_url), system_options, state, date_live 129 ORDER BY $sql_order";
131 $sth = db_query($sql, $dbh);
135 cu_header(
"Credit Union Settings Maintenance -- Select Account");
136 require(
"monitorScriptInclude.prg" );
139 <script type=
'text/javascript' src=
'../menu_script.js'></script>
143 <link href=
"/hcuadm/poc/smoke/smoke.css" rel=
"stylesheet" type=
"text/css">
152 box-shadow: 0px 1px 2px #8e8e8e;
155 margin: 5px 0 5px 5px;
160 text-decoration: none;
164 text-overflow: ellipsis;
168 .lcolor { color: #016103; text-decoration: underline; cursor: pointer; }
169 .lcolor:hover {text-decoration: none; }
172 <script type=
"text/javascript" src=
"/hcuadm/poc/smoke/smoke.min.js"></script>
173 <script type=
"text/javascript" src=
"/hcuadm/poc/cuilist.js"></script>
174 <script language=
"javascript">
176 function view_vendor(vend_code) {
179 url =
"view_vend.prg?vc=" + vend_code;
180 newwin = window.open(url,
"VendorInfo",
"width=400, height=600, resizeable=yes, scrollbars=yes, status=no, menubar=no, location=no, top=0, left=0");
184 window.open(
"GenKey",
"GenKey",
"toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=600,height=430");
188 window.open(
"TicketHash",
"TicketHash",
"toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=600,height=340");
190 function pktwin(which) {
192 window.open(
"https://www"+which+
".homecu.net/hcuadm/packetdump",
"packet");
194 $(document).ready(
function() {
195 $(
"#menuChoices").kendoMenu({
197 popupCollision:
false 201 $(
"#menuChoices").css(
"display",
"block");
204 var dataSource =
new kendo.data.DataSource({
211 filter: {field:
"closed",
operator:
"eq", value:
false}
215 var cuGrid = $(
'#cuGrid').kendoGrid({
216 dataSource: dataSource,
226 { field:
"cuLink", title:
"Credit Union", width:110 },
227 { field:
"vendor", title:
"Vendor", width:80 },
228 { field:
"orgname", title:
"CU Name" },
229 { field:
"state", title:
"State", width:50 },
230 { field:
"www", title:
"Server", width:50 },
231 { field:
"type", title:
"Type", width:90 },
232 { field:
"admin", title:
" ", width:70 },
233 { field:
"bank", title:
" ", width:70 },
234 { field:
"mindex", title:
" ", width:70 }
236 dataBound:
function(e) {
238 $(
"#showClosedCheckbox").click(
function() {
239 var filter= $(
this).prop(
"checked") ? null : {field:
"closed",
operator:
"eq", value:
false};
240 cuGrid.dataSource.filter(filter);
243 rowTemplate: kendo.template($(
"#rowTemplate").html())
244 }).data(
"kendoGrid");
246 $(cuGrid.tbody).on(
"click",
"td",
function (e) {
247 var row = $(
this).closest(
"tr");
248 var colIdx = $(
"td", row).index(
this);
249 var rowId = $(e.currentTarget).closest(
"tr").attr(
"id");
251 var dataRow = dataSource.get(rowId);
254 if ( colIdx == column.creditunion ) {
256 if ( dataRow[
"culine"] ==
true ) {
258 location.href =
"<?php echo $infourl?>/hcuadm/cuindex.prg?action=fetch&rowid="+dataRow[
"cucode"]+
"&vc="+dataRow[
"vendor"]+
"&wc="+dataRow[
"www"];
260 }
else if ( colIdx == 1 ) {
262 if ( dataRow[
"vendor"].length > 0 ) {
263 view_vendor( dataRow[
"vendor"] );
265 }
else if ( colIdx == 2 ) {
267 if ( dataRow[
"orglink"].length > 0 ) {
268 var urlToOpen =
"http://"+dataRow[
"orglink"];
269 window.open( urlToOpen,
"_blank");
271 }
else if ( colIdx == 4 ) {
273 if ( dataRow[
"www"].length > 0 ) {
274 if (dataRow[
"www"] !=
'ivr') {
275 location.href =
"<?php echo $infourl?>/hcuadm/servindex.prg?rowid="+dataRow[
"www"];
278 }
else if ( colIdx == 5 ) {
280 if ( dataRow[
"admin"] ==
true && dataRow[
"www"].length > 0 ) {
281 if (dataRow[
"www"] !=
'ivr') {
282 var urlToOpen =
"https://"+dataRow[
"www"]+
".homecu.net/hcuadm/suAdminUser.prg?cucode="+dataRow[
"cucode"]+
"&adminuser="+dataRow[
"cucode"];
284 var urlToOpen =
"https://"+dataRow[
"www"]+
".homecu.net/hcuadm/ivr_mntc?action=admin_login&cu="+dataRow[
"cucode"];
286 window.open( urlToOpen,
"_blank");
288 }
else if ( colIdx == 6 ) {
290 if ( dataRow[
"bank"] ==
true && dataRow[
"www"].length > 0 ) {
291 var urlToOpen =
"https://"+dataRow[
"www"]+
".homecu.net/hcuadm/suCuUser.prg?cucode="+dataRow[
"cucode"];
292 if (dataRow[
'defBankType'] !==
'') {
293 urlToOpen +=
"&obMbrLogin=" + dataRow[
'defBankType'];
295 window.open( urlToOpen,
"_blank");
297 }
else if ( colIdx == 9 ) {
299 if ( dataRow[
"mindex"] == 5 || dataRow[
"mindex"] == 6 ) {
300 var urlToOpen =
"https://"+dataRow[
"www"]+
".homecu.net/fi/"+dataRow[
"cucode"]+
"/mindex.html";
301 window.open( urlToOpen,
"_blank");
302 }
else if ( dataRow[
"mindex"] == 999 ) {
303 var urlToOpen =
"https://"+dataRow[
"www"]+
".homecu.net/~"+dataRow[
"cucode"]+
"/mindex.html";
304 window.open( urlToOpen,
"_blank");
309 var keywords= {batch:
true, live:
true, asp:
true, ivr:
true, voip:
true, webonly:
true, upgrade:
true, conversion:
true, closed:
true, setup:
true,
310 hbupgrade:
true, beta:
true, complete:
true};
311 var keywordMultiselect= $(
"#keywordMultiselect").kendoMultiSelect({
313 data: Object.keys(keywords)
315 placeholder:
"Select Keywords...",
316 change:
function () {
317 var selected= this.value();
318 var currentString= $(
"#id_search").val();
319 var oldArray= currentString.split(
" ");
322 for(var i=0; i!= selected.length; i++)
324 lookup[selected[i]]=
true;
326 for(var i=0; i!= oldArray.length; i++)
328 var word= oldArray[i].trim();
333 if (typeof(keywords[oldArray[i]]) ==
"undefined")
334 newArray.push(oldArray[i]);
335 else if (typeof(lookup[oldArray[i]]) !=
"undefined" && lookup[oldArray[i]])
337 newArray.push(oldArray[i]);
338 lookup[oldArray[i]]=
false;
341 lookup[oldArray[i]]=
false;
344 for(var i=0; i!=selected.length; i++)
346 if (lookup[selected[i]] ==
"undefined" || lookup[selected[i]])
347 newArray.push(selected[i]);
349 $(
"#id_search").val(newArray.join(
" "));
350 $(
"#id_search").keyup();
352 }).data(
"kendoMultiSelect");
356 function setQuickSearch() {
358 $(
'input#id_search').quicksearch(
'div#cuGrid tbody tr', {
359 'stripeRows': [
'odd',
'even'],
360 'loader':
'span.loading' 363 $(
"#id_search").focus();
365 $(
"#id_search").keyup(
function () {
366 var newArray= $(
this).val().split(
" ");
367 var multiselectArray= [];
368 for (var key in keywords)
370 if (keywords.hasOwnProperty(key))
373 for (var i=0; i!=newArray.length; i++)
375 var word= newArray[i].trim();
376 if (word !=
"" && typeof(keywords[newArray[i]]) !=
"undefined" && keywords[newArray[i]])
378 multiselectArray.push(newArray[i]);
379 keywords[newArray[i]]=
false;
382 $(
"#keywordMultiselect").data(
"kendoMultiSelect").value(multiselectArray);
386 function Close_DropDown( idToClose ) {
387 $(
"#" +idToClose).css(
"visibility",
"hidden");
391 <script
id=
"rowTemplate" type=
"text/x-kendo-template">
392 <tr data-uid=
"#= uid #" id=
"#= id #">
394 #if ( culine ) {# <span class='lcolor #= color#'>#= cuLink#</span> #} else {# #= cuLink# #}# 397 # if ( vendor.length > 0 ) { # <span class='lcolor'>#=vendor#</span>#}# 400 # if ( orglink.length > 0 ) {# <span class='lcolor'>#= orgname#</span> #} else { # #= orgname # #}# 406 # if ( www.length > 0 ) {# <span class='lcolor'>#= www#</span> #} else { # #}# 412 # if ( admin ) { # <span class='lcolor'>Admin</span>#}# 415 # if ( bank ) { # <span class='lcolor'>Banking</span>#}# 418 # if ( mindex ) { # <span class='lcolor'>mindex</span>#}# 422 <div
class=
'k-block toTop'>
423 <div
id=
"toTopSection">
424 <a href=#top>Back To Top</a>
428 echo
"<a id=\"top\" name=\"top\"></a>";
429 echo
"<div class='dmsculist.prg' style='width:95%; border-radius: 5px;'>\n";
430 echo
"<div class='bar' style='width:100%; text-align:center;'>SELECT CREDIT UNION</div>";
435 echo
"<div style='padding-top:25px; text-align:center;'>";
437 for ($adx=ord(
"A"); $adx <= ord(
"Z"); $adx++) {
438 echo
"<a href=#" . chr($adx) .
">" . chr($adx) .
"</a> ";
443 <div style=
'text-align:center; padding-left:40%; padding-top:10px; height: 30px;'>
444 <span style=
'float:left;'>Search List:
445 <input type=
'text' name=
'search' size=30
id=
'id_search' placeholder=
'Search' autofocus style=
'display: inline;font-size: 1.2em;' class=
'k-input' />
447 <span style=
'float:left; margin-left:5px;'>
448 <div
id=
'keywordMultiselect' style=
'width: 200px;'></div>
450 <span style=
"float:left; margin-left: 15px;">
451 Show closed: <input
id=
'showClosedCheckbox' type=
'checkbox'>
453 <span style=
'float:left;'><span
class=
'loading' style=
'display: none;'>Loading...</span></span>
475 if ($use_field <>
"N") {
476 $cur_ascii = ord(
"A") - 1;
477 $lst_ascii = ord(
"A") - 1;
491 for ($row=0; list($user_name, $www_server, $vendor, $orgname, $homepage, $system_options, $cu_state, $date_live) = db_fetch_array($sth,$row); $row++) {
492 $user_name = trim($user_name);
497 $cur_ascii = (ord(strtoupper(substr($$use_field, 0, 1))) > $cur_ascii ? ord(strtoupper(substr($$use_field, 0, 1))) : $cur_ascii);
498 if (($cur_ascii <> $lst_ascii) && (($cur_ascii >= ord(
"A")) && ($cur_ascii <= ord(
"Z")))) {
500 for ($adx = $lst_ascii + 1; $adx <= $cur_ascii; $adx++) {
501 $indexLink .= sprintf(
"<a name=%s></a>\n", chr($adx));
507 $lst_ascii = $cur_ascii;
525 $vendor_url =
"<a href=\"javascript:view_vendor('" . trim($vendor) .
"')\" onMouseOver=\"status='View " .
526 trim($vendor) .
" Information'; return true;\" onMouseOut=\"status='';\">" . trim($vendor) .
"</a>";
527 $vend_link = (trim($vendor) ==
'' ?
"" : $vendor_url);
528 $vend_show = (trim($vendor) ==
'' ?
"" :
"&vc=". trim($vendor));
529 $www_show = (trim($www_server) ==
'' ?
"" :
"&wc=$www_server");
531 $orglink = (
"$homepage" ==
"" ? $orgname :
"<a href='http://$homepage' target='_blank'>$orgname</a>");
533 if ((($system_options & $SYS_TYPE_CLOSED) != $SYS_TYPE_CLOSED) && !((($system_options & $SYS_TYPE_IVR) == $SYS_TYPE_IVR || ($system_options & $SYS_TYPE_VOIP) == $SYS_TYPE_VOIP) && (($system_options & $SYS_TYPE_BATCH) != $SYS_TYPE_BATCH && ($system_options & $SYS_TYPE_LIVE) != $SYS_TYPE_LIVE))) {
534 $admlink = (trim($www_server) ==
'' ?
"" :
"<a href='https://${www_server}.homecu.net/hcuadm/suAdminUser.prg?cucode=${user_name}&adminuser=${user_name}' target='_blank'>Admin</a>");
535 $admlink = (trim($www_server) ==
'' ? false :
true);
543 if ((($system_options & $SYS_TYPE_CLOSED) != $SYS_TYPE_CLOSED) && (($system_options & $SYS_TYPE_WEBONLY) != $SYS_TYPE_WEBONLY) && !((($system_options & $SYS_TYPE_IVR) == $SYS_TYPE_IVR || ($system_options & $SYS_TYPE_VOIP) == $SYS_TYPE_VOIP) && (($system_options & $SYS_TYPE_BATCH) != $SYS_TYPE_BATCH && ($system_options & $SYS_TYPE_LIVE) != $SYS_TYPE_LIVE))) {
544 $memlink = (trim($www_server) ==
'' ?
"" :
"<a href='https://${www_server}.homecu.net/hcuadm/suCuUser.prg?cucode=${user_name}' target='_blank'>Banking</a>");
545 $memlink = (trim($www_server) ==
'' ? false :
true);
547 if ((($system_options & $SYS_TYPE_CLOSED) != $SYS_TYPE_CLOSED) && (($system_options & $SYS_TYPE_WEBONLY) != $SYS_TYPE_WEBONLY) && !((($system_options & $SYS_TYPE_IVR) == $SYS_TYPE_IVR || ($system_options & $SYS_TYPE_VOIP) == $SYS_TYPE_VOIP) && (($system_options & $SYS_TYPE_BATCH) != $SYS_TYPE_BATCH && ($system_options & $SYS_TYPE_LIVE) != $SYS_TYPE_LIVE))){
548 switch (trim(strtolower($www_server))) {
558 $mnulink =
"<a href='https://${www_server}.homecu.net/fi/${user_name}/mindex.html' target='_blank'>mindex</a>";
562 $mnulink =
"<a href='https://${www_server}.homecu.net/~${user_name}/mindex.html' target='_blank'>mindex</a>";
567 $print_HomeCU_Type =
"";
568 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_BATCH ?
"B" :
"");
569 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_LIVE ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_LIVE ?
"L" :
"") :
"");
570 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_ASP ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_ASP ?
"A" :
"") :
"");
571 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_IVR ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_IVR ?
"I" :
"") :
"");
572 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_VOIP ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_VOIP ?
"V" :
"") :
"");
573 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_WEBONLY ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_WEBONLY ?
"W" :
"") :
"");
574 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_UPGRADE ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_UPGRADE ?
"U" :
"") :
"");
576 $print_HomeCU_Type = ($system_options & $SYS_TYPE_CLOSED ?
"C" : $print_HomeCU_Type);
579 $search_HomeCU_Type =
"";
580 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_BATCH ?
":BATCH:" :
"");
581 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_LIVE ?
":LIVE:" :
"");
582 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_ASP ?
":LIVE:ASP:" :
"");
583 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_IVR ?
":IVR:" :
"");
584 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_VOIP ?
":VOIP:" :
"");
585 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_WEBONLY ?
":WEBONLY:" :
"");
586 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPGRADE ?
":UPGRADE:CONVERSION:" :
"");
587 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_CLOSED ?
":CLOSED" :
"");
589 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_TEST ?
":SETUP:HBUPGRADE:UPGRADE" :
"");
590 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_BETA ?
":BETA:HBUPGRADE:UPGRADE" :
"");
591 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_COMP ?
":COMPLETE:HBUPGRADE:UPGRADE" :
"");
594 if ( ($system_options & $SYS_TYPE_CLOSED) == $SYS_TYPE_CLOSED ) {
597 if ( ($system_options & $SYS_TYPE_BATCH) == $SYS_TYPE_BATCH ) {
600 if ( ($system_options & $SYS_TYPE_LIVE) == $SYS_TYPE_LIVE ) {
603 if ( ($system_options & $SYS_TYPE_WEBONLY) == $SYS_TYPE_WEBONLY ) {
608 if ( (($system_options & $SYS_TYPE_CLOSED) != $SYS_TYPE_CLOSED) && (($system_options & $SYS_TYPE_WEBONLY) != $SYS_TYPE_WEBONLY) ) {
609 $serverTest = trim(strtolower($www_server));
610 if ( $serverTest ===
"www3" ) {
612 }
else if ( $serverTest ===
"www4" ) {
614 }
else if ( $serverTest ===
"www5" ) {
616 }
else if ( $serverTest ===
"www6" ) {
621 $linkColor = (($system_options & $SYS_TYPE_CLOSED) == $SYS_TYPE_CLOSED ?
'lclosed' :
'');
624 $cuLink = sprintf(
"$indexLink%s", $user_name );
626 $wwwLink = sprintf(
"<span class='lcolor'>%s</span>", trim($www_server) );
627 $type = sprintf(
"%s <span style='display:none;'>%s</span>", $print_HomeCU_Type, $search_HomeCU_Type );
645 if ($date_live !=
'') {
654 if ($system_options & $SYS_TYPE_UPG_TEST) {
655 $hbStatusText =
'SETUP';
656 } elseif ($system_options & $SYS_TYPE_UPG_BETA) {
657 $hbStatusText =
'BETA';
658 } elseif ($system_options & $SYS_TYPE_UPG_COMP) {
659 $hbStatusText =
'COMP';
665 $dataEntry = array(
"row_id" => $row,
"culine" =>
true,
"cuLink" => $cuLink,
"cucode" => $user_name,
"vendor" => trim($vendor),
666 "orgname" => $orgname,
"orglink" => $homepage,
"color" => $linkColor,
667 "state" => trim($cu_state),
"www" => trim($www_server),
"upg_status" => $hbStatusText,
"type" => $type,
668 "admin" => $admlink,
"bank" => $memlink,
"defBankType" => $obMbrLogin,
"mindex" => $mnulink,
"closed" => ($system_options & $SYS_TYPE_CLOSED) != 0);
670 $gridData[] = $dataEntry;
676 echo
"<div id='cuGrid'></div>\n";
677 $finalIndexLink =
"";
678 if ($use_field <>
"N") {
679 if ($cur_ascii < ord(
"Z")) {
680 for ($adx = $cur_ascii + 1; $adx <= ord(
"Z"); $adx++) {
681 $finalIndexLink .= sprintf(
"<a name=%s></a>\n", chr($adx));
685 echo $finalIndexLink;
687 echo
"Live: $liveCount, Batch: $batchCount, WebOnly: $webonlyCount, Total: $totalCount, Closed: $closedCount, Net: " . ($totalCount - $closedCount);
688 echo
" Server counts - ";
690 if ( $www3Count > 0 ) {
691 echo
"{$separator}www3: $www3Count";
694 if ( $www4Count > 0 ) {
695 echo
"{$separator}www4: $www4Count";
698 if ( $www5Count > 0 ) {
699 echo
"{$separator}www5: $www5Count";
702 if ( $www6Count > 0 ) {
703 echo
"{$separator}www6: $www6Count";
707 echo
" Upgrades Remaining: " . ($liveCount + $batchCount - $upgradeCount);
712 print
"<script language=\"javascript\">\n";
714 print
" var gridData = " . json_encode( $gridData ) .
"\n";
718 $set_sys_opt[0] =
"";
719 $set_sys_opt[1] =
"";
720 $set_sys_opt[2] =
"";
721 $set_sys_opt[4] =
"";
722 $set_sys_opt[8] =
"";
723 $set_sys_opt[16] =
"";
724 $set_sys_opt[32] =
"";
725 $set_sys_opt[64] =
"";
726 if ($bit_sys_opt > 0) {
727 foreach ($set_sys_opt as $key=>$value) {
728 $set_sys_opt[$key] = (($key & $bit_sys_opt) > 0 ?
"CHECKED" :
"");
733 <div
id=
"ShowId" class=
"dtl" style=
"position:absolute;left:0px;top:0px;visibility:hidden;border:1px solid black;">
734 <form action=
"/hcuadm/mtrList?action=list&orderby={$orderby}" method=
"post">
735 <table border=0 cellpadding=0 cellspacing=0 width=
'%'>
738 <input type=
'checkbox' name=
'sys_opt[]' value=
'1' {$set_sys_opt[1]}>Batch
743 <input type=
'checkbox' name=
'sys_opt[]' value=
'2' {$set_sys_opt[2]}>Live
748 <input type=
'checkbox' name=
'sys_opt[]' value=
'4' {$set_sys_opt[4]}>ASP
753 <input type=
'checkbox' name=
'sys_opt[]' value=
'8' {$set_sys_opt[8]}>IVR
758 <input type=
'checkbox' name=
'sys_opt[]' value=
'16' {$set_sys_opt[16]}>Web Only
763 <input type=
'checkbox' name=
'sys_opt[]' value=
'32' {$set_sys_opt[32]}>Upgrade / Conversion
768 <input type=
'checkbox' name=
'sys_opt[]' value=
'64' {$set_sys_opt[64]}>Closed CU
773 <input type=
'checkbox' name=
'sys_opt[]' value=
'0' {$set_sys_opt[0]}>ALL
783 <a href=
'javascript:Close_DropDown("ShowId");'>Close</a>
784 <input type=
'submit' name=
'btnShowType' value=
'Show'>
793 function spewmenu() {
794 # actual menu code is in menu.js 795 global $use_cookie, $PHP_SELF, $ivrHostName, $Hu;
796 $checkhost = substr(strtolower($_SERVER[
'HTTP_HOST']),0,4);
797 if ($checkhost ==
'www4' ) {
798 $rdcinq=
'<li><a href="hcuRDCStatus.prg">Mobile RDC Inquiry</a></li>';
799 $loggingReportLink=
"<li><a href='loggingReport.prg'>Vendor Logging Report</a></li>";
800 $tvinq =
'<li><a href="TrustedReport.prg">Trusted Vendor Report</a></li>';
802 $rdcinq=
'<li>Mobile RDC Inquiry<ul><li><a href="https://www3.homecu.net/hcuadm/hcuRDCStatus.prg">Live (www3)</a></li><li><a href="https://www6.homecu.net/hcuadm/hcuRDCStatus.prg">Live (www6)</a></li><li><a href="https://www5.homecu.net/hcuadm/hcuRDCStatus.prg">Batch</a></li></ul></li>';
803 $loggingReportLink=
"<li>Vendor Logging Report 805 <li><a href=\"https://www3.homecu.net/hcuadm/loggingReport.prg\">Live (www3)</a></li> 806 <li><a href=\"https://www6.homecu.net/hcuadm/loggingReport.prg\">Live (www6)</a></li> 807 <li><a href=\"https://www5.homecu.net/hcuadm/loggingReport.prg\">Batch</a></li> 812 $server = strtolower($_SERVER[
'HTTP_HOST']);
814 $trustedReportLink=
"<li><a href='TrustedReport.prg'>Trusted Vendor Report</a></li>";
816 $billingMenu=
false !== array_search($Hu, array(
"joe",
"phil",
"tyler",
"cerise",
"paul",
"mike",
"mark",
"samuel",
"gus")) ?
"<li><a href='https://{$server}/hcubill/index.php'>Billing System</a></li>" :
"";
822 $path_to_apps =
"/hcuadm/";
825 <ul
id=
"menuChoices" style=
'display:none;'>
828 <li><a href=
"imp_menu.prg">Implementation</a></li>
829 <li><a href=
"javascript:keywin()">Generate Key</a></li>
830 <li>Packet Tester<ul><li><a href=
"javascript:pktwin(3)">www3</a></li><li><a href=
"javascript:pktwin(6)">www6</a></li></ul></li>
831 <li><a href=
"quickedit.prg">Quick Edits</a></li>
832 <li><a href=
"javascript:hashwin()">Ticket Hashes</a></li>
833 <li><a href=
"https://192.168.169.2/">HomeCU Wiki</a></li>
834 <li><a href=
"https://www4.homecu.net/hcuadm/hcuTransAm.prg?callback={$_SERVER["HTTP_HOST
"]}">Translation Maintenance</a></li>
838 <li>App Report<ul><li><a href=
"appreport_gp_client.prg">Google Play</a></li></ul></li>
843 <li><a href=
"{$path_to_apps}cuissues_report.prg">Current Jobs</a></li>
844 <li><a href=
"{$path_to_apps}adm_reports.prg">
Banking Reports</a></li>
845 <li><a href=
"https://www.homecu.net/hcuadm/stmnt_reports.prg">E-Statement Reports</a></li>
846 <li><a href=
"{$path_to_apps}info_reports.prg">Info Reports</a></li>
847 <li><a href=
"{$path_to_apps}showflags.prg">Processing Flags</a></li>
848 <li><a href=
"{$path_to_apps}showhavetrans.prg">Transaction Settings</a></li>
849 <li><a href=
"{$path_to_apps}domain_email_report.prg">E-Mail Reporting</a></li>
850 <li>Alerts / Recur<ul><li><a href=
"https://www3.homecu.net/hcuadm/alertrecreport.prg">www3</a></li><li><a href=
"https://www6.homecu.net/hcuadm/alertrecreport">www6</a></li></ul></li>
851 <li><a href=
"https://www.homecu.net/hcuadm/gatherlaststatus.prg">Last Live Status</a></li>
852 <li><a href=
"{$path_to_apps}monitor_notes_search.prg">Search Monitor Notes</a></li>
853 <li><a href=
"{$path_to_apps}cuproduct_report.prg?show_product=1">Current CU Products</a></li>
854 <li><a href=
"https://{$ivrHostName}/hcuadm/ivr_report.prg">IVR Report</a></li>
861 <li><a href=
"{$path_to_apps}cuinfoedit.prg">Add CU</a></li>
862 <li><a href=
"{$path_to_apps}admin_msg.prg">Admin Messages</a></li>
863 <li><a href=
"{$path_to_apps}cuprogmntc.prg">Admin Programs</a></li>
864 <li><a href=
"{$path_to_apps}admin_survey.prg" onclick=
"surveys.browse(event)">Surveys</a></li>
865 <li><a href=
"{$path_to_apps}cuquest.prg">Challenge Questions</a></li>
866 <li><a href=
"{$path_to_apps}cuimage.prg">Image Vendors</a></li>
867 <li><a href=
"{$path_to_apps}cuissuesmntc.prg">Maintain Job Templates</a></li>
868 <li><a href=
"{$path_to_apps}hcuusers.prg">Monitor Users</a></li>
869 <li><a href=
"{$path_to_apps}cusso.prg">SSO Vendors</a></li>
870 <li><a href=
"{$path_to_apps}cutrans.prg">Transaction Codes</a></li>
871 <li><a href=
"{$path_to_apps}cuvndr.prg">Vendors</a></li>
872 <li><a href=
"{$path_to_apps}cutrustvendor.prg">Trusted Vendors</a></li>
873 <li><a href=
"{$path_to_apps}hcu_prod_list.prg">Products</a></li>
874 <li><a href=
"{$path_to_apps}lnappLookup.prg">Online Loan Lookups</a></li>
875 <li><a href=
"{$path_to_apps}hcu_custom_mntc.prg">Custom Content Files</a></li>
876 <li><a href=
"https://{$ivrHostName}/hcuadm/ivr_mntc_msg.prg">IVR Message Codes</a></li>
883 print
"<li><a href='$PHP_SELF?action=list&reset_cookie=1'>Reset Monitor View</a></li>";
888 <li><a href=
"/hcuadm/hcu_logout.prg">Logoff Monitor</a></li>