-
Notifications
You must be signed in to change notification settings - Fork 0
/
unit_detail_en.php
206 lines (161 loc) · 6.73 KB
/
unit_detail_en.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
<?php
session_start();
?>
<!DOCTYPE HTML><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="user-scalable=no, initial-scale=1.0, maximum-scale=1.0 minimal-ui"/>
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="images/splash/splash-icon.png">
<link rel="apple-touch-icon-precomposed" sizes="180x180" href="images/splash/splash-icon-big.png">
<link rel="apple-touch-startup-image" href="images/splash/splash-screen.png" media="screen and (max-device-width: 320px)" />
<link rel="apple-touch-startup-image" href="images/splash/[email protected]" media="(max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2)" />
<link rel="apple-touch-startup-image" href="images/splash/splash-screen-six.png" media="(device-width: 375px)">
<link rel="apple-touch-startup-image" href="images/splash/splash-screen-six-plus.png" media="(device-width: 414px)">
<link rel="apple-touch-startup-image" sizes="640x1096" href="images/splash/[email protected]" />
<link rel="apple-touch-startup-image" sizes="1024x748" href="images/splash/splash-screen-ipad-landscape" media="screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : landscape)" />
<link rel="apple-touch-startup-image" sizes="768x1004" href="images/splash/splash-screen-ipad-portrait.png" media="screen and (min-device-width : 481px) and (max-device-width : 1024px) and (orientation : portrait)" />
<link rel="apple-touch-startup-image" sizes="1536x2008" href="images/splash/splash-screen-ipad-portrait-retina.png" media="(device-width: 768px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)"/>
<link rel="apple-touch-startup-image" sizes="1496x2048" href="images/splash/splash-screen-ipad-landscape-retina.png" media="(device-width: 768px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)"/>
<title>Fish Market</title>
<link rel="stylesheet" href="css2/style.css">
<link href="styles/style.css" rel="stylesheet" type="text/css">
<link href="styles/framework.css" rel="stylesheet" type="text/css">
<link href="styles/owl.theme.css" rel="stylesheet" type="text/css">
<link href="styles/swipebox.css" rel="stylesheet" type="text/css">
<link href="styles/font-awesome.css" rel="stylesheet" type="text/css">
<link href="styles/animate.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="scripts/jquery.js"></script>
<script type="text/javascript" src="scripts/jqueryui.js"></script>
<script type="text/javascript" src="scripts/framework.plugins.js"></script>
<script type="text/javascript" src="scripts/custom.js"></script>
<style>
/*
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
/* Force table to not be like tables anymore */
table, thead, tbody, th, td, tr {
display: block;
}
/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;
top: -9999px;
left: -7777px;
}
tr { border: 1px solid #ccc; }
td {
/* Behave like a "row" */
border: none;
border-bottom: 1px solid #eee;
position: relative;
padding-left: 50%;
}
td:before {
/* Now like a table header */
position: absolute;
/* Top/left values mimic padding */
top: 6px;
left: 6px;
width: 85%;
padding-right: 5px;
white-space: nowrap;
}
/*
Label the data
*/
td:nth-of-type(1):before { content: "Sr #"; }
td:nth-of-type(2):before { content: "Property Name"; }
td:nth-of-type(3):before { content: "Property Type"; }
td:nth-of-type(4):before { content: "Block No"; }
td:nth-of-type(5):before { content: "Annual Lease"; }
td:nth-of-type(6):before { content: "Commision Amount"; }
td:nth-of-type(7):before { content: "Comission"; }
td:nth-of-type(8):before { content: "Description"; }
td:nth-of-type(9):before { content: "Develop Process"; }
td:nth-of-type(10):before { content: "Status"; }
}
}
/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
body {
padding: 0;
margin: 0;
width: 420px; }
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
body {
width: 495px;
}
}
</style>
</head>
<body>
<div id="preloader">
<div id="status">
<!-- <p class="center-text">
يرجى الانتظار.....
<em>جاري عرض البيانات...</em>
</p>-->
<p class="center-text">
Loading the content...
<em>Loading depends on your connection speed!</em>
</p>
</div>
</div>
<?php include("language_selector.php")?>
<div class="all-elements">
<div class="snap-drawers">
<!-- Left Sidebar -->
<div class="snap-drawer snap-drawer-left">
<div class="sidebar-divider" align="center" >
Welcome
</div>
<ul class="sidebar-navigation">
<li><a href="en_welcome.php"><i class="fa fa-home"></i>Back to Main Page<i class="fa fa-caret-right"></i></a></li>
</ul>
<?php include("slider.php")?>
</div>
</div>
<!-- Page Content-->
<div id="content" class="snap-content">
<div style="margin-top:30px; padding-top:10px; text-align:center; height:40px; background:#27B2B9;Color:#000000;">Unit Details </div>
<div id="page-wrap">
<table>
<thead>
</thead>
<tbody>
<?php
$owner = $_SESSION['Id'];
$cid = $_SESSION['real_state'];
$propertyDetail =Unitdetailowner($owner,$cid);
for($i=0; $i<count($propertyDetail); $i++)
{
?>
<tr>
<td><?php echo $i+1;?></td>
<td><?php echo propertyName($propertyDetail[$i]['property_name']);?></td>
<td><?php echo propertytype($propertyDetail[$i]['property_type']); ?></td>
<td><?php echo $propertyDetail[$i]['block_no'];?></td>
<td><?php echo $propertyDetail[$i]['annul_lease'];?></td>
<td><?php echo $propertyDetail[$i]['comission_amount'];?></td>
<td><?php echo $propertyDetail[$i]['comission'];?></td>
<td><?php echo $propertyDetail[$i]['desc-unity'];?></td>
<td><?php echo $propertyDetail[$i]['develop_proces'];?></td>
<td><?php echo $propertyDetail[$i]['status'];?></td>
</tr>
<?php }?>
</tbody>
</table>
</div>
</div>
</div>
</body>