-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathlogshouse.php
39 lines (37 loc) · 1.29 KB
/
logshouse.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
session_start();
if(!isset($_SESSION["session_username"])) {
header("location:login.php");
} else {
?>
<?
include("header/header.php");
?>
<h1 style="text-align: center;"><font color="1168a6"><font size="6"><font face="Tahoma, Geneva, sans-serif"> </font></font></font></h1>
<tr><td class="middel"><div class="box"><div class="boxtitle">Информация о доме</div>
<meta charset="utf-8">
<title>MorganDusty LOGS++</title>
<link href="assets/styles.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/jquery.form.js"></script>
<table width="100%" border="0">
<?php
$id=$_GET['id'];
require_once("includes/logs.php");
$result=mysqli_query($con,"SELECT * FROM houses WHERE ID='$id'");
while($row=mysqli_fetch_array($result))
echo '<p>Номер дома<b style = "margin-left: 316px;">'.$row['ID'].'</b><br>
Владелец<b style = "margin-left: 333px;"><a href=/logsaccount?name='.$row['Owner'].'>'.$row['Owner'].'</a></b><br>
Налог<b style = "margin-left: 353px;">'.$row['Nalog'].'</b><br>
Гос. Цена<b style = "margin-left: 332px;">'.$row['Cost'].'</b></p><br>';
?>
<html>
<?
include("header/footer.php");
?>
</table>
</div></div></body>
</html>
<?php
}
?>