1
Aplicaciones Pre-Fabricadas / Re:[DESCARGA]Metro UserSystem[DESCARGA]
« en: 17 de Agosto de 2013, 00:02:03 am »
muy bueno tu sistema y completo te felicito man
Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.
<?php
require_once ("lib/config.php");
if(isset($_SESSION["id_user"]))
{
if(!empty($_GET["acc"]))
{
$acc=$_GET["acc"];
}else{
$acc="index";
}
if(is_file("controller/".$acc."Controller.php"))
{
require_once("controller/".$acc."Controller.php");
}else{
require_once("controller/errorController.php");
}
}else{
require_once("controller/indexController.php");
}
?>
<?php
include ('config.php');
function anti_injection($string){
$string = str_replace(" or ", "", $string);
$string = str_replace("select ", "", $string);
$string = str_replace("delete ", "", $string);
$string = str_replace("create ", "", $string);
$string = str_replace("#", "", $string);
$string = str_replace("=", "", $string);
$string = str_replace("--", "", $string);
$string = str_replace(";", "", $string);
$string = str_replace("*", "", $string);
$string = trim($string);
$string = strip_tags($string);
$string = addslashes($string);
return $string;
}
$result = mysql_query("SELECT * FROM rate_info");
echo "<b>Rate for Single Player: ".mysql_result($result, 0, "regu_expe")."</b><br>";
echo "<b>Rate for Group Member: ".mysql_result($result, 0, "group_exp")."</b><br>";
echo "<b>Item Drop: ".mysql_result($result, 0, "item_drop")."</b><br>";
echo "<b>Chest Drop: ".mysql_result($result, 0, "chest_drop")."</b><br>";
echo "<b>Gathering XP: ".mysql_result($result, 0, "gather_xp")."</b><br>";
echo "<b>Gathering Skill: ".mysql_result($result, 0, "gather_skills")."</b><br>";
echo "<b>Crafting XP: ".mysql_result($result, 0, "craft_xp")."</b><br>";
echo "<b>Crafting Skill: ".mysql_result($result, 0, "craft_skills")."</b><br>";
echo "<b>Quest XP: ".mysql_result($result, 0, "quest_exp")."</b><br>";
echo "<b>Quest Kinah: ".mysql_result($result, 0, "quest_kinah")."</b><br>";
echo "<b>Kinah Rate: ".mysql_result($result, 0, "kinah_exp")."</b><br>";
echo "<b>Abyss Points: ".mysql_result($result, 0, "abyss_point")."</b><br>";
?>