Jump to content

website problem


Go to solution Solved by Ayaka,

Recommended Posts

when i try to login on my itemshop ( using ishop) this messages appear 

https://metin2.download/picture/r3F9504x09DVmF8K988YXgTtGTP6KMUj/.gif

on this one there where supposed to be images moving

 

and this on here https://metin2.download/picture/PETlteIl2iAlmkQt15GIx9uOwrGdxdCi/.png which i don't know it does 

 

https://metin2.download/picture/0oFQjnyq3snmPRe0kl4VcqUJcZIKzwn5/.png

Edited by Metin2 Dev
Core X - External 2 Internal
Link to comment
Share on other sites

<?
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
Share on other sites

  • Bronze
  • Solution

just replace in all .php files:

<?

with:

<?php

if you havent access to php.ini or try to enable PHP short open tags via .htaccess (works only if the hosting provider allows overriding of PHP configuration options):

<IfModule mod_php5.c>
   php_value short_open_tag 1
 </IfModule>
  • Love 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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