1
0
mirror of https://github.com/PurpleI2P/i2pd.i2p synced 2025-01-15 17:20:03 +00:00
i2pd.i2p/index.php

41 lines
1.2 KiB
PHP
Raw Normal View History

2016-11-23 06:40:04 +03:00
<html>
2016-11-20 23:03:33 +03:00
<head>
<meta http-equiv="content-type" content="text/html;charset=UTF-8">
<meta http-equiv="cache-control" content="max-age=3600">
<meta http-equiv="cache-control" content="private">
2016-11-23 06:40:04 +03:00
<meta http-equiv="expires" content="3600">
<meta name="description" content="Welcome to I2P">
<title>Welcome to I2P</title>
<link rel="shortcut icon" href="favicon.ico">
2016-11-20 23:03:33 +03:00
</head>
<body text="#FFFFFF" bgcolor="#800080">
2016-11-23 01:30:36 +03:00
<table border="0" width="100%" cellspacing="0" cellpadding="0" height="100%">
<tr>
2016-11-23 01:30:36 +03:00
<td align=center>
<img src="img/mask.png"><br/>
<font face="Arial" size="6">Your I2Pd Browser is working correctly</font><br/>
<font face="Arial" size="7">Welcome to Invisible Internet</font>
2016-11-23 06:40:04 +03:00
<br/><br/><br/><br/>
<font face="Arial" size="4">Visits:
<?php
$f=fopen("stat.dat","a+");
flock($f,LOCK_EX);
$count=fread($f,100);
if (!isset($_COOKIE['i2pdvis'])){
@$count++;
ftruncate($f,0);
fwrite($f,$count);
fflush($f);
setcookie("i2pdvis", "true", time() + 1*3600, "/");
}
flock($f,LOCK_UN);
fclose($f);
echo $count;
?>
</font>
2016-11-23 01:30:36 +03:00
</td>
</tr>
</table>
2016-11-23 06:40:04 +03:00
</body>
</html>