25 $menuSelectedDetail =
'';
26 $printedMainMenu =
'';
28 $reportPacketError =
false;
35 if (!$serviceLoadMenu) {
37 $serviceShowMenu =
false;
40 $acctFailNotify =
false;
41 $infoFailNotify =
false;
42 $infoDataNotify =
false;
44 $infoIconNotify =
false;
45 $ucTransactionsCount = 0;
47 $displayLastDataMsg =
'';
49 $serviceShowInfo= $serviceViewFromCuAdmin ? false : $serviceShowInfo;
57 if (!$serviceSuppressBanner) {
58 if ((HCU_array_key_value(
'Fset2', $HB_ENV) & GetFlagsetValue(
"CU2_SHOWBANNER"))) {
60 $aryBanner = Get_BannerText($dbh, $HB_ENV, $MC,
'D');
61 if ($aryBanner[
'status'][
'code'] !=
'000') {
64 $aryBannerData = Translate_BannerText($HB_ENV,$aryBanner[
'banner'][
'bannertext']);
65 if ($aryBannerData[
'status'][
'code'] !=
'000') {
68 $txtBannerData = $aryBannerData[
'banner'][
'bannertext'];
71 if ($txtBannerData !=
'') {
72 $bannerBodyClass =
'showHomecuBanner';
74 <div id='homecuBannerArea'> 83 $cuSettings = Array();
84 $loadSettingsFile =
'';
86 if (isset($HB_ENV[
'chome']) && ($HB_ENV[
'chome'] !=
'')) {
88 $settingsDir = ($HB_ENV[
'testmenu'] ==
'1' ?
'preview' :
'production');
89 $HB_ENV[
'settingsDir'] = $settingsDir;
90 $loadSettingsFile =
"/home/{$HB_ENV['chome']}/public_html/bankingIncludes/{$settingsDir}/hcuSettings.i";
91 if (is_readable($loadSettingsFile)) {
93 $fileContent = file_get_contents($loadSettingsFile);
95 $cuSettings = HCU_JsonDecode($fileContent);
108 header (
"Pragma: no-cache");
109 header (
"Last-Modified: " . gmdate(
"D, d M Y H:i:s") .
" GMT");
110 header (
"Cache-Control: no-cache, no-store, must-revalidate, max_age=0");
111 header (
"Expires: 0");
112 header(
'X-Frame-Options: sameorigin');
118 <?php
if (HCU_array_key_exists(
'orgname', $HB_ENV) && isset($HB_ENV[
'orgname'])) : ?>
119 <title><?php echo hcu_displayHtml($HB_ENV[
'orgname']); ?></title>
123 <meta http-equiv=
"Content-Type" content=
"text/html; charset=UTF-8"/>
124 <meta name=
"robots" content=
"noindex,nofollow" />
125 <meta http-equiv=
"X-UA-Compatible" content=
"IE=edge" />
127 <meta name=
"viewport" content=
"width=device-width, initial-scale=1" />
129 $loadStyleSheet =
'bootstrap';
131 print setIncludeFiles(
true,
true, $loadStyleSheet,
true, $HB_ENV, $MC);
133 <script type=
"text/javascript" src=
"https://<?php echo $cloudfrontDomainName; ?>/jquery/js/jquery.populate.js"></script>
135 <script type=
"text/javascript" src=
"https://<?php echo $cloudfrontDomainName; ?>/jquery/js/jquery.validity-1.4.6.min.js"></script>
137 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/eforms/static/css/lnapp.custom.css' />
143 $(
'#body-wrapper').addClass(
'collapse');
144 $(
'#body-wrapper').addClass(
'in');
148 function closeNav() {
149 $(
'#body-wrapper').removeClass(
'collapse');
150 $(
'#body-wrapper').removeClass(
'in');
152 function toggleNav() {
153 var menuVisible = ($(
'#sidebar-nav:visible').length > 0);
166 <div
id=
"body-wrapper" class=
"<?php echo (!$serviceShowInfo ? ' no-show-info ' : '') . (!$serviceShowMenu ? ' no-show-menu ' : '') ; ?> ">
168 <nav
id=
"header" class=
"navbar navbar-inverse navbar-static-top" role=
"navigation" style=
"margin-bottom: 0px">
170 <div
class=
"navbar-header">
171 <button
id=
"hcu-nav-toggle" onclick=
"toggleNav()" type=
"button" class=
"navbar-toggle collapsed" aria-expanded=
"false">
172 <span
class=
"sr-only">Toggle navigation</span>
173 <span
class=
"icon-bar"></span>
174 <span
class=
"icon-bar"></span>
175 <span
class=
"icon-bar"></span>
179 <a
class=
"navbar-brand" href=
"#">
191 <img alt=
"Home Banking Logo" class=
"logo" src=
"<?php echo $cuSettings['imageLocations']['desktopCULogoLocation']; ?>"/>
195 <ul
class=
"hcu-quick-nav-links navbar-nav nav navbar-top-links navbar-right" id=
"hcu-navbar-collapse">
197 <a href=
"<?php echo $self; ?>f=portal"><i
class=
"fa fa-home fa-fw"></i></a>
200 <a href=
"<?php echo $self; ?>f=calculators"><i
class=
"fa fa-calculator fa-fw"></i></a>
202 <?php
if ($DMSAPP_LOGINTYPE ==
"" || $DMSAPP_LOGINTYPE == DMSAPP_CONST_APP_LOGIN || $DMSAPP_LOGINTYPE == DMSAPP_CONST_MIR_LOGIN): ?>
204 <a href=
"<?php echo $self; ?>f=modifyuser"><i
class=
"fa fa-cog fa-fw"></i></a>
207 <li
class=
""><a href=
"<?php echo $self; ?>f=signout"><i
class=
"fa fa-power-off fa-fw"></i></a></li>
212 <nav
id=
"side-menu" class=
"navbar-default sidebar sidenav">
213 <div
id=
"sidebar-nav" class=
"sidebar-nav navbar-collapse ">
218 <div
id=
"content-wrapper" class=
"nothere">
219 <div
id=
"formStatus" class=
"homecu-formStatus k-block k-error-colored" style=
'display:none; margin-bottom:10px;max-width:800px;'></div>
221 <div
id=
"summary-container" class=
"validity-summary-container errors" >
222 <p><em>You may not
continue. The following errors were encountered:</em></p>
224 <li>an unknown error was encountered</li>
229 <div
id=
'hideSubmitWait' style=
'position:relative; left:-2000px;top:-2000px;'>
230 <div
id=
'homecuSubmitWait' class=
'k-block' >
231 <div
class=
'k-loading-image'></div>
234 <a href=
"javascript:void(0)" onclick=
"closeNav()" x-href=
"#content-wrapper" class=
"overlay-close" x-data-toggle=
"collapse" > </a>
235 <div
id=
"main-container" role=
"main">
236 <div
id=
"homecu-wrapper">
237 <div
id=
"homecu-container">
238 <div
id=
"homecu-padding-top" class=
"col-xs-12"></div> <!-- homecu-padding -->