Jump to content
  • 0

website problem


darkfun3

Question

14 answers to this question

Recommended Posts

  • 0
<?
if (!file_exists("conn.php")) {
die("File conn.php non presente, <a href='install/index.php'>Clicca Qui</a> per crearlo!");
}
include("conn.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <title>StarkMt2 - Item Shop</title>
    <meta http-equiv="content-type" content="text/html; charset=greek" />
    <link rel="stylesheet" href="style.css" type="text/css" />
	<link rel="shortcut icon" href="favicon.ico" >
  </head>
  <body>
    <div id="container">
      <div id="loginbar">

        Καλωσορίσατε στο Item-Shop του StarkMt2 <? include("login.php"); ?>
      </div>

      <div id="head"><h1>StarkMt2</h1>
	</div>
      <div id="content">
	  <h2>Επιλογές Item Shop</h2>
		<div class="splitLeft">
		<ul class="menue">
			<li><a href="index.php">Αρχική Item-Shop</a></li>
			<li><a href="../index.php">Πίσω στη σελίδα</a></li>
		</ul>
		</div>
<BR><br>
<center>
<marquee SCROLLAMOUNT="32" SCROLLDELAY="400" bgcolor="black" style="border: 0px dashed; width: 864px; height: 64px;" behavior="scroll" direction="left" onmouseover="this.stop();" onmouseout="this.start();">
<?
$query=mysql_query("SELECT * FROM web.shop ORDER BY icon ASC");
$i=0;
$num=mysql_num_rows($query);

if($num == 0){
echo"<h2>Nessun Articolo trovato.</h2>";
}else{
?>
<table border="0">
<?
while($i < $num){
$row=mysql_fetch_array($query);
$item_image=$row["icon"];
$item_vnum=$row["vnum"];
echo"<a href='item.php?item=$item_vnum'><img src='images/$item_image.png'></a>";
$i++;
}
?>
</table>
<?
}

?>
</marquee>
</center>
<br>
	</div>
<br><br>

	  </div>
	</div>
    <div id="bgLine"></div>
  </body>
</html>
Link to comment
  • 0

on the website there is no php.ini there are only 2 folders error log and httdocs it's a joomla hosting for a website. Should i tell them to enable that in php.ini?

 

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / 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.