Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 187 lines (173 sloc) 4.96 KB
<?php
$apts = array(201 => array('A','B','C','D'),
202 => array('A','B','C','D'),
203 => array('A','B'),
204 => array('A','B'),
205 => array('A','B'),
206 => array('A','B'),
207 => array('A','B','C','D'),
208 => array('A','B','C','D'),
209 => array('A','B','C','D'),
210 => array('A','B','C','D'),
211 => array('A','B'),
212 => array('A','B'),
213 => array('A','B'),
214 => array('A','B'),
215 => array('A','B','C','D'),
216 => array('A','B','C','D'),
301 => array('A','B'),
302 => array('A','B'),
303 => array('A','B'),
304 => array('A','B'),
305 => array('A','B'),
306 => array('A','B'),
307 => array('A','B'),
308 => array('A','B'),
// singles are efficiencies
401 => array('A','B'),
402 => array('A','B'),
403 => array('A'),
404 => array('A'),
405 => array('A'),
406 => array('A'),
407 => array('A','B'),
408 => array('A','B'),
409 => array('A','B'),
410 => array('A','B'),
411 => array('A'),
412 => array('A'),
413 => array('A'),
414 => array('A'),
415 => array('A','B'),
416 => array('A','B'),
// singles are efficiencies
501 => array('A','B'),
502 => array('A','B'),
503 => array('A'),
504 => array('A'),
505 => array('A'),
506 => array('A'),
507 => array('A','B'),
508 => array('A','B'),
509 => array('A','B'),
510 => array('A','B'),
511 => array('A'),
512 => array('A'),
513 => array('A'),
514 => array('A'),
515 => array('A','B'),
516 => array('A','B'),
601 => array('A','B','C','D'),
602 => array('A','B','C','D'),
603 => array('A','B'),
604 => array('A','B'),
605 => array('A','B'),
606 => array('A','B'),
607 => array('A','B','C','D'),
608 => array('A','B','C','D'),
609 => array('A','B','C','D'),
610 => array('A','B','C','D'),
611 => array('A','B'),
612 => array('A','B'),
613 => array('A','B'),
614 => array('A','B'),
615 => array('A','B','C','D'),
616 => array('A','B','C','D'),
701 => array('A','B','C','D'),
702 => array('A','B','C','D'),
703 => array('A','B'),
704 => array('A','B'),
705 => array('A','B'),
706 => array('A','B'),
707 => array('A','B','C','D'),
708 => array('A','B','C','D'),
709 => array('A','B','C','D'),
710 => array('A','B','C','D'),
711 => array('A','B'),
712 => array('A','B'),
713 => array('A','B'),
714 => array('A','B'),
715 => array('A','B','C','D'),
716 => array('A','B','C','D'),
801 => array('A','B','C','D'),
802 => array('A','B','C','D'),
803 => array('A','B'),
804 => array('A','B'),
805 => array('A','B'),
806 => array('A','B'),
807 => array('A','B','C','D'),
808 => array('A','B','C','D'),
809 => array('A','B','C','D'),
810 => array('A','B','C','D'),
811 => array('A','B'),
812 => array('A','B'),
813 => array('A','B'),
814 => array('A','B'),
815 => array('A','B','C','D'),
816 => array('A','B','C','D'),
901 => array('A','B'),
902 => array('A','B'),
903 => array('A'),
904 => array('A'),
905 => array('A'),
906 => array('A'),
907 => array('A','B'),
908 => array('A','B'),
909 => array('A','B'),
910 => array('A','B'),
911 => array('A'),
912 => array('A'),
913 => array('A'),
914 => array('A'),
915 => array('A','B'),
916 => array('A','B'),
1001 => array('A','B'),
1002 => array('A','B'),
1003 => array('A','B'),
1004 => array('A','B'),
1005 => array('A','B'),
1006 => array('A','B'),
1007 => array('A','B'),
1008 => array('A','B'),
// singles are one bedrooms
1101 => array('A','B'),
1102 => array('A','B'),
1103 => array('A'),
1104 => array('A'),
1105 => array('A'),
1106 => array('A'),
1107 => array('A','B'),
1108 => array('A','B'),
1109 => array('A','B'),
1110 => array('A','B'),
1111 => array('A'),
1112 => array('A'),
1113 => array('A'),
1114 => array('A'),
1115 => array('A','B'),
1116 => array('A','B'),
// singles are one bedrooms
1201 => array('A','B'),
1202 => array('A','B'),
1203 => array('A'),
1204 => array('A'),
1205 => array('A'),
1206 => array('A'),
1207 => array('A','B'),
1208 => array('A','B'),
1209 => array('A','B'),
1210 => array('A','B'),
1211 => array('A'),
1212 => array('A'),
1213 => array('A'),
1214 => array('A'),
1215 => array('A','B'),
1216 => array('A','B'));
if (!function_exists('str_rot13')) {
function str_rot13($str) {
$from = 'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$to = 'nopqrstuvwxyzabcdefghijklmNOPQRSTUVWXYZABCDEFGHIJKLM';
return strtr($str, $from, $to);
}
}
?>