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/dev.alliancerealty.nb.ca/adminAR/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/alliancerealtynb/dev.alliancerealty.nb.ca/adminAR/wp_wpl_addon_crm_contactsadd.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_add = new wp_wpl_addon_crm_contacts_add();

// Run the page
$wp_wpl_addon_crm_contacts_add->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_add->Page_Render();
?>
<?php include_once "header.php"; ?>
<script>
var fwp_wpl_addon_crm_contactsadd, currentPageID;
loadjs.ready("head", function() {

	// Form object
	currentPageID = ew.PAGE_ID = "add";
	fwp_wpl_addon_crm_contactsadd = currentForm = new ew.Form("fwp_wpl_addon_crm_contactsadd", "add");

	// Validate form
	fwp_wpl_addon_crm_contactsadd.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_add->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_add->first_name->caption(), $wp_wpl_addon_crm_contacts_add->first_name->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->last_name->caption(), $wp_wpl_addon_crm_contacts_add->last_name->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->type->caption(), $wp_wpl_addon_crm_contacts_add->type->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->_email->Required) { ?>
				elm = this.getElements("x" + infix + "__email");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_add->_email->caption(), $wp_wpl_addon_crm_contacts_add->_email->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->tel->caption(), $wp_wpl_addon_crm_contacts_add->tel->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->mobile->caption(), $wp_wpl_addon_crm_contacts_add->mobile->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->field_3090->caption(), $wp_wpl_addon_crm_contacts_add->field_3090->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->field_3091->caption(), $wp_wpl_addon_crm_contacts_add->field_3091->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->field_3088->caption(), $wp_wpl_addon_crm_contacts_add->field_3088->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->zip_name->Required) { ?>
				elm = this.getElements("x" + infix + "_zip_name");
				if (elm && !ew.isHidden(elm) && !ew.hasValue(elm))
					return this.onError(elm, "<?php echo JsEncode(str_replace("%s", $wp_wpl_addon_crm_contacts_add->zip_name->caption(), $wp_wpl_addon_crm_contacts_add->zip_name->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->field_3087->caption(), $wp_wpl_addon_crm_contacts_add->field_3087->RequiredErrorMessage)) ?>");
			<?php } ?>
			<?php if ($wp_wpl_addon_crm_contacts_add->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_add->date_added->caption(), $wp_wpl_addon_crm_contacts_add->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_add->date_added->errorMessage()) ?>");

				// 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_contactsadd.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_contactsadd.validateRequired = <?php echo Config("CLIENT_VALIDATE") ? "true" : "false" ?>;

	// Dynamic selection lists
	loadjs.done("fwp_wpl_addon_crm_contactsadd");
});
</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_add->showPageHeader(); ?>
<?php
$wp_wpl_addon_crm_contacts_add->showMessage();
?>
<form name="fwp_wpl_addon_crm_contactsadd" id="fwp_wpl_addon_crm_contactsadd" class="<?php echo $wp_wpl_addon_crm_contacts_add->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="insert">
<input type="hidden" name="modal" value="<?php echo (int)$wp_wpl_addon_crm_contacts_add->IsModal ?>">
<div class="ew-add-div"><!-- page* -->
<?php if ($wp_wpl_addon_crm_contacts_add->first_name->Visible) { // first_name ?>
	<div id="r_first_name" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_first_name" for="x_first_name" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->first_name->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->first_name->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->first_name->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_first_name">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_first_name" name="x_first_name" id="x_first_name" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->first_name->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->first_name->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->first_name->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->first_name->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->last_name->Visible) { // last_name ?>
	<div id="r_last_name" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_last_name" for="x_last_name" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->last_name->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->last_name->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->last_name->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_last_name">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_last_name" name="x_last_name" id="x_last_name" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->last_name->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->last_name->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->last_name->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->last_name->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->type->Visible) { // type ?>
	<div id="r_type" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_type" for="x_type" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->type->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->type->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->type->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_type">
<textarea data-table="wp_wpl_addon_crm_contacts" data-field="x_type" name="x_type" id="x_type" cols="35" rows="4" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->type->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_add->type->editAttributes() ?>><?php echo $wp_wpl_addon_crm_contacts_add->type->EditValue ?></textarea>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->type->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->_email->Visible) { // email ?>
	<div id="r__email" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts__email" for="x__email" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->_email->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->_email->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->_email->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts__email">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x__email" name="x__email" id="x__email" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->_email->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->_email->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->_email->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->_email->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->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_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->tel->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->tel->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->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" name="x_tel" id="x_tel" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->tel->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->tel->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->tel->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->tel->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->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_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->mobile->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->mobile->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->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" name="x_mobile" id="x_mobile" size="30" maxlength="100" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->mobile->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->mobile->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->mobile->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->mobile->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->field_3090->Visible) { // field_3090 ?>
	<div id="r_field_3090" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3090" for="x_field_3090" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->field_3090->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->field_3090->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->field_3090->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3090">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3090" name="x_field_3090" id="x_field_3090" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->field_3090->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->field_3090->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->field_3090->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->field_3090->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->field_3091->Visible) { // field_3091 ?>
	<div id="r_field_3091" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_field_3091" for="x_field_3091" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->field_3091->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->field_3091->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->field_3091->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_field_3091">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_field_3091" name="x_field_3091" id="x_field_3091" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->field_3091->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->field_3091->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->field_3091->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->field_3091->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->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_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->field_3088->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->field_3088->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->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" name="x_field_3088" id="x_field_3088" size="30" maxlength="50" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->field_3088->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->field_3088->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->field_3088->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->field_3088->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->zip_name->Visible) { // zip_name ?>
	<div id="r_zip_name" class="form-group row">
		<label id="elh_wp_wpl_addon_crm_contacts_zip_name" for="x_zip_name" class="<?php echo $wp_wpl_addon_crm_contacts_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->zip_name->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->zip_name->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->zip_name->cellAttributes() ?>>
<span id="el_wp_wpl_addon_crm_contacts_zip_name">
<input type="text" data-table="wp_wpl_addon_crm_contacts" data-field="x_zip_name" name="x_zip_name" id="x_zip_name" size="30" maxlength="20" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->zip_name->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->zip_name->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->zip_name->editAttributes() ?>>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->zip_name->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->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_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->field_3087->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->field_3087->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->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" name="x_field_3087" id="x_field_3087" cols="35" rows="4" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->field_3087->getPlaceHolder()) ?>"<?php echo $wp_wpl_addon_crm_contacts_add->field_3087->editAttributes() ?>><?php echo $wp_wpl_addon_crm_contacts_add->field_3087->EditValue ?></textarea>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->field_3087->CustomMsg ?></div></div>
	</div>
<?php } ?>
<?php if ($wp_wpl_addon_crm_contacts_add->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_add->LeftColumnClass ?>"><?php echo $wp_wpl_addon_crm_contacts_add->date_added->caption() ?><?php echo $wp_wpl_addon_crm_contacts_add->date_added->Required ? $Language->phrase("FieldRequiredIndicator") : "" ?></label>
		<div class="<?php echo $wp_wpl_addon_crm_contacts_add->RightColumnClass ?>"><div <?php echo $wp_wpl_addon_crm_contacts_add->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-format="9" name="x_date_added" id="x_date_added" maxlength="19" placeholder="<?php echo HtmlEncode($wp_wpl_addon_crm_contacts_add->date_added->getPlaceHolder()) ?>" value="<?php echo $wp_wpl_addon_crm_contacts_add->date_added->EditValue ?>"<?php echo $wp_wpl_addon_crm_contacts_add->date_added->editAttributes() ?>>
<?php if (!$wp_wpl_addon_crm_contacts_add->date_added->ReadOnly && !$wp_wpl_addon_crm_contacts_add->date_added->Disabled && !isset($wp_wpl_addon_crm_contacts_add->date_added->EditAttrs["readonly"]) && !isset($wp_wpl_addon_crm_contacts_add->date_added->EditAttrs["disabled"])) { ?>
<script>
loadjs.ready(["fwp_wpl_addon_crm_contactsadd", "datetimepicker"], function() {
	ew.createDateTimePicker("fwp_wpl_addon_crm_contactsadd", "x_date_added", {"ignoreReadonly":true,"useCurrent":false,"format":9});
});
</script>
<?php } ?>
</span>
<?php echo $wp_wpl_addon_crm_contacts_add->date_added->CustomMsg ?></div></div>
	</div>
<?php } ?>
</div><!-- /page* -->
<?php if (!$wp_wpl_addon_crm_contacts_add->IsModal) { ?>
<div class="form-group row"><!-- buttons .form-group -->
	<div class="<?php echo $wp_wpl_addon_crm_contacts_add->OffsetColumnClass ?>"><!-- buttons offset -->
<button class="btn btn-primary ew-btn" name="btn-action" id="btn-action" type="submit"><?php echo $Language->phrase("AddBtn") ?></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_add->getReturnUrl() ?>"><?php echo $Language->phrase("CancelBtn") ?></button>
	</div><!-- /buttons offset -->
</div><!-- /buttons .form-group -->
<?php } ?>
</form>
<?php
$wp_wpl_addon_crm_contacts_add->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_add->terminate();
?>

Hry