本文整理汇总了PHP中PhoneNumber::isPhoneNumber方法的典型用法代码示例。如果您正苦于以下问题:PHP PhoneNumber::isPhoneNumber方法的具体用法?PHP PhoneNumber::isPhoneNumber怎么用?PHP PhoneNumber::isPhoneNumber使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类PhoneNumber
的用法示例。
在下文中一共展示了PhoneNumber::isPhoneNumber方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: fad710e267c002f374f607e125e6219e044710bba
private function fad710e267c002f374f607e125e6219e044710bba()
{
$i24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1 = $iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 = "";
$ib1199182837e705aae8d93f525c88b1184f9395d = $this->f1b1c636527127b1c174f4aa075d5334084c79b0e($this->v82b103019f8b63abe35e23c8982897d7b3b13cd2, $this->v5a4616ba4ac4a7f21e69ba2afe5e994ae9927078);
if ($this->va917c2d49152f506b70362a47d4a4b689d3e7541 != -1) {
$ia917c2d49152f506b70362a47d4a4b689d3e7541 = $this->va917c2d49152f506b70362a47d4a4b689d3e7541;
} elseif (isset($ib1199182837e705aae8d93f525c88b1184f9395d["senderID"]) && PhoneNumber::isPhoneNumber($ib1199182837e705aae8d93f525c88b1184f9395d["senderID"])) {
$ia917c2d49152f506b70362a47d4a4b689d3e7541 = $ib1199182837e705aae8d93f525c88b1184f9395d["senderID"];
if ($ib1199182837e705aae8d93f525c88b1184f9395d["senderID"] != "") {
$iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 = " class=\"hidden\"";
$i24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1 = "";
} else {
$iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 = "";
}
} else {
$ia917c2d49152f506b70362a47d4a4b689d3e7541 = -1;
}
if (strlen($this->v24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1) > 0 && $this->va917c2d49152f506b70362a47d4a4b689d3e7541 == -1) {
$i24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1 = $this->v24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1;
$ia917c2d49152f506b70362a47d4a4b689d3e7541 = -1;
$iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 = "";
}
if ($this->v19b8b7cad3f484c5fd3981e8d383972bf5b46508) {
$iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 = " class=\"hidden\"";
$if7a6d77e9294fd1c231b0e08d721dfa1f192bec6 = " class=\"hidden\"";
$i011b2a01ee0a992d7ea6a807884909e65aefd0c7 = "";
} else {
$if7a6d77e9294fd1c231b0e08d721dfa1f192bec6 = "";
$i011b2a01ee0a992d7ea6a807884909e65aefd0c7 = " class=\"hidden\"";
}
$i02fcabda2448d40bdb76bd10f9e95950039649ee = ' <form action="" method="post"> <table class="formTable profile"> <tbody> <tr' . $if7a6d77e9294fd1c231b0e08d721dfa1f192bec6 . '> <td>' . self::getLabel(v_smswizard_existingown, 'class="bold"') . '</td> <td>' . self::getSelect(array("name" => "ownsenderID", "id" => "selectOwnSender", "onchange" => "ownSender();"), $this->f2e417c6ce6885ef9fd0253ef02610a4fe8446157(), $ia917c2d49152f506b70362a47d4a4b689d3e7541) . ' *</td> </tr> <tr id="newOwnSender"' . $iea9d992f624fb48911a6ab7dc62eed1a4c5e3706 . '> <td>' . self::getLabel(v_smswizard_newownnrid, 'class="bold"') . '</td> <td>' . self::getInput(array("name" => "newownsenderID", "type" => "text", "value" => $i24931bf8d8dd5bf8b970fbea0e59a47ff06bffa1)) . ' * ' . self::getNote(v_smswizard_intformat) . '</td> </tr> <tr id="newOwnSender"' . $i011b2a01ee0a992d7ea6a807884909e65aefd0c7 . '> <td>' . self::getLabel(v_smswizard_smscode, 'class="bold"') . '</td> <td>' . self::getInput(array("name" => "validateCode", "type" => "text", "value" => $this->va673093194bc7ce7672ed2857425609839b3119d)) . ' *</td> </tr> <tr> <td></td> <td>' . self::getInput(array("name" => "submitAddOwnNumberSenderID", "type" => "submit", "value" => v_smswizard_confirm)) . '</td> </tr> </tbody> </table> <div class="small note"><sup>*</sup> ' . v_adminsmsprofile_required . '</div>' . self::getInput(array("name" => "info", "type" => "hidden", "value" => $this->vb2bdeb39d0b431e06e364d808d2f32fddee67ca3)) . self::getInput(array("name" => "country", "type" => "hidden", "value" => $this->v5a4616ba4ac4a7f21e69ba2afe5e994ae9927078)) . self::getInput(array("name" => "type", "type" => "hidden", "value" => $this->v82b103019f8b63abe35e23c8982897d7b3b13cd2)) . self::getInput(array("name" => "action", "type" => "hidden", "value" => $this->vb17553f86a6e6460083956094e21682b0eb19a5b)) . self::getInput(array("name" => "isms", "type" => "hidden", "value" => implode(";", $this->vf261e0e1babe742f7019d4d5742b8f9a0dc76be1))) . self::getInput(array("name" => "sendedCode", "type" => "hidden", "value" => $this->v19b8b7cad3f484c5fd3981e8d383972bf5b46508));
if (method_exists($this, "addToPostAdapter")) {
$i02fcabda2448d40bdb76bd10f9e95950039649ee .= $this->addToPostAdapter(true);
}
$i02fcabda2448d40bdb76bd10f9e95950039649ee .= '</form>';
return $i02fcabda2448d40bdb76bd10f9e95950039649ee;
}
示例2: f772351b9d0754930a8b7eff64f708a7494ae5492
private function f772351b9d0754930a8b7eff64f708a7494ae5492()
{
$ia8ae96136aabf34f35206c26b90f1af9088e8044 = $i82ed3493150f3db4982291e587a57d15be62dd4e = "";
$iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 = $this->f922aad2a422f277c9ae988bc616f180c33de5aa8($this->v7f261894a2f47535041bff3d2f42c3969e819d98, $this->vab6a314decb74f5c532ecb082cfeb1655b9e98bb);
if ($this->v27c847d6bec864e327cd4686358e7c1e1de59e9d != -1) {
$i27c847d6bec864e327cd4686358e7c1e1de59e9d = $this->v27c847d6bec864e327cd4686358e7c1e1de59e9d;
} elseif (isset($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89["senderID"]) && PhoneNumber::isPhoneNumber($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89["senderID"])) {
$i27c847d6bec864e327cd4686358e7c1e1de59e9d = $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89["senderID"];
if ($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89["senderID"] != "") {
$i82ed3493150f3db4982291e587a57d15be62dd4e = " class=\"hidden\"";
$ia8ae96136aabf34f35206c26b90f1af9088e8044 = "";
} else {
$i82ed3493150f3db4982291e587a57d15be62dd4e = "";
}
} else {
$i27c847d6bec864e327cd4686358e7c1e1de59e9d = -1;
}
if (strlen($this->va8ae96136aabf34f35206c26b90f1af9088e8044) > 0 && $this->v27c847d6bec864e327cd4686358e7c1e1de59e9d == -1) {
$ia8ae96136aabf34f35206c26b90f1af9088e8044 = $this->va8ae96136aabf34f35206c26b90f1af9088e8044;
$i27c847d6bec864e327cd4686358e7c1e1de59e9d = -1;
$i82ed3493150f3db4982291e587a57d15be62dd4e = "";
}
if ($this->ve5aa63528fa84652be7d86b274757e6ca3554317) {
$i82ed3493150f3db4982291e587a57d15be62dd4e = " class=\"hidden\"";
$ib30dc1d4ae198c05d813e50a0f7f78c8d966750c = " class=\"hidden\"";
$ice3aeffb62401a3b61082f8cdfe9d0cc49126032 = "";
} else {
$ib30dc1d4ae198c05d813e50a0f7f78c8d966750c = "";
$ice3aeffb62401a3b61082f8cdfe9d0cc49126032 = " class=\"hidden\"";
}
$iae8c74e5273dec25096dbae362493a9f609ecfc8 = ' <form action="" method="post"> <table class="formTable profile"> <tbody> <tr' . $ib30dc1d4ae198c05d813e50a0f7f78c8d966750c . '> <td>' . self::getLabel(v_smswizard_existingown, 'class="bold"') . '</td> <td>' . self::getSelect(array("name" => "ownsenderID", "id" => "selectOwnSender", "onchange" => "ownSender();"), $this->fe6384d66988a761d4c5503e6a331406deb348e73(), $i27c847d6bec864e327cd4686358e7c1e1de59e9d) . ' *</td> </tr> <tr id="newOwnSender"' . $i82ed3493150f3db4982291e587a57d15be62dd4e . '> <td>' . self::getLabel(v_smswizard_newownnrid, 'class="bold"') . '</td> <td>' . self::getInput(array("name" => "newownsenderID", "type" => "text", "value" => $ia8ae96136aabf34f35206c26b90f1af9088e8044)) . ' * ' . self::getNote(v_smswizard_intformat) . '</td> </tr> <tr id="newOwnSender"' . $ice3aeffb62401a3b61082f8cdfe9d0cc49126032 . '> <td>' . self::getLabel(v_smswizard_smscode, 'class="bold"') . '</td> <td>' . self::getInput(array("name" => "validateCode", "type" => "text", "value" => $this->v31f6359ed56e16253e2214540e9a74aa67a79f38)) . ' *</td> </tr> <tr> <td></td> <td>' . self::getInput(array("name" => "submitAddOwnNumberSenderID", "type" => "submit", "value" => v_smswizard_confirm)) . '</td> </tr> </tbody> </table> <div class="small note"><sup>*</sup> ' . v_adminsmsprofile_required . '</div>' . self::getInput(array("name" => "info", "type" => "hidden", "value" => $this->vfb4fc7683b8a345aa04bae018e72487978470e18)) . self::getInput(array("name" => "country", "type" => "hidden", "value" => $this->vab6a314decb74f5c532ecb082cfeb1655b9e98bb)) . self::getInput(array("name" => "type", "type" => "hidden", "value" => $this->v7f261894a2f47535041bff3d2f42c3969e819d98)) . self::getInput(array("name" => "action", "type" => "hidden", "value" => $this->v10362d0b58d010e644ea05e4195fc6f67d72e348)) . self::getInput(array("name" => "isms", "type" => "hidden", "value" => implode(";", $this->v13eb3507bfa321384575c03ba80ea011ee4d3321))) . self::getInput(array("name" => "sendedCode", "type" => "hidden", "value" => $this->ve5aa63528fa84652be7d86b274757e6ca3554317));
if (method_exists($this, "addToPostAdapter")) {
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= $this->addToPostAdapter(true);
}
$iae8c74e5273dec25096dbae362493a9f609ecfc8 .= '</form>';
return $iae8c74e5273dec25096dbae362493a9f609ecfc8;
}
示例3: postProcess
public function postProcess($icddcd508600972f2dab78cd14f7612aa4dc19a18 = NULL, $i6b496fee24729ce6f7683ba88d5a87d6130049b5 = NULL, $ifab26c5df1e4ac29b64e0a4796b1f9165fe614a8 = NULL)
{
$demo = false;
if (($demo || defined("SMS_DEMO")) && $icddcd508600972f2dab78cd14f7612aa4dc19a18 != NULL) {
$this->_errors[] = "Disabled in demo.";
return self::POST_OK;
}
if ($ifab26c5df1e4ac29b64e0a4796b1f9165fe614a8 == NULL) {
return self::POST_ERROR;
}
if (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitAddAdmin"])) {
$i6b378f203f89073d2d6f4239eef67bf1db322d03 = $this->escapePostVariables("adminnew");
$i43e73008096636491c57855e1543fbbc5d9c5013 = $this->escapePostVariables("numbernew");
if (!strlen($i6b378f203f89073d2d6f4239eef67bf1db322d03)) {
$this->_errors[] = v_adminsmsprofile_invalidname;
return self::POST_ERROR;
} elseif (!PhoneNumber::isPhoneNumber($i43e73008096636491c57855e1543fbbc5d9c5013) || $i43e73008096636491c57855e1543fbbc5d9c5013 == null) {
$this->_errors[] = v_adminsmsprofile_invalidnumber;
return self::POST_ERROR;
} else {
$this->Execute("INSERT INTO " . DB_PREFIX . "sp_admins VALUES (null,'" . $this->escape($i6b378f203f89073d2d6f4239eef67bf1db322d03) . "','" . $this->escape($i43e73008096636491c57855e1543fbbc5d9c5013) . "')");
$this->displayConfirmation(v_adminsmsprofile_admincreated);
return self::POST_OK;
}
} elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitAddSmsAccount"])) {
$ic9eb57c0cb4cf9ea36739fa49adc53923c76243d = $this->escapePostVariables("agree");
$i10c2cab33828d32845523672265b4101741e17a0 = $this->escapePostVariables("email");
$i340192567d0c13293e7b72e4d7926ab4475be729 = $this->escapePostVariables("companyname");
$i3ec11992ba35cc28370d20bb83e1e2b71f7a8dac = $this->escapePostVariables("addressstreet");
$ia434af08201717f3f656c2e722fa792fe7e63b9f = $this->escapePostVariables("addresscity");
$i9b4a10858d8a76b1778120e31b66f6e699f65aea = $this->escapePostVariables("addresszip");
$iab6a314decb74f5c532ecb082cfeb1655b9e98bb = $this->escapePostVariables("country0");
$ia8ffb918a6696fe37f0bbabaf1e1a952607e959d = $this->escapePostVariables("companyid");
$i3b1c6281aaacad7a20754ff1ce66c0005b0140ca = $this->escapePostVariables("companyvat");
$i82e7a3b1bd589a54f63d67ca1a06a3d62552719f = $this->escapePostVariables("refererid");
$i141fd6cf8d25a2156fcef65b7d29affd9b26822b = $this->escapePostVariables("kosoba");
$i7e23db037952160bf723279bac0aa2285a3ceb6c = $this->escapePostVariables("kprijmeni");
$i3ec11992ba35cc28370d20bb83e1e2b71f7a8dac = html_entity_decode($i3ec11992ba35cc28370d20bb83e1e2b71f7a8dac, ENT_QUOTES, 'UTF-8');
$i340192567d0c13293e7b72e4d7926ab4475be729 = html_entity_decode($i340192567d0c13293e7b72e4d7926ab4475be729, ENT_QUOTES, 'UTF-8');
$ia434af08201717f3f656c2e722fa792fe7e63b9f = html_entity_decode($ia434af08201717f3f656c2e722fa792fe7e63b9f, ENT_QUOTES, 'UTF-8');
$i141fd6cf8d25a2156fcef65b7d29affd9b26822b = html_entity_decode($i141fd6cf8d25a2156fcef65b7d29affd9b26822b, ENT_QUOTES, 'UTF-8');
$i7e23db037952160bf723279bac0aa2285a3ceb6c = html_entity_decode($i7e23db037952160bf723279bac0aa2285a3ceb6c, ENT_QUOTES, 'UTF-8');
if (defined("v_refererID")) {
$i82e7a3b1bd589a54f63d67ca1a06a3d62552719f = v_refererID;
}
if ($icddcd508600972f2dab78cd14f7612aa4dc19a18["type_acc"] == "Person") {
$i340192567d0c13293e7b72e4d7926ab4475be729 = "";
$ia8ffb918a6696fe37f0bbabaf1e1a952607e959d = "";
$i3b1c6281aaacad7a20754ff1ce66c0005b0140ca = "";
}
if ($icddcd508600972f2dab78cd14f7612aa4dc19a18["type_acc"] == "Bussiness" && strlen($i340192567d0c13293e7b72e4d7926ab4475be729) < 3) {
$this->_errors[] = v_registration_company_name;
return self::POST_ERROR;
}
if ($ic9eb57c0cb4cf9ea36739fa49adc53923c76243d != 1) {
$this->_errors[] = v_adminsmsprofile_agreetext;
return self::POST_ERROR;
}
if (!self::isEmail($i10c2cab33828d32845523672265b4101741e17a0) || !trim($i10c2cab33828d32845523672265b4101741e17a0)) {
$this->_errors[] = v_adminsmsprofile_invalidemail2;
return self::POST_ERROR;
} else {
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb());
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->registerSmsAccount($i10c2cab33828d32845523672265b4101741e17a0, $i340192567d0c13293e7b72e4d7926ab4475be729, $i3ec11992ba35cc28370d20bb83e1e2b71f7a8dac, $ia434af08201717f3f656c2e722fa792fe7e63b9f, $i9b4a10858d8a76b1778120e31b66f6e699f65aea, $iab6a314decb74f5c532ecb082cfeb1655b9e98bb, $ia8ffb918a6696fe37f0bbabaf1e1a952607e959d, $i3b1c6281aaacad7a20754ff1ce66c0005b0140ca, $i82e7a3b1bd589a54f63d67ca1a06a3d62552719f, $i141fd6cf8d25a2156fcef65b7d29affd9b26822b, $i7e23db037952160bf723279bac0aa2285a3ceb6c);
$i15f0440429ef770fbaf8bd58ae6bab5bcc2e123c = new UserProfile($this->getDb());
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->editOtherSettings(urlencode(DELIVERY_URL), 0, "", "1", 0, 0, 0, $i15f0440429ef770fbaf8bd58ae6bab5bcc2e123c->getUsername(), $i15f0440429ef770fbaf8bd58ae6bab5bcc2e123c->getPassword());
if ($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->isError()) {
$this->_errors = array_unique($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->getErrors());
return self::POST_ERROR;
} else {
$this->_okMsg = array_unique($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->getConfirm());
return self::POST_OK;
}
}
} elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitLogin"])) {
$i05cffcc28d5370a291200c83ba5e24a107e83193 = $this->escapePostVariables("username");
$ie949fe683eb9735ceada53820bfe2c9007ae8bd6 = $this->escapePostVariables("password");
if (!strlen($i05cffcc28d5370a291200c83ba5e24a107e83193) > 0 || !strlen($ie949fe683eb9735ceada53820bfe2c9007ae8bd6) > 0) {
$this->_errors[] = v_adminsmsprofile_filluser;
return self::POST_ERROR;
} else {
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb());
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->loginAccount($i05cffcc28d5370a291200c83ba5e24a107e83193, $ie949fe683eb9735ceada53820bfe2c9007ae8bd6);
$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->editOtherSettings(urlencode(DELIVERY_URL), 0, "", "1", 0, 0, 0, $i05cffcc28d5370a291200c83ba5e24a107e83193, $ie949fe683eb9735ceada53820bfe2c9007ae8bd6);
if ($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->isError()) {
$this->_errors = array_unique($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->getErrors());
return self::POST_ERROR;
} else {
$this->_okMsg = array_unique($i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->getConfirm());
return self::POST_OK;
}
}
} elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitEditAdmin_x"]) || isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitEditAdmin"])) {
$this->edit_id = $this->escapePostVariables("ID");
$this->edit_admins = true;
} elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitAdminSettings1"])) {
$this->deleteDb = $this->escapePostVariables("deletedb");
$this->simulate = $this->escapePostVariables("simulate");
$this->deliveryemail = $this->escapePostVariables("deliveryemail");
$this->pocetkredit = $this->escapePostVariables("pocetkredit");
//.........这里部分代码省略.........
示例4: postProcess
public function postProcess($if7ac7ffb0e11bffa95681698138e923b4fd51990 = NULL, $i120dfeb2f4db76e8e52ed01ad8e678e2b9fa3bb9 = NULL, $i4df8c509b6936a0640c1594ca9b38a0a55a9562f = NULL)
{
$demo = false;
if (($demo || defined("SMS_DEMO")) && $if7ac7ffb0e11bffa95681698138e923b4fd51990 != NULL) {
$this->_errors[] = "Disabled in demo.";
return self::POST_OK;
}
if ($i4df8c509b6936a0640c1594ca9b38a0a55a9562f == NULL) {
return self::POST_ERROR;
}
if (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitAddAdmin"])) {
$i32f990de0fa2e05c03d31bf5021f8ede63166d03 = $this->escapePostVariables("adminnew");
$i6de5513d7bf66573dedf3f2f853ce5457a8f957f = $this->escapePostVariables("numbernew");
if (!strlen($i32f990de0fa2e05c03d31bf5021f8ede63166d03)) {
$this->_errors[] = v_adminsmsprofile_invalidname;
return self::POST_ERROR;
} elseif (!PhoneNumber::isPhoneNumber($i6de5513d7bf66573dedf3f2f853ce5457a8f957f) || $i6de5513d7bf66573dedf3f2f853ce5457a8f957f == null) {
$this->_errors[] = v_adminsmsprofile_invalidnumber;
return self::POST_ERROR;
} else {
$this->Execute("INSERT INTO " . DB_PREFIX . "sp_admins VALUES (null,'" . $this->escape($i32f990de0fa2e05c03d31bf5021f8ede63166d03) . "','" . $this->escape($i6de5513d7bf66573dedf3f2f853ce5457a8f957f) . "')");
$this->displayConfirmation(v_adminsmsprofile_admincreated);
return self::POST_OK;
}
} elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitAddSmsAccount"])) {
$i48c34094f4edd0277b41e94dc4f0f33be5a00577 = $this->escapePostVariables("agree");
$i139fa9617e9d70e3d55f87d6ad4113c40da3102d = $this->escapePostVariables("email");
$ie9599f6e53cc27b46699f94805a73f5eccf9f0dc = $this->escapePostVariables("companyname");
$i94a47481735fcb1d4d39399453984453fa0ec578 = $this->escapePostVariables("addressstreet");
$i2950dcb306aa6a84739ae117f72d37fbfc177af7 = $this->escapePostVariables("addresscity");
$if807cf403609c75a25d2c8b19d9a8e1b0f3146e4 = $this->escapePostVariables("addresszip");
$i5a4616ba4ac4a7f21e69ba2afe5e994ae9927078 = $this->escapePostVariables("country0");
$ibcec5f7d7295ee797901b9c5fe2758f8a074ba4b = $this->escapePostVariables("companyid");
$i067d9e62ac114d017597fbfc5a16bdfd07fb847b = $this->escapePostVariables("companyvat");
$i909875e864574ac324b2cc5a0493b8e53c5f2ed4 = $this->escapePostVariables("refererid");
$icae1003a7b78317ecd106d559490d2ed7842f019913b8360e9b2834ed2fc65e1fbcb2fdd72ce7e7 = $this->escapePostVariables("kosoba");
$i228783d167ecdf2325f0dabfe191e58f5099bde8 = $this->escapePostVariables("kprijmeni");
$i94a47481735fcb1d4d39399453984453fa0ec578 = html_entity_decode($i94a47481735fcb1d4d39399453984453fa0ec578, ENT_QUOTES, 'UTF-8');
$ie9599f6e53cc27b46699f94805a73f5eccf9f0dc = html_entity_decode($ie9599f6e53cc27b46699f94805a73f5eccf9f0dc, ENT_QUOTES, 'UTF-8');
$i2950dcb306aa6a84739ae117f72d37fbfc177af7 = html_entity_decode($i2950dcb306aa6a84739ae117f72d37fbfc177af7, ENT_QUOTES, 'UTF-8');
$icae1003a7b78317ecd106d559490d2ed7842f019913b8360e9b2834ed2fc65e1fbcb2fdd72ce7e7 = html_entity_decode($icae1003a7b78317ecd106d559490d2ed7842f019913b8360e9b2834ed2fc65e1fbcb2fdd72ce7e7, ENT_QUOTES, 'UTF-8');
$i228783d167ecdf2325f0dabfe191e58f5099bde8 = html_entity_decode($i228783d167ecdf2325f0dabfe191e58f5099bde8, ENT_QUOTES, 'UTF-8');
if (defined("v_refererID")) {
$i909875e864574ac324b2cc5a0493b8e53c5f2ed4 = v_refererID;
}
if ($if7ac7ffb0e11bffa95681698138e923b4fd51990["type_acc"] == "Person") {
$ie9599f6e53cc27b46699f94805a73f5eccf9f0dc = "";
$ibcec5f7d7295ee797901b9c5fe2758f8a074ba4b = "";
$i067d9e62ac114d017597fbfc5a16bdfd07fb847b = "";
}
if ($if7ac7ffb0e11bffa95681698138e923b4fd51990["type_acc"] == "Bussiness" && strlen($ie9599f6e53cc27b46699f94805a73f5eccf9f0dc) < 3) {
$this->_errors[] = v_registration_company_name;
return self::POST_ERROR;
}
if ($i48c34094f4edd0277b41e94dc4f0f33be5a00577 != 1) {
$this->_errors[] = v_adminsmsprofile_agreetext;
return self::POST_ERROR;
}
if (!self::isEmail($i139fa9617e9d70e3d55f87d6ad4113c40da3102d) || !trim($i139fa9617e9d70e3d55f87d6ad4113c40da3102d)) {
$this->_errors[] = v_adminsmsprofile_invalidemail2;
return self::POST_ERROR;
} else {
$i9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->getDb());
$i9ec854a302fbdb72d043506b55d5bf395184517b->registerSmsAccount($i139fa9617e9d70e3d55f87d6ad4113c40da3102d, $ie9599f6e53cc27b46699f94805a73f5eccf9f0dc, $i94a47481735fcb1d4d39399453984453fa0ec578, $i2950dcb306aa6a84739ae117f72d37fbfc177af7, $if807cf403609c75a25d2c8b19d9a8e1b0f3146e4, $i5a4616ba4ac4a7f21e69ba2afe5e994ae9927078, $ibcec5f7d7295ee797901b9c5fe2758f8a074ba4b, $i067d9e62ac114d017597fbfc5a16bdfd07fb847b, $i909875e864574ac324b2cc5a0493b8e53c5f2ed4, $icae1003a7b78317ecd106d559490d2ed7842f019913b8360e9b2834ed2fc65e1fbcb2fdd72ce7e7, $i228783d167ecdf2325f0dabfe191e58f5099bde8);
$i8095598e75aa0d17622b51f9b7beb10357fca949 = new UserProfile($this->getDb());
$i9ec854a302fbdb72d043506b55d5bf395184517b->editOtherSettings(urlencode(DELIVERY_URL), 0, "", "1", 0, 0, 0, $i8095598e75aa0d17622b51f9b7beb10357fca949->getUsername(), $i8095598e75aa0d17622b51f9b7beb10357fca949->getPassword());
if ($i9ec854a302fbdb72d043506b55d5bf395184517b->isError()) {
$this->_errors = array_unique($i9ec854a302fbdb72d043506b55d5bf395184517b->getErrors());
return self::POST_ERROR;
} else {
$this->_okMsg = array_unique($i9ec854a302fbdb72d043506b55d5bf395184517b->getConfirm());
return self::POST_OK;
}
}
} elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitLogin"])) {
$i98414cde3d36661d1db1db7d00d0775fb8bc70f4 = $this->escapePostVariables("username");
$i3ff2121cdd24d8a29bd493b1737bdc8f0536f2ee = $this->escapePostVariables("password");
if (!strlen($i98414cde3d36661d1db1db7d00d0775fb8bc70f4) > 0 || !strlen($i3ff2121cdd24d8a29bd493b1737bdc8f0536f2ee) > 0) {
$this->_errors[] = v_adminsmsprofile_filluser;
return self::POST_ERROR;
} else {
$i9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->getDb());
$i9ec854a302fbdb72d043506b55d5bf395184517b->loginAccount($i98414cde3d36661d1db1db7d00d0775fb8bc70f4, $i3ff2121cdd24d8a29bd493b1737bdc8f0536f2ee);
$i9ec854a302fbdb72d043506b55d5bf395184517b->editOtherSettings(urlencode(DELIVERY_URL), 0, "", "1", 0, 0, 0, $i98414cde3d36661d1db1db7d00d0775fb8bc70f4, $i3ff2121cdd24d8a29bd493b1737bdc8f0536f2ee);
if ($i9ec854a302fbdb72d043506b55d5bf395184517b->isError()) {
$this->_errors = array_unique($i9ec854a302fbdb72d043506b55d5bf395184517b->getErrors());
return self::POST_ERROR;
} else {
$this->_okMsg = array_unique($i9ec854a302fbdb72d043506b55d5bf395184517b->getConfirm());
return self::POST_OK;
}
}
} elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitEditAdmin_x"]) || isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitEditAdmin"])) {
$this->edit_id = $this->escapePostVariables("ID");
$this->edit_admins = true;
} elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitAdminSettings1"])) {
$this->deleteDb = $this->escapePostVariables("deletedb");
$this->simulate = $this->escapePostVariables("simulate");
$this->deliveryemail = $this->escapePostVariables("deliveryemail");
$this->pocetkredit = $this->escapePostVariables("pocetkredit");
//.........这里部分代码省略.........