]> git.r.bdr.sh - rbdr/r.bdr.sh/blame - jekyll/gabyodiaaben/index.php
Adds a new description
[rbdr/r.bdr.sh] / jekyll / gabyodiaaben / index.php
CommitLineData
b157bf19 1<?php
6277779d 2$myFile = "/var/www/nsovocal/gabyodiaaben/odio";
b157bf19
BB
3$fh = fopen($myFile, 'r') or die("can't open file");
4$string = fread($fh, filesize($myFile));
5if(isset($_GET['cerdos'])){
6 fclose($fh);
7 $fh = fopen($myFile, 'w') or die("can't open file");
8 if($string == "SI"){
9 $string = "NO";
10 }else{
11 $string = "SI";
12 }
6277779d 13
b157bf19
BB
14 fwrite($fh, $string);
15
16}else{
17}
18
19fclose($fh);
20?>
21
22<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
23<html xmlns="http://www.w3.org/1999/xhtml">
24<head>
25 <title>Gaby odia a ben?</title>
26 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
27</head>
28
29<body style="text-align: center; padding-top: 200px;">
30
6277779d
BB
31 <a href="http://nsovocal.com"
32 style="font-weight: bold;
33 font-size: 120pt;
34 font-family: Arial, sans-serif;
35 text-decoration: none;
36 color: black;"
b157bf19
BB
37 title="PHONE"
38 id="answer">
39 <?php echo $string; ?>
40 </a>
41</body>
42</html>