Heray-Was-Here
Server : Apache
System : Linux hybrid3195.ca.ns.planethoster.net 3.10.0-1160.119.1.el7.tuxcare.els19.x86_64 #1 SMP Mon Mar 31 17:29:00 UTC 2025 x86_64
User : alliancerealtynb ( 1004)
PHP Version : 7.4.33
Disable Function : noop
Directory :  /home/alliancerealtynb/www/adminAR/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/www/adminAR/wp_wpl_addon_crm_contactsedit.php
<?php
namespace PHPMaker2020\Alliance;

// Autoload
include_once "autoload.php";

// Session
if (session_status() !== PHP_SESSION_ACTIVE)
	\Delight\Cookie\Session::start(Config("COOKIE_SAMESITE")); // Init session data

// Output buffering
ob_start();
?>
<?php

// Write header
WriteHeader(FALSE);

// Create page object
$wp_wpl_addon_crm_contacts_edit = new wp_wpl_addon_crm_contacts_edit();

// Run the page
$wp_wpl_addon_crm_contacts_edit->run();

// Setup login status
SetupLoginStatus();
SetClientVar("login", LoginStatus());

// Global Page Rendering event (in userfn*.php)
Page_Rendering();

// Page Rendering event
$wp_wpl_addon_crm_contacts_edit->Page_Render();
?>
<?php include_once "header.php"; ?>
<script>
var fwp_wpl_addon_crm_contactsedit, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "edit";
	fwp_wpl_addon_crm_contactsedit = currentForm = new ew.Form("fwp_wpl_addon_crm_contactsedit", "edit");

	// Validate form
	fwp_wpl_addon_crm_contactsedit.validate = function() {
		if (!this.validateRequired)
			return true; // Ignore validation
		var $ = jQuery, fobj = this.getForm(), $fobj = $(fobj);
		if ($fobj.find("#confirm").val() == "confirm")
			return true;
		var elm, felm, uelm, addcnt = 0;
		var $k = $fobj.find("#" + this.formKeyCountName); // Get key_count
		var rowcnt = ($k[0]) ? parseInt($k.val(), 10) : 1;
		var startcnt = (rowcnt == 0) ? 0 : 1; // Check rowcnt == 0 => Inline-Add
		var gridinsert = ["insert", "gridinsert"].includes($fobj.find("#action").val()) && $k[0];
		for (var i = startcnt; i <= rowcnt; i++) {
			var infix = ($k[0]) ? String(i) : "";
			$fobj.data("rowindex", infix);
			<?php if ($wp_wpl_addon_crm_contacts_edit->last_name->Required) { ?>
				elm = this.getElements("x" + infix + "_last_name");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->last_name->caption(), $wp_wpl_addon_crm_contacts_edit->last_name->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->first_name->Required) { ?>
				elm = this.getElements("x" + infix + "_first_name");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->first_name->caption(), $wp_wpl_addon_crm_contacts_edit->first_name->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3091->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3091");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3091->caption(), $wp_wpl_addon_crm_contacts_edit->field_3091->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3090->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3090");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3090->caption(), $wp_wpl_addon_crm_contacts_edit->field_3090->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->owner->Required) { ?>
				elm = this.getElements("x" + infix + "_owner");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->owner->caption(), $wp_wpl_addon_crm_contacts_edit->owner->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->type->Required) { ?>
				elm = this.getElements("x" + infix + "_type");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->type->caption(), $wp_wpl_addon_crm_contacts_edit->type->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->email1->Required) { ?>
				elm = this.getElements("x" + infix + "_email1");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->email1->caption(), $wp_wpl_addon_crm_contacts_edit->email1->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->tel->Required) { ?>
				elm = this.getElements("x" + infix + "_tel");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->tel->caption(), $wp_wpl_addon_crm_contacts_edit->tel->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->mobile->Required) { ?>
				elm = this.getElements("x" + infix + "_mobile");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->mobile->caption(), $wp_wpl_addon_crm_contacts_edit->mobile->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3088->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3088");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3088->caption(), $wp_wpl_addon_crm_contacts_edit->field_3088->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3187->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3187");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3187->caption(), $wp_wpl_addon_crm_contacts_edit->field_3187->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3188->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3188");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3188->caption(), $wp_wpl_addon_crm_contacts_edit->field_3188->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3183->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3183");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3183->caption(), $wp_wpl_addon_crm_contacts_edit->field_3183->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3184->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3184");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3184->caption(), $wp_wpl_addon_crm_contacts_edit->field_3184->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3186->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3186");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3186->caption(), $wp_wpl_addon_crm_contacts_edit->field_3186->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3185->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3185");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3185->caption(), $wp_wpl_addon_crm_contacts_edit->field_3185->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->field_3087->Required) { ?>
				elm = this.getElements("x" + infix + "_field_3087");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->field_3087->caption(), $wp_wpl_addon_crm_contacts_edit->field_3087->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_edit->date_added->Required) { ?>
				elm = this.getElements("x" + infix + "_date_added");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->date_added->caption(), $wp_wpl_addon_crm_contacts_edit->date_added->RequiredErrorMessage)) ?>");
			<?php } ?>
				elm = this.getElements("x" + infix + "_date_added");
				if (elm && !ew.checkDate(elm.value))
					return this.onError(elm, "<?php echo JsEncode($wp_wpl_addon_crm_contacts_edit->date_added->errorMessage()) ?>");
			<?php if ($wp_wpl_addon_crm_contacts_edit->archive->Required) { ?>
				elm = this.getElements("x" + infix + "_archive");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_edit->archive->caption(), $wp_wpl_addon_crm_contacts_edit->archive->RequiredErrorMessage)) ?>");
			<?php } ?>

				// Call Form_CustomValidate event
				if (!this.Form_CustomValidate(fobj))
					return false;
		}

		// Process detail forms
		var dfs = $fobj.find("input[name='detailpage']").get();
		for (var i = 0; i < dfs.length; i++) {
			var df = dfs[i], val = df.value;
			if (val && ew.forms[val])
				if (!ew.forms[val].validate())
					return false;
		}
		return true;
	}

	// Form_CustomValidate
	fwp_wpl_addon_crm_contactsedit.Form_CustomValidate = function(fobj) { // DO NOT CHANGE THIS LINE!

		// Your custom validation code here, return false if invalid.
		return true;
	}

	// Use JavaScript validation or not
	fwp_wpl_addon_crm_contactsedit.validateRequired = <?php echo Config("CLIENT_VALIDATE") ? "true" : "false" ?>;

	// Multi-Page
	fwp_wpl_addon_crm_contactsedit.multiPage = new ew.MultiPage("fwp_wpl_addon_crm_contactsedit");

	// Dynamic selection lists
	fwp_wpl_addon_crm_contactsedit.lists["x_last_name"] = <?php echo $wp_wpl_addon_crm_contacts_edit->last_name->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_last_name"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->last_name->lookupOptions()) ?>;
	fwp_wpl_addon_crm_contactsedit.autoSuggests["x_last_name"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_first_name"] = <?php echo $wp_wpl_addon_crm_contacts_edit->first_name->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_first_name"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->first_name->lookupOptions()) ?>;
	fwp_wpl_addon_crm_contactsedit.autoSuggests["x_first_name"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3091"] = <?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3091"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->field_3091->lookupOptions()) ?>;
	fwp_wpl_addon_crm_contactsedit.autoSuggests["x_field_3091"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3090"] = <?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3090"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->field_3090->lookupOptions()) ?>;
	fwp_wpl_addon_crm_contactsedit.autoSuggests["x_field_3090"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_owner"] = <?php echo $wp_wpl_addon_crm_contacts_edit->owner->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_owner"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->owner->options(FALSE, TRUE)) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_type"] = <?php echo $wp_wpl_addon_crm_contacts_edit->type->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_type"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->type->options(FALSE, TRUE)) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3183"] = <?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_field_3183"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->field_3183->lookupOptions()) ?>;
	fwp_wpl_addon_crm_contactsedit.autoSuggests["x_field_3183"] = <?php echo json_encode(["data" => "ajax=autosuggest"]) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_archive"] = <?php echo $wp_wpl_addon_crm_contacts_edit->archive->Lookup->toClientList($wp_wpl_addon_crm_contacts_edit) ?>;
	fwp_wpl_addon_crm_contactsedit.lists["x_archive"].options = <?php echo JsonEncode($wp_wpl_addon_crm_contacts_edit->archive->options(FALSE, TRUE)) ?>;
	loadjs.done("fwp_wpl_addon_crm_contactsedit");
});
</script>
<script>
loadjs.ready("head", function() {

	// Client script
	// Write your client script here, no need to add script tags.

});
</script>
<?php $wp_wpl_addon_crm_contacts_edit->showPageHeader(); ?>
<?php
$wp_wpl_addon_crm_contacts_edit->showMessage();
?>
<form name="fwp_wpl_addon_crm_contactsedit" id="fwp_wpl_addon_crm_contactsedit" class="<?php echo $wp_wpl_addon_crm_contacts_edit->FormClassName ?>" action="<?php echo CurrentPageName() ?>" method="post">
<?php if ($Page->CheckToken) { ?>
<input type="hidden" name="<?php echo Config("TOKEN_NAME") ?>" value="<?php echo $Page->Token ?>">
<?php } ?>
<input type="hidden" name="t" value="wp_wpl_addon_crm_contacts">
<input type="hidden" name="action" id="action" value="update">
<input type="hidden" name="modal" value="<?php echo (int)$wp_wpl_addon_crm_contacts_edit->IsModal ?>">
<div class="ew-multi-page"><!-- multi-page -->
<div class="ew-nav-tabs" id="wp_wpl_addon_crm_contacts_edit"><!-- multi-page tabs -->
	<ul class="<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->navStyle() ?>">
		<li class="nav-item"><a class="nav-link<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(1) ?>" href="#tab_wp_wpl_addon_crm_contacts1" data-toggle="tab"><?php echo $wp_wpl_addon_crm_contacts->pageCaption(1) ?></a></li>
		<li class="nav-item"><a class="nav-link<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(2) ?>" href="#tab_wp_wpl_addon_crm_contacts2" data-toggle="tab"><?php echo $wp_wpl_addon_crm_contacts->pageCaption(2) ?></a></li>
		<li class="nav-item"><a class="nav-link<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(3) ?>" href="#tab_wp_wpl_addon_crm_contacts3" data-toggle="tab"><?php echo $wp_wpl_addon_crm_contacts->pageCaption(3) ?></a></li>
		<li class="nav-item"><a class="nav-link<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(4) ?>" href="#tab_wp_wpl_addon_crm_contacts4" data-toggle="tab"><?php echo $wp_wpl_addon_crm_contacts->pageCaption(4) ?></a></li>
		<li class="nav-item"><a class="nav-link<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(5) ?>" href="#tab_wp_wpl_addon_crm_contacts5" data-toggle="tab"><?php echo $wp_wpl_addon_crm_contacts->pageCaption(5) ?></a></li>
	</ul>
	<div class="tab-content"><!-- multi-page tabs .tab-content -->
		<div class="tab-pane<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(1) ?>" id="tab_wp_wpl_addon_crm_contacts1"><!-- multi-page .tab-pane -->
<div class="ew-edit-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_edit->last_name->Visible) { // last_name ?>
	<div id="r_last_name" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_last_name" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->last_name->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->last_name->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->last_name->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_last_name">
<?php
$onchange = $wp_wpl_addon_crm_contacts_edit->last_name->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$wp_wpl_addon_crm_contacts_edit->last_name->EditAttrs["onchange"] = "";
?>
<span id="as_x_last_name">
	<input type="text" class="form-control" name="sv_x_last_name" id="sv_x_last_name" value="<?php echo RemoveHtml($wp_wpl_addon_crm_contacts_edit->last_name->EditValue) ?>" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->last_name->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->last_name->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->last_name->editAttributes() ?>>
</span>
<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_last_name" data-page="1" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->last_name->displayValueSeparatorAttribute() ?>" name="x_last_name" id="x_last_name" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->last_name->CurrentValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit"], function() {
	fwp_wpl_addon_crm_contactsedit.createAutoSuggest({"id":"x_last_name","forceSelect":false});
});
</script>
<?php echo $wp_wpl_addon_crm_contacts_edit->last_name->Lookup->getParamTag($wp_wpl_addon_crm_contacts_edit, "p_x_last_name") ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->last_name->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->first_name->Visible) { // first_name ?>
	<div id="r_first_name" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_first_name" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->first_name->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->first_name->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->first_name->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_first_name">
<?php
$onchange = $wp_wpl_addon_crm_contacts_edit->first_name->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$wp_wpl_addon_crm_contacts_edit->first_name->EditAttrs["onchange"] = "";
?>
<span id="as_x_first_name">
	<input type="text" class="form-control" name="sv_x_first_name" id="sv_x_first_name" value="<?php echo RemoveHtml($wp_wpl_addon_crm_contacts_edit->first_name->EditValue) ?>" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->first_name->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->first_name->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->first_name->editAttributes() ?>>
</span>
<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_first_name" data-page="1" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->first_name->displayValueSeparatorAttribute() ?>" name="x_first_name" id="x_first_name" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->first_name->CurrentValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit"], function() {
	fwp_wpl_addon_crm_contactsedit.createAutoSuggest({"id":"x_first_name","forceSelect":false});
});
</script>
<?php echo $wp_wpl_addon_crm_contacts_edit->first_name->Lookup->getParamTag($wp_wpl_addon_crm_contacts_edit, "p_x_first_name") ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->first_name->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->email1->Visible) { // email1 ?>
	<div id="r_email1" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_email1" for="x_email1" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->email1->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->email1->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->email1->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_email1">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_email1" data-page="1" name="x_email1" id="x_email1" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->email1->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->email1->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->email1->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->email1->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->tel->Visible) { // tel ?>
	<div id="r_tel" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_tel" for="x_tel" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->tel->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->tel->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->tel->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_tel">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_tel" data-page="1" name="x_tel" id="x_tel" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->tel->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->tel->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->tel->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->tel->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->mobile->Visible) { // mobile ?>
	<div id="r_mobile" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_mobile" for="x_mobile" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->mobile->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->mobile->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->mobile->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_mobile">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_mobile" data-page="1" name="x_mobile" id="x_mobile" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->mobile->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->mobile->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->mobile->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->mobile->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
		</div><!-- /multi-page .tab-pane -->
		<div class="tab-pane<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(2) ?>" id="tab_wp_wpl_addon_crm_contacts2"><!-- multi-page .tab-pane -->
<div class="ew-edit-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3091->Visible) { // field_3091 ?>
	<div id="r_field_3091" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3091" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3091">
<?php
$onchange = $wp_wpl_addon_crm_contacts_edit->field_3091->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$wp_wpl_addon_crm_contacts_edit->field_3091->EditAttrs["onchange"] = "";
?>
<span id="as_x_field_3091">
	<input type="text" class="form-control" name="sv_x_field_3091" id="sv_x_field_3091" value="<?php echo RemoveHtml($wp_wpl_addon_crm_contacts_edit->field_3091->EditValue) ?>" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3091->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3091->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->editAttributes() ?>>
</span>
<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3091" data-page="2" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->displayValueSeparatorAttribute() ?>" name="x_field_3091" id="x_field_3091" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3091->CurrentValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit"], function() {
	fwp_wpl_addon_crm_contactsedit.createAutoSuggest({"id":"x_field_3091","forceSelect":false});
});
</script>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->Lookup->getParamTag($wp_wpl_addon_crm_contacts_edit, "p_x_field_3091") ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3091->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3090->Visible) { // field_3090 ?>
	<div id="r_field_3090" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3090" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3090">
<?php
$onchange = $wp_wpl_addon_crm_contacts_edit->field_3090->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$wp_wpl_addon_crm_contacts_edit->field_3090->EditAttrs["onchange"] = "";
?>
<span id="as_x_field_3090">
	<input type="text" class="form-control" name="sv_x_field_3090" id="sv_x_field_3090" value="<?php echo RemoveHtml($wp_wpl_addon_crm_contacts_edit->field_3090->EditValue) ?>" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3090->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3090->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->editAttributes() ?>>
</span>
<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3090" data-page="2" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->displayValueSeparatorAttribute() ?>" name="x_field_3090" id="x_field_3090" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3090->CurrentValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit"], function() {
	fwp_wpl_addon_crm_contactsedit.createAutoSuggest({"id":"x_field_3090","forceSelect":false});
});
</script>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->Lookup->getParamTag($wp_wpl_addon_crm_contacts_edit, "p_x_field_3090") ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3090->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3088->Visible) { // field_3088 ?>
	<div id="r_field_3088" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3088" for="x_field_3088" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3088">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3088" data-page="2" name="x_field_3088" id="x_field_3088" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3088->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3088->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3187->Visible) { // field_3187 ?>
	<div id="r_field_3187" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3187" for="x_field_3187" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3187">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3187" data-page="2" name="x_field_3187" id="x_field_3187" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3187->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3187->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3188->Visible) { // field_3188 ?>
	<div id="r_field_3188" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3188" for="x_field_3188" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3188">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3188" data-page="2" name="x_field_3188" id="x_field_3188" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3188->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3188->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
		</div><!-- /multi-page .tab-pane -->
		<div class="tab-pane<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(3) ?>" id="tab_wp_wpl_addon_crm_contacts3"><!-- multi-page .tab-pane -->
<div class="ew-edit-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3183->Visible) { // field_3183 ?>
	<div id="r_field_3183" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3183" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3183">
<?php
$onchange = $wp_wpl_addon_crm_contacts_edit->field_3183->EditAttrs->prepend("onchange", "");
$onchange = ($onchange) ? ' onchange="' . JsEncode($onchange) . '"' : '';
$wp_wpl_addon_crm_contacts_edit->field_3183->EditAttrs["onchange"] = "";
?>
<span id="as_x_field_3183">
	<input type="text" class="form-control" name="sv_x_field_3183" id="sv_x_field_3183" value="<?php echo RemoveHtml($wp_wpl_addon_crm_contacts_edit->field_3183->EditValue) ?>" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3183->getPlaceHolder()) ?>" data-placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3183->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->editAttributes() ?>>
</span>
<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3183" data-page="3" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->displayValueSeparatorAttribute() ?>" name="x_field_3183" id="x_field_3183" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3183->CurrentValue) ?>"<?php echo $onchange ?>>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit"], function() {
	fwp_wpl_addon_crm_contactsedit.createAutoSuggest({"id":"x_field_3183","forceSelect":false});
});
</script>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->Lookup->getParamTag($wp_wpl_addon_crm_contacts_edit, "p_x_field_3183") ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3183->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3184->Visible) { // field_3184 ?>
	<div id="r_field_3184" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3184" for="x_field_3184" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3184">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3184" data-page="3" name="x_field_3184" id="x_field_3184" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3184->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3184->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3186->Visible) { // field_3186 ?>
	<div id="r_field_3186" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3186" for="x_field_3186" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3186">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3186" data-page="3" name="x_field_3186" id="x_field_3186" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3186->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3186->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3185->Visible) { // field_3185 ?>
	<div id="r_field_3185" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3185" for="x_field_3185" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3185">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3185" data-page="3" name="x_field_3185" id="x_field_3185" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3185->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3185->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
		</div><!-- /multi-page .tab-pane -->
		<div class="tab-pane<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(4) ?>" id="tab_wp_wpl_addon_crm_contacts4"><!-- multi-page .tab-pane -->
<div class="ew-edit-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_edit->owner->Visible) { // owner ?>
	<div id="r_owner" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_owner" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->owner->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->owner->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->owner->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_owner">
<div id="tp_x_owner" class="ew-template"><input type="radio" class="custom-control-input" data-table="wp_wpl_addon_crm_contacts" data-field="x_owner" data-page="4" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->owner->displayValueSeparatorAttribute() ?>" name="x_owner" id="x_owner" value="{value}"<?php echo $wp_wpl_addon_crm_contacts_edit->owner->editAttributes() ?>></div>
<div id="dsl_x_owner" data-repeatcolumn="5" class="ew-item-list d-none"><div>
<?php echo $wp_wpl_addon_crm_contacts_edit->owner->radioButtonListHtml(FALSE, "x_owner", 4) ?>
</div></div>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->owner->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->type->Visible) { // type ?>
	<div id="r_type" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_type" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->type->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->type->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->type->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_type">
<div id="tp_x_type" class="ew-template"><input type="radio" class="custom-control-input" data-table="wp_wpl_addon_crm_contacts" data-field="x_type" data-page="4" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->type->displayValueSeparatorAttribute() ?>" name="x_type" id="x_type" value="{value}"<?php echo $wp_wpl_addon_crm_contacts_edit->type->editAttributes() ?>></div>
<div id="dsl_x_type" data-repeatcolumn="5" class="ew-item-list d-none"><div>
<?php echo $wp_wpl_addon_crm_contacts_edit->type->radioButtonListHtml(FALSE, "x_type", 4) ?>
</div></div>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->type->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->date_added->Visible) { // date_added ?>
	<div id="r_date_added" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_date_added" for="x_date_added" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->date_added->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->date_added->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->date_added->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_date_added">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_date_added" data-page="4" data-format="9" name="x_date_added" id="x_date_added" maxlength="19" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->date_added->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_edit->date_added->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->date_added->editAttributes() ?>>
<?php if (!$wp_wpl_addon_crm_contacts_edit->date_added->ReadOnly && !$wp_wpl_addon_crm_contacts_edit->date_added->Disabled && !isset($wp_wpl_addon_crm_contacts_edit->date_added->EditAttrs["readonly"]) && !isset($wp_wpl_addon_crm_contacts_edit->date_added->EditAttrs["disabled"])) { ?>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsedit", "datetimepicker"], function() {
	ew.createDateTimePicker("fwp_wpl_addon_crm_contactsedit", "x_date_added", {"ignoreReadonly":true,"useCurrent":false,"format":9});
});
</script>
<?php } ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->date_added->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_edit->archive->Visible) { // archive ?>
	<div id="r_archive" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_archive" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->archive->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->archive->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->archive->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_archive">
<div id="tp_x_archive" class="ew-template"><input type="radio" class="custom-control-input" data-table="wp_wpl_addon_crm_contacts" data-field="x_archive" data-page="4" data-value-separator="<?php echo $wp_wpl_addon_crm_contacts_edit->archive->displayValueSeparatorAttribute() ?>" name="x_archive" id="x_archive" value="{value}"<?php echo $wp_wpl_addon_crm_contacts_edit->archive->editAttributes() ?>></div>
<div id="dsl_x_archive" data-repeatcolumn="5" class="ew-item-list d-none"><div>
<?php echo $wp_wpl_addon_crm_contacts_edit->archive->radioButtonListHtml(FALSE, "x_archive", 4) ?>
</div></div>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->archive->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
		</div><!-- /multi-page .tab-pane -->
		<div class="tab-pane<?php echo $wp_wpl_addon_crm_contacts_edit->MultiPages->pageStyle(5) ?>" id="tab_wp_wpl_addon_crm_contacts5"><!-- multi-page .tab-pane -->
<div class="ew-edit-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_edit->field_3087->Visible) { // field_3087 ?>
	<div id="r_field_3087" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3087" for="x_field_3087" class="<?php echo $wp_wpl_addon_crm_contacts_edit->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->caption() ?><?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3087">
<textarea data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3087" data-page="5" name="x_field_3087" id="x_field_3087" cols="35" rows="4" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->field_3087->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->editAttributes() ?>><?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->EditValue ?></textarea>
</span>
<?php echo $wp_wpl_addon_crm_contacts_edit->field_3087->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
		</div><!-- /multi-page .tab-pane -->
	</div><!-- /multi-page tabs .tab-content -->
</div><!-- /multi-page tabs -->
</div><!-- /multi-page -->
	<input type="hidden" data-table="wp_wpl_addon_crm_contacts" data-field="x_id" name="x_id" id="x_id" value="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_edit->id->CurrentValue) ?>">
<?php if (!$wp_wpl_addon_crm_contacts_edit->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $wp_wpl_addon_crm_contacts_edit->OffsetColumnClass ?>"><!-- buttons offset -->
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("SaveBtn") ?></button>
<button class="btn btn-default ew-btn" name="btn-cancel" id="btn-cancel" type="button" data-href="<?php echo $wp_wpl_addon_crm_contacts_edit->getReturnUrl() ?>"><?php echo $Language->phrase("CancelBtn") ?></button>
	</div><!-- /buttons offset -->
</div><!-- /buttons .form-group -->
<?php } ?>
</form>
<?php
$wp_wpl_addon_crm_contacts_edit->showPageFooter();
if (Config("DEBUG"))
	echo GetDebugMessage();
?>
<script>
loadjs.ready("load", function() {

	// Startup script
	// Write your table-specific startup script here
	// console.log("page loaded");

});
</script>
<?php include_once "footer.php"; ?>
<?php
$wp_wpl_addon_crm_contacts_edit->terminate();
?>

Hry