setDataPath(dirname(__DIR__) . DIRECTORY_SEPARATOR . 'data' . DIRECTORY_SEPARATOR); } echo '
SMS gateway web-application with an HTTP interface to connect with a PulseBridge android app and send/receive SMS.
'; echo 'App Version: ' . $smsgateway->getVersion() . '
'; echo '' . date("Y-m-d H:i:s", $message['sms_received'] / 1000) . '
'; echo '' . $message['from'] . ': ' . $message['content']; echo 'No messages to display.
'; } echo '' . date("Y-m-d H:i:s", $message['sms_received'] / 1000) . '
'; echo '' . $message['from'] . ': ' . $message['content']; echo 'No messages to display.
'; } echo '' . date("Y-m-d H:i:s", $message['last_update'] / 1000) . '
'; $statusBadgeClass = ($message['status'] === 'DELIVERED') ? 'badge badge-success' : 'badge badge-secondary'; echo '' . $message['status'] . ''; echo ' Track'; echo ' : ' . $message['content']; echo 'No messages to display.
'; } echo '