diff --git a/sms_contact/index.php b/sms_contact/index.php index 06cb771..a890bad 100644 --- a/sms_contact/index.php +++ b/sms_contact/index.php @@ -9,7 +9,7 @@ -
+Vielen Dank :)
'; echo 'Du kannst deine nächste SMS in ' . format_duration($config['blocked']) . ' senden!
'; - echo 'Verbleibendes Guthaben: ' . round($balance['CurrentBalance']['TotalIncludingVat']) . ' ' . $balance['CurrentBalance']['Currency'] . ' (das sind noch ' . floor(($balance['CurrentBalance']['TotalIncludingVat'] - $config['reserve']) / 0.079) . ' SMS)
'; + echo 'Verbleibendes Guthaben: ' . round($balance['CurrentBalance']['TotalIncludingVat'], 2) . ' ' . $balance['CurrentBalance']['Currency'] . ' (das sind noch +' . floor(($balance['CurrentBalance']['TotalIncludingVat'] - $config['reserve']) / 0.079) . ' SMS)
'; if ($_SERVER['REMOTE_ADDR'] != '172.0.0.1') $blacklist[] = array($_SERVER['REMOTE_ADDR'], time()); - echo ''; + echo ''; write_blacklist($blacklist); } else { @@ -71,9 +72,9 @@ function show_form() { global $config; $message = (isset($_REQUEST['message'])) ? $_REQUEST['message'] : $config['default']; - echo '