diff --git a/index.php b/index.php index 4bef2ca..d46eaf2 100644 --- a/index.php +++ b/index.php @@ -2,33 +2,6 @@ ini_set('display_errors', 1); ini_set('display_startup_errors', 1); error_reporting(E_ALL); - -/*$status_api = "https://possum.city/api/users/notes"; -$limit = 5; - -if (!file_exists("posts.json")) - file_put_contents("posts.json", json_encode(array("time" => 0))); - -$data = array("userId" => '99nedgtgoz', "includeReplies" => false); - -$posts = json_decode(file_get_contents("posts.json"), true); -$time = time() - $posts["time"]; -if ($time > 0) { - $ch = curl_init(); - curl_setopt_array($ch, array( - CURLOPT_URL => $status_api, - CURLOPT_POST => 1, - CURLOPT_POSTFIELDS => json_encode($data), - CURLOPT_RETURNTRANSFER => true, - CURLOPT_HTTPHEADER => array('Content-Type: application/json') - )); - $res = curl_exec($ch); - curl_close($ch); - - $posts = json_decode($res, true); - $posts["time"] = time(); - file_put_contents("posts.json", json_encode($posts)); -}*/ ?> @@ -37,8 +10,8 @@ if ($time > 0) { -
hello im yuki and welcome to my super epic webpage
+hello im ashley and welcome to my super epic webpage
this is basically a shitpost so don't expect it to look good!!!
= $post["text"] ?>
= $files > 0 ? '(' . $files . ' File' . ($files !== 1 ? 's' : '') . ')' . PHP_EOL : '' ?> - @ = date('d/n/Y H:i', strtotime($post["createdAt"])) ?> | " target="_blank" - rel="noopener noreferrer">View Original -