2 if (!isset($_SERVER['REQUEST_SCHEME'])) {
3 $_SERVER['REQUEST_SCHEME'] = 'http';
5 $baseurl = $_SERVER['REQUEST_SCHEME'] . '://'
6 . $_SERVER['HTTP_HOST']
7 . preg_replace('#\?.+$#', '', $_SERVER['REQUEST_URI']);
9 <?xml version="1.0" encoding="utf-8"?>
10 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
11 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
13 <title>stapibas: The standalone linkback server</title>
14 <meta name="robots" content="noindex,nofollow"/>
17 <h3>Linkback stats</h3>
19 Add the following bookmarklet to your browser's bookmarks (right-click):
22 <a href="javascript:s=document.createElement('script');s.src='<?php echo $baseurl; ?>js/show-links.js';document.body.appendChild(s);">stapibas linkback stats</a>