<?

### DO THIS FIRST:
require_once("/BANGK!/master_config.php");
require_once($master_config_root_path . "shared/functions.shared");
$active_user_session_timeout = "OFF"; // no session timeout on this page
require_once($master_config_root_path . "shared/session.shared");


### START SESSION VERIFICATION (ALWAYS LAST B4 REST OF PAGES):
$verified_member = "no";
$verified_business = "no";
$verified_transaction = "no";
$verified_banned = "no";
$verified_acccess = "no";
$secured_server = "no"; //force https
include($_SESSION['template']['company']['file_path'] . "shared/start_verified_session.shared");
#
#
#
log_traffic_stats();


$incoming_vars = "";
$incoming_vars = array();
if($_POST) $incoming_vars = $_POST;
if(empty($incoming_vars)) $incoming_vars = $_GET;

logger3("

########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
########################################################################################
### NEW SESSION:  [" . $_SERVER['SCRIPT_NAME'] . "]
########################################################################################
########################################################################################

",$incoming_vars);


?>



<table style="<? 
	//$table_style = "width:80%; margin-top: 10px;";
	//$table_style = "";
	echo $table_style; 
	?>">

		
	<!-- ##################### -->	
	
	<tr style="display: none;">
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
				color:#E6E6E6;
				background-color: #444444;
		">
		
		Branding Configuration:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				color:#E6E6E6;
				background-color: #444444;
		">
		<br>
		</td>
	</tr>
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		App Title:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
		">
		<input type="text" maxlength="" name="whitelabel_administration_app_name" value="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['whitelabel_app_name']; ?>" class="orange_border_field" style='text-align:center;' onBlur="javascript:AJAX('onboarding_whitelabel_account_app_name',this);">
		</td>
	</tr>
	
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		BUSINESS LOGO (Width:500px x Heiht:500px):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
					 padding: 20px;
		">
		<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500']",$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500']);
			
			//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']",$_SESSION['intelitruth']['whitelabel_business_account_details']);
			
			
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500']) {
			?>
			<a target='_LOGO_500x500' href="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500']; ?>">
				
				<?
					echo '<embed src="'. $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500'] .'?nocache='. time() .'" style="width:200px;">';

				?>
			</a>

			<?
			} 
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_icon_500x500']) echo "<br>"; 
			?>
			<br>	
			Select image to upload:
			<input type="file" name="upload_url_to_whitelabel_icon_500x500" id="fileToUpload">
			<input type="submit" value="Upload Image" name="submit">
		</td>
	</tr>
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		BUSINESS LOGO (width:1000px x Height:200px):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
					 padding: 20px;
		">
		<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']",$_SESSION['intelitruth']['whitelabel_business_account_details']);


				





			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_banner_2048x475']) {
			?>
			<a target='_LOGO_2048X475' href="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_banner_2048x475']; ?>">
				
				<?
					echo '<embed src="'. $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_banner_2048x475'] .'?nocache='. time() .'" style="width:400px; height:auto;">';

				?>
			</a>

			<?
			} 
			
			
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_banner_2048x475']) {
				echo "<br>"; 
				//echo "<br>"; 
			
			}
			?>
			<br>
			Select image to upload:
			<input type="file" name="upload_url_to_whitelabel_banner_2048X475" id="fileToUpload">
			<input type="submit" value="Upload Image" name="submit">
			
			
		</td>
	</tr>


<!-- 
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
							text-align:right;
		">
		
		<a href='https://<?=$_SESSION['intelitruth']['whitelabel_business_account_details']['whitelabel_web'];?>.<?=$_SESSION['template']['company']['domain'];?>' target='_PREVIEW'>Click to Preview</a> </td>
		
	</tr>	
-->

	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		APP Wallpaper (1024x768 or larger...):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
					 padding: 20px;
		">
		<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']",$_SESSION['intelitruth']['whitelabel_business_account_details']);


			if(!$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768']) {
					$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768'] = "https://". $_SESSION['template']['company']['host_images'] ."/intelitruth_app_wallpaper/theme_19.jpg";
			}
				
				
				

			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768']) {
			?>
			<a target='_wallpaper_1024x768' href="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768']; ?>">
				
				<?
					echo '<embed src="'. $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768'] .'?nocache='. time() .'" style="max-width:500px; height:auto;">';

				?>
			</a>

			<?
			} 
			
			
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_whitelabel_wallpaper_1024x768']) {
				echo "<br>"; 
				//echo "<br>"; 
			
			}
			?>
			<br>
			Select image to upload:
			<input type="file" name="upload_url_to_whitelabel_wallpaper_1024x768" id="fileToUpload">
			<input type="submit" value="Upload Image" name="submit">
			
			
		</td>
	</tr>
	





<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		Business ICON (500x500):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
					 padding: 20px;
		">
		<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']",$_SESSION['intelitruth']['whitelabel_business_account_details']);


			if(!$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500']) {
					
					$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500'] = "https://". $_SESSION['template']['company']['host_images'] ."/intelitruth_icon_v102_512x512_T.png";
					
			}
				
				
				

			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500']) {
				
			?>
			<a target='_url_to_favicon' href="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500']; ?>" style="width:500; height:auto;">
				
				<?
					echo '<embed src="'. $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500'] .'?nocache='. time() .'" style="max-width:500px; height:auto;">';

				?>
			</a>

			<?
			} 
			
			
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_business_icon_500x500']) {
				echo "<br>"; 
				//echo "<br>"; 
			
			}
			?>
			<br>
			Select image to upload:
			<input type="file" name="url_to_business_icon_500x500" id="fileToUpload">
			<input type="submit" value="Upload Image" name="submit">
			
			
		</td>
	</tr>







	
<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		FAVICON:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
				text-align: center;
					 padding: 20px;
		">
		<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_business_account_details']",$_SESSION['intelitruth']['whitelabel_business_account_details']);


			if(!$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon']) {
					
					$_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon'] = "https://". $_SESSION['template']['company']['host_images'] ."/favicon_intelitruth.png";
					
			}
				
				
				

			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon']) {
				
			?>
			<a target='_url_to_favicon' href="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon']; ?>">
				
				<?
					echo '<embed src="'. $_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon'] .'?nocache='. time() .'" style="width:16px; height:auto;">';

				?>
			</a>

			<?
			} 
			
			
			if($_SESSION['intelitruth']['whitelabel_business_account_details']['url_to_favicon']) {
				echo "<br>"; 
				//echo "<br>"; 
			
			}
			?>
			<br>
			Select image to upload:
			<input type="file" name="url_to_favicon" id="fileToUpload">
			<input type="submit" value="Upload Image" name="submit">
			
			
		</td>
	</tr>
	
	
	
	
	
	
	
	
	
		

		
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		<b>Your Business/Company Homepage URL</b>:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_HOMEPAGE_URL" value="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['url']; ?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_HOMEPAGE_URL',this);" placeholder="e.g., https://example.com/">	
		</td>
	</tr>
	
	
	
	
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		<b>Your FAQ / Support URL</b>
:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_FAQ_URL" value="<? echo $_SESSION['intelitruth']['whitelabel_business_account_details']['whitelabel_FAQ_url']; ?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_FAQ_URL',this);" placeholder="e.g., https://example.com/FAQ.html">	
		</td>
	</tr>
	
	
<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		<b>FREE Seamless URL</b><br>
			(Hide "intelitruth.com"; Set your own domain name)
:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
			<?
			
			//test("_SESSION['intelitruth']['whitelabel_onboarding_preferences']",$_SESSION['intelitruth']['whitelabel_onboarding_preferences']);	
			
			$_XXXXX_host_seamless_onboarding = $_SESSION['intelitruth']['whitelabel_onboarding_preferences']['onboarding_whitelabel_business_account_hostname'];
			if(!$_XXXXX_host_seamless_onboarding) {
				$_XXXXX_host_seamless_onboarding = $_SESSION['intelitruth']['whitelabel_business_account_details']['host_seamless_onboarding'];
				
			}
				
			?>
			<nobr><span style="font-size:20px; color:#888888; font-weight:100; vertical-align: bottom;">https://&nbsp;</span><input type="text" maxlength="" name="onboarding_whitelabel_business_account_hostname" value="<?=$_XXXXX_host_seamless_onboarding;?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_account_hostname',this);" placeholder="e.g., https://onboarding.your-name.com" style="width:85%;"></nobr>
			<div id="seamless_DNS_instructions"></div>
		</td>
	</tr>
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		On•Boarding Apps Footer (HTML or plain text):
		</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
			<?
				
				//test("_SESSION['intelitruth']['whitelabel_preferences']",$_SESSION['intelitruth']['whitelabel_preferences']);
				
				//$preference_key = search_array_for_value("login_screen_footer_image_full_url_or_simple_text",$_SESSION['intelitruth']['whitelabel_preferences']);
				
				$parameter_name = "login_screen_footer_image_full_url_or_simple_text";	
				
				//test("preference_key",$preference_key);
				
				
				
			?>
			
		
			<input type="text" maxlength="" name="login_screen_footer_image_full_url_or_simple_text" value='<?=$_SESSION['intelitruth']['whitelabel_preferences'][$parameter_name]; ?>' class="blue_border_field" onBlur="javascript:AJAX_IEW_update_whitelabel_preferences('login_screen_footer_image_full_url_or_simple_text',this);" placeholder="KYC/AML•Compliant On•Boarding">	
		</td>
	</tr>
	
	

	
	
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		Applicant Support Email Address (public):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_support_email_address" value="<? echo $_SESSION['intelitruth']['whitelabel_onboarding_preferences']['onboarding_whitelabel_business_emailaddress_support']; ?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_emailaddress_support',this);" placeholder="e.g., general.support@your-name.com">	
		</td>
	</tr>
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		Agent Support Email Address (public):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_emailaddress_agents" value="<? echo $_SESSION['intelitruth']['whitelabel_onboarding_preferences']['onboarding_whitelabel_business_emailaddress_agents']; ?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_emailaddress_agents',this);" placeholder="e.g., agent.support@your-name.com">	
		</td>
	</tr>
	
	
	
	
	
	
	
	
	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		Underwriting / Activation Email Address (internal):</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_support_email_address" value="<? echo $_SESSION['intelitruth']['whitelabel_onboarding_preferences']['onboarding_whitelabel_business_emailaddress_underwriting']; ?>" class="blue_border_field" onBlur="javascript:AJAX('onboarding_whitelabel_business_emailaddress_underwriting',this);" placeholder="e.g., underwriting@your-name.com">
		</td>
	</tr>












	<!-- ##################### -->	
	
	<tr>
		<td style="
			text-align: <? echo $table_ROW_1_text_align; ?>; 
			padding-left: <? echo $table_ROW_1_padding_left; ?>;
			padding-right: <? echo $table_ROW_1_padding_right; ?>; 
			padding-top: <? echo $table_ROW_1_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_1_padding_bottom; ?>; 
			color: <? echo $table_ROW_1_color; ?>;
			background-color: <? echo $table_ROW_1_bakground_color; ?>;
			font-weight: <? echo $table_ROW_1_font_weight; ?>;
			font-family: <? echo $table_ROW_1_font_family; ?>;
		">
		
		APP Header Color:</td>
		
	</tr>
	<tr>
		<td style="
			text-align: <? echo $table_ROW_2_text_align; ?>; 
			padding-left: <? echo $table_ROW_2_padding_left; ?>;
			padding-right: <? echo $table_ROW_2_padding_right; ?>; 
			padding-top: <? echo $table_ROW_2_padding_top; ?>; 
			padding-bottom: <? echo $table_ROW_2_padding_bottom; ?>; 
			color: <? echo $table_ROW_2_color; ?>;
			background-color: <? echo $table_ROW_2_bakground_color; ?>;
			font-weight: <? echo $table_ROW_2_font_weight; ?>;
			font-family: <? echo $table_ROW_2_font_family; ?>;
		">
			
			<?
				
				//logger3("_SESSION['intelitruth']['whitelabel_preferences']",$_SESSION['intelitruth']['whitelabel_preferences']);
				$preference_key = search_array_for_value("onboarding_whitelabel_business_app_header_background_color",$_SESSION['intelitruth']['whitelabel_preferences']);
				//test("_SESSION['intelitruth']['whitelabel_preferences']",$_SESSION['intelitruth']['whitelabel_preferences']);
				
				$preference_name = "onboarding_whitelabel_business_app_header_background_color";
				
				
				
				
			?>
		
			<input type="text" maxlength="" name="onboarding_whitelabel_business_app_header_background_color" value="<?=$_SESSION['intelitruth']['whitelabel_preferences'][$preference_name]; ?>" class="blue_border_field" onBlur="javascript:AJAX_v2('onboarding_whitelabel_business_app_header_background_color',this);" placeholder="e.g., #888888">
		</td>
	</tr>



	
	
	
	
	
	
	
	
		
	
	</table>
	
	

<?

### END: SESSIONS & STUFF.
#
#
#
include($_SESSION['template']['company']['file_path'] . "shared/end_verified_session.shared");

?>