6 $DB_TABLE_PREFIX =
"lnapp";
8 $libPath = dirname(__FILE__) .
"/../../eforms/library/";
9 $incPath = dirname(__FILE__) .
"/../../eforms/includes/";
10 $sharedLibPath = dirname(__FILE__) .
"/../../shared/library/";
13 $DMSAPP_CURRENTUSERID = intval($_GET[
'app']);
14 $DMSAPP_CURRENTCUCODE = $Cu;
15 $DMSAPP_CSS = dirname(__FILE__) .
"/../../eforms/static/css/styles.css";
18 $Admin_View_App = intval($_GET[
'view']);
20 $form2load =
"lnappview.i";
22 require_once ($libPath .
"lnappfunctions.i");
23 require_once ($sharedLibPath .
"cu_fun.i");
25 $sql =
"SELECT pname, min_chlng_qst, retrylimit, orgname 27 WHERE cu = '" . prep_save($Cu, 12) .
"'; ";
28 $cu_rs = db_query($sql, $dbh);
30 if (db_num_rows($cu_rs) > 0) {
33 $cu_row = db_fetch_assoc($cu_rs);
36 $DMSAPP_PRODUCTNAME = trim($cu_row[
'pname']);
38 $DMSAPP_CUNAME = trim($cu_row[
'orgname']);
40 $sql =
"SELECT cu, appconfig 42 WHERE cu = '" . prep_save($Cu, 12) .
"';";
43 $config_rs = db_query($sql, $dbh);
44 if ($config_row = db_fetch_assoc($config_rs)) {
46 $configOptions = json_decode($config_row[
'appconfig'],
true);
47 if (json_last_error() == JSON_ERROR_NONE) {
49 if (key_exists(
"configLoanCSS", $configOptions)) {
50 $DMSAPP_CSS = $configOptions[
'configLoanCSS'];
55 ?><!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
56 <html xmlns=
"http://www.w3.org/1999/xhtml">
58 <meta name=
"keywords" content=
"" />
59 <meta name=
"description" content=
"" />
60 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
61 <META HTTP-EQUIV=
"PRAGMA" CONTENT=
"NO-CACHE"/>
62 <title><?php echo $DMSAPP_CUNAME; ?> Online Application</title>
68 $cloudfrontDomainName = GetCloudFrontDomainName();
69 $homecuKendoVersion = GetHomecuKendoVersion();
70 $bootstrapVersion = GetHomecuBootstrapVersion();
71 $fontawesomeVersion = GetFontawesomeVersion();
72 $loadStyleSheet = GetAdminDefaultKendoStyle();
74 if (HCU_array_key_exists(
"HTTP_ACCEPT_ENCODING", $_SERVER)) {
75 $useGZExt = (stristr($_SERVER[
'HTTP_ACCEPT_ENCODING'],
'gzip') !== FALSE ?
".jgz" :
"");
78 print <<< HTML_INCLUDES
79 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'https://{$cloudfrontDomainName}/homecu/css/reset.4085.min.css' />
81 <!-- BASE BOOTSTRAP -->
82 <link href=
'https://{$cloudfrontDomainName}/homecu/css/bootstrap/{$bootstrapVersion}/css/bootstrap.css' rel=
'stylesheet'/>
84 <!-- KENDO BOOTSTRAP COMMON STYLES - - - REPLACES kendo.common.css -->
85 <link href=
'https://{$cloudfrontDomainName}/homecu/css/KendoUI/{$homecuKendoVersion}/kendo.common-bootstrap.min.css' rel=
'stylesheet'/>
87 <!-- KENDO BOOTSTRAP THEME */ -->
88 <link href=
'https://{$cloudfrontDomainName}/homecu/css/KendoUI/{$homecuKendoVersion}/kendo.{$loadStyleSheet}.min.css' rel=
'stylesheet'/>
91 <link href=
'/static/css/metisMenu.css' rel=
'stylesheet'/>
94 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/shared/static/css/homecu-custom-kendo-boot.css' />
97 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/shared/static/css/hcuLayout.css' />
98 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/admbin/static/css/layout.css' />
101 <link href=
'https://{$cloudfrontDomainName}/homecu/css/font-awesome/{$fontawesomeVersion}/css/font-awesome.css' rel=
'stylesheet'/>
104 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/admbin/static/css/brand.css' />
107 <link rel=
'stylesheet' media=
'all' type=
'text/css' href=
'/admbin/static/css/admin_master.css' />
113 <script type=
'text/javascript' src=
'https://{$cloudfrontDomainName}/jquery/js/jquery-1.10.2.min.js{$useGZExt}'></script>
116 <script src=
'https://{$cloudfrontDomainName}/homecu/js/KendoUI/{$homecuKendoVersion}/kendo.web.min.js'></script>
118 <script src=
'https://{$cloudfrontDomainName}/homecu/js/bootstrap/{$bootstrapVersion}/js/bootstrap.js'></script>
121 <script type=
'text/javascript' src=
'/static/js/jquery-timeout-dialog.js'></script>
123 <script type=
'text/javascript' src=
'https://{$cloudfrontDomainName}/homecu/js/jquery.cookie.js'></script>
126 <script type=
'text/javascript' src=
'/shared/static/js/hcuFormError.js'></script>
129 <script type=
'text/javascript' src=
'https://{$cloudfrontDomainName}/homecu/js/kendo.homecu.custom.4385.min.js'></script>
132 <script type=
'text/javascript' src=
'/static/js/metisMenu.js'></script>
134 <script type=
'text/javascript' src=
'/shared/static/js/kendo.homecu.custom.js'></script>
149 <div
id=
"page-bgtop">
153 include_once($incPath . $form2load);