- Joined
- Oct 22, 2010
- Messages
- 78
- Reaction score
- 10
Hey Hello ragezoners 
Today i am gonna release phpretro rules page
To say it is all PHP with some html scripts
Kk here screenie :
PHP code : rules.php
this goes at community_header after news page :
credits :
That's all bye
)))
Today i am gonna release phpretro rules page
To say it is all PHP with some html scripts
Kk here screenie :
PHP code : rules.php
PHP:
<?php
/*================================================================+\
|| # Copyright StronGCoder (C) 2010
|| # Originally coded and made by StronGCoder
|+==================================================================
|| # PHPretro base
|| # Made for PHPretro by StronGCoder
\+================================================================*/
require_once('./includes/core.php');
require_once('./includes/session.php');
$data = new me_sql;
$lang->addLocale("home.me");
$page['id'] = "Hotel Rules";
$page['name'] = Rules;
$page['bodyid'] = "Rules";
$page['cat'] = "community";
require_once('./templates/community_header.php');
?>
<?php
//The values
//first tab
$rules="The Hotel Way is a simple set of rules for all players to follow in the Hotel:<br />
<br />* Do not bully, harass or abuse other players; avoid violent or aggressive behaviour.<br />
<br />* Do not steal or scam passwords, credits or furniture from other players.<br />
<br />* Keep your password and personal details secret and never try to gain this information from other players.<br />
<br />* You may not give away, sell or trade your Hotel account or seek to sell virtual items from Hotel for cash.<br />
<br />* Do not take part in sexual activities, make sexual proposals or respond to them.<br />
<br />* Do not use any scripts or third party software to enter, disrupt or modify Hotel.<br />
<br />Treat other players as you would wish to be treated! And remember that a crime in a virtual world is as serious as in the real world.<br /><br />"; //Please dont edit if you like it :)
//End values
?>
<?php
//The values
//second tab
$_WHYHEADER="Why do i need to respect those ?";
$_WHYTEXT="<center><i>You need to respect all those rules to have a better play or life on ";
$_hotel_value=" Hotel. "; // Do not change this to your hotel name please :)
$_WHYTEXT_CON=" If you will break those rules you will be banned by our moderator </i></center>";
?>
<div id="container">
<div id="content">
<div id="column1" class="column">
<div class="habblet-container ">
<div class="cbb clearfix white">
<h2 class="title"><?php ECHO SHORTNAME; //Shortname ?> Hotel Rules <?php //$rules_header ?>
</h2>
<i><p><center><?PHP ECHO $rules; //$rules ?></p></i></center>
</div></div></div>
<div id="column2" class="column">
<div class="habblet-container ">
<div class="cbb clearfix pixellightblue ">
<h2 class="title"><?php ECHO $_WHYHEADER; ?>
</h2>
<?php echo $_WHYTEXT ; ECHO SHORTNAME; ECHO $_hotel_value; ECHO $_WHYTEXT_CON; ?>
</div>
</div>
</div>
<?php
require_once('./templates/community_footer.php');
?>
this goes at community_header after news page :
PHP:
<li>
<li class="<?php if($page['id'] == "Hotel Rules"){ echo "selected"; } ?>">
<?php if($page['id'] == "Hotel Rules"){ echo "Hotel Rules"; }else{ echo "<a href=\"".PATH."/rules\">Hotel Rules</a>"; } ?>
</li>
credits :
PHP:
Credits goes to :
StronGCoder - 50% - Coding it all !
Yifan Lu - 50% - Some parts and PHPretro :)
INCLUDING :
HTML - 15%
PHP - 85%
Thanks :)
That's all bye
Last edited:

