About
These are working homes for RevCMS and they can also be converted into all other cms very easily because its just the scripts that i am releasing not my page layout!
Credits
90% - Me (Forget)for coding the page and scripts
10% - Kryptos for making RevCMS
Screen Shots
The Codes
You must have this code at the top of the page for any of the other scripts to work:
<?php
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_real_escape_string($str);
}
$username = filter($_REQUEST["user"]);
$userid = filter($_REQUEST["id"]);
// User Info \\
$userinfo = mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$username'"));
$_GET2 = mysql_fetch_assoc($userinfo);
$user = filter($_GET2['username']);
$id = filter($_GET2['id']);
$looks = filter($_GET2['look']);
$email = filter($_GET2['mail']);
$rank = filter($_GET2['rank']);
$motto = filter($_GET2['motto']);
$credits = filter($_GET2['credits']);
$pixels = filter($_GET2['activity_points']);
$pvip = filter($_GET2['vip_points']);
$online = filter($_GET2['online']);
?>
<?php
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_real_escape_string($str);
}
//Stats\\
$stats = mysql_query("SELECT * FROM user_stats WHERE id='$id'");
$get1 = mysql_fetch_assoc($stats);
$resp = filter($_GET1['Respect']);
$giftr = filter($_GET1 ['GiftsReceived']);
$gifts = filter($_GET1 ['GiftsGiven']);
$achivement = filter($_GET1 ['AchievementScore']);
$visits = filter($_GET1['RoomVisits']);
?>
Show Username:
<?php echo $username; ?>
Show Motto:
<?php echo $motto; ?>
Show Email:
<?php echo $email; ?>
Show Credits:
<?php echo $credits; ?>
Show Pixels:
<?php echo $pixels; ?>
Show Vip Points:
<?php echo $pvip; ?>
Show Amount of respect:
<?php echo $resp; ?>
Show Gifts Given:
<?php echo $gifts; ?>
Show Gifts Recived:
<?php echo $giftr; ?>
Show Achievement Score:
<?php echo $achivement; ?>
Show Room Visits:
<?php echo $visits; ?>
Show Users Badges:
<?php
$getmybadges = mysql_query("SELECT * FROM user_badges WHERE user_id='$id'");
while($rowing = mysql_fetch_assoc($getmybadges)){
$badge = $rowing['badge_id'];
echo '<img src="r63/c_images/album1584/'.$badge.'.gif" style="margin-right: 10px;" />';
}
?>
Show Avatar Image:
<img src="
Show Users Rank:
<?php
$getUser = mysql_query("SELECT * FROM users WHERE id ='$id'");
$user = mysql_fetch_array($getUser);
$rankId = $user['rank'];
$getRank = mysql_query("SELECT * FROM ranks WHERE id ='$rankId'");
$rank = mysql_fetch_array($getRank);
echo "".$rank['name']." (".$rank['id'].")";
?>
Show Users Friends:
<?php
$query = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '$id'");
$i = 0;
while($friends = mysql_fetch_array($query))
{
$getfriend = mysql_query("SELECT * FROM users WHERE id ='".$friends['user_two_id']."' LIMIT 1");
if(mysql_num_rows($getfriend) > 0)
{
$i++;
if($i == 1)
{
echo '';
}
$friend = mysql_fetch_array($getfriend);
$friendname = $friend['username'];
echo "<a href='index.php?url=home&user=$friendname'>";
echo htmlspecialchars($friend['username']).'</a>, ';
}
}
if($i > 0)
echo '</br>'?>
How it works
Put the url as {url}/index.php?url=home&user={username} or the information will not show up
These are working homes for RevCMS and they can also be converted into all other cms very easily because its just the scripts that i am releasing not my page layout!
Credits
90% - Me (Forget)for coding the page and scripts
10% - Kryptos for making RevCMS
Screen Shots
The Codes
You must have this code at the top of the page for any of the other scripts to work:
<?php
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_real_escape_string($str);
}
$username = filter($_REQUEST["user"]);
$userid = filter($_REQUEST["id"]);
// User Info \\
$userinfo = mysql_fetch_object(mysql_query("SELECT * FROM users WHERE username='$username'"));
$_GET2 = mysql_fetch_assoc($userinfo);
$user = filter($_GET2['username']);
$id = filter($_GET2['id']);
$looks = filter($_GET2['look']);
$email = filter($_GET2['mail']);
$rank = filter($_GET2['rank']);
$motto = filter($_GET2['motto']);
$credits = filter($_GET2['credits']);
$pixels = filter($_GET2['activity_points']);
$pvip = filter($_GET2['vip_points']);
$online = filter($_GET2['online']);
?>
<?php
function clean($str) {
$str = @trim($str);
if(get_magic_quotes_gpc()) {
$str = stripslashes($str);
}
return mysql_real_escape_string($str);
}
//Stats\\
$stats = mysql_query("SELECT * FROM user_stats WHERE id='$id'");
$get1 = mysql_fetch_assoc($stats);
$resp = filter($_GET1['Respect']);
$giftr = filter($_GET1 ['GiftsReceived']);
$gifts = filter($_GET1 ['GiftsGiven']);
$achivement = filter($_GET1 ['AchievementScore']);
$visits = filter($_GET1['RoomVisits']);
?>
Show Username:
<?php echo $username; ?>
Show Motto:
<?php echo $motto; ?>
Show Email:
<?php echo $email; ?>
Show Credits:
<?php echo $credits; ?>
Show Pixels:
<?php echo $pixels; ?>
Show Vip Points:
<?php echo $pvip; ?>
Show Amount of respect:
<?php echo $resp; ?>
Show Gifts Given:
<?php echo $gifts; ?>
Show Gifts Recived:
<?php echo $giftr; ?>
Show Achievement Score:
<?php echo $achivement; ?>
Show Room Visits:
<?php echo $visits; ?>
Show Users Badges:
<?php
$getmybadges = mysql_query("SELECT * FROM user_badges WHERE user_id='$id'");
while($rowing = mysql_fetch_assoc($getmybadges)){
$badge = $rowing['badge_id'];
echo '<img src="r63/c_images/album1584/'.$badge.'.gif" style="margin-right: 10px;" />';
}
?>
Show Avatar Image:
<img src="
You must be registered for see links
echo $looks; ?>&head_direction=3&action=wlk,wav,drk=0,crr=3" alt="<php echo $username; ?>" />Show Users Rank:
<?php
$getUser = mysql_query("SELECT * FROM users WHERE id ='$id'");
$user = mysql_fetch_array($getUser);
$rankId = $user['rank'];
$getRank = mysql_query("SELECT * FROM ranks WHERE id ='$rankId'");
$rank = mysql_fetch_array($getRank);
echo "".$rank['name']." (".$rank['id'].")";
?>
Show Users Friends:
<?php
$query = mysql_query("SELECT * FROM messenger_friendships WHERE user_one_id = '$id'");
$i = 0;
while($friends = mysql_fetch_array($query))
{
$getfriend = mysql_query("SELECT * FROM users WHERE id ='".$friends['user_two_id']."' LIMIT 1");
if(mysql_num_rows($getfriend) > 0)
{
$i++;
if($i == 1)
{
echo '';
}
$friend = mysql_fetch_array($getfriend);
$friendname = $friend['username'];
echo "<a href='index.php?url=home&user=$friendname'>";
echo htmlspecialchars($friend['username']).'</a>, ';
}
}
if($i > 0)
echo '</br>'?>
How it works
Put the url as {url}/index.php?url=home&user={username} or the information will not show up