?
<?
include 'header.php';
$checkeffects = mysql_query("SELECT * FROM `effects` WHERE `userid`='$user_class->id'");
$numeffects = mysql_num_rows($checkeffects);
if($numeffects > 0){
echo Message("You can't train at the gym if you have an effect.");
include 'footer.php';
die();
}
$error = ($user_class->city == 1) ? "You must be in canada to get the cafe" : $error;
$error = ($user_class->city == 2) ? "You must be in canada to get the cafe" : $error;
$error = ($user_class->city == 4) ? "You must be in canada to get the cafe" : $error;
$error = ($user_class->city == 5) ? "You must be in canada to get the cafe" : $error;
$error = ($user_class->gyms == 0) ? "You Got Kicked Out The Cafe Warrior Come Back To Tomorrow" : $error;
?>
<?
if ($_GET['cup'] == "y"){
if($user_class->gyms > 0) {
$gyms = $user_class->gyms - 1;
$result = mysql_query("UPDATE `grpgusers` SET `hp` = '".$user_class->maxhp."', `gyms`='".$gyms."' WHERE `id`='".$_SESSION['id']."'");
echo Message("You got a cut of tea refiling your health");
} else {
echo Message("Time To Leave The cafe Warrior");
}
}
if ($_GET['fullb'] == "y"){
if($user_class->gyms > 0) {
$gyms = $user_class->gyms - 1;
$result = mysql_query("UPDATE `grpgusers` SET `hp` = '".$user_class->maxhp."', `gyms`='".$gyms."', `awake`='".$user_class->maxawake."' , `nerve`='".$user_class->maxnerve."' , `energy`='".$user_class->maxenergy."' WHERE `id`='".$_SESSION['id']."'");
echo Message("You got a full English breakfast and refulled all your bars that will get you of to a great day warrior");
} else {
echo Message("Time To Leave The Cafe Warrior");
}
}
?>
</p>
<table width="100%" border="0" class="contenthead">
<tr>
<td align="center">Cafe</td>
</tr>
</table>
<table width="100%" border="0" class="contentcontent">
<tr>
<td height="27" colspan="2" align="center">You Can Sit In The Cafe For [<?php echo $user_class->gyms ?>] More Breakfast's Warrior</td>
</tr>
<tr>
<td width="50%" align="center">
<img src="http://t3.gstatic.com/images?q=tbn:ANd9GcTrhSLT3urkuJYOyYgqbOuI7UQQTA5wI R9GoQoSXZxqziGwNQE1zg" border="0" alt="" /></p>
Drink A Cup Of Tea Refull Your Health</p>
<a href="http://3gyms.php?cup=y" target="_blank">Cup Of Tea</a></p></td>
<td width="50%" height="182" align="center">
<img src="http://www.bbcgoodfood.com/recipes/5820/images/5820_MEDIUM.jpg" border="0" alt="" /></p>
Get All Day Engish Breakfast And Refull All You Bar</p>
<a href="http://3gyms.php?fullb=y" target="_blank">Full English Breakfast</a></p></td>
</tr>
</table>
<table width="100%" border="0" class="contenthead">
<tr>
<td align="center">Menu</td>
</tr>
</table>
<table width="100%" border="0" class="contentcontent">
<tr>
<td height="64"></td>
</tr>
</table>
</p>
<?
include 'footer.php';
?>
Bookmarks