Results 1 to 4 of 4

Thread: Free Gyms

  1. #1

    Free Gyms

    this is just a other way to get more gyms on your site
    took me about 5 min to make fot a wld share


    add in rollover.php

    hope u like
    Last edited by grant; 04-16-2012 at 05:18 AM.

  2. #2
    Im just messing around with grpg and the header and function was out of place so heres the fix version.

    ?
    <?
    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';
    ?>
    Please Read
    WC is for sale.

  3. #3
    Quote Originally Posted by skooda View Post
    Im just messing around with grpg and the header and function was out of place so heres the fix version.
    this is an old post i will post the updated one and thanks

  4. #4
    Quote Originally Posted by grant View Post
    this is an old post i will post the updated one and thanks
    Your welcome
    Please Read
    WC is for sale.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •