3 $monLibrary = dirname(__FILE__) .
"/../library";
4 require_once(
"$monLibrary/cu_top.i");
5 require_once(
"$monLibrary/ck_hticket.i");
6 require_once(
"$monLibrary/cu_pass.i");
8 if (!CheckPerm($link, $Hu, basename($_SERVER[
'SCRIPT_NAME']), $_SERVER[
'REMOTE_ADDR'])) {
12 header(
"Location: /hcuadm/hcu_noperm.prg");
20 $dms_ok=array(
'sys_opt'=>
'array',
'btnShowType'=>
'string',
'action'=>
'string',
21 'orderby'=>
'string',
'reset_cookie'=>
'digits');
27 $ivrHostName =
'ivr.homecu.net';
30 if ($reset_cookie == 1) {
31 HCU_setcookie_env($SYSENV,
"Monitor_View",
"", $now);
33 } elseif (!isset($orderby) && !isset($sys_opt)) {
35 if (isset($_COOKIE[
'Monitor_View'])) {
38 parse_str ($_COOKIE[
'Monitor_View']);
43 if (empty($orderby)) {
48 $sql_order =
"www_server,lower(user_name)";
52 $sql_order =
"lower(user_name)";
53 $use_field =
"user_name";
56 $sql_order =
"upper(vendor)";
57 $use_field =
"vendor";
60 $sql_order =
"upper(name)";
61 $use_field =
"orgname";
64 $sql_order =
"upper(state), lower(user_name)";
65 $use_field =
"cu_state";
71 WHEN (coalesce(system_options, 0) & $SYS_TYPE_CLOSED) = $SYS_TYPE_CLOSED 73 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_ASP)) = ($SYS_TYPE_BATCH + $SYS_TYPE_ASP) 75 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_IVR)) = ($SYS_TYPE_BATCH + $SYS_TYPE_IVR) 77 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_BATCH + $SYS_TYPE_VOIP)) = ($SYS_TYPE_BATCH + $SYS_TYPE_VOIP) 79 WHEN (coalesce(system_options, 0) & $SYS_TYPE_BATCH) = $SYS_TYPE_BATCH 81 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_ASP)) = ($SYS_TYPE_LIVE + $SYS_TYPE_ASP) 83 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_IVR)) = ($SYS_TYPE_LIVE + $SYS_TYPE_IVR) 85 WHEN (coalesce(system_options, 0) & ($SYS_TYPE_LIVE + $SYS_TYPE_VOIP)) = ($SYS_TYPE_LIVE + $SYS_TYPE_VOIP) 87 WHEN (coalesce(system_options, 0) & $SYS_TYPE_LIVE) = $SYS_TYPE_LIVE 89 WHEN (coalesce(system_options, 0) & $SYS_TYPE_IVR) = $SYS_TYPE_IVR 91 WHEN (coalesce(system_options, 0) & $SYS_TYPE_VOIP) = $SYS_TYPE_VOIP 93 WHEN (coalesce(system_options, 0) & $SYS_TYPE_WEBONLY) = $SYS_TYPE_WEBONLY 107 if (isset($sys_opt)) {
110 foreach ($sys_opt as $opt_value) {
111 $bit_sys_opt = ($bit_sys_opt | $opt_value);
114 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
115 } elseif (isset($sys_opt)) {
116 $bit_sys_opt = $sys_opt;
117 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
118 } elseif (isset($cookie_sys_opt)) {
119 $bit_sys_opt = $cookie_sys_opt;
120 $link_sys_opt =
"&sys_opt=$bit_sys_opt";
124 $cookie_val =
"orderby=$orderby&cookie_sys_opt=$bit_sys_opt";
125 HCU_setcookie_env($SYSENV,
"Monitor_View", $cookie_val, time() + 86400);
126 if ($bit_sys_opt > 0 ) {
127 $sql_sys_opt =
" WHERE (system_options & $bit_sys_opt) > 0 ";
129 $sql =
"SELECT user_name, www_server, vendor, rtrim(name) as name, 130 trim(home_page_url), system_options, state, date_live 133 ORDER BY $sql_order";
135 $sth = db_query($sql, $dbh);
139 cu_header(
"Credit Union Settings Maintenance -- Select Account");
140 require(
"monitorScriptInclude.prg" );
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 language=
"javascript">
174 function view_vendor(vend_code) {
177 url =
"view_vend.prg?vc=" + vend_code;
178 newwin = window.open(url,
"VendorInfo",
"width=400, height=600, resizeable=yes, scrollbars=yes, status=no, menubar=no, location=no, top=0, left=0");
182 window.open(
"GenKey.prg",
"GenKey",
"toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=600,height=430");
186 window.open(
"TicketHash",
"TicketHash",
"toolbar=1,location=0,directories=0,status=1,menubar=0,scrollbars=1,resizable=1,width=600,height=340");
188 function pktwin(which) {
190 var pktExt = (which ==
'my' ?
'.prg' :
'');
191 window.open(
"https://" + which +
".homecu.net/hcuadm/packetdump" + pktExt,
"packet");
194 var knownServers = [
"www",
"www3",
"www4",
"www5",
"www6"]; <?php
196 $(document).ready(
function() {
197 $(
"#menuChoices").kendoMenu({
199 popupCollision:
false 203 $(
"#menuChoices").css(
"display",
"block");
206 var dataSource =
new kendo.data.DataSource({
213 filter: {field:
"closed",
operator:
"eq", value:
false}
217 var cuGrid = $(
'#cuGrid').kendoGrid({
218 dataSource: dataSource,
228 { field:
"cuLink", title:
"Credit Union", width:110 },
229 { field:
"vendor", title:
"Vendor", width:80 },
230 { field:
"orgname", title:
"CU Name" },
231 { field:
"state", title:
"State", width:50 },
232 { field:
"www", title:
"Server", width:50 },
233 { field:
"upg_status", title:
"Odyssey Status", width:100 },
234 { field:
"type", title:
"Type", width:90 },
235 { field:
"admin", title:
" ", width:70 },
236 { field:
"bank", title:
" ", width:70 },
237 { field:
"mindex", title:
" ", width:70 }
239 dataBound:
function(e) {
241 $(
"#showClosedCheckbox").click(
function() {
242 var filter= $(
this).prop(
"checked") ? null : {field:
"closed",
operator:
"eq", value:
false};
243 cuGrid.dataSource.filter(filter);
246 rowTemplate: kendo.template($(
"#rowTemplate").html())
247 }).data(
"kendoGrid");
249 $(cuGrid.tbody).on(
"click",
"td",
function (e) {
250 var row = $(
this).closest(
"tr");
251 var colIdx = $(
"td", row).index(
this);
252 var rowId = $(e.currentTarget).closest(
"tr").attr(
"id");
254 var dataRow = dataSource.get(rowId);
271 if ( colIdx == column.creditunion ) {
273 if ( dataRow[
"culine"] ==
true ) {
275 location.href =
"<?php echo $infourl?>/hcuadm/cuindex.prg?action=fetch&rowid="+dataRow[
"cucode"]+
"&vc="+dataRow[
"vendor"]+
"&wc="+dataRow[
"www"];
277 }
else if ( colIdx == column.vendorcode ) {
279 if ( dataRow[
"vendor"].length > 0 ) {
280 view_vendor( dataRow[
"vendor"] );
282 }
else if ( colIdx == column.webpagelink ) {
284 if ( dataRow[
"orglink"].length > 0 ) {
285 var urlToOpen =
"http://"+dataRow[
"orglink"];
286 window.open( urlToOpen,
"_blank");
288 }
else if ( colIdx == column.webserver ) {
290 if ( dataRow[
"www"].length > 0 ) {
291 if (dataRow[
"www"] !=
'ivr') {
292 location.href =
"<?php echo $infourl?>/hcuadm/servindex.prg?rowid="+dataRow[
"www"];
295 }
else if ( colIdx == column.status) {
296 location.href =
"<?php echo $infourl?>/hcuadm/cuindex.prg?action=fetch&rowid="+dataRow[
"cucode"]+
"&vc="+dataRow[
"vendor"]+
"&wc=<?php echo $_SERVER['HTTP_HOST']; ?>";
297 }
else if ( colIdx == column.adminlink ) {
299 if ( dataRow[
"admin"] ==
true && dataRow[
"www"].length > 0 ) {
301 if (dataRow[
"www"] ==
"ivr") {
302 var server =
"https://" + dataRow[
"www"] +
".homecu.net";
303 urlToOpen = server +
"/hcuadm/ivr_mntc?action=admin_login&cu=" + dataRow[
"cucode"];
304 }
else if (dataRow[
"www"].indexOf(
"localhost") !== -1) {
305 urlToOpen =
"/hcuadm/suAdminUser.prg?cucode=" + dataRow[
"cucode"] +
"&adminuser=" + dataRow[
"cucode"];
306 }
else if (knownServers.indexOf(dataRow[
"www"]) !== -1) { <?php
307 var server =
"https://" + dataRow[
"www"] +
".homecu.net";
308 urlToOpen = server +
"/hcuadm/adm_ticket?username=" + dataRow[
"cucode"];
310 var server =
"https://" + dataRow[
"www"];
311 urlToOpen = server +
"/hcuadm/suAdminUser.prg?cucode=" + dataRow[
"cucode"] +
"&adminuser=" + dataRow[
"cucode"];
313 window.open( urlToOpen,
"_blank");
315 }
else if ( colIdx == column.bankinglink ) {
317 if ( dataRow[
"bank"] ==
true && dataRow[
"www"].length > 0 ) {
319 if (dataRow[
"www"].indexOf(
"localhost") !== -1) {
320 urlToOpen =
"/hcuadm/suCuUser.prg?cucode=" + dataRow[
"cucode"];
321 }
else if (knownServers.indexOf(dataRow[
"www"]) !== -1) { <?php
322 var server =
"https://" + dataRow[
"www"] +
".homecu.net";
323 urlToOpen = server +
"/hcuadm/mem_ticket?cu=" + dataRow[
"cucode"];
325 var server =
"https://" + dataRow[
"www"];
326 urlToOpen = server +
"/hcuadm/suCuUser.prg?cucode=" + dataRow[
"cucode"];
328 urlToOpen += dataRow[
'defBankType'] !==
'' ?
"&obMbrLogin=" + dataRow[
'defBankType'] :
"";
329 window.open( urlToOpen,
"_blank");
331 }
else if ( colIdx == column.mindexlink ) {
334 if (dataRow[
"www"].indexOf(
"localhost") !== -1) {
335 urlToOpen =
"/banking/hcuLogin.prg?cu=" + dataRow[
"cucode"].toUpperCase();
336 }
else if (knownServers.indexOf(dataRow[
"www"]) !== -1) { <?php
337 var server =
"https://" + dataRow[
"www"] +
".homecu.net";
338 if ([5,6].indexOf(dataRow[
"mindex"]) !== -1) {
339 urlToOpen = server +
"/fi/" + dataRow[
"cucode"];
341 urlToOpen = server +
"/~" + dataRow[
"cucode"];
343 urlToOpen +=
"/mindex.html";
345 var server =
"https://" + dataRow[
"www"];
346 urlToOpen = server +
"/banking/hcuLogin.prg?cu=" + dataRow[
"cucode"].toUpperCase();
348 window.open( urlToOpen,
"_blank");
352 var keywords = {batch:
true, live:
true, asp:
true, ivr:
true, voip:
true, webonly:
true, upgrade:
true, conversion:
true, closed:
true, setup:
true,
353 hbupgrade:
true, beta:
true, complete:
true};
354 var keywordMultiselect = $(
"#keywordMultiselect").kendoMultiSelect({
356 data: Object.keys(keywords)
358 placeholder:
"Select Keywords...",
359 change:
function () {
360 var selected= this.value();
361 var currentString= $(
"#id_search").val();
362 var oldArray= currentString.split(
" ");
365 for(var i=0; i!= selected.length; i++)
367 lookup[selected[i]]=
true;
369 for(var i=0; i!= oldArray.length; i++)
371 var word= oldArray[i].trim();
376 if (typeof(keywords[oldArray[i]]) ==
"undefined")
377 newArray.push(oldArray[i]);
378 else if (typeof(lookup[oldArray[i]]) !=
"undefined" && lookup[oldArray[i]])
380 newArray.push(oldArray[i]);
381 lookup[oldArray[i]]=
false;
384 lookup[oldArray[i]]=
false;
387 for(var i=0; i!=selected.length; i++)
389 if (lookup[selected[i]] ==
"undefined" || lookup[selected[i]])
390 newArray.push(selected[i]);
392 $(
"#id_search").val(newArray.join(
" "));
393 $(
"#id_search").keyup();
395 }).data(
"kendoMultiSelect");
399 function setQuickSearch() {
401 $(
'input#id_search').quicksearch(
'div#cuGrid tbody tr', {
402 'stripeRows': [
'odd',
'even'],
403 'loader':
'span.loading' 406 $(
"#id_search").focus();
408 $(
"#id_search").keyup(
function () {
409 var newArray= $(
this).val().split(
" ");
410 var multiselectArray= [];
411 for (var key in keywords)
413 if (keywords.hasOwnProperty(key))
416 for (var i=0; i!=newArray.length; i++)
418 var word= newArray[i].trim();
419 if (word !=
"" && typeof(keywords[newArray[i]]) !=
"undefined" && keywords[newArray[i]])
421 multiselectArray.push(newArray[i]);
422 keywords[newArray[i]]=
false;
425 $(
"#keywordMultiselect").data(
"kendoMultiSelect").value(multiselectArray);
429 function Close_DropDown( idToClose ) {
430 $(
"#" +idToClose).css(
"visibility",
"hidden");
434 <script
id=
"rowTemplate" type=
"text/x-kendo-template">
435 <tr data-uid=
"#= uid #" id=
"#= id #">
437 #if ( culine ) {# <span class='lcolor #= color#'>#= cuLink#</span> #} else {# #= cuLink# #}# 440 # if ( vendor.length > 0 ) { # <span class='lcolor'>#=vendor#</span>#}# 443 # if ( orglink.length > 0 ) {# <span class='lcolor'>#= orgname#</span> #} else { # #= orgname # #}# 449 # if ( www.length > 0 ) {# <span class='lcolor'>#= www#</span> #} else { # #}# 452 #if ( upg_status ) {# <span class='lcolor #= color#'>#= upg_status #</span> #} else {# #= upg_status # #}# 458 # if ( admin ) { # <span class='lcolor'>Admin</span>#}# 461 # if ( bank ) { # <span class='lcolor'>Banking</span>#}# 464 # if ( mindex ) { # <span class='lcolor'> # if ( mindex == 999) { # login # } else { # mindex # } #</span>#}# 468 <div
class=
'k-block toTop'>
469 <div
id=
"toTopSection">
470 <a href=#top>Back To Top</a>
474 echo
"<a id=\"top\" name=\"top\"></a>";
475 echo
"<div class='dmsculist.prg' style='width:95%; border-radius: 5px;'>\n";
476 echo
"<div class='bar' style='width:100%; text-align:center;'>SELECT CREDIT UNION</div>";
481 echo
"<div style='padding-top:25px; text-align:center;'>";
483 for ($adx=ord(
"A"); $adx <= ord(
"Z"); $adx++) {
484 echo
"<a href=#" . chr($adx) .
">" . chr($adx) .
"</a> ";
489 <div style=
'text-align:center; padding-left:40%; padding-top:10px; height: 30px;'>
490 <span style=
'float:left;'>Search List:
491 <input type=
'text' name=
'search' size=30
id=
'id_search' placeholder=
'Search' autofocus style=
'display: inline;font-size: 1.2em;' class=
'k-input' />
493 <span style=
'float:left; margin-left:5px;'>
494 <div
id=
'keywordMultiselect' style=
'width: 200px;'></div>
496 <span style=
"float:left; margin-left: 15px;">
497 Show closed: <input
id=
'showClosedCheckbox' type=
'checkbox'>
499 <span style=
'float:left;'><span
class=
'loading' style=
'display: none;'>Loading...</span></span>
503 if ($use_field <>
"N") {
504 $cur_ascii = ord(
"A") - 1;
505 $lst_ascii = ord(
"A") - 1;
521 for ($row = 0; list($user_name, $www_server, $vendor, $orgname, $homepage, $system_options, $cu_state, $date_live) = db_fetch_array($sth,$row); $row ++) {
522 $user_name = trim($user_name);
526 $cur_ascii = (ord(strtoupper(substr($$use_field, 0, 1))) > $cur_ascii ? ord(strtoupper(substr($$use_field, 0, 1))) : $cur_ascii);
527 if (($cur_ascii <> $lst_ascii) && (($cur_ascii >= ord(
"A")) && ($cur_ascii <= ord(
"Z")))) {
529 for ($adx = $lst_ascii + 1; $adx <= $cur_ascii; $adx++) {
530 $indexLink .= sprintf(
"<a name=%s></a>\n", chr($adx));
533 $lst_ascii = $cur_ascii;
544 $vendor_url =
"<a href=\"javascript:view_vendor('" . trim($vendor) .
"')\" onMouseOver=\"status='View " .
545 trim($vendor) .
" Information'; return true;\" onMouseOut=\"status='';\">" . trim($vendor) .
"</a>";
546 $vend_link = (trim($vendor) ==
'' ?
"" : $vendor_url);
547 $vend_show = (trim($vendor) ==
'' ?
"" :
"&vc=". trim($vendor));
548 $www_show = (trim($www_server) ==
'' ?
"" :
"&wc=$www_server");
550 $orglink = (
"$homepage" ==
"" ? $orgname :
"<a href='http://$homepage' target='_blank'>$orgname</a>");
552 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))) {
553 $admlink = (trim($www_server) ==
'' ? false :
true);
555 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))) {
556 $memlink = (trim($www_server) ==
'' ? false :
true);
558 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))){
559 switch (trim(strtolower($www_server))) {
577 $print_HomeCU_Type =
"";
578 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_BATCH ?
"B" :
"");
579 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_LIVE ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_LIVE ?
"L" :
"") :
"");
580 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_ASP ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_ASP ?
"A" :
"") :
"");
581 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_IVR ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_IVR ?
"I" :
"") :
"");
582 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_VOIP ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_VOIP ?
"V" :
"") :
"");
583 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_WEBONLY ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_WEBONLY ?
"W" :
"") :
"");
584 $print_HomeCU_Type .= ($system_options & $SYS_TYPE_UPGRADE ? (strlen($print_HomeCU_Type) > 0 ?
" / " :
"") . ($system_options & $SYS_TYPE_UPGRADE ?
"U" :
"") :
"");
586 $print_HomeCU_Type = ($system_options & $SYS_TYPE_CLOSED ?
"C" : $print_HomeCU_Type);
589 $search_HomeCU_Type =
"";
590 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_BATCH ?
":BATCH:" :
"");
591 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_LIVE ?
":LIVE:" :
"");
592 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_ASP ?
":LIVE:ASP:" :
"");
593 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_IVR ?
":IVR:" :
"");
594 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_VOIP ?
":VOIP:" :
"");
595 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_WEBONLY ?
":WEBONLY:" :
"");
596 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPGRADE ?
":UPGRADE:CONVERSION:" :
"");
597 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_CLOSED ?
":CLOSED" :
"");
599 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_TEST ?
":SETUP:HBUPGRADE:UPGRADE" :
"");
600 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_BETA ?
":BETA:HBUPGRADE:UPGRADE" :
"");
601 $search_HomeCU_Type .= ($system_options & $SYS_TYPE_UPG_COMP ?
":COMPLETE:HBUPGRADE:UPGRADE" :
"");
604 if ( ($system_options & $SYS_TYPE_CLOSED) == $SYS_TYPE_CLOSED ) {
607 if ( ($system_options & $SYS_TYPE_BATCH) == $SYS_TYPE_BATCH ) {
610 if ( ($system_options & $SYS_TYPE_LIVE) == $SYS_TYPE_LIVE ) {
613 if ( ($system_options & $SYS_TYPE_WEBONLY) == $SYS_TYPE_WEBONLY ) {
618 if ( (($system_options & $SYS_TYPE_CLOSED) != $SYS_TYPE_CLOSED) && (($system_options & $SYS_TYPE_WEBONLY) != $SYS_TYPE_WEBONLY) ) {
619 $serverTest = trim(strtolower($www_server));
620 if ( $serverTest ===
"www3" ) {
622 }
else if ( $serverTest ===
"www4" ) {
624 }
else if ( $serverTest ===
"www5" ) {
626 }
else if ( $serverTest ===
"www6" ) {
628 }
else if ( $serverTest ===
"my.homecu.net") {
630 }
else if ( strpos($serverTest,
"localhost") !==
false) {
635 $linkColor = (($system_options & $SYS_TYPE_CLOSED) == $SYS_TYPE_CLOSED ?
'lclosed' :
'');
637 $cuLink = sprintf(
"$indexLink%s", $user_name );
638 $wwwLink = sprintf(
"<span class='lcolor'>%s</span>", trim($www_server) );
639 $type = sprintf(
"%s <span style='display:none;'>%s</span>", $print_HomeCU_Type, $search_HomeCU_Type );
641 if ($date_live !=
'') {
650 if ($system_options & $SYS_TYPE_UPG_TEST) {
651 $hbStatusText =
'SETUP';
652 } elseif ($system_options & $SYS_TYPE_UPG_BETA) {
653 $hbStatusText =
'BETA';
654 } elseif ($system_options & $SYS_TYPE_UPG_COMP) {
655 $hbStatusText =
'COMP';
659 }
else if ($system_options & $SYS_TYPE_WEBONLY) {
660 $hbStatusText =
'N/A';
663 $dataEntry = array(
"row_id" => $row,
"culine" =>
true,
"cuLink" => $cuLink,
"cucode" => $user_name,
"vendor" => trim($vendor),
664 "orgname" => $orgname,
"orglink" => $homepage,
"color" => $linkColor,
665 "state" => trim($cu_state),
"www" => trim($www_server),
"upg_status" => $hbStatusText,
"type" => $type,
666 "admin" => $admlink,
"bank" => $memlink,
"defBankType" => $obMbrLogin,
"mindex" => $mnulink,
"closed" => ($system_options & $SYS_TYPE_CLOSED) != 0);
668 $gridData[] = $dataEntry;
674 echo
"<div id='cuGrid'></div>\n";
675 $finalIndexLink =
"";
676 if ($use_field <>
"N") {
677 if ($cur_ascii < ord(
"Z")) {
678 for ($adx = $cur_ascii + 1; $adx <= ord(
"Z"); $adx++) {
679 $finalIndexLink .= sprintf(
"<a name=%s></a>\n", chr($adx));
683 echo $finalIndexLink;
685 echo
"Live: $liveCount, Batch: $batchCount, WebOnly: $webonlyCount, Total: $totalCount, Closed: $closedCount, Net: " . ($totalCount - $closedCount);
686 echo
" Server counts - ";
688 if ( $www3Count > 0 ) {
689 echo
"{$separator}www3: $www3Count";
692 if ( $www4Count > 0 ) {
693 echo
"{$separator}www4: $www4Count";
696 if ( $www5Count > 0 ) {
697 echo
"{$separator}www5: $www5Count";
700 if ( $www6Count > 0 ) {
701 echo
"{$separator}www6: $www6Count";
705 echo
"{$separator}Odyssey: $myCount";
708 if ( $localCount > 0) {
709 echo
"{$separator}Localhost: $localCount";
713 echo
" Odyssey Migrations Remaining: " . ($liveCount + $batchCount - $upgradeCount);
718 print
"<script language=\"javascript\">\n";
720 print
" var gridData = " . json_encode( $gridData ) .
"\n";
724 $set_sys_opt[0] =
"";
725 $set_sys_opt[1] =
"";
726 $set_sys_opt[2] =
"";
727 $set_sys_opt[4] =
"";
728 $set_sys_opt[8] =
"";
729 $set_sys_opt[16] =
"";
730 $set_sys_opt[32] =
"";
731 $set_sys_opt[64] =
"";
732 if ($bit_sys_opt > 0) {
733 foreach ($set_sys_opt as $key=>$value) {
734 $set_sys_opt[$key] = (($key & $bit_sys_opt) > 0 ?
"CHECKED" :
"");
739 <div
id=
"ShowId" class=
"dtl" style=
"position:absolute;left:0px;top:0px;visibility:hidden;border:1px solid black;">
740 <form action=
"/hcuadm/mtrList.prg?action=list&orderby={$orderby}" method=
"post">
741 <table border=0 cellpadding=0 cellspacing=0 width=
'%'>
744 <input type=
'checkbox' name=
'sys_opt[]' value=
'1' {$set_sys_opt[1]}>Batch
749 <input type=
'checkbox' name=
'sys_opt[]' value=
'2' {$set_sys_opt[2]}>Live
754 <input type=
'checkbox' name=
'sys_opt[]' value=
'4' {$set_sys_opt[4]}>ASP
759 <input type=
'checkbox' name=
'sys_opt[]' value=
'8' {$set_sys_opt[8]}>IVR
764 <input type=
'checkbox' name=
'sys_opt[]' value=
'16' {$set_sys_opt[16]}>Web Only
769 <input type=
'checkbox' name=
'sys_opt[]' value=
'32' {$set_sys_opt[32]}>Upgrade / Conversion
774 <input type=
'checkbox' name=
'sys_opt[]' value=
'64' {$set_sys_opt[64]}>Closed CU
779 <input type=
'checkbox' name=
'sys_opt[]' value=
'0' {$set_sys_opt[0]}>ALL
789 <a href=
'javascript:Close_DropDown("ShowId");'>Close</a>
790 <input type=
'submit' name=
'btnShowType' value=
'Show'>
799 function spewmenu() {
800 # actual menu code is in menu.js 801 global $use_cookie, $PHP_SELF, $ivrHostName, $Hu, $infourl, $SYSENV, $link;
802 $checkhost = substr(strtolower($_SERVER[
'HTTP_HOST']),0,4);
803 $rdcinq=
' <li>Mobile RDC Inquiry 805 <li><a href="https://my.homecu.net/hcuadm/hcuRDCStatus.prg">Odyssey</a></li> 806 <li><a href="https://www3.homecu.net/hcuadm/hcuRDCStatus">Live (www3)</a></li> 807 <li><a href="https://www6.homecu.net/hcuadm/hcuRDCStatus">Live (www6)</a></li> 808 <li><a href="https://www5.homecu.net/hcuadm/hcuRDCStatus">Batch</a></li> 811 $loggingReportLink=
" 812 <li>Vendor Logging Report 814 <li><a href=\"https://my.homecu.net/hcuadm/loggingReport.prg\">Odyssey</a></li> 815 <li><a href=\"https://www3.homecu.net/hcuadm/loggingReport\">Live (www3)</a></li> 816 <li><a href=\"https://www6.homecu.net/hcuadm/loggingReport\">Live (www6)</a></li> 817 <li><a href=\"https://www5.homecu.net/hcuadm/loggingReport\">Batch</a></li> 823 if ($SYSENV[
'devmode'] == 1) {
824 $transAm =
"<li><a href=\"hcuTransAm.prg?callback={$_SERVER["HTTP_HOST
"]}\">Translation Maintenance</a></li>";
827 $server = strtolower($_SERVER[
'HTTP_HOST']);
829 $trustedReportLink =
"<li><a href='TrustedReport.prg'>Trusted Vendor Report</a></li>";
831 $billingMenu = CheckPerm($link, $Hu,
"billing", $_SERVER[
'REMOTE_ADDR']) ?
"<li><a href='/billing/index.prg'>Billing System</a></li>" :
"";
837 <ul
id=
"menuChoices" style=
'display:none;'>
840 <li><a href=
"javascript:keywin()">Generate Key</a></li>
843 <li><a href=
"javascript:pktwin('my')">Odyssey</a></li>
844 <li><a href=
"javascript:pktwin('www3')">www3</a></li>
845 <li><a href=
"javascript:pktwin('www6')">www6</a></li>
848 <li><a href=
"quickedit.prg">Quick Edits</a></li>
849 <li><a href=
"javascript:hashwin()">Ticket Hashes</a></li>
851 <li><a href=
"https://wiki.boi.homecu.int/">HomeCU Wiki</a></li>
857 <li>App Report<ul><li><a href=
"appreport_gp_client.prg">Google Play</a></li></ul></li>
858 <li><a href=
"/hcuadm/mBroadcastEmail.prg">Broadcast Emails</a></li>
864 <li><a href=
"cuissues_report.prg">Current Jobs</a></li>
865 <li><a href=
"adm_reports.prg">
Banking Reports</a></li>
866 <li><a href=
"stmnt_reports.prg">eStatement Reports</a></li>
867 <li><a href=
"info_reports.prg">Info Reports</a></li>
868 <li><a href=
"showflags.prg">Processing Flags</a></li>
869 <li><a href=
"showhavetrans.prg">Transaction Settings</a></li>
870 <li><a href=
"domain_email_report.prg">E-Mail Reporting</a></li>
871 <li><a href=
"miPayReport.prg">iPay Reporting</a></li>
874 <li><a href=
"https://my.homecu.net/hcuadm/alertrecreport.prg">Odyssey</a></li>
875 <li><a href=
"https://www3.homecu.net/hcuadm/alertrecreport">www3</a></li>
876 <li><a href=
"https://www6.homecu.net/hcuadm/alertrecreport">www6</a></li>
879 <li><a href=
"gatherlaststatus.prg">Last Live Status</a></li>
880 <li><a href=
"cuproduct_report.prg?show_product=1">Current CU Products</a></li>
881 <li><a href=
"https://{$ivrHostName}/hcuadm/ivr_report">IVR Report</a></li>
884 <li><a href=
"mCorerequestsReport.prg">Odyssey</a></li>
885 <li><a href=
"https://www3.homecu.net/hcuadm/corerequests_report">www3</a></li>
886 <li><a href=
"https://www6.homecu.net/hcuadm/corerequests_report">www6</a></li>
890 <li><a href=
"TrustedVendorByCu.prg">Vendor Report by CU</a></li>
896 <li><a href=
"cuinfoedit.prg">Add CU</a></li>
897 <li><a href=
"admin_msg.prg">Admin Messages</a></li>
898 <li><a href=
"cuprogmntc.prg">Admin Programs</a></li>
899 <li><a href=
"admin_survey.prg">Surveys</a></li>
900 <li><a href=
"cuquest.prg">Challenge Questions</a></li>
901 <li><a href=
"cuimage.prg">Image Vendors</a></li>
902 <li><a href=
"cuissuesmntc.prg">Maintain Job Templates</a></li>
903 <li><a href=
"hcuusers.prg">Monitor Users</a></li>
904 <li><a href=
"cusso.prg">SSO Vendors</a></li>
905 <li><a href=
"cutrans.prg">Transaction Codes</a></li>
906 <li><a href=
"cuvndr.prg">Vendors</a></li>
907 <li><a href=
"cutrustvendor.prg">Trusted Vendors</a></li>
908 <li><a href=
"hcu_prod_list.prg">Products</a></li>
909 <li><a href=
"lnappLookup.prg">Online Loan Lookups</a></li>
910 <li><a href=
"hcu_custom_mntc.prg">Custom Content Files</a></li>
911 <li><a href=
"mEstmntMntc.prg">eStatement Maintenance</a></li>
912 <li><a href=
"https://{$ivrHostName}/hcuadm/ivr_mntc_msg.prg">IVR Message Codes</a></li>
913 <li><a href=
"mFeatureLst.prg">Home CU Features</a></li>
920 print
"<li><a href='$PHP_SELF?action=list&reset_cookie=1'>Reset Monitor View</a></li>";
925 <li><a href=
"/hcuadm/hcu_logout.prg">Logoff Monitor</a></li>