Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0949fabe5c
Fetching contributors…

Cannot retrieve contributors at this time

112 lines (104 sloc) 3.661 kb
<?php include("head.php");
if ($logged_in) {
if($stat['crew'] > 0){
}else{
echo "<br>
<div align=center>
<center>
<table border=1 cellpadding=5 cellspacing=0 style=border-collapse: collapse bordercolor=#FFFFFF>
<tr>
<td width=100% bgcolor=#666666>
&nbsp;
<font color=#FF0000><b>ERROR:</b></font> You are not in a crew.<br>
</tr>
</table>
</center>
</div>";
include("includes/footer.inc.php");
exit;
}
$id = $_GET['id'];
if(ctype_digit($_GET['id'])){
}else{
echo "<br>
<div align=center>
<center>
<table border=1 cellpadding=5 cellspacing=0 style=border-collapse: collapse bordercolor=#FFFFFF>
<tr>
<td width=100% bgcolor=#666666>
&nbsp;
<font color=#FF0000><b>ERROR:</b></font> You must type a numerical value!<br>
</tr>
</table>
</center>
</div>";
include("includes/footer.inc.php");
exit;
}
$spboss = mysql_fetch_assoc(mysql_query("SELECT `bsid`,`curhp`,`maxhp` FROM `adv_boss_stat` WHERE `spid`=$id AND `time` < UNIX_TIMESTAMP() AND `active`='Y' ORDER BY `spid` DESC"));
if(!$spboss){
echo "<br>
<div align=center>
<center>
<table border=1 cellpadding=5 cellspacing=0 style=border-collapse: collapse bordercolor=#FFFFFF>
<tr>
<td width=100% bgcolor=#666666>
&nbsp;
<font color=#FF0000><b>ERROR:</b></font> No such boss!<br>
</tr>
</table>
</center>
</div>";
include("includes/footer.inc.php");
exit;
}
$boss = mysql_fetch_assoc(mysql_query("SELECT `bsid`,`name`,`attacks`,`desc`,`pic` FROM `adv_bosses` WHERE `bsid`=$spboss[bsid]"));
$plbossr = mysql_fetch_assoc(mysql_query("SELECT time FROM `adv_boss_ranks` WHERE `spid`=$id AND `plid`=$stat[id] ORDER BY `id` DESC"));
?>
<br>
<center>
<table cellspacing="0" cellpadding="0" width="500" align="center" style="background-color:#000000;border:1px solid #000000;padding:5px;">
<tr>
<td valign="top" align="center" colspan="2">
<?php
if($plbossr['time']+14400 > time()){
$titlecol = "red";
}else{
$titlecol = "#FFFFFF";
}
?>
<font size="3" color="<?php $titlecol;?>"><b><?php $boss['name'];?></b> <?php echo convert2percent(($spboss['curhp']/$spboss['maxhp'])*100);?> / 100%</font><br><br>
<img align="center" style="margin-bottom:5px;" src="images/world/bosses/<?php $boss['pic'];?>">
<br><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?php $boss['desc'];?>
<br><br>
</td>
</tr>
<tr>
<td width="50%" align="center">
<a href="bossattack.php?id=<?php $id;?>" onMouseover="showhint('You will declare an attack using the defined attack points indicated in the parentheses on this mob and you will use the specified attack points in the parentheses.<br><br>Note: A boss spawn may only be attacked when its name is white on THIS PAGE and every 4 hours by your account', this, event, '200px')">Attack <?php $boss['name'];?>(<?php $boss['attacks'];?>)</a>
</td>
<td width="50%" align="center">
<a href="world.php?room=<?php $stat['wroom'];?>">I'm outta here...</a>
</td>
</tr>
<tr>
<td width="100%" align="center" colspan="2" style="border:1px solid #FFFFFF;padding:5px;">
<a href="bossranks.php?id=<?php $id;?>" onMouseover="showhint('Here, you will find every crew\'s total damage against this boss.', this, event, '200px')"><font size="3">Boss Rankings</font></a>
</td>
</tr>
</table>
</center>
<?php } else { echo "<br>
<div align=center>
<center>
<table border=1 cellpadding=5 cellspacing=0 style=border-collapse: collapse bordercolor=#FFFFFF>
<tr>
<td width=100% bgcolor=#666666>
&nbsp;
<font color=#FF0000><b>ERROR:</b></font> You need to be logged into an Outrage account<br>
</tr>
</table>
</center>
</div>";}?>
<?php include("includes/footer.inc.php"); ?>
Jump to Line
Something went wrong with that request. Please try again.