-
Notifications
You must be signed in to change notification settings - Fork 0
/
checkcss.php
51 lines (51 loc) · 1.22 KB
/
checkcss.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
<?php
if(mysqli_num_rows($result) <=3 && mysqli_num_rows($result) > 0){
?>
<div class="PropertyDiv3Items">
<?php
}
if(mysqli_num_rows($result) <=6 && mysqli_num_rows($result) > 3){
?>
<div class="PropertyDiv6Items">
<?php
}
else if(mysqli_num_rows($result) <=9 && mysqli_num_rows($result) > 6){
?>
<div class="PropertyDiv9Items">
<?php
}
else if(mysqli_num_rows($result) <=12 && mysqli_num_rows($result) > 9){
?>
<div class="PropertyDiv12Items">
<?php
}
else if(mysqli_num_rows($result) <=15 && mysqli_num_rows($result) > 12){
?>
<div class="PropertyDiv15Items">
<?php
}
else if(mysqli_num_rows($result) <=18 && mysqli_num_rows($result) > 15){
?>
<div class="PropertyDiv18Items">
<?php
}
else if(mysqli_num_rows($result) <=21 && mysqli_num_rows($result) > 18){
?>
<div class="PropertyDiv21Items">
<?php
}
else if(mysqli_num_rows($result) <=24 && mysqli_num_rows($result) > 21){
?>
<div class="PropertyDiv24Items">
<?php
}
else if(mysqli_num_rows($result) <=27 && mysqli_num_rows($result) > 24){
?>
<div class="PropertyDiv27Items">
<?php
}
else if(mysqli_num_rows($result) <=30 && mysqli_num_rows($result) > 27){
?>
<div class="PropertyDiv30Items">
<?php
}