Browse Source

Added the annoucment page

Sir_Boops 1 year ago
parent
commit
a10c6fa362

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+.php_cs.cache

+ 4
- 0
announce/assets/css.css View File

@@ -0,0 +1,4 @@
1
+.text {
2
+    color: white;
3
+    text-align: center;
4
+}

+ 27
- 0
announce/assets/html.html View File

@@ -0,0 +1,27 @@
1
+<html>
2
+
3
+<head>
4
+    <meta charset="UTF-8">
5
+    <title>Frgl.PW</title>
6
+    <link rel="stylesheet" type="text/css" href="assets/css.css">
7
+    <link rel="stylesheet" href="//cdn.frgl.pw/frglpw/pure/pure-release-0.6.0/pure-min.css">
8
+</head>
9
+
10
+<body style="background-color: #151515;" style="height: 100%; width: 100%;">
11
+    <div id="filler" style="height: 10%; width: 100%">
12
+      <h1 class="pure-u-1-1 text">=== Announcements ===</h3>
13
+    </div>
14
+    <div id="ann-1" class="pure-g">
15
+      <h2 class="pure-u-1-1 text">-------------------------------------------------------------------------</h2>
16
+      <h2 class="pure-u-1-1 text">7/1/2017 - Farwell twitter!</h2>
17
+      <h4 class="pure-u-1-3 text"></h4>
18
+      <h4 class="pure-u-1-3 text">As you many or many not have known Twitter is dying a very gradual death.
19
+        That along with the fact many people dislike Twitter i have elected to make a simple announcement page on this site instead.
20
+        This page will display any thing happening and or warnings/explanations as to what has happened or any other info that should be announced!
21
+        All announcements from twitter have been copied onto here.</h4>
22
+      <h2 class="pure-u-1-1 text">-------------------------------------------------------------------------</h2>
23
+    </div>
24
+    <p style="color: grey; position: absolute; bottom: -15px; right: 10px;">Page source available <a style="color: grey;" href="https://git.frgl.pw/Sir_Boops/Frgl-Site">Here</a></p>
25
+</body>
26
+
27
+</html>

+ 2
- 0
announce/index.php View File

@@ -0,0 +1,2 @@
1
+<?php
2
+echo(file_get_contents("assets/html.html"));

+ 0
- 0
assets/css.css View File


+ 1
- 0
assets/html.html View File

@@ -13,6 +13,7 @@
13 13
     <div id="splash" class="pure-g">
14 14
         <h1 class="pure-u-1-1 text" id="frgl-pw">Frgl.pw</h1>
15 15
         <h4 class="pure-u-1-1 text">Pronounced Fur-Gul</h4> %ip_message%
16
+        <h3 class="pure-u-1-1 text"><a class="text" href="announce">Announcements Page</a></h3>
16 17
         <h3 class="pure-u-1-1 text"><a class="text" href="mirror/">Mirror Info</a>, <a style="color: white;" href="mailto:admin@frgl.pw">E-Mail</a>, <a style="color: white;" href="/keys/Frgl.txt">GNUPG Key</a></h3>
17 18
         <h3 class="pure-u-1-1 text"><a class="text" href="//git.frgl.pw">Git Server</a></h3>
18 19
     </div>

+ 0
- 2
index.php View File

@@ -1,7 +1,5 @@
1 1
 <?php
2 2
 
3
-$headers = apache_request_headers();
4
-
5 3
 //Set the host IP
6 4
 if($headers["X-Real-IP"] == null){
7 5
   $user_IP = $_SERVER['REMOTE_ADDR'];

+ 0
- 0
keys/Frgl.txt View File


+ 0
- 0
keys/Sir_Boops.txt View File


+ 0
- 0
mirror/assets/css.css View File


+ 0
- 0
mirror/assets/html.html View File


+ 0
- 1
mirror/index.php View File

@@ -1,3 +1,2 @@
1 1
 <?php
2 2
 echo(file_get_contents("assets/html.html"));
3
- ?>

+ 2
- 0
robots.txt View File

@@ -0,0 +1,2 @@
1
+User-Agent: *
2
+Allow: /

Loading…
Cancel
Save