8335ce9e648031f6680d02a544d6cdf475d7f312.svn-base
4.99 KB
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
<? include $_SERVER["DOCUMENT_ROOT"] . "/common/classes/ApiBill.php"; ?>
<?
$obj = new ApiBill($_REQUEST);
$data = $obj->getBuildingInfo() ;
// echo json_encode($data) ;
?>
<div class="Wrap" style="height:100%">
<!-- 리스트 -->
<div class="contant con2 buil_list">
<ul>
<li>
<a></a>
<a style="font-weight:bold;">건물정보</a>
<a></a>
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>건물명</a><!-- 이름 -->
<a><?= $data["name"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>건물종류</a><!-- 이름 -->
<a>
<? if($data["type"] == "SG") { ?> 원룸
<? } else if($data["type"] == "OF") { ?> 오피스텔
<? } else if($data["type"] == "UB") { ?> 도생
<? } else if($data["type"] == "AP") { ?> 아파트
<? } else if($data["type"] == "HS") { ?> 주택
<? } else if($data["type"] == "ET") { ?> 기타
<? } ?>
</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>건물주소</a><!-- 이름 -->
<a><?= $data["address"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>계약만기</a><!-- 이름 -->
<a><?= $data["expireDate"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
</ul>
</div>
<div class="contant con2 buil_list">
<ul>
<li>
<a></a>
<a style="font-weight:bold;">호실정보</a>
<a></a>
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>호실수</a><!-- 이름 -->
<a><?= $data["room_cnt"] ?>호</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>입주수</a><!-- 이름 -->
<a><?= $data["resident_cnt"] ?>호</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>공실수</a><!-- 이름 -->
<a><?= $data["vacant_cnt"] ?>호</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>퇴실예정</a><!-- 이름 -->
<a><?= $data["leaving_cnt"] ?>호</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>입실예정</a><!-- 이름 -->
<a><?= $data["entering_cnt"] ?>호</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
</ul>
</div>
<div class="contant con2 buil_list">
<ul>
<li>
<a></a>
<a style="font-weight:bold;">건물주정보</a>
<a></a>
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>건물주</a><!-- 이름 -->
<a><?= $data["owner_name"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>연락처</a><!-- 이름 -->
<a><?= $data["owner_tel"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>주소</a><!-- 이름 -->
<a><?= $data["owner_address"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>건물주계좌</a><!-- 이름 -->
<a><?= $data["owner_account_bank"] ?><!-- 은행 -->
<?= $data["owner_account_no"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
</ul>
</div>
<div class="contant con2 buil_list">
<ul>
<li>
<a></a>
<a style="font-weight:bold;">기타정보</a>
<a></a>
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>임대관리자</a><!-- 이름 -->
<a><?= $data["rent_manager"] ?></a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>관리비 부과 기준일</a><!-- 이름 -->
<a><?= $data["manage_pay_date"] ?>일</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
<li>
<a><img src="/web/inc/images/circle_bg.png" width="100%"/></a>
<a>공실율</a><!-- 이름 -->
<a class="jPopup" page="popupVacant.php" style="background:url('/web/inc/images/ic_list_arrow.png') no-repeat center right; padding-right:8%;">
<?
if($data["room_cnt"] > 0) {
echo round(($data["vacant_cnt"] / $data["room_cnt"] * 100), 2) ;
} else {
echo "0" ;
}
?> %
</a><!-- 내용 -->
</li>
<div style="clear:both;"></div>
</ul>
</div>
<!-- 리스트 -->
<!-- 비고 -->
<div class="note">
<div>
<ul class="text1">
<li>비고</li>
<li style="word-break:break-all;"><?= $data["note"] ?></li><!-- 비고내용 -->
</ul>
</div>
</div>
<!-- 비고 -->