Esempio n. 1
0
<?php

include "config.inc.php";
require_once "classes/class.fucking_db.php";
$db = new FuckingDB($config);
$tip = $db->find($_GET["id"]);
include "header.php";
?>

        <div class="advice <?php 
echo $tip["gender"];
?>
">
          <h2><?php 
echo $tip["body"];
?>
</h2>
        </div>
<?php 
include "footer.php";
Esempio n. 2
0
<?php

include "config.inc.php";
require_once "classes/class.fucking_db.php";
$db = new FuckingDB($config);
$tip = str_ireplace("f*****g", "<span class='friendly'>f*****g</span>", $db->random());
?>

<?php 
include "header.php";
?>

        <div class="advice <?php 
echo $tip["gender"];
?>
">
          <a href="/show/<?php 
echo $tip["id"];
?>
"><h2><?php 
echo $tip["body"];
?>
</h2></a>
        </div>
        
<?php 
include "footer.php";
Esempio n. 3
0
<?php

include "config.inc.php";
require_once "classes/class.fucking_db.php";
$db = new FuckingDB($config);
$tip = $db->his();
include "header.php";
?>

        <div class="advice <?php 
echo $tip["gender"];
?>
">
          <a href="/show/<?php 
echo $tip["id"];
?>
"><h2><?php 
echo $tip["body"];
?>
</h2></a>
        </div>
<?php 
include "footer.php";
Esempio n. 4
0
<?php

include "config.inc.php";
require_once "classes/class.fucking_db.php";
$db = new FuckingDB($config);
$tip = $db->hers();
include "header.php";
?>

        <div class="advice <?php 
echo $tip["gender"];
?>
">
          <a href="/show/<?php 
echo $tip["id"];
?>
"><h2><?php 
echo $tip["body"];
?>
</h2></a>
        </div>
<?php 
include "footer.php";
Esempio n. 5
0
<?php

include "config.inc.php";
require_once "classes/class.fucking_db.php";
$db = new FuckingDB($config);
$tip = $db->random();
include "header.php";
?>

        <div class="advice <?php 
echo $tip["gender"];
?>
">
          <a href="/show/<?php 
echo $tip["id"];
?>
"><h2><?php 
echo $tip["body"];
?>
</h2></a>
        </div>
<?php 
include "footer.php";
?>