Ciode cleanup
This commit is contained in:
parent
a8a2e073e6
commit
8e635b572e
19
fight.php
19
fight.php
@ -1,23 +1,8 @@
|
|||||||
<?php
|
<?php
|
||||||
session_start();
|
session_start();
|
||||||
if (!isset($_SESSION['uid'])) {
|
if (!isset($_SESSION['uid'])) header("Location: index.php");
|
||||||
header("Location: index.php");
|
require_once 'config.php';
|
||||||
}
|
|
||||||
include("config.php");
|
|
||||||
db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']);
|
db::c()->query('UPDATE `users` SET `enter_game` = 0 WHERE `enter_game` = 1 AND `id` = ?i', $_SESSION['uid']);
|
||||||
|
|
||||||
// OLD FRAMESET
|
|
||||||
// '<frameset rows="45, *, 30">' +
|
|
||||||
// '<frame src="top_menu.php" scrolling="no" noresize="noresize" FRAMEBORDER="0" MARGINWIDTH="0" MARGINHEIGHT="0">' +
|
|
||||||
// '<frameset rows="72%, *">' +
|
|
||||||
// '<frame name="main" src="main.php?top=' + rnd + '" style="border-bottom-width: 2px; border-bottom-style:solid; border-bottom-color:#B0B0B0">' +
|
|
||||||
// '<frameset cols="*,263">' +
|
|
||||||
// '<frame id="chat" name="chat" src="buttons.php?ch=' + rnd + '" scrolling="yes" FRAMEBORDER="0" MARGINWIDTH="3" MARGINHEIGHT="3">' +
|
|
||||||
// '<frame name="online" src="ch.php?online=' + rnd + '" scrolling="yes" FRAMEBORDER=' + frmval + ' BORDER="0" MARGINWIDTH="3" MARGINHEIGHT="0" ' + addstyle + '>' +
|
|
||||||
// '</frameset>' +
|
|
||||||
// '</frameset>' +
|
|
||||||
// '<frame name="bottom" scrolling="no" noresize="noresize" src="buttons.php?' + rnd + '">' +
|
|
||||||
// '</frameset>'
|
|
||||||
?>
|
?>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
</HEAD>
|
</HEAD>
|
||||||
<body>
|
<body>
|
||||||
<div>
|
<div>
|
||||||
<button onClick="document.getElementsByName('framemain').src='/user_anketa.php'">Анкета</button>
|
|
||||||
<a href="/user_anketa.php" title="Анкета" target="framemain">Анкета</a>
|
<a href="/user_anketa.php" title="Анкета" target="framemain">Анкета</a>
|
||||||
<a href="/contacts.php" title="Контакты" target="framemain">Друзья</a>
|
<a href="/contacts.php" title="Контакты" target="framemain">Друзья</a>
|
||||||
<a href="/main.php?edit=1" title="Инвентарь" target="framemain">Инвентарь</a>
|
<a href="/main.php?edit=1" title="Инвентарь" target="framemain">Инвентарь</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user