index.php 5.57 KB
Newer Older
dmorley's avatar
dmorley committed
1
<!doctype html><html><head><meta charset="utf-8"><title>Diaspora Pod Uptime Status - Find your new social home on a hosted pod</title>
2 3
<meta name="keywords" content="diaspora, podupti.me, diasp, diasporg, diasp.org, facebook, open source social, open source facebook, open source social network" />
<meta name="description" content="Diaspora Pod Live Status. Find a Diaspora pod to sign up for, rate pods, find one close to you!" />
4 5 6 7
<script type="text/javascript" src="js/jquery-1.6.4.min.js"></script> 
<script type="text/javascript" src="js/jquery.tablesorter.min.js"></script> 
<script type="text/javascript" src="js/jquery.loading.1.6.4.min.js"></script> 
<script type="text/javascript" src="js/jquery.tipsy.js"></script>
David Morley's avatar
David Morley committed
8
<script type="text/javascript" src="js/podup.js"></script>
9 10 11
<script type="text/javascript" src="js/facebox.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.8.21.custom.min.js"></script>
<link href="css/jquery-ui-1.8.21.custom.css" rel="stylesheet" type="text/css"/>
root's avatar
root committed
12
<link rel="stylesheet" href="css/bootstrap.min.css">
David Morley's avatar
David Morley committed
13
<link rel="stylesheet" href="css/newstyle.css" />
dmorley's avatar
dmorley committed
14
<link rel="stylesheet" href="css/facebox.css" />
dmorley's avatar
dmorley committed
15 16
<meta property="og:url" content="http://podupti.me" />
<meta property="og:site_name" content="Diaspora Pods" />
17 18
<?php 
$hidden = isset($_GET['hidden'])?$_GET['hidden']:null;
MatrixCrawler's avatar
MatrixCrawler committed
19
$lastfile = 'db/last.data';
David Morley's avatar
David Morley committed
20
?>
dmorley's avatar
dmorley committed
21
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=5.0, user-scalable=yes" />
dmorley's avatar
dmorley committed
22 23 24 25 26 27
<script type="text/javascript">
/* <![CDATA[ */
    (function() {
        var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
        s.type = 'text/javascript';
        s.async = true;
28
        s.src = '//api.flattr.com/js/0.6/load.js?mode=auto';
dmorley's avatar
dmorley committed
29 30 31
        t.parentNode.insertBefore(s, t);
    })();
/* ]]> */</script>
32
<script type="text/javascript" src="//ws.sharethis.com/button/buttons.js"></script>
dmorley's avatar
dmorley committed
33
<script type="text/javascript">stLight.options({publisher: "3209f0be-147e-49fc-ac1b-2cf6740e9449", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
dmorley's avatar
dmorley committed
34
</head>
David Morley's avatar
index  
David Morley committed
35
<body>
36 37 38
  <header>
    <div class="page-header">
      <div class="row">
dmorley's avatar
dmorley committed
39
        <div class="span5">
40
          <h2 id="title">
dmorley's avatar
dmorley committed
41
          Diaspora Pods
42 43
          </h2>
        </div>
dmorley's avatar
changes  
dmorley committed
44
      <div class="span2" style="margin-top:8px;">
dmorley's avatar
dmorley committed
45
<span class='st_facebook_hcount' displayText='Facebook' st_summary='test'></span>
dmorley's avatar
dmorley committed
46
      </div>
dmorley's avatar
dmorley committed
47 48 49
<div class="span2" style="margin-top:8px;">

<span class='st_twitter_hcount' displayText='Tweet' text='test'></span>
50
      </div>
dmorley's avatar
dmorley committed
51 52 53
<div class="span2" style="margin-top:8px;">

<span class='st_plusone_hcount' displayText='Google +1'></span>
54 55
      </div>
      <div class="span2" style="margin-top:8px;">
dmorley's avatar
dmorley committed
56 57 58 59
<a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://podupti.me"></a>
	</div>
	<div class="span2" style="margin-top:8px;">
</div>
dmorley's avatar
dmorley committed
60

61 62 63 64
    </div>
  </div>
</div>
  </header>
dmorley's avatar
dmorley committed
65
  <div class="container-fluid">
66 67
    <div class="content">
      <div id="results">
dmorley's avatar
dmorley committed
68
        <?php 
dmorley's avatar
dmorley committed
69 70
	$advancedview = isset($_GET['advancedview'])?$_GET['advancedview']:null;
        $mapview = isset($_GET['mapview'])?$_GET['mapview']:null;
dmorley's avatar
dmorley committed
71
	if ($advancedview) {
dmorley's avatar
dmorley committed
72
	echo "<a href='http://podupti.me' class='btn danger large'>NOTICE: This view shows all pods in all states, some offline, click here to go to list of pods open for signup</a><br>";
dmorley's avatar
dmorley committed
73 74 75 76
	include("showfull.php");
	} elseif ($mapview) {
	include("showmap.php");
        } else {
dmorley's avatar
dmorley committed
77
	echo "<a href='random.php' class='btn danger large'>Confused and just want to sign up?? Click Here</a><br>";
dmorley's avatar
dmorley committed
78 79 80
        include("show.php");
	} 
	?>
81 82
      </div>
      <div id="add">
dmorley's avatar
dmorley committed
83
        Pod Host? <u style="cursor: pointer; cursor: hand;">Click here</u> to add/edit your listing.<br>
84 85
	</div>
	<div id="info">
86
	Data last refreshed at: <?php echo date("F d Y H:i:s.", filemtime($lastfile)) ?> Pacific Time<br>
87
        Poduptime is run by <a href="https://diasp.org/u/davidmorley" target=_new>David Morley</a> and is open source on <a href="https://github.com/diasporg/Poduptime">GitHub</a> Feel free to contribute with pull requests or bug reports!<br>
dmorley's avatar
dmorley committed
88
        Questions on how this works? <a href="https://github.com/diasporg/Poduptime/wiki">Wiki</a><br>
dmorley's avatar
dmorley committed
89
	<a href="https://diasporafoundation.org/">More about Diaspora</a>
90 91 92 93 94 95
	</div>
      <div id="howto" style="display:none; margin-left:50px">
        <br>
        Want your pod listed?<br>
        Its easy start monitoring on your pod with a free <a href="https://uptimerobot.com" target="new">Uptime Robot</a> account.<br>
	Create a monitor for your pod, then in "My Settings" create a monitor-specific API key and paste below.<br>
dmorley's avatar
dmorley committed
96
        <br><form action="https://podupti.me/db/add.php" method="post">
dmorley's avatar
dmorley committed
97
        Monitor API Key:<input type="text" name="url" class="xlarge span8" placeholder="m58978-80abdb799f6ccf15e3e4ttwe"> (don't copy the period on the end)<br>
98 99 100 101
        Pod domainname:<input type="text" name="domain" class="xlarge span4" placeholder="domain.com"><br>
        Your Email:<input type="text" name="email" class="xlarge span4" placeholder="user@domain.com"><br>
        <input type="submit" value="submit">
        </form>
dmorley's avatar
dmorley committed
102 103
	Need to edit something?<br>
	<form action="https://podupti.me/db/gettoken.php" method="post">Pod Domainname:<input type="text" name="domain">Registered Email:<input type="text" name="email"><input type=submit value="send"></form>
104 105 106 107 108 109 110
        <br>Is your pod missing? If the server can not get a diaspora session its on the hidden list <a href="http://podupti.me/?hidden=true">Show</a>. This
is mostly because of selfsigned or openca certs, if you need a free ssl cert get one from startssl.com.
        <br>
      </div>
				
    </div>
  </div>
David Morley's avatar
index  
David Morley committed
111 112
</body>
</html>