Jump to content

need help i startet to regenerate an old website links funktion dont works


Langrisser

Recommended Posts

need help i startet to regenerate  an old website but  the one or other thing dont works so like that:

 


<?
require("droplist.inc.php");

if (!isset($region))
	$region = 0;
$region_names = array("Laglamia", "Dekardi", "Dekadun", "Dekaran", "Shilon", "Searoost", "Paros", "GWH");
$region_monster_count = array(14, 12, 18, 19, 16, 26, 19, ;
?>
<head>
<title>Dropliste</title>
<meta http-equiv=content-type content="text/html; charset=windows-1252">
<meta http-equiv=imagetoolbar content=no>
<link href="image/style.css" rel=stylesheet	type="text/css">
</head>
<body bgColor="#2d2d2d" link="#FFFFFF" vlink="#FFFFFF" alink="#FF9900">
<hr>
<div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<?
for ($idx = 0; $idx < count($region_names); $idx++) {
	print("<a href=\"droplist.php?region=".$idx."\">");
	if ($idx == $region)
		printf("<font color=\"#FF9900\">");
	print($region_names[$idx]);
	if ($idx == $region)
		printf("</font>");
	print("</a>");
	if ($idx < count($region_names) - 1)
		print(" | ");
	print("\n");
}
?>
</font></div>
<hr>
<table cellSpacing=0 cellPadding=1 width="95%" align=center border=0>
	<tr><td colSpan=3 height=1><br></td></tr>
	<tr><td bgColor=black colSpan=3 height=1></td></tr>
	<tr><td bgColor=silver colSpan=3 height=1></td></tr>
	<tr><td colSpan=3 height=1><br></td></tr>
<?
for ($idx = 0; $idx < $region_monster_count[$region]; $idx++) {
	printf("
	<tr>
		<td width=135 valign=top align=center>
			<font face=\"Arial, Helvetica, sans-serif\" size=2>
				<img width=130 height=140 src=\"image/droplist/".$monsters[$region][$idx][0].".gif\" border=0>
			</font>
		</td>
		<td width=* valign=top>
			<font face=\"Arial, Helvetica, sans-serif\" size=2>
				<b>".$monsters[$region][$idx][1]."</b> <strong>[ Level ".$monsters[$region][$idx][2]." ]</strong>
				<br>
				<font color=#ffff00>Drops:</font><br><font face=\"Arial, Helvetica, sans-serif\" size=1>".$monsters[$region][$idx][3]."</font>
				<br>
				<font color=#ffff00>Random-Drops:</font><br><font face=\"Arial, Helvetica, sans-serif\" size=1>".$monsters[$region][$idx][4]."</font>
			</font>
		</td>
	</tr>
	<tr><td colSpan=3 height=1><br></td></tr>
	<tr><td bgColor=black colSpan=3 height=1></td></tr>
	<tr><td bgColor=silver colSpan=3 height=1></td></tr>
	<tr><td colSpan=3 height=1><br></td></tr>
	");
}
?>
</table>
<hr>
<div align="center"><font size="2" face="Verdana, Arial, Helvetica, sans-serif">
<?
for ($idx = 0; $idx < count($region_names); $idx++) {
	print("<a href=\"droplist.php?region=".$idx."\">");
	if ($idx == $region)
		printf("<font color=\"#FF9900\">");
	print($region_names[$idx]);
	if ($idx == $region)
		printf("</font>");
	print("</a>");
	if ($idx < count($region_names) - 1)
		print(" | ");
	print("\n");
}
?>
</font></div>
<hr>
</body>
</html>

 

The  content iss in another file

the problem iss the links (you can see  the page  there: http://psychadelics.co.de/droplist.php )

dont work if i click on it so the funktions must be have errors  can annyone help me that if i click for example

Dekardi that the list shows up for it?

 

i hope annyone can help^^

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.