Понедельник, 17 Июня 2024, 05:35

Приветствую Вас Гость

[ Новые сообщения · Игроделы · Правила · Поиск ]
  • Страница 1 из 1
  • 1
Помогите
barsДата: Вторник, 21 Декабря 2010, 18:22 | Сообщение # 1
был не раз
Сейчас нет на сайте
Люди помогите пожалуйста!не пойму в чём здесь проблема!

**Error** Line 1: Unexpected '<' encountered
<BODY bgcolor=EBEDEC leftmargin=0 topmargin=0 background='i/shop.jpg' style='background-attachment: fixed;'>
**Error** Line 2: Operator '<' must be followed by an operand
<?
**Error** Line 5: Expected a field name after '.' operator.
$stat = mysql_fetch_array(mysql_query("select * from players where user='".addslashes($user)."' and pass='".addslashes($pass)."'"));
Total ActionScript Errors: 3 Reported Errors: 3

извиняюсь что не выделил!если можете помочь то помогите smile

simtikoДата: Вторник, 21 Декабря 2010, 18:37 | Сообщение # 2
почти ветеран
Сейчас нет на сайте
bars, А это точно Java? confused
barsДата: Вторник, 21 Декабря 2010, 18:49 | Сообщение # 3
был не раз
Сейчас нет на сайте
это JavaScript))
simtikoДата: Вторник, 21 Декабря 2010, 19:02 | Сообщение # 4
почти ветеран
Сейчас нет на сайте
bars, Java Script не имеет ничего общего с Java. Место темы в џ

Сообщение отредактировал simtiko - Вторник, 21 Декабря 2010, 19:06
AngevengelistДата: Вторник, 21 Декабря 2010, 19:21 | Сообщение # 5
постоянный участник
Сейчас нет на сайте
Может это на ActionScript?
Quote (bars)
Total ActionScript Errors: 3 Reported Errors: 3

Добавлено (21.12.2010, 19:21)
---------------------------------------------
Дай полный файл

barsДата: Вторник, 21 Декабря 2010, 19:32 | Сообщение # 6
был не раз
Сейчас нет на сайте
извиняюсь это ActionScript)))
вот-<BODY bgcolor=EBEDEC leftmargin=0 topmargin=0 background='i/shop.jpg' style='background-attachment: fixed;'>
<?
include("inc/db_connect.php");

$stat = mysql_fetch_array(mysql_query("select * from players where user='".addslashes($user)."' and pass='".addslashes($pass)."'"));

if ($stat['bloked']) echo"<script>top.location='index.php?action=logout'</script>";

$ctime = time();

if ($stat['t_time']) { header("Location: prison.php"); exit; }
elseif ($stat['k_time']) { header("Location: academy.php"); exit; }
elseif ($stat['battle']) { header("Location: battle.php"); exit; }
elseif ($stat['room'] != 10) { header("Location: main.php"); exit; }

else {
$_SHOP['type'] = 2;

if (!isset($otdel)) $otdel=30;

if (!empty($buy)) include("inc/shop/_buy.php");

$title = 'Магазин \"Берёзка\".';

include("inc/html_header.php");

include("inc/shop/otdels_b.php");

echo'<link rel=stylesheet type="text/css" href="i/shop.css">';

echo"
<body bgcolor=#EBEDEC leftmargin=0 topmargin=0>
";

echo"<style>
.none { display: none }
</style>";

print"<table width=100% cellspacing=0 cellpadding=5 border=0>
<tr>
<td>  <b>У Вас на счету:</b> <u>".$stat['valute']."</u> <b>сп.</b>
</td>
<td align=right valign=top>

<img src='i/refresh.gif' style='CURSOR: Hand' alt='Обновить' onclick='window.location.href=\"bank.php?otdel=$otdel&tmp=\"+Math.random();\"\"'>

<img src='i/back.gif' style='CURSOR: Hand' alt='Вернуться' onclick='window.location.href=\"world.php?room=0&tmp=\"+Math.random();\"\"'> 

</td>
</tr>
</table>";

echo"
<table width=100% cellspacing=0 cellpadding=3 border=0>
<tr>
<td align=right>
<center><font class=title>Магазин \"Берёзка\"</font></center><br>";

if (!empty($msg)) echo"<center><FONT COLOR=RED><b>$msg</b></font></center><BR>";

echo"
<table width=100% cellspacing=0 cellpadding=3 border=0>
<tr>
<td width=230 valign=top>

<FIELDSET><LEGEND><a class=ch>Отделы магазина</a></LEGEND>

<table width=100% cellspacing=0 cellpadding=5 border=0>
<tr>
<td>

<table width=100% cellspacing=0 border=0 cellpadding=5 style='border-style: outset; border-width: 2'>
<tr>
<td>

<a class=shop>Оружие:</a><BR>
 • <a href='?otdel=30'>Ножи и кинжалы</a><BR>
 • <a href='?otdel=31'>Мечи</a><BR>
 • <a href='?otdel=32'>Топоры и Секиры</a><BR>
 • <a href='?otdel=33'>Дубины и Булавы</a><BR><BR>

<a class=shop>Доспехи:</a><BR>
 • <a href='?otdel=34'>Шлемы</a><BR>
 • <a href='?otdel=35'>Лёгкая броня</a><BR>
 • <a href='?otdel=36'>Тяжёлая броня</a><BR>
 • <a href='?otdel=37'>Браслеты</a><BR>
 • <a href='?otdel=38'>Нарукавники</a><BR>
 • <a href='?otdel=39'>Перчатки</a><BR>
 • <a href='?otdel=40'>Щиты</a><BR>
 • <a href='?otdel=41'>Пояса</a><BR>
 • <a href='?otdel=42'>Обувь</a><BR><BR>

<a class=shop>Ювелирные изделия:</a><BR>
 • <a href='?otdel=43'>Ожерелья</a><BR>
 • <a href='?otdel=44'>Кольца</a><BR><BR>

<a class=shop>Магические предметы:</a><BR>
 • <a href='?otdel=45'>Посохи</a><BR>
 • <a href='?otdel=46'>Свитки</a><BR>
 • <a href='?otdel=47'>Зелья</a><BR>

</td>
</tr>
</table>

</td>
</tr>
</table>

</FIELDSET>

</td>
<td valign=top>

<FIELDSET><LEGEND><a class=ch>";
echo"Ассортимент товаров отдела \"$otdels[$otdel]\" ";

echo"</a></LEGEND>

<table width=100% cellspacing=0 cellpadding=5 border=0>
<tr>
<td>

<table width=100% cellspacing=0 border=0 cellpadding=5 style='border-style: outset; border-width: 2'>
<tr>
<td>
";

/*
if ($stat[rank] != 100) echo"<a href=# style='COLOR: Red'>Магазин закрыт. Приём товара.</a>"; else include('inc/shop/__otdels.php');
*/

include('inc/shop/__otdels.php');

echo"
</td>
</tr>
</table>

</td>
</tr>
</table>

</FIELDSET>

</td>
</tr>
</table>
";

echo"
</td>
</tr>
</table>";

}
?>

<BODY bgcolor=EBEDEC leftmargin=0 topmargin=0 background='i/shop.jpg' style='background-attachment: fixed;'>

Добавлено (21.12.2010, 19:32)
---------------------------------------------
пытаюсь изменить игрушку!а на Flash Mx 3 ошибки выдаёт(((

  • Страница 1 из 1
  • 1
Поиск:

Все права сохранены. GcUp.ru © 2008-2024 Рейтинг