add refresh button
This commit is contained in:
parent
06c2d53f3a
commit
310f915d1b
1 changed files with 11 additions and 0 deletions
11
index.php
11
index.php
|
@ -53,6 +53,15 @@
|
||||||
float: right;
|
float: right;
|
||||||
color: grey;
|
color: grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#refresh {
|
||||||
|
font-weight: 1000;
|
||||||
|
background: var(--accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
#refresh:hover {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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>
|
<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>
|
||||||
|
|
||||||
|
<div class="post" id="refresh" onclick="window.location.href = 'index.php'">refresh feed</div>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
// make sure the file, well, exists
|
// make sure the file, well, exists
|
||||||
$myfile = fopen("posts.txt", "a");
|
$myfile = fopen("posts.txt", "a");
|
||||||
|
|
Reference in a new issue