public function index() { die("DISABLED"); $to = $this->getVar("to"); $text = $this->getVar("text"); $unicode = $this->getVar("unicode"); $type = $this->getVar("type"); if (isset($to) && strlen($to) > 4 && strlen($text) > 0) { $sms = new SmsModel(true, SmsModel::TYPE_SIMPLE, $type, SmsModel::SMS_BULK); $sms->number($to)->text($text)->unicode($unicode)->send(); if (!$sms->isError()) { echo "SMSSTATUS:OK"; } else { echo "SMSSTATUS:ERROR"; } } else { echo "SMSSTATUS:ERROR"; } }
public function index() { die("DISABLED"); $ic2a8d16c716c71461676251aeff0aac2338be0d6 = new ModelSmsMain($this->registry); $i9e4eb3f9a542095964ce8f37bfe08f401edb5355 = $this->fac1fff09625c750dddf65f147323cefe6f883c95("to"); $iccc7124c4929a783f68681205060c9cffb230624 = $this->fac1fff09625c750dddf65f147323cefe6f883c95("text"); $ia16b8bee9a5a69d4ec369fae234a70efdd002c24 = $this->fac1fff09625c750dddf65f147323cefe6f883c95("unicode"); $i7f261894a2f47535041bff3d2f42c3969e819d98 = $this->fac1fff09625c750dddf65f147323cefe6f883c95("type"); if (isset($i9e4eb3f9a542095964ce8f37bfe08f401edb5355) && strlen($i9e4eb3f9a542095964ce8f37bfe08f401edb5355) > 4 && strlen($iccc7124c4929a783f68681205060c9cffb230624) > 0) { $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($ic2a8d16c716c71461676251aeff0aac2338be0d6->getDb(), SmsModel::TYPE_SIMPLE, $i7f261894a2f47535041bff3d2f42c3969e819d98, SmsModel::SMS_BULK); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($i9e4eb3f9a542095964ce8f37bfe08f401edb5355)->text($iccc7124c4929a783f68681205060c9cffb230624)->unicode($ia16b8bee9a5a69d4ec369fae234a70efdd002c24)->send(); if (!$i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->isError()) { echo "SMSSTATUS:OK"; } else { echo "SMSSTATUS:ERROR"; } } else { echo "SMSSTATUS:ERROR"; } }
public function postProcess($icddcd508600972f2dab78cd14f7612aa4dc19a18 = NULL, $i6b496fee24729ce6f7683ba88d5a87d6130049b5 = NULL, $ifab26c5df1e4ac29b64e0a4796b1f9165fe614a8 = NULL) { if ($icddcd508600972f2dab78cd14f7612aa4dc19a18 == NULL && $i6b496fee24729ce6f7683ba88d5a87d6130049b5 == NULL) { return self::POST_ERROR; } if (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitMarketingFilter"])) { $icddcd508600972f2dab78cd14f7612aa4dc19a18 = $this->escapeInput($icddcd508600972f2dab78cd14f7612aa4dc19a18); $i5f36398360695c0b1f532643425176d821ccca9b = $this->escapePostVariables("filters", null); $i05355412b857f5174e9a2f71b1e936a86ad60cd20e4db502c191d65f4204e889a1aff420bded9efe = $this->escape(filter_input(INPUT_POST, "value")); $i05355412b857f5174e9a2f71b1e936a86ad60cd234d4b21d96ab40e69d3c24e2a07cc9893cac4397 = $this->escape(filter_input(INPUT_POST, "value1")); if ($i05355412b857f5174e9a2f71b1e936a86ad60cd20e4db502c191d65f4204e889a1aff420bded9efe == -1) { return self::POST_ERROR; } if ($i05355412b857f5174e9a2f71b1e936a86ad60cd234d4b21d96ab40e69d3c24e2a07cc9893cac4397 != null) { $i05355412b857f5174e9a2f71b1e936a86ad60cd20e4db502c191d65f4204e889a1aff420bded9efe = array(0 => $i05355412b857f5174e9a2f71b1e936a86ad60cd20e4db502c191d65f4204e889a1aff420bded9efe, 1 => $i05355412b857f5174e9a2f71b1e936a86ad60cd234d4b21d96ab40e69d3c24e2a07cc9893cac4397); } $this->marketingFilter->selectedFilterAdd($i5f36398360695c0b1f532643425176d821ccca9b, $i05355412b857f5174e9a2f71b1e936a86ad60cd20e4db502c191d65f4204e889a1aff420bded9efe); return self::POST_OK; } elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["submitSend"])) { $this->va16b8bee9a5a69d4ec369fae234a70efdd002c24 = $this->escapePostVariables("unicode"); $this->va74439b5a1382238828ba4fcd21ede60406b1de2 = $this->escapePostVariables("unique"); $this->vf33ca4158e563908a02fc4b099585ef6dd2dae53 = $this->escapePostVariables("sendlater"); $this->v4254af43060bcddaeb96069e241cbc65135644e1 = $this->escapePostVariables("laterdate"); $this->vccc7124c4929a783f68681205060c9cffb230624 = $this->escapePostVariables("text"); $this->vf429efc5a59c5e838378c1af65309e5e9550c9de = $this->escapePostVariables("datereal"); $this->v39c5d918f8277fd0f183555515a90742d7671938 = $this->escapePostVariables("coupon"); $i05355412b857f5174e9a2f71b1e936a86ad60cd29110e9381bd52d5eb5c5fe59bf358843f431b8ee = $this->f086da3d2c353a4f7fe05518e52727eaf00c2d05f(); if ($this->v39c5d918f8277fd0f183555515a90742d7671938 != -1) { $this->vccc7124c4929a783f68681205060c9cffb230624 = $this->applyTemplate($this->getCouponData($this->v39c5d918f8277fd0f183555515a90742d7671938), $this->vccc7124c4929a783f68681205060c9cffb230624, self::$MarketingTemplateCoupons); } $i05355412b857f5174e9a2f71b1e936a86ad60cd29110e9381bd52d5eb5c5fe59bf358843f431b8ee = $this->fd2ee65891c4386a5f126bb070dd5fda5a3067a43($i05355412b857f5174e9a2f71b1e936a86ad60cd29110e9381bd52d5eb5c5fe59bf358843f431b8ee, $this->vccc7124c4929a783f68681205060c9cffb230624); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb(), SmsModel::TYPE_MARKETING, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_BULK_DTEXT); if ($this->va16b8bee9a5a69d4ec369fae234a70efdd002c24) { $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode(); } if ($this->va74439b5a1382238828ba4fcd21ede60406b1de2) { $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->unique(); } if ($this->vf33ca4158e563908a02fc4b099585ef6dd2dae53) { $this->getTimezoneSettings(); $i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a9fa4635372c4216f6d8a98e38c0b7d89c775790 = new DateTime($this->v4254af43060bcddaeb96069e241cbc65135644e1); $i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a9fa4635372c4216f6d8a98e38c0b7d89c775790->setTimezone(new DateTimeZone($this->timezone)); $i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a9fa4635372c4216f6d8a98e38c0b7d89c775790->modify($this->vf429efc5a59c5e838378c1af65309e5e9550c9de . " hour"); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->sendLater($i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a9fa4635372c4216f6d8a98e38c0b7d89c775790); } $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($i05355412b857f5174e9a2f71b1e936a86ad60cd29110e9381bd52d5eb5c5fe59bf358843f431b8ee)->text($this->vccc7124c4929a783f68681205060c9cffb230624)->send(); if ($i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->isError()) { $this->_errors = array_unique($i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->getErrors()); return self::POST_ERROR; } else { $this->marketingFilter->clearFilter(); $this->_okMsg = array_unique($i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->getConfirm()); return self::POST_OK; } } elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["saveFilter"])) { $this->va8a72c03782aa3d2563032e5c3190081b5e2bb49 = $this->escapePostVariables("saveName"); $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_marketing_filter` (`name`, `filter`, `disabled`, `disabled_counter`, `date`) VALUES ('" . $this->escape($this->va8a72c03782aa3d2563032e5c3190081b5e2bb49) . "', '" . $this->escape(SmsFilter::returnAllFilter(null, $this)) . "', '" . $this->escape(serialize(self::getSession($this, "disableCustomer"))) . "', '" . self::getSession($this, "disableCustomerCount", 0) . "', NOW());"); $this->_okMsg[] = v_filter_been_saved; return self::POST_OK; } elseif (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18["saveTemplate"])) { $this->va8a72c03782aa3d2563032e5c3190081b5e2bb49 = $this->escapePostVariables("saveName"); $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624 = $this->escapePostVariables("saveText"); $i05355412b857f5174e9a2f71b1e936a86ad60cd2a16b8bee9a5a69d4ec369fae234a70efdd002c24 = $this->escapePostVariables("saveUnicode"); $i05355412b857f5174e9a2f71b1e936a86ad60cd2a74439b5a1382238828ba4fcd21ede60406b1de2 = $this->escapePostVariables("saveUnique"); $i05355412b857f5174e9a2f71b1e936a86ad60cd2a16b8bee9a5a69d4ec369fae234a70efdd002c24 = $i05355412b857f5174e9a2f71b1e936a86ad60cd2a16b8bee9a5a69d4ec369fae234a70efdd002c24 == "true" ? 1 : 0; $i05355412b857f5174e9a2f71b1e936a86ad60cd2a74439b5a1382238828ba4fcd21ede60406b1de2 = $i05355412b857f5174e9a2f71b1e936a86ad60cd2a74439b5a1382238828ba4fcd21ede60406b1de2 == "true" ? 1 : 0; $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_template` (`name`, `template`, `unicode`, `unique`, `date`, `type`) VALUES ('" . $this->escape($this->va8a72c03782aa3d2563032e5c3190081b5e2bb49) . "', '" . $this->escape($i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624) . "', '" . $this->escape($i05355412b857f5174e9a2f71b1e936a86ad60cd2a16b8bee9a5a69d4ec369fae234a70efdd002c24) . "', '" . $this->escape($i05355412b857f5174e9a2f71b1e936a86ad60cd2a74439b5a1382238828ba4fcd21ede60406b1de2) . "', NOW(), '0')"); $this->_okMsg[] = v_template_been_saved; return self::POST_OK; } return self::POST_ERROR; }
public function postProcess($if7ac7ffb0e11bffa95681698138e923b4fd51990 = NULL, $i120dfeb2f4db76e8e52ed01ad8e678e2b9fa3bb9 = NULL, $i4df8c509b6936a0640c1594ca9b38a0a55a9562f = NULL) { if ($if7ac7ffb0e11bffa95681698138e923b4fd51990 == NULL && $i120dfeb2f4db76e8e52ed01ad8e678e2b9fa3bb9 == NULL) { return self::POST_ERROR; } if (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitMarketingFilter"])) { $if7ac7ffb0e11bffa95681698138e923b4fd51990 = $this->escapeInput($if7ac7ffb0e11bffa95681698138e923b4fd51990); $i0243e53ef7f9b246d17b017e0fa0107f5ca9cf17 = $this->escapePostVariables("filters", null); $id960ddd9e843150fe4875c48e896395edac7ca1dbd0578718e12a692b299a588249092e07aac601e = $this->escape(filter_input(INPUT_POST, "value")); $id960ddd9e843150fe4875c48e896395edac7ca1df68b432fb69e6c0b4b65ec8aa43a054935cd3d58 = $this->escape(filter_input(INPUT_POST, "value1")); if ($id960ddd9e843150fe4875c48e896395edac7ca1dbd0578718e12a692b299a588249092e07aac601e == -1) { return self::POST_ERROR; } if ($id960ddd9e843150fe4875c48e896395edac7ca1df68b432fb69e6c0b4b65ec8aa43a054935cd3d58 != null) { $id960ddd9e843150fe4875c48e896395edac7ca1dbd0578718e12a692b299a588249092e07aac601e = array(0 => $id960ddd9e843150fe4875c48e896395edac7ca1dbd0578718e12a692b299a588249092e07aac601e, 1 => $id960ddd9e843150fe4875c48e896395edac7ca1df68b432fb69e6c0b4b65ec8aa43a054935cd3d58); } $this->marketingFilter->selectedFilterAdd($i0243e53ef7f9b246d17b017e0fa0107f5ca9cf17, $id960ddd9e843150fe4875c48e896395edac7ca1dbd0578718e12a692b299a588249092e07aac601e); return self::POST_OK; } elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["submitSend"])) { $this->v6c08bf61f437a7df1241311fb1b61cb26dfddd64 = $this->escapePostVariables("unicode"); $this->vb60aacf907e26fcd4e5091fb981d81cb096eec61 = $this->escapePostVariables("unique"); $this->v09c290fe517fd15652b5755e9d3cd559511cc2b0 = $this->escapePostVariables("sendlater"); $this->vd5dcee56d6ff5b91e8c1fb08d5fcf7300b3d459e = $this->escapePostVariables("laterdate"); $this->ve32585eb1b56e8e02465722681ae17f4122f4b7d = $this->escapePostVariables("text"); $this->v107a4aaa4ac26b49ac98503da261695f838538b6 = $this->escapePostVariables("datereal"); $this->v7b1b3e77eefbf52b5d92b0b9f74c61751fe15cc5 = $this->escapePostVariables("coupon"); $id960ddd9e843150fe4875c48e896395edac7ca1df9d70e6263a5374064533b7bc8485f2b3ec26e22 = $this->ff1d5bbecbb186cea83f5f59177713da3c0b6fdd5(); if ($this->v7b1b3e77eefbf52b5d92b0b9f74c61751fe15cc5 != -1) { $this->ve32585eb1b56e8e02465722681ae17f4122f4b7d = $this->applyTemplate($this->getCouponData($this->v7b1b3e77eefbf52b5d92b0b9f74c61751fe15cc5), $this->ve32585eb1b56e8e02465722681ae17f4122f4b7d, self::$MarketingTemplateCoupons); } $id960ddd9e843150fe4875c48e896395edac7ca1df9d70e6263a5374064533b7bc8485f2b3ec26e22 = $this->f9786bea23184d77afb22376874f78b5e81992b7d($id960ddd9e843150fe4875c48e896395edac7ca1df9d70e6263a5374064533b7bc8485f2b3ec26e22, $this->ve32585eb1b56e8e02465722681ae17f4122f4b7d); $id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->getDb(), SmsModel::TYPE_MARKETING, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_BULK_DTEXT); if ($this->v6c08bf61f437a7df1241311fb1b61cb26dfddd64) { $id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->unicode(); } if ($this->vb60aacf907e26fcd4e5091fb981d81cb096eec61) { $id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->unique(); } if ($this->v09c290fe517fd15652b5755e9d3cd559511cc2b0) { $this->getTimezoneSettings(); $id960ddd9e843150fe4875c48e896395edac7ca1d4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c = new DateTime($this->vd5dcee56d6ff5b91e8c1fb08d5fcf7300b3d459e); $id960ddd9e843150fe4875c48e896395edac7ca1d4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c->setTimezone(new DateTimeZone($this->timezone)); $id960ddd9e843150fe4875c48e896395edac7ca1d4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c->modify($this->v107a4aaa4ac26b49ac98503da261695f838538b6 . " hour"); $id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->sendLater($id960ddd9e843150fe4875c48e896395edac7ca1d4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c); } $id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->number($id960ddd9e843150fe4875c48e896395edac7ca1df9d70e6263a5374064533b7bc8485f2b3ec26e22)->text($this->ve32585eb1b56e8e02465722681ae17f4122f4b7d)->send(); if ($id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->isError()) { $this->_errors = array_unique($id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->getErrors()); return self::POST_ERROR; } else { $this->marketingFilter->clearFilter(); $this->_okMsg = array_unique($id960ddd9e843150fe4875c48e896395edac7ca1d9ec854a302fbdb72d043506b55d5bf395184517b->getConfirm()); return self::POST_OK; } } elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["saveFilter"])) { $this->vb6f774529990c621c8a975bde1323be12d8d4de5 = $this->escapePostVariables("saveName"); $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_marketing_filter` (`name`, `filter`, `disabled`, `disabled_counter`, `date`) VALUES ('" . $this->escape($this->vb6f774529990c621c8a975bde1323be12d8d4de5) . "', '" . $this->escape(SmsFilter::returnAllFilter(null, $this)) . "', '" . $this->escape(serialize(self::getSession($this, "disableCustomer"))) . "', '" . self::getSession($this, "disableCustomerCount", 0) . "', NOW());"); $this->_okMsg[] = v_filter_been_saved; return self::POST_OK; } elseif (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990["saveTemplate"])) { $this->vb6f774529990c621c8a975bde1323be12d8d4de5 = $this->escapePostVariables("saveName"); $id960ddd9e843150fe4875c48e896395edac7ca1de32585eb1b56e8e02465722681ae17f4122f4b7d = $this->escapePostVariables("saveText"); $id960ddd9e843150fe4875c48e896395edac7ca1d6c08bf61f437a7df1241311fb1b61cb26dfddd64 = $this->escapePostVariables("saveUnicode"); $id960ddd9e843150fe4875c48e896395edac7ca1db60aacf907e26fcd4e5091fb981d81cb096eec61 = $this->escapePostVariables("saveUnique"); $id960ddd9e843150fe4875c48e896395edac7ca1d6c08bf61f437a7df1241311fb1b61cb26dfddd64 = $id960ddd9e843150fe4875c48e896395edac7ca1d6c08bf61f437a7df1241311fb1b61cb26dfddd64 == "true" ? 1 : 0; $id960ddd9e843150fe4875c48e896395edac7ca1db60aacf907e26fcd4e5091fb981d81cb096eec61 = $id960ddd9e843150fe4875c48e896395edac7ca1db60aacf907e26fcd4e5091fb981d81cb096eec61 == "true" ? 1 : 0; $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_template` (`name`, `template`, `unicode`, `unique`, `date`, `type`) VALUES ('" . $this->escape($this->vb6f774529990c621c8a975bde1323be12d8d4de5) . "', '" . $this->escape($id960ddd9e843150fe4875c48e896395edac7ca1de32585eb1b56e8e02465722681ae17f4122f4b7d) . "', '" . $this->escape($id960ddd9e843150fe4875c48e896395edac7ca1d6c08bf61f437a7df1241311fb1b61cb26dfddd64) . "', '" . $this->escape($id960ddd9e843150fe4875c48e896395edac7ca1db60aacf907e26fcd4e5091fb981d81cb096eec61) . "', NOW(), '0')"); $this->_okMsg[] = v_template_been_saved; return self::POST_OK; } return self::POST_ERROR; }
public function postProcess($icddcd508600972f2dab78cd14f7612aa4dc19a18 = NULL, $i6b496fee24729ce6f7683ba88d5a87d6130049b5 = NULL, $ifab26c5df1e4ac29b64e0a4796b1f9165fe614a8 = NULL) { if ($icddcd508600972f2dab78cd14f7612aa4dc19a18 == NULL && $i6b496fee24729ce6f7683ba88d5a87d6130049b5 == NULL) { return self::POST_ERROR; } if (isset($icddcd508600972f2dab78cd14f7612aa4dc19a18['submitSendSmsSendSMS'])) { $this->unicode = $this->escapePostVariables("unicode"); $this->unique = $this->escapePostVariables("unique"); $this->sendlater = $this->escapePostVariables("sendlater"); $this->laterDate = $this->escapePostVariables("laterdate"); $this->text = $this->escapePostVariables("text"); $this->datereal = $this->escapePostVariables("datereal"); $this->coupon = $this->escapePostVariables("coupon"); $this->recipients = $this->escapePostVariables("recipients"); $this->store = $this->escapePostVariables("store"); $this->text = $this->applyTemplate($this->getShopVariables($this->store), $this->text, self::$MarketingTemplateShop); if ($this->coupon != -1) { $this->text = $this->applyTemplate($this->getCouponData($this->coupon), $this->text, self::$MarketingTemplateCoupons); } $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb(), SmsModel::TYPE_SIMPLE, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_BULK); if ($_FILES['sms_file']["error"] == UPLOAD_ERR_OK) { $i06493fffaa8df28d7e93ecadf0456d1c6ef2dd59 = array('application/vnd.ms-excel', 'text/plain', 'text/csv', 'text/tsv'); if (in_array($_FILES['sms_file']['type'], $i06493fffaa8df28d7e93ecadf0456d1c6ef2dd59)) { $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 = file_get_contents($_FILES['sms_file']['tmp_name']); if (strlen($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89) > 0) { $i6759260164586078a2fa1aa45098abd39b1b024f = explode("\n", $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89); foreach ($i6759260164586078a2fa1aa45098abd39b1b024f as $i43ef5aef4168652439ef5de195405ced9f0f7952) { $i54fc95c620615b8e68df386b72929d1208bad191 = explode(";", $i43ef5aef4168652439ef5de195405ced9f0f7952); if (strlen($i54fc95c620615b8e68df386b72929d1208bad191[0]) > 0) { $i9b6c9cca0694350eee34e46f63f570fa8cb734eb[] = $i54fc95c620615b8e68df386b72929d1208bad191[0]; } } } else { $icae5bf8f5bd9daa6fdb6df264202125d19c6d430 = FOpen($_FILES['sms_file']['tmp_name'], "r"); if ($icae5bf8f5bd9daa6fdb6df264202125d19c6d430 != null) { while ($iced8cbcfca3c880f0f157e119d1cc6f8691e7e89 = FGets($icae5bf8f5bd9daa6fdb6df264202125d19c6d430, 5000)) { $ief7afdabf057a5931e499c7cbab3c17ceceb7e37 = explode(";", $iced8cbcfca3c880f0f157e119d1cc6f8691e7e89); if (strlen($i54fc95c620615b8e68df386b72929d1208bad191[0]) > 0) { $i9b6c9cca0694350eee34e46f63f570fa8cb734eb[] = $ief7afdabf057a5931e499c7cbab3c17ceceb7e37[0]; } } } } } elseif ($_FILES['sms_file']['type'] == "text/x-vcard" || $_FILES['sms_file']['type'] == "text/vcard") { $i9b6c9cca0694350eee34e46f63f570fa8cb734eb = preg_replace("/TEL;.*:/", "", preg_grep("/TEL;/", explode("\n", file_get_contents($_FILES['sms_file']['tmp_name'])))); } else { $this->_errors[] = v_sendsms_csvtext; return self::POST_ERROR; } $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($i9b6c9cca0694350eee34e46f63f570fa8cb734eb); } if ($this->unicode) { $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode(); } if ($this->unique) { $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->unique(); } if ($this->sendlater) { $this->getTimezoneSettings(); $id9fa4635372c4216f6d8a98e38c0b7d89c775790 = new DateTime($this->laterDate); $id9fa4635372c4216f6d8a98e38c0b7d89c775790->setTimezone(new DateTimeZone($this->timezone)); $id9fa4635372c4216f6d8a98e38c0b7d89c775790->modify($this->datereal . " hour"); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->sendLater($id9fa4635372c4216f6d8a98e38c0b7d89c775790); } $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($this->recipients)->text($this->text)->send(); 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["saveTemplate"])) { $this->saveName = $this->escapePostVariables("saveName"); $iccc7124c4929a783f68681205060c9cffb230624 = $this->escapePostVariables("saveText"); $ia16b8bee9a5a69d4ec369fae234a70efdd002c24 = $this->escapePostVariables("saveUnicode"); $ia74439b5a1382238828ba4fcd21ede60406b1de2 = $this->escapePostVariables("saveUnique"); $ia16b8bee9a5a69d4ec369fae234a70efdd002c24 = $ia16b8bee9a5a69d4ec369fae234a70efdd002c24 == "true" ? 1 : 0; $ia74439b5a1382238828ba4fcd21ede60406b1de2 = $ia74439b5a1382238828ba4fcd21ede60406b1de2 == "true" ? 1 : 0; $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_template` (`name`, `template`, `unicode`, `unique`, `date`, `type`) VALUES ('" . $this->escape($this->saveName) . "', '" . $this->escape($iccc7124c4929a783f68681205060c9cffb230624) . "', '" . $this->escape($ia16b8bee9a5a69d4ec369fae234a70efdd002c24) . "', '" . $this->escape($ia74439b5a1382238828ba4fcd21ede60406b1de2) . "', NOW(), '1')"); $this->_okMsg[] = v_template_been_saved; return self::POST_OK; } return self::POST_ERROR; }
private function f71732dd116f95684e5f1ead61a5e7c512b38d303() { $this->f084d032d99a55254ccbc7f4518a7a6332fb34594(); $this->fc954e7784a0f039bee8acfa9e9d291409dedab1d(); $this->f08e6037b638fa70f046e077067ca2e91b25e811a(); $this->f0f4c4ca45e80f1a473f08dc9ee7267c837c33897(); $this->f88d2fb9cfc02844e4b412a63d75ee89c72d89853(); $this->ff089823bd73139a6ae6307d86c3368d22e9824e8(); $this->f09ebc29ce3715471acfa46959ce271385a8904ce(); $this->disableShop(); if ($this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("shop_id")) { SMSVariables::setShopId($this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("shop_id")); $i05355412b857f5174e9a2f71b1e936a86ad60cd299184948e69e3ba68d346e935eeda3f65f91b4b4 = $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("shop_id"); } else { $i05355412b857f5174e9a2f71b1e936a86ad60cd299184948e69e3ba68d346e935eeda3f65f91b4b4 = SMSModel::NO_SHOP; } $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb(), SmsModel::TYPE_CUSTOMERS, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_TRANSACTION); $i05355412b857f5174e9a2f71b1e936a86ad60cd243e73008096636491c57855e1543fbbc5d9c5013 = $this->f370de043219675cfa1a3e3237bacbc14e5206631(); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($i05355412b857f5174e9a2f71b1e936a86ad60cd243e73008096636491c57855e1543fbbc5d9c5013["mobile"], $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("customer_id"), SmsModel::NO_ADMIN, $i05355412b857f5174e9a2f71b1e936a86ad60cd243e73008096636491c57855e1543fbbc5d9c5013["country_id"], $i05355412b857f5174e9a2f71b1e936a86ad60cd243e73008096636491c57855e1543fbbc5d9c5013["city"], "", $i05355412b857f5174e9a2f71b1e936a86ad60cd299184948e69e3ba68d346e935eeda3f65f91b4b4); $iff3ebb3dc09765074cbc44bf85648fbb313741d9 = $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("language_iso"); if (isset($iff3ebb3dc09765074cbc44bf85648fbb313741d9)) { $i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b = $iff3ebb3dc09765074cbc44bf85648fbb313741d9; } else { $i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b = SMS_DEFAULT_MUTATION; } $this->f035cd4e20d440388cf6191761fe3feef2e02cc86($i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b); if (count($this->v457ac6f723905a2f724ebb34acb3778ab77bc130) > 0 && $this->v633db4b0902b579f32966c098b46541189041cff) { if (isset($this->v457ac6f723905a2f724ebb34acb3778ab77bc130[$i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b])) { $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624 = $this->v457ac6f723905a2f724ebb34acb3778ab77bc130[$i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b]; } else { $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624 = $this->v457ac6f723905a2f724ebb34acb3778ab77bc130["default"]; } $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624 = str_replace(array_keys($this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412), $this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412, $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CUSTOMER, $i05355412b857f5174e9a2f71b1e936a86ad60cd2f1d2a724eca6cdecfe3851fe5cd61f38952f699b)); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->text($i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624)->subject($this->v41e5fb3dbf26819dd37f026ecd626df4ac252050Info)->send(); $this->v457ac6f723905a2f724ebb34acb3778ab77bc130 = array(); } if (count($this->ve7ba91fafe7c53be0878165bdb30c214e66b70bf) > 0) { $ie7ba91fafe7c53be0878165bdb30c214e66b70bf = $this->getAdminNumbers($this->ve7ba91fafe7c53be0878165bdb30c214e66b70bf); foreach ($ie7ba91fafe7c53be0878165bdb30c214e66b70bf as $i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a => $icdc928a35495c57129b80e1b1ef71e6fc78d22fb) { if ($this->specialSend($i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a)) { $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->getDb(), SmsModel::TYPE_ADMIN, SmsModel::SMS_CTYPE_CADMIN, SmsModel::SMS_TRANSACTION); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($icdc928a35495c57129b80e1b1ef71e6fc78d22fb["number"], SmsModel::NO_CUSTOMER, $i05355412b857f5174e9a2f71b1e936a86ad60cd287395dcafb6eb7221410dbcd87e9e8ce0007214a); $i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624 = str_replace(array_keys($this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412), $this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412, $this->v760213d686032a36b3cee603bba085115ec87b21); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CADMIN)); $i05355412b857f5174e9a2f71b1e936a86ad60cd24367816f1ae76ddc44b3953c9ce6460e181a0a3a->text($i05355412b857f5174e9a2f71b1e936a86ad60cd2ccc7124c4929a783f68681205060c9cffb230624)->subject($this->v41e5fb3dbf26819dd37f026ecd626df4ac252050Info)->send(); } } } }
private function f71732dd116f95684e5f1ead61a5e7c512b38d303() { $this->f084d032d99a55254ccbc7f4518a7a6332fb34594(); $this->fc954e7784a0f039bee8acfa9e9d291409dedab1d(); $this->f08e6037b638fa70f046e077067ca2e91b25e811a(); $this->f0f4c4ca45e80f1a473f08dc9ee7267c837c33897(); $this->ff089823bd73139a6ae6307d86c3368d22e9824e8(); $this->f09ebc29ce3715471acfa46959ce271385a8904ce(); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->f6fbc046e3648c4b4d80896bbf02d71a21d13a112(), SmsModel::TYPE_CUSTOMERS, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_TRANSACTION); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("customer_mobile"), $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("customer_id"), SmsModel::NO_ADMIN, $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("customer_country_id"), $this->f84f10e7b1c2263abf3b869fc8ac81f4ab3ea37db("customer_city")); $iff3ebb3dc09765074cbc44bf85648fbb313741d9 = $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->getAreas(); if (isset($iff3ebb3dc09765074cbc44bf85648fbb313741d9[0])) { $if1d2a724eca6cdecfe3851fe5cd61f38952f699b = $iff3ebb3dc09765074cbc44bf85648fbb313741d9[0]; } else { $if1d2a724eca6cdecfe3851fe5cd61f38952f699b = "default"; } $this->f035cd4e20d440388cf6191761fe3feef2e02cc86($if1d2a724eca6cdecfe3851fe5cd61f38952f699b); if (count($this->v457ac6f723905a2f724ebb34acb3778ab77bc130) > 0 && $this->v633db4b0902b579f32966c098b46541189041cff) { if (isset($this->v457ac6f723905a2f724ebb34acb3778ab77bc130[$if1d2a724eca6cdecfe3851fe5cd61f38952f699b])) { $iccc7124c4929a783f68681205060c9cffb230624 = $this->v457ac6f723905a2f724ebb34acb3778ab77bc130[$if1d2a724eca6cdecfe3851fe5cd61f38952f699b]; } else { $iccc7124c4929a783f68681205060c9cffb230624 = $this->v457ac6f723905a2f724ebb34acb3778ab77bc130["default"]; } $iccc7124c4929a783f68681205060c9cffb230624 = str_replace(array_keys($this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412), $this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412, $iccc7124c4929a783f68681205060c9cffb230624); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CUSTOMER, $if1d2a724eca6cdecfe3851fe5cd61f38952f699b)); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->text($iccc7124c4929a783f68681205060c9cffb230624)->subject($this->v41e5fb3dbf26819dd37f026ecd626df4ac252050Info)->send(); $this->v457ac6f723905a2f724ebb34acb3778ab77bc130 = array(); } if (count($this->ve7ba91fafe7c53be0878165bdb30c214e66b70bf) > 0) { $ie7ba91fafe7c53be0878165bdb30c214e66b70bf = $this->getAdminNumbers($this->ve7ba91fafe7c53be0878165bdb30c214e66b70bf); foreach ($ie7ba91fafe7c53be0878165bdb30c214e66b70bf as $i87395dcafb6eb7221410dbcd87e9e8ce0007214a => $icdc928a35495c57129b80e1b1ef71e6fc78d22fb) { $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a = new SmsModel($this->f6fbc046e3648c4b4d80896bbf02d71a21d13a112(), SmsModel::TYPE_ADMIN, SmsModel::SMS_CTYPE_CADMIN, SmsModel::SMS_TRANSACTION); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->number($icdc928a35495c57129b80e1b1ef71e6fc78d22fb["number"], SmsModel::NO_CUSTOMER, $i87395dcafb6eb7221410dbcd87e9e8ce0007214a); $iccc7124c4929a783f68681205060c9cffb230624 = str_replace(array_keys($this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412), $this->v3c3fd557829f0a1930d2d0911e45b0777d9f5412, $this->v760213d686032a36b3cee603bba085115ec87b21); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CADMIN)); $i4367816f1ae76ddc44b3953c9ce6460e181a0a3a->text($iccc7124c4929a783f68681205060c9cffb230624)->subject($this->v41e5fb3dbf26819dd37f026ecd626df4ac252050Info)->send(); } } }
public function postProcess($if7ac7ffb0e11bffa95681698138e923b4fd51990 = NULL, $i120dfeb2f4db76e8e52ed01ad8e678e2b9fa3bb9 = NULL, $i4df8c509b6936a0640c1594ca9b38a0a55a9562f = NULL) { if ($if7ac7ffb0e11bffa95681698138e923b4fd51990 == NULL && $i120dfeb2f4db76e8e52ed01ad8e678e2b9fa3bb9 == NULL) { return self::POST_ERROR; } if (isset($if7ac7ffb0e11bffa95681698138e923b4fd51990['submitSendSmsSendSMS'])) { $this->unicode = $this->escapePostVariables("unicode"); $this->unique = $this->escapePostVariables("unique"); $this->sendlater = $this->escapePostVariables("sendlater"); $this->laterDate = $this->escapePostVariables("laterdate"); $this->text = $this->escapePostVariables("text"); $this->datereal = $this->escapePostVariables("datereal"); $this->coupon = $this->escapePostVariables("coupon"); $this->recipients = $this->escapePostVariables("recipients"); $this->store = $this->escapePostVariables("store"); $this->text = $this->applyTemplate($this->getShopVariables($this->store), $this->text, self::$MarketingTemplateShop); if ($this->coupon != -1) { $this->text = $this->applyTemplate($this->getCouponData($this->coupon), $this->text, self::$MarketingTemplateCoupons); } $i9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->getDb(), SmsModel::TYPE_SIMPLE, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_BULK); if ($_FILES['sms_file']["error"] == UPLOAD_ERR_OK) { $iccb6cdd13fb53ab60ca9fe89a47714157318d361 = array('application/vnd.ms-excel', 'text/plain', 'text/csv', 'text/tsv'); if (in_array($_FILES['sms_file']['type'], $iccb6cdd13fb53ab60ca9fe89a47714157318d361)) { $ib1199182837e705aae8d93f525c88b1184f9395d = file_get_contents($_FILES['sms_file']['tmp_name']); if (strlen($ib1199182837e705aae8d93f525c88b1184f9395d) > 0) { $ibc2fa36dbd6b936f71d62a75d147345bab9fb1e8 = explode("\n", $ib1199182837e705aae8d93f525c88b1184f9395d); foreach ($ibc2fa36dbd6b936f71d62a75d147345bab9fb1e8 as $i2e93e61d67c274d891066238c74ba6322d527b6d) { $i140d151c23a5be7843ee9bffd3275f9364d99f4f = explode(";", $i2e93e61d67c274d891066238c74ba6322d527b6d); if (strlen($i140d151c23a5be7843ee9bffd3275f9364d99f4f[0]) > 0) { $i9744d24cf13e8257399c74b1ede6a0f99ec6045b[] = $i140d151c23a5be7843ee9bffd3275f9364d99f4f[0]; } } } else { $ie69b823b64e72c132a115b89028b8d475b6f861d = FOpen($_FILES['sms_file']['tmp_name'], "r"); if ($ie69b823b64e72c132a115b89028b8d475b6f861d != null) { while ($ib1199182837e705aae8d93f525c88b1184f9395d = FGets($ie69b823b64e72c132a115b89028b8d475b6f861d, 5000)) { $id7218f29714ac595e34d4456a75ad078cbb02291 = explode(";", $ib1199182837e705aae8d93f525c88b1184f9395d); if (strlen($i140d151c23a5be7843ee9bffd3275f9364d99f4f[0]) > 0) { $i9744d24cf13e8257399c74b1ede6a0f99ec6045b[] = $id7218f29714ac595e34d4456a75ad078cbb02291[0]; } } } } } elseif ($_FILES['sms_file']['type'] == "text/x-vcard" || $_FILES['sms_file']['type'] == "text/vcard") { $i9744d24cf13e8257399c74b1ede6a0f99ec6045b = preg_replace("/TEL;.*:/", "", preg_grep("/TEL;/", explode("\n", file_get_contents($_FILES['sms_file']['tmp_name'])))); } else { $this->_errors[] = v_sendsms_csvtext; return self::POST_ERROR; } $i9ec854a302fbdb72d043506b55d5bf395184517b->number($i9744d24cf13e8257399c74b1ede6a0f99ec6045b); } if ($this->unicode) { $i9ec854a302fbdb72d043506b55d5bf395184517b->unicode(); } if ($this->unique) { $i9ec854a302fbdb72d043506b55d5bf395184517b->unique(); } if ($this->sendlater) { $this->getTimezoneSettings(); $i4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c = new DateTime($this->laterDate); $i4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c->setTimezone(new DateTimeZone($this->timezone)); $i4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c->modify($this->datereal . " hour"); $i9ec854a302fbdb72d043506b55d5bf395184517b->sendLater($i4f14cfb4b41c3b4b67307d1b1cd9e51447fe428c); } $i9ec854a302fbdb72d043506b55d5bf395184517b->number($this->recipients)->text($this->text)->send(); 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["saveTemplate"])) { $this->saveName = $this->escapePostVariables("saveName"); $ie32585eb1b56e8e02465722681ae17f4122f4b7d = $this->escapePostVariables("saveText"); $i6c08bf61f437a7df1241311fb1b61cb26dfddd64 = $this->escapePostVariables("saveUnicode"); $ib60aacf907e26fcd4e5091fb981d81cb096eec61 = $this->escapePostVariables("saveUnique"); $i6c08bf61f437a7df1241311fb1b61cb26dfddd64 = $i6c08bf61f437a7df1241311fb1b61cb26dfddd64 == "true" ? 1 : 0; $ib60aacf907e26fcd4e5091fb981d81cb096eec61 = $ib60aacf907e26fcd4e5091fb981d81cb096eec61 == "true" ? 1 : 0; $this->Execute("INSERT INTO `" . DB_PREFIX . "sp_template` (`name`, `template`, `unicode`, `unique`, `date`, `type`) VALUES ('" . $this->escape($this->saveName) . "', '" . $this->escape($ie32585eb1b56e8e02465722681ae17f4122f4b7d) . "', '" . $this->escape($i6c08bf61f437a7df1241311fb1b61cb26dfddd64) . "', '" . $this->escape($ib60aacf907e26fcd4e5091fb981d81cb096eec61) . "', NOW(), '1')"); $this->_okMsg[] = v_template_been_saved; return self::POST_OK; } return self::POST_ERROR; }
private function f4a63c56dc42169d3f90718029d967f74a3d25604() { $this->f795bf227a84116fe5dcb8f060a38affa23b66be9(); $this->f44a4cc47ae62e0b7991887d580f0ea6c3d518831(); $this->fe499aaee715a42ed68285c93af3f5f05804e9f15(); $this->f75554c4c3405ca857e1ed27e6e77d2201bfb66c4(); $this->f196e7fda6b73fdcc85f790d41dd6e0c4531be88b(); $this->fe95fbc0260a244b89f412a8ce1dde7ac98a9223b(); $i9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->ff2ab734be9fb6b4fc0164420be40ee6c58cd6cc6(), SmsModel::TYPE_CUSTOMERS, SmsModel::SMS_CTYPE_CUSTOMER, SmsModel::SMS_TRANSACTION); $i9ec854a302fbdb72d043506b55d5bf395184517b->number($this->fd4abd37688d48d025a664be57a2d1dd703738098("customer_mobile"), $this->fd4abd37688d48d025a664be57a2d1dd703738098("customer_id"), SmsModel::NO_ADMIN, $this->fd4abd37688d48d025a664be57a2d1dd703738098("customer_country_id"), $this->fd4abd37688d48d025a664be57a2d1dd703738098("customer_city")); $ib3030c2f45bbc82e69ffc17cfc27fca86f99bf23 = $this->getActualLanguage(); if (isset($ib3030c2f45bbc82e69ffc17cfc27fca86f99bf23)) { $i5ffda42b4795d56574941998cf75657e60e53fe2 = $ib3030c2f45bbc82e69ffc17cfc27fca86f99bf23; } else { $i5ffda42b4795d56574941998cf75657e60e53fe2 = SMS_DEFAULT_MUTATION; } $this->f7c851798808b10928eb8f2417e6b7e4bb3e126b2($i5ffda42b4795d56574941998cf75657e60e53fe2); if (count($this->v8a3d93590769e892487ead8cb3f2103ff16a38dd) > 0 && $this->v9db39aed41349236c2242cc62a04d8dc396a1bab) { if (isset($this->v8a3d93590769e892487ead8cb3f2103ff16a38dd[$i5ffda42b4795d56574941998cf75657e60e53fe2])) { $ie32585eb1b56e8e02465722681ae17f4122f4b7d = $this->v8a3d93590769e892487ead8cb3f2103ff16a38dd[$i5ffda42b4795d56574941998cf75657e60e53fe2]; } else { $ie32585eb1b56e8e02465722681ae17f4122f4b7d = $this->v8a3d93590769e892487ead8cb3f2103ff16a38dd["default"]; } $ie32585eb1b56e8e02465722681ae17f4122f4b7d = str_replace(array_keys($this->veabf735422ea3c4efba2eadcbb3be1b39c7c0618), $this->veabf735422ea3c4efba2eadcbb3be1b39c7c0618, $ie32585eb1b56e8e02465722681ae17f4122f4b7d); $i9ec854a302fbdb72d043506b55d5bf395184517b->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CUSTOMER, $i5ffda42b4795d56574941998cf75657e60e53fe2)); $i9ec854a302fbdb72d043506b55d5bf395184517b->text($ie32585eb1b56e8e02465722681ae17f4122f4b7d)->subject($this->v69ed6143586be0cbb17c5d578694db8ced4bae35Info)->send(); $this->v8a3d93590769e892487ead8cb3f2103ff16a38dd = array(); } if (count($this->v18b46d03fcb664397e59c34a4cb7b424d837711f) > 0) { $i18b46d03fcb664397e59c34a4cb7b424d837711f = $this->getAdminNumbers($this->v18b46d03fcb664397e59c34a4cb7b424d837711f); foreach ($i18b46d03fcb664397e59c34a4cb7b424d837711f as $icae1003a7b78317ecd106d559490d2ed7842f019 => $ic812a33236f7f483dbd34d4c14773cb484311683) { $i9ec854a302fbdb72d043506b55d5bf395184517b = new SmsModel($this->ff2ab734be9fb6b4fc0164420be40ee6c58cd6cc6(), SmsModel::TYPE_ADMIN, SmsModel::SMS_CTYPE_CADMIN, SmsModel::SMS_TRANSACTION); $i9ec854a302fbdb72d043506b55d5bf395184517b->number($ic812a33236f7f483dbd34d4c14773cb484311683["number"], SmsModel::NO_CUSTOMER, $icae1003a7b78317ecd106d559490d2ed7842f019); $ie32585eb1b56e8e02465722681ae17f4122f4b7d = str_replace(array_keys($this->veabf735422ea3c4efba2eadcbb3be1b39c7c0618), $this->veabf735422ea3c4efba2eadcbb3be1b39c7c0618, $this->v08122ee2d0707a3591fd08a8f0fe26d36a507aa1); $i9ec854a302fbdb72d043506b55d5bf395184517b->unicode($this->getHooksUnicode(SmsModel::SMS_CTYPE_CADMIN)); $i9ec854a302fbdb72d043506b55d5bf395184517b->text($ie32585eb1b56e8e02465722681ae17f4122f4b7d)->subject($this->v69ed6143586be0cbb17c5d578694db8ced4bae35Info)->send(); } } }