index.php 7.21 KB
Newer Older
David Morley's avatar
utf8  
David Morley committed
1
<!doctype html><html><head><meta charset="utf-8"><title>Diaspora Pod uptime - Find your new social home</title>
David Morley's avatar
index  
David Morley committed
2
<meta name="keywords" content="diaspora, podupti.me, diasp, diasporg, diasp.org, facebook, open source social, open source facebook, open source social network" />
3
<meta name="description" content="Diaspora Pod Live Status. Find a Diaspora pod to sign up for, rate pods, find one close to you!" />
4
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/jquery.min.js"></script> 
5 6 7
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/jquery.tablesorter.min.js"></script> 
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/jquery.loading.1.6.4.min.js"></script> 
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/jquery.tipsy.js"></script>
David Morley's avatar
David Morley committed
8
<script type="text/javascript" src="js/podup.js"></script>
9
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/facebox.js"></script>
10
<script type="text/javascript" src="http://c807316.r16.cf2.rackcdn.com/jquery-ui-1.8.21.custom.min.js"></script>
David Morley's avatar
David Morley committed
11
<script src="OpenLayers.js"></script>
12
<link href="http://c807316.r16.cf2.rackcdn.com/jquery-ui-1.8.21.custom.css" rel="stylesheet" type="text/css"/>
David Morley's avatar
David Morley committed
13 14
<link rel="stylesheet" href="http://c790230.r16.cf2.rackcdn.com/bootstrap.min.css">
<link rel="stylesheet" href="css/newstyle.css" />
David Morley's avatar
David Morley committed
15
<link rel="stylesheet" href="http://c807316.r16.cf2.rackcdn.com/facebox.css" />
David Morley's avatar
David Morley committed
16

David Morley's avatar
David Morley committed
17
<?php 
18
$lastfile = 'db/last.data';
David Morley's avatar
David Morley committed
19 20 21 22
include("vendor/Mobile_Detect.php");
$detect = new Mobile_Detect();
if ($detect->isMobile()) {echo '<link rel="stylesheet" href="http://c807316.r16.cf2.rackcdn.com/mobile.css" /><meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">';} 
?>
David Morley's avatar
index  
David Morley committed
23 24 25 26 27 28 29 30 31 32 33 34
<script type="text/javascript">
(function() {
var s = document.createElement('SCRIPT'), s1 = document.getElementsByTagName('SCRIPT')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://widgets.digg.com/buttons.js';
s1.parentNode.insertBefore(s, s1);
})();
</script></head>
<body>
  <header>
    <div class="page-header">
David Morley's avatar
cleanup  
David Morley committed
35 36 37 38 39 40 41 42 43 44 45 46 47 48 49
      <div class="row">
        <div class="span6">
          <h2 id="title">
          DIASPORA* POD UPTIME
          </h2>
        </div>
      <div class="span3" style="margin-top:8px;">
<!-- AddThis Button BEGIN -->
<div class="addthis_toolbox addthis_default_style ">
<a class="addthis_button_preferred_1"></a>
<a class="addthis_button_preferred_2"></a>
<a class="addthis_button_preferred_3"></a>
<a class="addthis_button_preferred_4"></a>
<a class="addthis_button_compact"></a>
<a class="addthis_counter addthis_bubble_style"></a>
50
</div>
David Morley's avatar
cleanup  
David Morley committed
51 52 53 54 55 56 57 58 59 60 61 62
<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=davidmmorley"></script>
<!-- AddThis Button END -->
      </div>
      <div class="span4" style="margin-top:8px;">
      <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://podupti.me"></a>
      </div>
      <div class="span2" style="margin-top:8px;">
<a onClick="map();">Show Map View</a>
      </div>
      <div class="span2" style="margin-top:8px;">
<a onClick="nomap();">Show Table View</a>
      </div>
63
    </div>
David Morley's avatar
cleanup  
David Morley committed
64 65
  </div>
</div>
66 67 68
  </header>
  <div class="container-fluid">
    <div class="sidebar"> 
David Morley's avatar
David Morley committed
69
      <div class="adsense2">
David Morley's avatar
David Morley committed
70 71 72 73 74 75 76 77 78 79
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3662181805557062";
/* poduptimenew */
google_ad_slot = "3969028081";
google_ad_width = 300;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
David Morley's avatar
David Morley committed
80 81
</script>
      </div>
82
      <a href="https://market.android.com/details?id=appinventor.ai_david_morley.DiasporaPoduptime"><img src="http://c807316.r16.cf2.rackcdn.com/android-dude128.png"></a>
David Morley's avatar
index  
David Morley committed
83 84
    </div>
    <div class="content">
David Morley's avatar
David Morley committed
85
    <div id="map" style="width:80%;height:500px;position:absolute;display:none"></div>
David Morley's avatar
index  
David Morley committed
86
      <div id="results">
root's avatar
root committed
87
        <?php if ($_GET["hidden"] == "true") {echo "<a href='http://podupti.me' class='btn danger large'>NOTICE: These pods are Hidden and have problems, click here to go to working pods</a>";} include("show.php"); ?>
David Morley's avatar
index  
David Morley committed
88
      </div>
89
      <div id="add">
90
        Pod Host? <u style="cursor: pointer; cursor: hand;">Click here</u> to add/manage your listing.<br>
David Morley's avatar
David Morley committed
91 92
	</div>
	<div id="info">
93
	Data last refreshed at: <?php echo date("F d Y H:i:s.", filemtime($lastfile)) ?> Pacific Time<br>
94
        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><br>
David Morley's avatar
David Morley committed
95
        I also run the pods <a href="https://diasp.org/?2" target=_new>diasp.org</a> and the <a href="http://dia.so" target=_new>dia.so</a> site.<br>
David Morley's avatar
David Morley committed
96
        Some pods are <a href="http://podupti.me/?hidden=true">Hidden</a> That have too many issues.<br><br>
David Morley's avatar
David Morley committed
97
	</div>
David Morley's avatar
index  
David Morley committed
98 99 100
      <div id="howto" style="display:none; margin-left:50px">
        <br>
        Want your pod listed?<br>
101
        Its easy start monitoring on your pod with a free <a href="http://www.pingdom.com" target="new">www.pingdom.com</a> account.<br>
David Morley's avatar
index  
David Morley committed
102 103 104
        <br>Make a public report public and then enter your URL below (note its the one you view after you goto it)<br><br>
        Pingdom shows me http://stats.pingdom.com/b4gasnh1c176 when I click it to goes to http://stats.pingdom.com/b4gasnh1c176/240588
        <br> So URL should look very close to this: http://stats.pingdom.com/b4gasnh1c176/240588<br>
105
        <br><form action="db/add.php" method="post">
106 107 108
        Stats URL:<input type="text" name="url" class="xlarge span8" placeholder="http://stats.pingdom.com/b4gasnh1c176/240588"><br>
        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>
David Morley's avatar
index  
David Morley committed
109 110
        <input type="submit" value="submit">
        </form>
111 112
        <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.
113
        <br>Need help? <a href="https://diasporg.zendesk.com">Support</a>
David Morley's avatar
index  
David Morley committed
114 115
        <br>
      </div>
116
				
root's avatar
root committed
117
<!-- Piwik -->
118
<script type="text/javascript">
root's avatar
root committed
119 120 121 122 123 124 125 126 127 128
var pkBaseURL = (("https:" == document.location.protocol) ? "https://podupti.me/s/" : "http://podupti.me/s/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", 1);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://podupti.me/s/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
<!-- End Piwik Tracking Code -->				
129
						
David Morley's avatar
index  
David Morley committed
130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
      <script type="text/javascript">
      /* <![CDATA[ */
          (function() {
              var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
              s.type = 'text/javascript';
              s.async = true;
              s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
              t.parentNode.insertBefore(s, t);
          })();
      /* ]]> */
      </script>
    </div>
  </div>
</body>
</html>