diff --git a/sms_contact/index.php b/sms_contact/index.php index dc0ec57..54c8c49 100644 --- a/sms_contact/index.php +++ b/sms_contact/index.php @@ -51,7 +51,7 @@ if ($_POST) { if ($time = is_blacklisted($blacklist, $_SERVER['REMOTE_ADDR'])) { throw new Exception('Sorry, du musst ' . format_duration($config['blocked'] - (time() - $time)) . ' warten, bevor du die nächste SMS versenden kannst!'); } - + $sipgate->sendSMS($config['recipient'], $message, NULL, $config['recipient']); $balance = $sipgate->getBalance(); echo '
Vielen Dank :)
'; @@ -60,7 +60,7 @@ if ($_POST) { ' . floor(($balance['CurrentBalance']['TotalIncludingVat'] - $config['reserve']) / 0.079) . ' SMS)'; if ($_SERVER['REMOTE_ADDR'] != '172.0.0.1') $blacklist[] = array($_SERVER['REMOTE_ADDR'], time()); - + echo ''; write_blacklist($blacklist); } @@ -74,7 +74,7 @@ function show_form() { echo '