Временно соедилини css и файл который его вызывает для оптимизации стилей.

This commit is contained in:
Igor Barkov (iwork) 2020-06-23 12:32:12 +03:00
parent def341adf9
commit 3ab06a703b
2 changed files with 55 additions and 60 deletions

View File

@ -1,11 +1,11 @@
<?php <?php
session_start(); session_start();
if (!($_SESSION['uid'] > 0)) header("Location: index.php"); if (!($_SESSION['uid'] > 0)) header("Location: index.php");
include "config.php"; include "config.php";
include "functions.php"; include "functions.php";
$user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;")); $user = mysql_fetch_array(mysql_query("SELECT * FROM `users` WHERE `id` = '{$_SESSION['uid']}' LIMIT 1;"));
if($user['room']==403){ if ($user['room'] == 403) {
include "startpodzemel.php"; include "startpodzemel.php";
if ($user['battle'] != 0) { header('location: fbattle.php'); die(); } if ($user['battle'] != 0) { header('location: fbattle.php'); die(); }
@ -708,9 +708,58 @@ background-color: #d4cbaa;
color: #000000; color: #000000;
} }
body {
margin: 0;
padding: 0;
width:100%;
font-family: Arial;
font-size: 9px;
}
table {
border-collapse: collapse;
}
td {
margin: 0;
padding: 0;
}
img {
border:0;
}
#corners {
background: url(images/4.jpg) center top no-repeat;
}
A:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
A:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
A:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
.form {
background-color: #5B0200;
color: #000000;
border: 1px solid #6F4B3F;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #DAA43A;
font-size: 11px;
width: 89px;
height: 18px;
text-align: left;
position: inherit;
padding-bottom: 0;
}
hr {
background : #fddd00;
border-top : 1px solid #fddd00;
color : #fddd00;
height : 2px
}
</style> </style>
<LINK REL=StyleSheet HREF='css/style.css' TYPE='text/css'>
<script> <script>
const rnd = Math.random(); const rnd = Math.random();

View File

@ -1,54 +0,0 @@
body {
margin: 0;
padding: 0;
width:100%;
font-family: Arial;
font-size: 9px;
}
table {
border-collapse: collapse;
}
td {
margin: 0;
padding: 0;
}
img {
border:0;
}
#corners {
background: url(images/4.jpg) center top no-repeat;
}
A:link { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
A:visited { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
A:hover { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; color: #fddd00; text-decoration:none;}
.form {
background-color: #5B0200;
color: #000000;
border: 1px solid #6F4B3F;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #DAA43A;
font-size: 11px;
width: 89px;
height: 18px;
text-align: left;
position: inherit;
padding-bottom: 0;
}
hr {
background : #fddd00;
border-top : 1px solid #fddd00;
color : #fddd00;
height : 2px
}