Jump to content

Recommended Posts

Posted

this template is fail for lineage is not for professionals

 

Because this template was created for portfolios etc originally.

 

 

  • 2 weeks later...
Posted

There are many options included where you can edit the links/news/donations etc unfortunately you can't edit the flash compiled files (.swf) but if there are any uncompiled (.fla) you can find a Flash editing software and edit them too.

  • 2 weeks later...
  • 1 month later...
  • 1 month later...
  • 2 months later...
Posted

but i have a error in the file check.php

 

this is the error

 

Warning: mysql_connect() [function.mysql-connect]: Host 'L2authd.lineage2.com' is not allowed to connect to this MySQL server in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 123

 

Warning: mysql_select_db() [function.mysql-select-db]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 124

 

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 124

 

Warning: mysql_query() [function.mysql-query]: Access denied for user 'ODBC'@'localhost' (using password: NO) in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 257

 

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 257

 

Warning: mysql_fetch_row(): supplied argument is not a valid MySQL result resource in C:\AppServ\www\modules\stats\scripts\hero\check.php on line 259

 

And this is my File

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" />

<title>L][united</title>

<script language=JavaScript>

<!--

 

//Disable right mouse click Script

 

var message=Function Disabled By SiYu!";

 

///////////////////////////////////

function clickIE4(){

if (event.button==2){

alert(message);

return false;

}

}

 

function clickNS4(e){

if (document.layers||document.getElementById&&!document.all){

if (e.which==2||e.which==3){

alert(message);

return false;

}

}

}

 

if (document.layers){

document.captureEvents(Event.MOUSEDOWN);

document.onmousedown=clickNS4;

}

else if (document.all&&!document.getElementById){

document.onmousedown=clickIE4;

}

 

document.oncontextmenu=new Function("alert(message);return false")

 

// -->

</script><META NAME="DESCRIPTION" CONTENT="LineAge II CHRONICLE 5: Oath of Blood">

<META HTTP-EQUIV="" CONTENT="">

<LINK REL="StyleSheet" HREF="skins/matrix/style.css">

<title><?php echo $htitle; ?></title>

<script type="text/javascript" src="js/prototype.js"></script>

<script type="text/javascript" src="js/scriptaculousb395.js?load=effects,builder"></script>

<script type="text/javascript" src="js/lightbox.js"></script>

<script type="text/javascript" src="swfobject.js"></script>

<script type="text/javascript" src="js/rollover.js"></script>

<script type="text/javascript" src="js/display.js"></script>

<link href="layout.css" rel="stylesheet" type="text/css" />

<link href="cursor.css" rel="stylesheet" type="text/css">

<link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen" />

 

<style type="text/css">

<!--

body,td,th {

font-size: 12px;

color: #dfd6b9;

font-family: Verdana, Arial, Helvetica, sans-serif;

}

a, a:active, a:visited {

font-family: Verdana, Arial, Helvetica, sans-serif;

font-size: 12px;

text-decoration: none;

color: #af9878;

}

a:hover {

color: #FFFFFF;

text-decoration: underline;

}

body {

margin-left: 0px;

margin-top: 0px;

margin-right: 0px;

margin-bottom: 0px;

 

background-color: #000000;

}

 

-->

</style>

 

 

 

 

<center>

</tr>

<tr>

<td colspan="2" rowspan="4" width="540"> <table id="content_table" width="540" height="479" border="0" cellpadding="0" cellspacing="0">

<tr valign="top">

 

 

<td rowspan="3" background="images/complex3_66.gif" width="506"> <p><br />

      <br />

      <style type="text/css">

<!--

.style5 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; }

.style7 {font-family: Geneva, Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF; text-align:center}

a:link {

color: #444444;

text-decoration: none;

}

a:visited {

color: #444444;

text-decoration: none;

}

a:hover {

color: #000000;

text-decoration: underline;

}

a:active {

color: #444444;

text-decoration: none;

}

-->

                        </style>

 

                          <?php

 

require_once("config.php");

 

$db = mysql_connect($server, $user, $password);

mysql_select_db($database);

isset($_GET['q]) ? $q = $_GET['q'] : $q = '';

/*if($q == '')

{

echo "<tr><td><a href='check.php?q=raids'>Raids</a>";

echo "<br><tr><td><a href='check.php?q=heroes'>Heroes</a>";

}

*/

 

if($q == 'raids')

{

echo "

<table border='1' align='center' bgcolor='#dfdfdf' cellpadding='0' cellspacing='1'>

<tr>

      <td width='10' bgcolor='#CC0000' align='center' colspan='3'><span class='style7'>Raid Bosses</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>";

$list = array('29020','29054','25054','29022','29056','29001','29019','29028','29045','29062','29065','29099','25126', '29068');

foreach($list as $mobid)

{

$cur = mysql_query ("

SELECT  npc.level, npc.name, raidboss_spawnlist.amount

FROM raidboss_spawnlist, npc

WHERE npc.id = $mobid

LIMIT 1

");

 

while ($riga = mysql_fetch_row($cur))

{

if($riga[2]) $status = "<font color='green'>Alive";

else $status = "<font color='red'>Dead";

echo "<tr>

<td width='30%'><font color='#000000'>$riga[1]

<td align='center' width='20%'><font color='#000000'>Level: $riga[0]

<td width='30%' align='center'>$status

";

}

}

echo "</table>";

}

 

elseif ($q == 'heroes')

{

isset($_GET['classe']) ? $classe = $_GET['classe'] : $classe = '';

if($classe == '')

{

/*echo "

<table border='0' align='center' bgcolor='#dfdfdf' cellpadding='1' cellspacing='1'>

<tr>

      <td width='150' bgcolor='#CC0000' align='center'><span class='style7'>Select a Class</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>";*/// original

echo "

<table border='0' align='center' bgcolor='#dfdfdf' cellpadding='1' cellspacing='1'>

    <tr>

      <td width='250' bgcolor='#CC0000' align='center'><span class='style7'>Select a Class</span></td>

    </tr>

    <tr bgcolor='#DDDDDD'>

    <tr><td><span class='style5'><a href='check.php?q=heroes&classe=88'>Duelist</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=89'>Dreadnought</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=90'>Pheonix Knight</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=91'>Hell Knight</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=92'>Saggitarius</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=93'>Adventurer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=94'>Archmage</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=95'>Soul Taker</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=96'>Arcana Lord</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=97'>Cardinal</a></span></td></tr>

      <tr><td><span class='style5'><a href='check.php?q=heroes&classe=98'>Hierophant</a></span></td></tr></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=99'>Eva's Templar</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=100'>Sword Muse</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=101'>Wind Rider</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=102'>Moonlight Sentinel</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=103'>Mystic Muse</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=104'>Elemental Master</a></span></td></tr>

      <tr><td><span class='style5'><a href='check.php?q=heroes&classe=105'>Eva's Saint</a></span></td></tr></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=106'>Shillien Templar</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=107'>Spectral Dancer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=108'>Ghost Hunter</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=109'>Ghost Sentinel</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=110'>Storm Screamer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=111'>Spectral Master</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=112'>Shillien Saint</a></span></td></tr>

 

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=113'>Titan</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=114'>Grand Khavatari</span></tr></td>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=115'>Dominator</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=116'>Doomcryer</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=117'>Fortune Seeker</a></span></td></tr>

        <tr><td><span class='style5'><a href='check.php?q=heroes&classe=118'>Maestro</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=131'>DoomBringer</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=132'>Soul Hound - Male</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=133'>Soul Hound - Female</a></span></td></tr>

<tr><td><span class='style5'><a href='check.php?q=heroes&classe=134'>TrickSter</a></span></td></tr>

 

    </table>

          <br />";

/*$classes = mysql_query("

SELECT class_name, id

FROM class_list");

while($cls = mysql_fetch_row($classes))

{

$stemp = explode('_', $cls[0]);

echo "<tr><td><span class='style5'><a href='check.php?q=heroes&classe=$cls[1]'>$stemp[1]</a></span></td></tr>";

}

//echo "</table>";*/

}

elseif($classe >= 0 && $classe < 200)

{

echo "

<table border='1' align='center' bgcolor='#dfdfdf' cellpadding='0' cellspacing='0'>

<tr>

      <td width='100%' bgcolor='#CC0000' align='center' colspan='7'><span class='style7'>Heroes</span>

    </tr>

    <tr bgcolor='#DDDDDD'>

<td width='20%' bgcolor='#CC0000' align='center'>Nick</td>

<td width='20%' bgcolor='#CC0000' align='center'>Class</td>

<td width='20%' bgcolor='#CC0000' align='center'>Hero</td>

<td width='10%' bgcolor='#CC0000' align='center'>Fights</td>

<td width='10%' bgcolor='#CC0000' align='center'>Points</td>

<td width='10%' bgcolor='#CC0000' align='center'>Wins</td>

<td width='10%' bgcolor='#CC0000' align='center'>Loses</td>

</tr>

";

 

$cur = mysql_query ("

SELECT  characters.char_name, characters.classid, characters.nobless

FROM characters

WHERE characters.classid = $classe

");

 

while ($riga = mysql_fetch_row($cur))

{

 

////// checking class name

$classname = mysql_query("

SELECT class_name

FROM class_list

WHERE $riga[1] = class_list.id");

$temp = mysql_fetch_row($classname);

 

$stemp = explode('_', $temp[0]);

 

////// checking hero status

$ishero = mysql_query("

SELECT char_name

FROM heroes

WHERE '$riga[0]' = heroes.char_name");

$temp2 = mysql_fetch_row($ishero);

if($temp2[0]) $ishero2 = "<font color='green'>Yes";

else $ishero2 = "<font color='black'>No";

 

 

 

 

echo "<tr>

<td><font color='#000000'>$riga[0]

<td><font color='#000000'>$stemp[1]

<td align='center'><font color='#000000'>$ishero2

<td><font color='#000000'>$riga[3]

<td><font color='#000000'>$riga[4]

<td><font color='#000000'>$riga[4]

<td><font color='#000000'>$riga[4]

";

}

echo "</table>";

}

else echo "\nError Occurred, Admin informed";

}

mysql_close($db);

?>

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...