moving to imgclass

This commit is contained in:
Igor Barkov [iwork] 2019-01-16 18:35:00 +02:00
parent 813a741b2a
commit d330721114
1 changed files with 7 additions and 12 deletions

View File

@ -1,8 +1,7 @@
<?php
session_start();
if ($_SESSION['uid'] == null) header("Location: index.php");
include "config.php";
include "functions.php";
require_once 'functions.php';
if ($user['room'] != 27) {
header("Location: main.php");
@ -76,18 +75,14 @@ if ($_SESSION['receiverName']) {
<head>
<meta charset="utf-8">
<link href="css/main.css" rel="stylesheet"/>
<script>
function leave() {
top.frames['main'].location = 'city.php?cp'
}
</script>
<script src="js/main.js"></script>
</head>
<body>
<h1>Почта</h1>
<a href=# onclick=leave()> ← выйти на Центральную площадь</a>
<div style="text-align: center;">
<?php if (isset($statusMessage)) err($statusMessage); ?>
<div style="float: right">
<button onclick="hrefToFrame('city.php?cp')">Вернуться</button>
</div>
<h1>Почта</h1>
<div style="text-align: center;"><?php if (isset($statusMessage)) err($statusMessage); ?></div>
<legend>Услуги почты платные: 1 кредит.</legend>
<?php if ($_SESSION['receiverName']): ?>
Получатель: <?= nick::id($receiverId)->full() ?>
@ -109,7 +104,7 @@ if ($_SESSION['receiverName']) {
</form>
</td>
<td valign=top align=right>
<table class="zebra" WIDTH=100%">
<table class="zebra" WIDTH=100%" cellspacing="1" cellpadding="2">
<th colspan="2">Передача предметов</th>
<?php foreach ($iteminfo as $ii): ?>
<tr>