.pageMainitemleft{
float: left;
width: 278px;
padding-left: 20px;
overflow: auto;
border-right: 2px solid #0072fc66;
position: absolute;
min-height: 410px;
height: 95%;
}
<div class="pageMainitemleft">
<div class="itemsinfitem">
<div class="initemsitems">Техническая информация</div>
<ul>
<li style="padding-right: 0px;border-bottom: none;">Всего мест:
<span style="float: right; font-size: 14px; line-height: 14px;"><?php echo $games['place'];?>
<span style="font-size: 10px;">мест</span>
</span>
</li>
<li style="padding-right: 0px;border-bottom: none;">Стоимость:
<span style="float: right; font-size: 14px; line-height: 14px;"><?php echo $games['costplace'];?>
<span style="font-size: 10px;">руб</span>
</span>
</li>
</ul>
</div>
<div class="initemsitem">
<div class="initemsitems">Информация о предмете</div>
<div class="initemsimg" style="padding: 25px 0px 25px 0px;height: 250px;border-bottom: none;opacity: 1;">
<a class="/lot/<?php echo $games['id'];?>"></a>
<label for="check_toggle"> <input type="checkbox" id="check_toggle" hidden><img src="<?php echo $sitenames.$games['icon'];?>"alt="" class="image23" style="box-shadow: none;"></label>
</div>
<div class='completedimg'>
<a><img src='/assets/img/completed.png'></a>
</div>
<div class="itemsinfitem2">
<ul>
<li><?php echo $games['name'];?></li>
<li style="text-shadow: 0px 0px 4px #dddddd;color: #dddddd;font-weight: normal;font-size: 13px;"<?php echo $games['color'];?>;"><?php echo $games['quality'];?></li>
</ul>
</div>
<div class="itemsinfitem">
<ul>
<li style="padding-right: 0px">Цена в магазине
<span style="float: right; font-size: 14px; line-height: 14px;"><?php echo $games['cost'];?>
<span style="font-size: 10px;">руб</span>
</span>
</li>
</ul>
</div>
</div>
</div>
<?php
@include_once('../system/dbconfig.php');
@include_once('../steamauth/steamauth.php');
$steamida = preg_replace("/[^0-9]/", '', $_SESSION["steamid"]);
$zp = mysql_query("SELECT * FROM `users` WHERE `steamid`='$steamida'");
$admin = mysql_fetch_array($zp);
$admins = $admin["admin"];
if($admins == 1){
$id = $_POST["id"];
$classidinv = $_POST["classidinv"];
$instanceidinv = $_POST["instanceidinv"];
$idinv = $_POST["idinv"];
$name = $_POST["name"];
$quality = $_POST["textAreaAddGame"];
$color = $_POST["color"];
$cost = $_POST["cost"];
$costplace = $_POST["costplace"];
$place = $_POST["place"];
$freeplace = $_POST["freeplace"];
$busyplace = $_POST["busyplace"];
$winsteamid = $_POST["winsteamid"];
$winplace = $_POST["winplace"];
$random = $_POST["random"];
$signature = $_POST["signature"];
if($_POST["gameend"] == '0'){
$gameend = 0;
} else {
$gameend = time();
}
$nameFile = $_FILES["file"]["name"];
$chekfile=file_exists("../upload/".$_FILES["file"]["name"]);
$len = strlen ($nameFile);
if ($len > 4)
{
$uploadfile = "../upload/".$_FILES['file']['name'];
move_uploaded_file($_FILES['file']['tmp_name'], $uploadfile);
$icon = "/upload/".$_FILES['file']['name'];
mysql_query("UPDATE `games` SET `icon`='$icon' WHERE `id`='$id'");
}
mysql_query("UPDATE `games` SET `classidinv`='$classidinv', `instanceidinv`='$instanceidinv', `idinv`='$idinv', `name`='$name', `quality`='$quality', `color`='$color', `cost`='$cost', `costplace`='$costplace', `place`='$place', `freeplace`='$freeplace', `busyplace`='$busyplace', `winsteamid`='$winsteamid', `winplace`='$winplace', `random`='$random', `signature`='$signature' WHERE `id`='$id'");
if($gameend != 0){
Header("Location: /?message=1");
} else {
Header("Location: /?message=1");
}
exit;
} else {
Header("Location: /");
exit;
}
?>
<?php
@include_once('../system/lang.php');
if(!isset($_COOKIE['lang'])) {
setcookie("lang","ru",2147485547);
$lang = "ru";
} else $lang = $_COOKIE["lang"];
@include_once('../system/dbconfig.php');
require('../steamauth/steamauth.php');
$steamida = preg_replace("/[^0-9]/", '', $_SESSION["steamid"]);
$zp = mysql_query("SELECT * FROM `users` WHERE `steamid`='$steamida'");
$admin = mysql_fetch_array($zp);
$admins = $admin["admin"];
$result = mysql_query("SELECT `value` FROM `settings` WHERE `name`='sitess'");
$row = mysql_fetch_assoc($result);
$sitename = $row['value'];
$title = $sitename.' - Твое место! Твоя удача!';
$result = mysql_query("SELECT `value` FROM `settings` WHERE `name`='sites'");
$row = mysql_fetch_assoc($result);
$sitenames = $row['value'];
if($admins == 1){
$id = $_GET["id"];
$z = mysql_query("SELECT * FROM `games` WHERE `id`='$id'");
$row = mysql_fetch_array($z);
if($row["gameend"]){
$uid = $row["winsteamid"];
$zapusertab = mysql_query("SELECT * FROM `users` WHERE `steamid`='$uid'");
$rowzap = mysql_fetch_assoc($zapusertab);
}
if(isset($_SESSION["steamid"])){
include_once('../steamauth/userInfo.php');}
?>
<?php include 'head.php';?>
<div class="centerblock">
<div class="pageTitle">Редактирование предмета</div>
<div class="pageMain" style="padding: 20px;min-height: 245px;">
<form method="POST" action="/admin/gameedits.php" enctype = 'multipart/form-data'>
<div id="pageMainLeft">
<h2></h2>
<div id="pictureTovar"style="top: 14px;position: relative;">
<?php
echo '<img class="imgProduct" style ="width: 200px;height: 265px;" src="'.$sitenames.$row["icon"].'">';
?>
<?php
if(!$row["gameend"]){
echo'<div class="file-upload"><label>
<input type="file" name="file">
<span>ЗАГРУЗИТЬ</span>
</label></div>';
}
?>
<input type="text" id="filename" class="filename" disabled>
</div>
</div>
<div id="pageMainRight">
<div id="informblock2" style="position:relative;left:-12px;">
<h2 style="top:7px;left:-57px;">Информация о предмете: </h2>
<?php
echo '<input type="text" name="id" value="'.$row["id"].'"disabled>';
?>
<label>ID:</label>
</div>
<table class="top2" style="margin-bottom: 30px;top: -30px;position: relative;left:-20px;">
<thead>
<tbody class="tvodyAddgame">
<tr>
<td style="text-align: left;">Наименование</td>
</tr>
</tbody>
</thead>
<tbody>
<tr class="selector-profile"style="top:45px;position:absolute;">
<?php
echo '<td style="padding: 0;text-align: start;"><input type="text" class="editinputgame" name="name" placeholder=""id="name" value="'.$row["name"].'"></td>';
?>
</tr>
</tbody>
<thead>
<tbody class="tvodyAddgame">
<tr>
<td style="text-align: left;top: 23px;">Описание/Характеристика</td>
</tr>
</tbody>
</thead>
<tbody>
<tr class="selector-profile">
<?php
echo '<td style="padding: 0;text-align: start;"><textarea id="textAreaAddGame" name="textAreaAddGame" rows="4" cols="114" placeholder=""style="top:27px;">'.$row["quality"].'</textarea></td>';
?>
</tr>
</tbody>
<thead>
<tr>
<td style="text-align: left; position: relative; top: 20px;"><div id="informblock2">
<h2 style="left:-50px;top:29px;">Техническая информация: </h2>
</div></td>
</tr>
</thead>
<tbody class="tvodyAddgame">
<tr>
<td style="text-align: left;top:11px;">Цена в магазине</td>
<td style="text-align: left; margin-left: 145px;top:11px;">Стоимость одного места</td>
<td style="text-align: left; margin-left: 86px;top:11px;">Кол-во мест</td>
</tr>
</tbody>
<tbody class="tvodyAddgame1">
<tr class="selector-profile">
<?php
echo '<td style="width: 300px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="cost" style="width: 250px;color: #434a54;top:15px;" id="name" value="'.$row['cost'].'"></td>
<td style="width: 300px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="costplace" style="width: 250px;color: #434a54;top:15px;" id="name" value="'.$row['costplace'].'"></td>
<td style="width: 277px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="place" style="width: 250px;color: #434a54;top:15px;" id="name" value="'.$row['place'].'"></td>';
?>
</tr>
</tbody>
<tbody class="tvodyAddgame">
<tr>
<td style="text-align: left;top:0px;">Кол-во занятых мест</td>
<td style="text-align: left; margin-left: 120px;top:0px;">Кол-во свободных мест</td>
<td style="text-align: left; margin-left: 96px;top:0px;">Статус предмета</td>
</tr>
</tbody>
<tbody class="tvodyAddgame1">
<tr class="selector-profile">
<?php
if($row['gameend'] <= 0){
$stgame = "Идет";
}
else{
$stgame = "Завершилось";
}
echo '<td style="width: 300px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="busyplace" style="width: 250px;color: #434a54;top:4px;" id="name" value="'.$row['busyplace'].'"></td>
<td style="width: 300px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="freeplace" style="width: 250px;color: #434a54;top:4px;" id="name" value="'.$row['freeplace'].'"></td>
<td style="width: 277px;padding: 0;text-align: start;"><input type="text" class="editinputgame" name="gameend" style="width: 250px;color: #434a54;top:4px;" id="name" value="'.$stgame.'"disabled></td>';
?>
</tr>
</tbody>
<?php
if($stgame == "Завершилось"){
echo '<thead>
<tr>
<td style="text-align: left; position: relative; top: 20px;"><div id="informblock2">
<h2 style="left:-50px;top:8px;">Данные случайного обладателя: </h2>
</div></td>
</tr>
</thead>
<tbody class="tvodyAddgame">
<tr>
<td style="text-align: left;top:-10px;">Страница социальной сети</td>
<td style="text-align: left; margin-left: 59px;top:-10px;">Страница сайта</td>
<td style="text-align: left; margin-left: 167px;top:-10px;">Случайное место</td>
</tr>
</tbody>
<tbody class="tvodyAddgame1">
<tr class="selector-profile">';
?>
<?php
echo '<td style="width: 300px;padding: 0;text-align: start;"><input type="submit" class="editinputgame1" name="busyplace" style="color: white!important;top:-6px;" id="name" formaction="'.$rowzap['trade'].'" formtarget="output" value="Перейти"></td>
<td style="width: 300px;padding: 0;text-align: start;"><input type="submit" class="editinputgame1" name="freeplace" style="color:white!important;top:-6px;" formaction="'.$sitenames.'admin/usersedit.php?id='.$rowzap['steamid'].'" formtarget="output" value="Перейти" id="name" ></td>
<td style="width: 277px;padding: 0;text-align: start;"><input type="submit" class="editinputgame1" name="" style="color: white!important;top:-6px;" id="name" formaction="https://api.random.org/verify" value="'.$row['winplace'].'"disabled></td>';
}
?>
</tr>
</table>
<?php
if($stgame == "Завершилось"){
echo '<input type="submit" formaction="/admin/gameend.php" class="butsta" href="#" style="float: right;top:-35px;right:75px;" value="Закрыть">';
}
else{
echo '<input type="submit" class="butsta" href="#" style="float: right;top: -25px;right: 70px;" value="СОХРАНИТЬ">';
}
?>
<div style="clear: both;"></div>
</div>
</form>
</div>
<div style="clear: both;"></div>
</div>
</body>
</html>
а) вынести форму баланса за форму доставки;Немного баланс съехал, а так все работает!
Все решил вопрос......... Спасибо))