add refresh button

This commit is contained in:
awesomeuser 2023-08-02 00:10:36 +00:00
parent 06c2d53f3a
commit 310f915d1b

View file

@ -53,6 +53,15 @@
float: right;
color: grey;
}
#refresh {
font-weight: 1000;
background: var(--accent);
}
#refresh:hover {
cursor: pointer;
}
</style>
</head>
<body>
@ -69,6 +78,8 @@
<span style="font-size: 12px; color: grey;">Privacy Policy: The only data collected by furpsocial is the contents of your posts (signature and body text). This information is stored in our secure databases which are wiped of all post data every week. This data is only used to accomodate furp as a social media platform.</span>
</div>
<div class="post" id="refresh" onclick="window.location.href = 'index.php'">refresh feed</div>
<?php
// make sure the file, well, exists
$myfile = fopen("posts.txt", "a");