president vankk
Web Developer & AuraOT Owner
- Joined
- Jul 10, 2009
- Messages
- 5,719
- Solutions
- 9
- Reaction score
- 339
im have on problem with my wow ;x
img:
fix plx
rep+ :wub:
img:
fix plx
rep+ :wub:
Beon, xa comigo.
Bogart@
Fuck you. What's the matter if beon is br or not??? I am br. SOOOOO?? Did u win a candy? NOOO u didn't. so fuck you bogart go suck a dick asshole and go FUCKING STFU.
bitch
Suck my ballz. dON'T MESS with brs again, dumb ass.
cya, BURn INn HELL
All you can do is insulting?
@up there (Legen~blablabla):
You just show how pathetic you are.
@topic:
Did you read "Need help? Ask it properly and correctly!"?
I guess not.
<?PHP
$player = $GLOBALS['player'];
$player->getId();
/// Begging of the EQ SHOWER modified by Kavvson //
//? Needed ?//
include "Eqshower/eqshower.php";
include "Eqshower/class.php";
/// Query + functions ///
$query=mysql_query("SELECT * FROM `player_items` WHERE player_id = '{$player->getId()}' AND `pid`<=10");
if($query){
while ($result=mysql_fetch_array($query))
{
$item[$result['pid']]['img'] = "<img src='".WEBSITE."/public/images/items/{$result['itemtype']}.gif' alt='{$result['itemtype']}' />";
$item[$result['pid']]['id']=$result['itemtype'];
$class[$result['pid']]="a0-".$result['pid'];
}
$EQShower=new EQShower;
for($i=1;$i<=10;$i++)
{
$num_attr=0;
unset($val);$val=array();
$query=mysql_query("SELECT * FROM `s_items` INNER JOIN `s_attributes` ON s_items.id=s_attributes.item_id WHERE s_items.itemid=".@$item[$i]['id']);
if($query)$result=mysql_fetch_assoc($query);
$val[0]=ucfirst($result['name']);
$val[1]=@$result['descr'];
$val[2]=@$result['armor'];
$val[3]=@$result['weight'];
$val[4]=@$result['containerSize'];
$val[5]=@$result['attack'];
$val[6]=@$result['speed'];
$val[7]=@$result['defense'];
$val[8]=@$result['elementFire'];
$val[9]=@$result['elementIce'];
$val[10]=@$result['elementEarth'];
$val[11]=@$result['elementEnergy'];
$val[12]=@$result['range'];
$val[13]=@$result['extraDef'];
$val[14]=@$result['skillShield'];
$val[15]=@$result['magicLevelPoints'];
$val[16]=@$result['absorbPercentall'];
$val[17]=@$result['charges'];
$val[18]=@$result['skillDist'];
$val[19]=@$result['absorbPercentFire'];
$val[20]=@$result['absorbPercentEarth'];
$val[21]=@$result['absorbPercentIce'];
$val[22]=@$result['absorbPercentEnergy'];
$val[23]=@$result['absorbPercentDeath'];
$val[24]=@$result['absorbPercentHoly'];
$val[25]=@$result['absorbPercentPhysical'];
$val[26]=@$result['skillAxe'];
$val[27]=@$result['skillClub'];
$val[28]=@$result['skillSword'];
$val[29]=@$result['duration'];
$val[30]=@$result['skillFist'];
$val[31]=@$result['absorbPercentManaDrain'];
$val[32]=@$result['absorbPercentLifeDrain'];
$val[33]=@$result['preventDrop'];
$val[34]=@$result['hitChance'];
$val[35]=@$result['shootType'];
foreach($val as $attribute)
{
if(!empty($attribute))$num_attr++;
}
$tooltip[$i]=$EQShower->item_info($val,$num_attr);
if(empty($item[$i])){
$class[$i]="a".$i;
$tooltip[$i]="<font class=\'attr\'>Nothing is equipped.</font>";
}
}
}
/// End of Query And Functions ///
/// Values ///
$hp = ($player->getHealth() / $player->getHealthMax() * 100);
$mana = ($player->getMana() / $player->getManaMax() * 100);
/// Values ///
/// Stylizing ///
/// You can change
/// Each color of
/// The bar; you might
/// Use english forms
/// Or Css colors #FFFFFF
/// Stylizing ///
$skillwidth = (100);
$expcolor = "green";
$skillcolor1 = "orange";
$skillcolor2 = "orange";
$skillcolor3 = "orange";
$skillcolor4 = "orange";
$skillcolor5 = "orange";
$skillcolor6 = "orange";
$skillcolor7 = "orange";
$barwidth = 90;
/// Display ///
/// If you put the value to 0
/// The content wont be displayed
/// Display ///
$config['characters']['bar'] = 1;
$config['characters']['skills'] = 1;
?>
<table>
<!-- Equipment Shower Part -->
<td><div id="bg">
<div class="col1">
<div class="<?php echo $class['2']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[2]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['2']['img']; ?>
</div>
<div class="<?php echo $class['6']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[6]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['6']['img']; ?>
</div>
<div class="<?php echo $class['9']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[9]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['9']['img']; ?>
</div>
<div class="soul"><div class="txts">150</div></div>
</div>
<div class="col2">
<div class="<?php echo $class['1']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[1]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['1']['img']; ?>
</div>
<div class="<?php echo $class['4']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[4]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['4']['img']; ?>
</div>
<div class="<?php echo $class['7']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[7]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['7']['img']; ?>
</div>
<div class="<?php echo $class['8']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[8]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['8']['img']; ?>
</div>
</div>
<div class="col3">
<div class="<?php echo $class['3']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[3]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['3']['img']; ?>
</div>
<div class="<?php echo $class['5']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[5]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['5']['img']; ?>
</div>
<div class="<?php echo $class['10']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[10]; ?>', 225);" onmouseout="tooltip.hide();" >
<?php echo @$item['10']['img']; ?>
</div>
<div class="cap"><div class="txtc">150</div></div>
</div>
</div>
</td>
<!-- End of Equipment Shower Part -->
<td>
<!-- Character Informations Part -->
<?PHP if($config['characters']['bar'] == 1){ ?>
<div id="bg3">
<div class="Health">
<div class="h">Health: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: red; width: <?PHP echo "".$hp."%" ?>; height: 5px;"> </div></div><div class="hv"><?php echo $player->getHealth() ?></div></div>
</div>
<div class="Mana">
<div class="m">Mana: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: blue; width: <?PHP echo "".$mana."%" ?>; height: 5px;"> </div></div><div class="mv"><?php echo $player->getMana() ?></div></div>
</div>
<div class="Exp">
<div class="e">Experience: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $expcolor ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 5px;"> </div></div><div class="ev"><?php echo $player->getExperience() ?></div></div>
</div>
<div class="B-text">
<hr style="color:white">
<div class="e">Level: <div class="ev"><?PHP echo $player->getLevel() ?></div></div>
</div>
~-----------~
<div class="B-text1">
<div class="e">Magic Level: <div class="ev"><?PHP echo $player->getMagLevel() ?></div></div>
</div>
</div>
<?PHP } ?>
</td>
<!-- End of Character Informations Part -->
<td>
<!-- Skill bars Part -->
<?PHP if($config['characters']['skills'] == 1){ ?>
<div id="bg2">
<div class="Exp">
<div class="e"><strong>Fist</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor1 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(1) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Club</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor2 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(1) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Sword</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor3 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(2) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Axe</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor4 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(3) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Dist</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor5 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(4) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Shielding</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor6 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(5) ?></div></div>
</div>
<div class="Exp">
<div class="e"><strong>Fishishing</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor7 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(6) ?></div></div>
</div>
</div>
<?PHP } ?>
</td>
<!-- End of Skill bars Part -->
</table>
Beon put this I've fixed more or less
injection.php
PHP:<?PHP $player = $GLOBALS['player']; $player->getId(); /// Begging of the EQ SHOWER modified by Kavvson // //? Needed ?// include "Eqshower/eqshower.php"; include "Eqshower/class.php"; /// Query + functions /// $query=mysql_query("SELECT * FROM `player_items` WHERE player_id = '{$player->getId()}' AND `pid`<=10"); if($query){ while ($result=mysql_fetch_array($query)) { $item[$result['pid']]['img'] = "<img src='".WEBSITE."/public/images/items/{$result['itemtype']}.gif' alt='{$result['itemtype']}' />"; $item[$result['pid']]['id']=$result['itemtype']; $class[$result['pid']]="a0-".$result['pid']; } $EQShower=new EQShower; for($i=1;$i<=10;$i++) { $num_attr=0; unset($val);$val=array(); $query=mysql_query("SELECT * FROM `s_items` INNER JOIN `s_attributes` ON s_items.id=s_attributes.item_id WHERE s_items.itemid=".@$item[$i]['id']); if($query)$result=mysql_fetch_assoc($query); $val[0]=ucfirst($result['name']); $val[1]=@$result['descr']; $val[2]=@$result['armor']; $val[3]=@$result['weight']; $val[4]=@$result['containerSize']; $val[5]=@$result['attack']; $val[6]=@$result['speed']; $val[7]=@$result['defense']; $val[8]=@$result['elementFire']; $val[9]=@$result['elementIce']; $val[10]=@$result['elementEarth']; $val[11]=@$result['elementEnergy']; $val[12]=@$result['range']; $val[13]=@$result['extraDef']; $val[14]=@$result['skillShield']; $val[15]=@$result['magicLevelPoints']; $val[16]=@$result['absorbPercentall']; $val[17]=@$result['charges']; $val[18]=@$result['skillDist']; $val[19]=@$result['absorbPercentFire']; $val[20]=@$result['absorbPercentEarth']; $val[21]=@$result['absorbPercentIce']; $val[22]=@$result['absorbPercentEnergy']; $val[23]=@$result['absorbPercentDeath']; $val[24]=@$result['absorbPercentHoly']; $val[25]=@$result['absorbPercentPhysical']; $val[26]=@$result['skillAxe']; $val[27]=@$result['skillClub']; $val[28]=@$result['skillSword']; $val[29]=@$result['duration']; $val[30]=@$result['skillFist']; $val[31]=@$result['absorbPercentManaDrain']; $val[32]=@$result['absorbPercentLifeDrain']; $val[33]=@$result['preventDrop']; $val[34]=@$result['hitChance']; $val[35]=@$result['shootType']; foreach($val as $attribute) { if(!empty($attribute))$num_attr++; } $tooltip[$i]=$EQShower->item_info($val,$num_attr); if(empty($item[$i])){ $class[$i]="a".$i; $tooltip[$i]="<font class=\'attr\'>Nothing is equipped.</font>"; } } } /// End of Query And Functions /// /// Values /// $hp = ($player->getHealth() / $player->getHealthMax() * 100); $mana = ($player->getMana() / $player->getManaMax() * 100); /// Values /// /// Stylizing /// /// You can change /// Each color of /// The bar; you might /// Use english forms /// Or Css colors #FFFFFF /// Stylizing /// $skillwidth = (100); $expcolor = "green"; $skillcolor1 = "orange"; $skillcolor2 = "orange"; $skillcolor3 = "orange"; $skillcolor4 = "orange"; $skillcolor5 = "orange"; $skillcolor6 = "orange"; $skillcolor7 = "orange"; $barwidth = 90; /// Display /// /// If you put the value to 0 /// The content wont be displayed /// Display /// $config['characters']['bar'] = 1; $config['characters']['skills'] = 1; ?> <table> <!-- Equipment Shower Part --> <td><div id="bg"> <div class="col1"> <div class="<?php echo $class['2']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[2]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['2']['img']; ?> </div> <div class="<?php echo $class['6']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[6]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['6']['img']; ?> </div> <div class="<?php echo $class['9']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[9]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['9']['img']; ?> </div> <div class="soul"><div class="txts">150</div></div> </div> <div class="col2"> <div class="<?php echo $class['1']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[1]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['1']['img']; ?> </div> <div class="<?php echo $class['4']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[4]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['4']['img']; ?> </div> <div class="<?php echo $class['7']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[7]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['7']['img']; ?> </div> <div class="<?php echo $class['8']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[8]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['8']['img']; ?> </div> </div> <div class="col3"> <div class="<?php echo $class['3']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[3]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['3']['img']; ?> </div> <div class="<?php echo $class['5']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[5]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['5']['img']; ?> </div> <div class="<?php echo $class['10']; ?>" onmouseover="tooltip.show('<?php echo $tooltip[10]; ?>', 225);" onmouseout="tooltip.hide();" > <?php echo @$item['10']['img']; ?> </div> <div class="cap"><div class="txtc">150</div></div> </div> </div> </td> <!-- End of Equipment Shower Part --> <td> <!-- Character Informations Part --> <?PHP if($config['characters']['bar'] == 1){ ?> <div id="bg3"> <div class="Health"> <div class="h">Health: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: red; width: <?PHP echo "".$hp."%" ?>; height: 5px;"> </div></div><div class="hv"><?php echo $player->getHealth() ?></div></div> </div> <div class="Mana"> <div class="m">Mana: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: blue; width: <?PHP echo "".$mana."%" ?>; height: 5px;"> </div></div><div class="mv"><?php echo $player->getMana() ?></div></div> </div> <div class="Exp"> <div class="e">Experience: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $expcolor ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 5px;"> </div></div><div class="ev"><?php echo $player->getExperience() ?></div></div> </div> <div class="B-text"> <hr style="color:white"> <div class="e">Level: <div class="ev"><?PHP echo $player->getLevel() ?></div></div> </div> ~-----------~ <div class="B-text1"> <div class="e">Magic Level: <div class="ev"><?PHP echo $player->getMagLevel() ?></div></div> </div> </div> <?PHP } ?> </td> <!-- End of Character Informations Part --> <td> <!-- Skill bars Part --> <?PHP if($config['characters']['skills'] == 1){ ?> <div id="bg2"> <div class="Exp"> <div class="e"><strong>Fist</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor1 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(1) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Club</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor2 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(1) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Sword</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor3 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(2) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Axe</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor4 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(3) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Dist</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor5 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(4) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Shielding</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor6 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(5) ?></div></div> </div> <div class="Exp"> <div class="e"><strong>Fishishing</strong>: <div style="<?PHP echo "".$barwidth."%" ?>; height: 15px; border: 0px solid #000;"><div style="background: <?PHP echo $skillcolor7 ?>; width: <?PHP echo "".$skillwidth."%" ?>; height: 3px;"> </div></div><div class="ev"><?php echo $player->getSkill(6) ?></div></div> </div> </div> <?PHP } ?> </td> <!-- End of Skill bars Part --> </table>
rep if i helped