Passed
Pull Request — master (#205)
by Kiran
06:14
created
geodirectory-admin/option-pages/design_settings_array.php 3 patches
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,8 +40,9 @@
 block discarded – undo
40 40
     $geodir_active_nav_locations = get_nav_menu_locations();
41 41
     if (!empty($geodir_active_nav_locations) && is_array($geodir_active_nav_locations)) {
42 42
         foreach ($geodir_active_nav_locations as $key => $theme_location) {
43
-            if (!empty($geodir_all_nav_locations) && is_array($geodir_all_nav_locations) && array_key_exists($key, $geodir_all_nav_locations))
44
-                $post_type_arr[$key] = $geodir_all_nav_locations[$key];
43
+            if (!empty($geodir_all_nav_locations) && is_array($geodir_all_nav_locations) && array_key_exists($key, $geodir_all_nav_locations)) {
44
+                            $post_type_arr[$key] = $geodir_all_nav_locations[$key];
45
+            }
45 46
         }
46 47
     }
47 48
 
Please login to merge, or discard this patch.
Indentation   +30 added lines, -30 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Design tab settings.
4
- *
5
- * @since 1.0.0
6
- * @package GeoDirectory
7
- * @global array $geodir_settings Geodirectory settings array.
8
- */
3
+     * Design tab settings.
4
+     *
5
+     * @since 1.0.0
6
+     * @package GeoDirectory
7
+     * @global array $geodir_settings Geodirectory settings array.
8
+     */
9 9
 global $geodir_settings;
10 10
 
11 11
 
@@ -48,11 +48,11 @@  discard block
 block discarded – undo
48 48
     return $post_type_arr;
49 49
 }
50 50
 /**
51
- * Filter GD design settings array.
52
- *
53
- * @since 1.0.0
54
- * @package GeoDirectory
55
- */
51
+     * Filter GD design settings array.
52
+     *
53
+     * @since 1.0.0
54
+     * @package GeoDirectory
55
+     */
56 56
 $geodir_settings['design_settings'] = apply_filters('geodir_design_settings', array(
57 57
 
58 58
     /* Home Layout Settings start */
@@ -412,7 +412,7 @@  discard block
 block discarded – undo
412 412
         'std' => '0' // Default value to show home top section
413 413
     ),
414 414
 	
415
-	array(
415
+    array(
416 416
         'name' => __('Show advanced pagination details', 'geodirectory'),
417 417
         'desc' => __('This will add extra pagination info like "Showing listings x-y of z" aftre/before pagination.', 'geodirectory'),
418 418
         'id' => 'geodir_pagination_advance_info',
@@ -421,10 +421,10 @@  discard block
 block discarded – undo
421 421
         'type' => 'select',
422 422
         'class' => 'chosen_select',
423 423
         'options' => array(
424
-						'' => __('Never Display', 'geodirectory'),
425
-						'after' => __('After Pagination', 'geodirectory'),
426
-						'before' => __('Before Pagination', 'geodirectory')
427
-					)
424
+                        '' => __('Never Display', 'geodirectory'),
425
+                        'after' => __('After Pagination', 'geodirectory'),
426
+                        'before' => __('Before Pagination', 'geodirectory')
427
+                    )
428 428
     ),
429 429
 
430 430
     array('type' => 'sectionend', 'id' => 'geodir_search_layout'),
@@ -577,20 +577,20 @@  discard block
 block discarded – undo
577 577
         'std' => '0',
578 578
         'value' => geodir_plugin_url() . '/geodirectory-assets/images/stars.png'// Default value to show home top section
579 579
     ),
580
-	array(
581
-		'name' => __('Enable Font Awesome', 'geodirectory'),
582
-		'desc' => __('When enabled all rating images will be using font awesome rating icons as images.', 'geodirectory' ),
583
-		'id' => 'geodir_reviewrating_enable_font_awesome',
584
-		'type' => 'checkbox',
585
-		'std' => '0'
586
-	),
587
-	array(
588
-		'name' => __('Rating Icon Color', 'geodirectory'),
589
-		'desc' => __('Enter hexadecimal color for font awesome rating icons. Default: #757575', 'geodirectory'),
590
-		'id' => 'geodir_reviewrating_fa_full_rating_color',
591
-		'type' => 'color',
592
-		'std' => '#757575'
593
-	),
580
+    array(
581
+        'name' => __('Enable Font Awesome', 'geodirectory'),
582
+        'desc' => __('When enabled all rating images will be using font awesome rating icons as images.', 'geodirectory' ),
583
+        'id' => 'geodir_reviewrating_enable_font_awesome',
584
+        'type' => 'checkbox',
585
+        'std' => '0'
586
+    ),
587
+    array(
588
+        'name' => __('Rating Icon Color', 'geodirectory'),
589
+        'desc' => __('Enter hexadecimal color for font awesome rating icons. Default: #757575', 'geodirectory'),
590
+        'id' => 'geodir_reviewrating_fa_full_rating_color',
591
+        'type' => 'color',
592
+        'std' => '#757575'
593
+    ),
594 594
 
595 595
     array('type' => 'sectionend', 'id' => 'geodir_detail_page_tab_settings'),
596 596
 
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -579,7 +579,7 @@
 block discarded – undo
579 579
     ),
580 580
 	array(
581 581
 		'name' => __('Enable Font Awesome', 'geodirectory'),
582
-		'desc' => __('When enabled all rating images will be using font awesome rating icons as images.', 'geodirectory' ),
582
+		'desc' => __('When enabled all rating images will be using font awesome rating icons as images.', 'geodirectory'),
583 583
 		'id' => 'geodir_reviewrating_enable_font_awesome',
584 584
 		'type' => 'checkbox',
585 585
 		'std' => '0'
Please login to merge, or discard this patch.
geodirectory-admin/option-pages/general_settings_array.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
 
123 123
     array('type' => 'sectionend', 'id' => 'general_options'),
124 124
 
125
-));/* General Options End*/
125
+)); /* General Options End*/
126 126
 
127 127
 /**
128 128
  * Filter GD Google Analytic Settings array.
Please login to merge, or discard this patch.
geodirectory-admin/option-pages/notifications_settings_array.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
         'id' => 'geodir_post_submited_success_email_subject_admin',
130 130
         'type' => 'text',
131 131
         'css' => 'min-width:300px;',
132
-        'std' => __('Post Submitted Successfully','geodirectory') // Default value for the page title - changed in settings
132
+        'std' => __('Post Submitted Successfully', 'geodirectory') // Default value for the page title - changed in settings
133 133
     ),
134 134
     array(
135 135
         'name' => '',
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         'id' => 'geodir_post_submited_success_email_content_admin',
138 138
         'css' => 'width:500px; height: 150px;',
139 139
         'type' => 'textarea',
140
-        'std' => __('<p>Dear Admin,</p><p>A new  listing has been published [#listing_link#]. This email is just for your information.</p><br><p>[#site_name#]</p>','geodirectory')
140
+        'std' => __('<p>Dear Admin,</p><p>A new  listing has been published [#listing_link#]. This email is just for your information.</p><br><p>[#site_name#]</p>', 'geodirectory')
141 141
     ),
142 142
 
143 143
 
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
         'id' => 'geodir_post_submited_success_email_subject',
155 155
         'type' => 'text',
156 156
         'css' => 'min-width:300px;',
157
-        'std' => __('Post Submitted Successfully','geodirectory') // Default value for the page title - changed in settings
157
+        'std' => __('Post Submitted Successfully', 'geodirectory') // Default value for the page title - changed in settings
158 158
     ),
159 159
     array(
160 160
         'name' => '',
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         'id' => 'geodir_post_submited_success_email_content',
163 163
         'css' => 'width:500px; height: 150px;',
164 164
         'type' => 'textarea',
165
-        'std' => __('<p>Dear [#client_name#],</p><p>You submitted the below listing information. This email is just for your information.</p><p>[#listing_link#]</p><br><p>Thank you for your contribution.</p><p>[#site_name#]</p>','geodirectory')
165
+        'std' => __('<p>Dear [#client_name#],</p><p>You submitted the below listing information. This email is just for your information.</p><p>[#listing_link#]</p><br><p>Thank you for your contribution.</p><p>[#site_name#]</p>', 'geodirectory')
166 166
     ),
167 167
 
168 168
 
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
         'id' => 'geodir_forgot_password_content',
181 181
         'css' => 'width:500px; height: 150px;',
182 182
         'type' => 'textarea',
183
-        'std' => __("<p>Dear [#client_name#],<p><p>You requested a new password for [#site_name_url#]</p><p>[#login_details#]</p><p>You can login here: [#login_url#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>",'geodirectory')
183
+        'std' => __("<p>Dear [#client_name#],<p><p>You requested a new password for [#site_name_url#]</p><p>[#login_details#]</p><p>You can login here: [#login_url#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>", 'geodirectory')
184 184
     ),
185 185
 
186 186
     array(
@@ -197,7 +197,7 @@  discard block
 block discarded – undo
197 197
         'id' => 'geodir_registration_success_email_content',
198 198
         'css' => 'width:500px; height: 150px;',
199 199
         'type' => 'textarea',
200
-        'std' => __("<p>Dear [#client_name#],</p><p>You can log in  with the following information:</p><p>[#login_details#]</p><p>You can login here: [#login_url#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>",'geodirectory')
200
+        'std' => __("<p>Dear [#client_name#],</p><p>You can log in  with the following information:</p><p>[#login_details#]</p><p>You can login here: [#login_url#]</p><p>Thank you,<br /><br />[#site_name_url#].</p>", 'geodirectory')
201 201
     ),
202 202
     array(
203 203
         'name' => __('Listing published email', 'geodirectory'),
@@ -236,7 +236,7 @@  discard block
 block discarded – undo
236 236
         'id' => 'geodir_email_friend_content',
237 237
         'css' => 'width:500px; height: 150px;',
238 238
         'type' => 'textarea',
239
-        'std' => __("<p>Dear [#to_name#],<p><p>Your friend has sent you a message from <b>[#site_name#]</b> </p><p>===============================</p><p><b>Subject : [#subject#]</b></p><p>[#comments#] [#listing_link#]</p><p>===============================</p><p>Thank you,<br /><br />[#site_name#].</p>",'geodirectory')
239
+        'std' => __("<p>Dear [#to_name#],<p><p>Your friend has sent you a message from <b>[#site_name#]</b> </p><p>===============================</p><p><b>Subject : [#subject#]</b></p><p>[#comments#] [#listing_link#]</p><p>===============================</p><p>Thank you,<br /><br />[#site_name#].</p>", 'geodirectory')
240 240
     ),
241 241
 
242 242
     array(
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
         'id' => 'geodir_email_enquiry_content',
254 254
         'css' => 'width:500px; height: 150px;',
255 255
         'type' => 'textarea',
256
-        'std' => __("<p>Dear [#to_name#],<p><p>An enquiry has been sent from <b>[#listing_link#]</b></p><p>===============================</p><p>[#comments#]</p><p>===============================</p><p>Thank you,<br /><br />[#site_name_url#].</p>",'geodirectory')
256
+        'std' => __("<p>Dear [#to_name#],<p><p>An enquiry has been sent from <b>[#listing_link#]</b></p><p>===============================</p><p>[#comments#]</p><p>===============================</p><p>Thank you,<br /><br />[#site_name_url#].</p>", 'geodirectory')
257 257
     ),
258 258
 
259 259
     array('type' => 'sectionend', 'id' => 'other_emails'),
@@ -269,7 +269,7 @@  discard block
 block discarded – undo
269 269
         'id' => 'geodir_post_added_success_msg_content',
270 270
         'css' => 'width:500px; height: 150px;',
271 271
         'type' => 'textarea',
272
-        'std' => __('<p>Thank you, your information has been successfully received.</p><p><a href="[#submited_information_link#]" >View your submitted information &raquo;</a></p><p>Thank you for visiting us at [#site_name#].</p>','geodirectory')
272
+        'std' => __('<p>Thank you, your information has been successfully received.</p><p><a href="[#submited_information_link#]" >View your submitted information &raquo;</a></p><p>Thank you for visiting us at [#site_name#].</p>', 'geodirectory')
273 273
     ),
274 274
 
275 275
 
Please login to merge, or discard this patch.
geodirectory-admin/option-pages/permalink_settings_array.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         'radiogroup' => ''
45 45
     ),
46 46
 
47
-	array(
47
+    array(
48 48
         'name' => __('Add country and city slug in listing urls', 'geodirectory'),
49 49
         'desc' => __('Add country and city slug in listing urls (/country/city/)', 'geodirectory'),
50 50
         'id' => 'geodir_show_location_url',
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
         'value' => 'country_city',
54 54
         'radiogroup' => ''
55 55
     ),
56
-	array(
56
+    array(
57 57
         'name' => __('Add region and city slug in listing urls', 'geodirectory'),
58 58
         'desc' => __('Add region and city slug in listing urls (/region/city/)', 'geodirectory'),
59 59
         'id' => 'geodir_show_location_url',
Please login to merge, or discard this patch.
geodirectory-admin/option-pages/title_meta_settings_array.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 $gd_wpseo_use = '';
12 12
 if (class_exists('WPSEO_Frontend') || class_exists('All_in_One_SEO_Pack')) {
13
-    $gd_wpseo_use = "<b style='color:red;'>".__('Please use the WPSEO settings instead.','geodirectory')."</b><br />";
13
+    $gd_wpseo_use = "<b style='color:red;'>" . __('Please use the WPSEO settings instead.', 'geodirectory') . "</b><br />";
14 14
 }
15 15
 
16 16
 /**
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
 
28 28
 
29 29
 
30
-    array('name' => $gd_wpseo_use.__('Available Variables', 'geodirectory'),
30
+    array('name' => $gd_wpseo_use . __('Available Variables', 'geodirectory'),
31 31
         'desc' => __('%%title%%, %%sitename%%, %%sitedesc%%, %%excerpt%%, %%pt_single%%, %%pt_plural%%, %%category%%, %%id%%, %%sep%%, %%location%%, %%in_location%%, %%in_location_single%%, %%location_single%%, %%search_term%%, %%search_near%%, %%name%%', 'geodirectory'),
32 32
         'type' => 'sectionstart',
33 33
         'id' => 'geodir_meta_vars'),
Please login to merge, or discard this patch.
geodirectory-admin/place_dummy_post.php 2 patches
Switch Indentation   +1162 added lines, -1162 removed lines patch added patch discarded remove patch
@@ -18,24 +18,24 @@  discard block
 block discarded – undo
18 18
 
19 19
 switch ($dummy_post_index) {
20 20
 
21
-    case(1):
22
-        $image_array[] = "$dummy_image_url/a1.jpg";
23
-        $image_array[] = "$dummy_image_url/a2.jpg";
24
-        $image_array[] = "$dummy_image_url/a3.jpg";
25
-        $image_array[] = "$dummy_image_url/a4.jpg";
26
-        $image_array[] = "$dummy_image_url/a5.jpg";
27
-        $image_array[] = "$dummy_image_url/a6.jpg";
28
-        $image_array[] = "$dummy_image_url/a7.jpg";
29
-        $image_array[] = "$dummy_image_url/a8.jpg";
30
-        $image_array[] = "$dummy_image_url/a9.jpg";
31
-        $image_array[] = "$dummy_image_url/a10.jpg";
32
-        $image_array[] = "$dummy_image_url/a11.jpg";
33
-
34
-
35
-        $post_info[] = array(
36
-            "listing_type" => 'gd_place',
37
-            "post_title" => 'Franklin Square',
38
-            "post_desc" => ' <h3> Location </h3>
21
+        case(1):
22
+            $image_array[] = "$dummy_image_url/a1.jpg";
23
+            $image_array[] = "$dummy_image_url/a2.jpg";
24
+            $image_array[] = "$dummy_image_url/a3.jpg";
25
+            $image_array[] = "$dummy_image_url/a4.jpg";
26
+            $image_array[] = "$dummy_image_url/a5.jpg";
27
+            $image_array[] = "$dummy_image_url/a6.jpg";
28
+            $image_array[] = "$dummy_image_url/a7.jpg";
29
+            $image_array[] = "$dummy_image_url/a8.jpg";
30
+            $image_array[] = "$dummy_image_url/a9.jpg";
31
+            $image_array[] = "$dummy_image_url/a10.jpg";
32
+            $image_array[] = "$dummy_image_url/a11.jpg";
33
+
34
+
35
+            $post_info[] = array(
36
+                "listing_type" => 'gd_place',
37
+                "post_title" => 'Franklin Square',
38
+                "post_desc" => ' <h3> Location </h3>
39 39
 		
40 40
 		6th and Race Streets in Historic Philadelphia
41 41
 		<h3>The Experience</h3>
@@ -70,42 +70,42 @@  discard block
 block discarded – undo
70 70
 		Just in time for summer, Franklin Square has opened SquareBurger, a Stephen Starr-run “burger shack” selling summer staples: hot dogs, fries, milkshakes (made with Tasty Kakes) and, of course, hamburgers and cheeseburgers.
71 71
 		
72 72
 		SquareBurger is open until October - perfect for a couple bites between rounds of miniature golf!',
73
-            "post_images" => $image_array,
74
-            "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
75
-            "post_tags" => array('Tags', 'Sample Tags'),
76
-            "geodir_video" => '',
77
-            "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
78
-            "geodir_contact" => '(111) 677-4444',
79
-            "geodir_email" => '[email protected]',
80
-            "geodir_website" => 'http://franklinsquare.com',
81
-            "geodir_twitter" => 'http://twitter.com/franklinsquare',
82
-            "geodir_facebook" => 'http://facebook.com/franklinsquare',
83
-            "post_dummy" => '1'
84
-        );
85
-
86
-
87
-        break;
88
-    case 2:
89
-        $image_array = array();
90
-        $post_meta = array();
91
-
92
-        /// Attractions ////post start 2///
93
-        $image_array[] = "$dummy_image_url/a6.jpg";
94
-        $image_array[] = "$dummy_image_url/a1.jpg";
95
-        $image_array[] = "$dummy_image_url/a3.jpg";
96
-        $image_array[] = "$dummy_image_url/a4.jpg";
97
-        $image_array[] = "$dummy_image_url/a5.jpg";
98
-        $image_array[] = "$dummy_image_url/a2.jpg";
99
-        $image_array[] = "$dummy_image_url/a7.jpg";
100
-        $image_array[] = "$dummy_image_url/a8.jpg";
101
-        $image_array[] = "$dummy_image_url/a9.jpg";
102
-        $image_array[] = "$dummy_image_url/a10.jpg";
103
-        $image_array[] = "$dummy_image_url/a11.jpg";
104
-
105
-        $post_info[] = array(
106
-            "listing_type" => 'gd_place',
107
-            "post_title" => 'Please Touch Museum',
108
-            "post_desc" => '<h3>New Location! </h3>
73
+                "post_images" => $image_array,
74
+                "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
75
+                "post_tags" => array('Tags', 'Sample Tags'),
76
+                "geodir_video" => '',
77
+                "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
78
+                "geodir_contact" => '(111) 677-4444',
79
+                "geodir_email" => '[email protected]',
80
+                "geodir_website" => 'http://franklinsquare.com',
81
+                "geodir_twitter" => 'http://twitter.com/franklinsquare',
82
+                "geodir_facebook" => 'http://facebook.com/franklinsquare',
83
+                "post_dummy" => '1'
84
+            );
85
+
86
+
87
+            break;
88
+        case 2:
89
+            $image_array = array();
90
+            $post_meta = array();
91
+
92
+            /// Attractions ////post start 2///
93
+            $image_array[] = "$dummy_image_url/a6.jpg";
94
+            $image_array[] = "$dummy_image_url/a1.jpg";
95
+            $image_array[] = "$dummy_image_url/a3.jpg";
96
+            $image_array[] = "$dummy_image_url/a4.jpg";
97
+            $image_array[] = "$dummy_image_url/a5.jpg";
98
+            $image_array[] = "$dummy_image_url/a2.jpg";
99
+            $image_array[] = "$dummy_image_url/a7.jpg";
100
+            $image_array[] = "$dummy_image_url/a8.jpg";
101
+            $image_array[] = "$dummy_image_url/a9.jpg";
102
+            $image_array[] = "$dummy_image_url/a10.jpg";
103
+            $image_array[] = "$dummy_image_url/a11.jpg";
104
+
105
+            $post_info[] = array(
106
+                "listing_type" => 'gd_place',
107
+                "post_title" => 'Please Touch Museum',
108
+                "post_desc" => '<h3>New Location! </h3>
109 109
 		
110 110
 		Who doesn&acute;t love the Please Touch Museum? And now, taking kids to the Museum is better than ever. The nation&acute;s premier children&acute;s museum - which has been a beloved landmark since it opened in 1976 - has a new home in Fairmount Park, opening its doors to a world of educational, hands-on fun.
111 111
 		
@@ -137,42 +137,42 @@  discard block
 block discarded – undo
137 137
 		
138 138
 		You can buy admission tickets to the Please Touch Museum online through our partners at the Independence Visitor Center. Just click the button below.',
139 139
 
140
-            "post_images" => $image_array,
141
-            "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
142
-            "post_tags" => array('Tags', 'Sample Tags'),
143
-            "geodir_video" => '',
144
-            "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
145
-            "geodir_contact" => '(222) 777-1111',
146
-            "geodir_email" => '[email protected]',
147
-            "geodir_website" => 'http://pleasetouchmuseum.com',
148
-            "geodir_twitter" => 'http://twitter.com/pleasetouchmuseum',
149
-            "geodir_facebook" => 'http://facebook.com/pleasetouchmuseum',
150
-            "post_dummy" => '1'
151
-        );
152
-
153
-        break;
154
-    case 3:
155
-        $image_array = array();
156
-        $post_meta = array();
157
-
158
-        ////post end///
159
-        /// Attractions ////post start 3///
160
-        $image_array[] = "$dummy_image_url/a9.jpg";
161
-        $image_array[] = "$dummy_image_url/a10.jpg";
162
-        $image_array[] = "$dummy_image_url/a3.jpg";
163
-        $image_array[] = "$dummy_image_url/a4.jpg";
164
-        $image_array[] = "$dummy_image_url/a5.jpg";
165
-        $image_array[] = "$dummy_image_url/a2.jpg";
166
-        $image_array[] = "$dummy_image_url/a7.jpg";
167
-        $image_array[] = "$dummy_image_url/a8.jpg";
168
-        $image_array[] = "$dummy_image_url/a6.jpg";
169
-        $image_array[] = "$dummy_image_url/a1.jpg";
170
-        $image_array[] = "$dummy_image_url/a11.jpg";
171
-
172
-        $post_info[] = array(
173
-            "listing_type" => 'gd_place',
174
-            "post_title" => 'Longwood Gardens',
175
-            "post_desc" => '<h3>The Experience </h3>
140
+                "post_images" => $image_array,
141
+                "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
142
+                "post_tags" => array('Tags', 'Sample Tags'),
143
+                "geodir_video" => '',
144
+                "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
145
+                "geodir_contact" => '(222) 777-1111',
146
+                "geodir_email" => '[email protected]',
147
+                "geodir_website" => 'http://pleasetouchmuseum.com',
148
+                "geodir_twitter" => 'http://twitter.com/pleasetouchmuseum',
149
+                "geodir_facebook" => 'http://facebook.com/pleasetouchmuseum',
150
+                "post_dummy" => '1'
151
+            );
152
+
153
+            break;
154
+        case 3:
155
+            $image_array = array();
156
+            $post_meta = array();
157
+
158
+            ////post end///
159
+            /// Attractions ////post start 3///
160
+            $image_array[] = "$dummy_image_url/a9.jpg";
161
+            $image_array[] = "$dummy_image_url/a10.jpg";
162
+            $image_array[] = "$dummy_image_url/a3.jpg";
163
+            $image_array[] = "$dummy_image_url/a4.jpg";
164
+            $image_array[] = "$dummy_image_url/a5.jpg";
165
+            $image_array[] = "$dummy_image_url/a2.jpg";
166
+            $image_array[] = "$dummy_image_url/a7.jpg";
167
+            $image_array[] = "$dummy_image_url/a8.jpg";
168
+            $image_array[] = "$dummy_image_url/a6.jpg";
169
+            $image_array[] = "$dummy_image_url/a1.jpg";
170
+            $image_array[] = "$dummy_image_url/a11.jpg";
171
+
172
+            $post_info[] = array(
173
+                "listing_type" => 'gd_place',
174
+                "post_title" => 'Longwood Gardens',
175
+                "post_desc" => '<h3>The Experience </h3>
176 176
 		
177 177
 		When you&acute;re at Longwood Gardens, it&acute;s easy to imagine that you&acute;re at a giant, royal garden in Europe. Stroll along the many paths through acres of exquisitely maintained grounds featuring 11,000 different types of plants.
178 178
 		
@@ -197,42 +197,42 @@  discard block
 block discarded – undo
197 197
 		<h3>Buy Tickets Online In Advance </h3>
198 198
 		
199 199
 		You can buy admission tickets to Longwood Gardens online through our partners at the Independence Visitor Center. Just click the button below.',
200
-            "post_images" => $image_array,
201
-            "post_category" => array('gd_placecategory' => array('Attractions')),
202
-            "post_tags" => array('wood', 'garden'),
203
-            "geodir_video" => '',
204
-            "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
205
-            "geodir_contact" => '(111) 888-1111',
206
-            "geodir_email" => '[email protected]',
207
-            "geodir_website" => 'http://longwoodgardens.com',
208
-            "geodir_twitter" => 'http://twitter.com/longwoodgardens',
209
-            "geodir_facebook" => 'http://facebook.com/longwoodgardens',
210
-            "post_dummy" => '1'
211
-        );
212
-        break;
213
-    ////post end///
214
-    /// Attractions ////post start 4///
215
-
216
-    case 4:
217
-
218
-        $image_array = array();
219
-        $post_meta = array();
220
-        $image_array[] = "$dummy_image_url/a11.jpg";
221
-        $image_array[] = "$dummy_image_url/a10.jpg";
222
-        $image_array[] = "$dummy_image_url/a3.jpg";
223
-        $image_array[] = "$dummy_image_url/a4.jpg";
224
-        $image_array[] = "$dummy_image_url/a5.jpg";
225
-        $image_array[] = "$dummy_image_url/a2.jpg";
226
-        $image_array[] = "$dummy_image_url/a7.jpg";
227
-        $image_array[] = "$dummy_image_url/a8.jpg";
228
-        $image_array[] = "$dummy_image_url/a6.jpg";
229
-        $image_array[] = "$dummy_image_url/a1.jpg";
230
-        $image_array[] = "$dummy_image_url/a9.jpg";
231
-
232
-        $post_info[] = array(
233
-            "listing_type" => 'gd_place',
234
-            "post_title" => 'The Philadelphia Zoo',
235
-            "post_desc" => '<h3>The Zoo 150th Birthday</h3>
200
+                "post_images" => $image_array,
201
+                "post_category" => array('gd_placecategory' => array('Attractions')),
202
+                "post_tags" => array('wood', 'garden'),
203
+                "geodir_video" => '',
204
+                "geodir_timing" => 'Open today until 1 p.m., Sunday 10 am to 9 pm',
205
+                "geodir_contact" => '(111) 888-1111',
206
+                "geodir_email" => '[email protected]',
207
+                "geodir_website" => 'http://longwoodgardens.com',
208
+                "geodir_twitter" => 'http://twitter.com/longwoodgardens',
209
+                "geodir_facebook" => 'http://facebook.com/longwoodgardens',
210
+                "post_dummy" => '1'
211
+            );
212
+            break;
213
+        ////post end///
214
+        /// Attractions ////post start 4///
215
+
216
+        case 4:
217
+
218
+            $image_array = array();
219
+            $post_meta = array();
220
+            $image_array[] = "$dummy_image_url/a11.jpg";
221
+            $image_array[] = "$dummy_image_url/a10.jpg";
222
+            $image_array[] = "$dummy_image_url/a3.jpg";
223
+            $image_array[] = "$dummy_image_url/a4.jpg";
224
+            $image_array[] = "$dummy_image_url/a5.jpg";
225
+            $image_array[] = "$dummy_image_url/a2.jpg";
226
+            $image_array[] = "$dummy_image_url/a7.jpg";
227
+            $image_array[] = "$dummy_image_url/a8.jpg";
228
+            $image_array[] = "$dummy_image_url/a6.jpg";
229
+            $image_array[] = "$dummy_image_url/a1.jpg";
230
+            $image_array[] = "$dummy_image_url/a9.jpg";
231
+
232
+            $post_info[] = array(
233
+                "listing_type" => 'gd_place',
234
+                "post_title" => 'The Philadelphia Zoo',
235
+                "post_desc" => '<h3>The Zoo 150th Birthday</h3>
236 236
 		
237 237
 		The Philadelphia Zoo celebrated its 150th anniversary in 2009. So stop by and celebrate this major achievement at America&acute;s first zoo!
238 238
 		
@@ -267,45 +267,45 @@  discard block
 block discarded – undo
267 267
 		The nation&acute;s oldest zoo was chartered in 1859, but the impending Civil War delayed its opening until 1874. In addition to its animals, the zoo is known for its historic architecture, which includes the country home of William Penn&acute;s grandson; its botanical collections of over 500 plant species; its groundbreaking research and its fine veterinary facilities.
268 268
 		
269 269
 		The Primate Reserve, Carnivore Kingdom, and Rare Animal Conservation Center, with its tree kangaroos and blue-eyed lemurs, are brand new, but there&acute;s still fun to be had in the historic, old-style bird, pachyderm and carnivore houses. In the Treehouse, kids can investigate the world from an animal&acute;s perspective; outdoors, the Zoo Balloon lifts passengers 400 feet into the air for a bird&acute;s-eye view of the zoo.',
270
-            "post_images" => $image_array,
271
-            "post_category" => array('gd_placecategory' => array('Attractions')),
272
-            "post_tags" => array('wood', 'garden'),
273
-            "geodir_video" => '',
274
-            "geodir_timing" => 'Open today until 11.30 a.m., Sunday 11 am to 7 pm',
275
-            "geodir_contact" => '(211) 143-1900',
276
-            "geodir_email" => '[email protected]',
277
-            "geodir_website" => 'http://philadelphiazoo.com',
278
-            "geodir_twitter" => 'http://twitter.com/philadelphiazoo',
279
-            "geodir_facebook" => 'http://facebook.com/philadelphiazoo',
280
-            "post_dummy" => '1'
281
-        );
282
-
283
-        ////post end///
284
-        /// Attractions ////post start 4///
285
-        break;
286
-    case 5:
287
-
288
-
289
-        $image_array = array();
290
-        $post_meta = array();
291
-
292
-        /// Attractions ////post start 5///
293
-        $image_array[] = "$dummy_image_url/a12.jpg";
294
-        $image_array[] = "$dummy_image_url/a13.jpg";
295
-        $image_array[] = "$dummy_image_url/a3.jpg";
296
-        $image_array[] = "$dummy_image_url/a4.jpg";
297
-        $image_array[] = "$dummy_image_url/a5.jpg";
298
-        $image_array[] = "$dummy_image_url/a2.jpg";
299
-        $image_array[] = "$dummy_image_url/a7.jpg";
300
-        $image_array[] = "$dummy_image_url/a8.jpg";
301
-        $image_array[] = "$dummy_image_url/a6.jpg";
302
-        $image_array[] = "$dummy_image_url/a1.jpg";
303
-        $image_array[] = "$dummy_image_url/a9.jpg";
304
-
305
-        $post_info[] = array(
306
-            "listing_type" => 'gd_place',
307
-            "post_title" => 'National Constitution Center',
308
-            "post_desc" => '<h3>The Experience</h3>
270
+                "post_images" => $image_array,
271
+                "post_category" => array('gd_placecategory' => array('Attractions')),
272
+                "post_tags" => array('wood', 'garden'),
273
+                "geodir_video" => '',
274
+                "geodir_timing" => 'Open today until 11.30 a.m., Sunday 11 am to 7 pm',
275
+                "geodir_contact" => '(211) 143-1900',
276
+                "geodir_email" => '[email protected]',
277
+                "geodir_website" => 'http://philadelphiazoo.com',
278
+                "geodir_twitter" => 'http://twitter.com/philadelphiazoo',
279
+                "geodir_facebook" => 'http://facebook.com/philadelphiazoo',
280
+                "post_dummy" => '1'
281
+            );
282
+
283
+            ////post end///
284
+            /// Attractions ////post start 4///
285
+            break;
286
+        case 5:
287
+
288
+
289
+            $image_array = array();
290
+            $post_meta = array();
291
+
292
+            /// Attractions ////post start 5///
293
+            $image_array[] = "$dummy_image_url/a12.jpg";
294
+            $image_array[] = "$dummy_image_url/a13.jpg";
295
+            $image_array[] = "$dummy_image_url/a3.jpg";
296
+            $image_array[] = "$dummy_image_url/a4.jpg";
297
+            $image_array[] = "$dummy_image_url/a5.jpg";
298
+            $image_array[] = "$dummy_image_url/a2.jpg";
299
+            $image_array[] = "$dummy_image_url/a7.jpg";
300
+            $image_array[] = "$dummy_image_url/a8.jpg";
301
+            $image_array[] = "$dummy_image_url/a6.jpg";
302
+            $image_array[] = "$dummy_image_url/a1.jpg";
303
+            $image_array[] = "$dummy_image_url/a9.jpg";
304
+
305
+            $post_info[] = array(
306
+                "listing_type" => 'gd_place',
307
+                "post_title" => 'National Constitution Center',
308
+                "post_desc" => '<h3>The Experience</h3>
309 309
 	
310 310
 	It only four pages long, but the U.S. Constitution is among the most influential and important documents in the history of the world.
311 311
 	
@@ -327,45 +327,45 @@  discard block
 block discarded – undo
327 327
 	<h3>Kids Stuff </h3>
328 328
 	
329 329
 	The Center frequently hosts special events with a focus on children that include informative and engaging hands-on activities. For specific information, check out the Center website.',
330
-            "post_images" => $image_array,
331
-            "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
332
-            "post_tags" => array('Tag', 'Center'),
333
-            "geodir_video" => '',
334
-            "geodir_timing" => 'Open today until 9.30 a.m., Sunday 11 am to 7 pm',
335
-            "geodir_contact" => '(111) 111-1111',
336
-            "geodir_email" => '[email protected]',
337
-            "geodir_website" => 'http://ncc.com',
338
-            "geodir_twitter" => 'http://twitter.com/ncc',
339
-            "geodir_facebook" => 'http://facebook.com/ncc',
340
-            "post_dummy" => '1'
341
-        );
342
-
343
-        ////post end///
344
-        /// Attractions ////post start 5///
345
-        break;
346
-    case 6:
347
-
348
-
349
-        $image_array = array();
350
-        $post_meta = array();
351
-
352
-        /// Attractions ////post start 6///
353
-        $image_array[] = "$dummy_image_url/a14.jpg";
354
-        $image_array[] = "$dummy_image_url/a13.jpg";
355
-        $image_array[] = "$dummy_image_url/a3.jpg";
356
-        $image_array[] = "$dummy_image_url/a4.jpg";
357
-        $image_array[] = "$dummy_image_url/a5.jpg";
358
-        $image_array[] = "$dummy_image_url/a2.jpg";
359
-        $image_array[] = "$dummy_image_url/a7.jpg";
360
-        $image_array[] = "$dummy_image_url/a8.jpg";
361
-        $image_array[] = "$dummy_image_url/a6.jpg";
362
-        $image_array[] = "$dummy_image_url/a1.jpg";
363
-        $image_array[] = "$dummy_image_url/a9.jpg";
364
-
365
-        $post_info[] = array(
366
-            "listing_type" => 'gd_place',
367
-            "post_title" => 'Sadsbury Woods Preserve',
368
-            "post_desc" => 'A more than 500-acre nature preserve ideal for walking and hiking, Sadsbury Woods is also an important habitat for interior nesting birds and small mammals. An increasingly rare area of interior woodlands, defined as an area at least 300 feet from any road, lawn or meadow, provides a critical habitat for many species of birds, especially neo-tropical migrant songbirds.
330
+                "post_images" => $image_array,
331
+                "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
332
+                "post_tags" => array('Tag', 'Center'),
333
+                "geodir_video" => '',
334
+                "geodir_timing" => 'Open today until 9.30 a.m., Sunday 11 am to 7 pm',
335
+                "geodir_contact" => '(111) 111-1111',
336
+                "geodir_email" => '[email protected]',
337
+                "geodir_website" => 'http://ncc.com',
338
+                "geodir_twitter" => 'http://twitter.com/ncc',
339
+                "geodir_facebook" => 'http://facebook.com/ncc',
340
+                "post_dummy" => '1'
341
+            );
342
+
343
+            ////post end///
344
+            /// Attractions ////post start 5///
345
+            break;
346
+        case 6:
347
+
348
+
349
+            $image_array = array();
350
+            $post_meta = array();
351
+
352
+            /// Attractions ////post start 6///
353
+            $image_array[] = "$dummy_image_url/a14.jpg";
354
+            $image_array[] = "$dummy_image_url/a13.jpg";
355
+            $image_array[] = "$dummy_image_url/a3.jpg";
356
+            $image_array[] = "$dummy_image_url/a4.jpg";
357
+            $image_array[] = "$dummy_image_url/a5.jpg";
358
+            $image_array[] = "$dummy_image_url/a2.jpg";
359
+            $image_array[] = "$dummy_image_url/a7.jpg";
360
+            $image_array[] = "$dummy_image_url/a8.jpg";
361
+            $image_array[] = "$dummy_image_url/a6.jpg";
362
+            $image_array[] = "$dummy_image_url/a1.jpg";
363
+            $image_array[] = "$dummy_image_url/a9.jpg";
364
+
365
+            $post_info[] = array(
366
+                "listing_type" => 'gd_place',
367
+                "post_title" => 'Sadsbury Woods Preserve',
368
+                "post_desc" => 'A more than 500-acre nature preserve ideal for walking and hiking, Sadsbury Woods is also an important habitat for interior nesting birds and small mammals. An increasingly rare area of interior woodlands, defined as an area at least 300 feet from any road, lawn or meadow, provides a critical habitat for many species of birds, especially neo-tropical migrant songbirds.
369 369
 	
370 370
 	Situated on the western edge of Chester County, the land remains much as it did centuries ago, and now serves as a permanent refuge in an area facing dramatically increasing development pressure.
371 371
 	
@@ -381,45 +381,45 @@  discard block
 block discarded – undo
381 381
 	Outsider Tip
382 382
 	
383 383
 	The deep forest is a great place for spotting neo-tropical songbirds in the spring and summer months',
384
-            "post_images" => $image_array,
385
-            "post_category" => array('gd_placecategory' => array('Attractions')),
386
-            "post_tags" => array('sample', 'tags'),
387
-            "geodir_video" => '',
388
-            "geodir_timing" => 'Open today until 12.30 p.m., Sunday 12 pm to 7 pm',
389
-            "geodir_contact" => '(222) 999-9999',
390
-            "geodir_email" => '[email protected]',
391
-            "geodir_website" => 'http://swp.com',
392
-            "geodir_twitter" => 'http://twitter.com/swp',
393
-            "geodir_facebook" => 'http://facebook.com/swp',
394
-            "post_dummy" => '1'
395
-        );
396
-
397
-        ////post end///
398
-        /// Attractions ////post start 6///
399
-
400
-        break;
401
-    case 7:
402
-
403
-        $image_array = array();
404
-        $post_meta = array();
405
-
406
-        /// Attractions ////post start 7///
407
-        $image_array[] = "$dummy_image_url/a15.jpg";
408
-        $image_array[] = "$dummy_image_url/a16.jpg";
409
-        $image_array[] = "$dummy_image_url/a17.jpg";
410
-        $image_array[] = "$dummy_image_url/a4.jpg";
411
-        $image_array[] = "$dummy_image_url/a5.jpg";
412
-        $image_array[] = "$dummy_image_url/a2.jpg";
413
-        $image_array[] = "$dummy_image_url/a7.jpg";
414
-        $image_array[] = "$dummy_image_url/a8.jpg";
415
-        $image_array[] = "$dummy_image_url/a6.jpg";
416
-        $image_array[] = "$dummy_image_url/a1.jpg";
417
-        $image_array[] = "$dummy_image_url/a9.jpg";
418
-
419
-        $post_info[] = array(
420
-            "listing_type" => 'gd_place',
421
-            "post_title" => 'Museum Without Walls',
422
-            "post_desc" => '<h3>The Experience </h3>
384
+                "post_images" => $image_array,
385
+                "post_category" => array('gd_placecategory' => array('Attractions')),
386
+                "post_tags" => array('sample', 'tags'),
387
+                "geodir_video" => '',
388
+                "geodir_timing" => 'Open today until 12.30 p.m., Sunday 12 pm to 7 pm',
389
+                "geodir_contact" => '(222) 999-9999',
390
+                "geodir_email" => '[email protected]',
391
+                "geodir_website" => 'http://swp.com',
392
+                "geodir_twitter" => 'http://twitter.com/swp',
393
+                "geodir_facebook" => 'http://facebook.com/swp',
394
+                "post_dummy" => '1'
395
+            );
396
+
397
+            ////post end///
398
+            /// Attractions ////post start 6///
399
+
400
+            break;
401
+        case 7:
402
+
403
+            $image_array = array();
404
+            $post_meta = array();
405
+
406
+            /// Attractions ////post start 7///
407
+            $image_array[] = "$dummy_image_url/a15.jpg";
408
+            $image_array[] = "$dummy_image_url/a16.jpg";
409
+            $image_array[] = "$dummy_image_url/a17.jpg";
410
+            $image_array[] = "$dummy_image_url/a4.jpg";
411
+            $image_array[] = "$dummy_image_url/a5.jpg";
412
+            $image_array[] = "$dummy_image_url/a2.jpg";
413
+            $image_array[] = "$dummy_image_url/a7.jpg";
414
+            $image_array[] = "$dummy_image_url/a8.jpg";
415
+            $image_array[] = "$dummy_image_url/a6.jpg";
416
+            $image_array[] = "$dummy_image_url/a1.jpg";
417
+            $image_array[] = "$dummy_image_url/a9.jpg";
418
+
419
+            $post_info[] = array(
420
+                "listing_type" => 'gd_place',
421
+                "post_title" => 'Museum Without Walls',
422
+                "post_desc" => '<h3>The Experience </h3>
423 423
 	
424 424
 	Museum Without Walls: AUDIO is a multi-platform, interactive audio tour, designed to allow locals and visitors alike to experience Philadelphia extensive collection of public art and outdoor sculpture along the Benjamin Franklin Parkway and Kelly Drive. This innovative program invites passersby to stop, look, listen and see this city public art in a new way. Discover the untold histories of the 51 outdoor sculptures at 35 stops through these professionally produced three-minute interpretive audio segments. The many narratives have been spoken by more than 100 individuals, all with personal connections to the pieces of art.
425 425
 	
@@ -429,45 +429,45 @@  discard block
 block discarded – undo
429 429
 	<h3>History </h3>
430 430
 	
431 431
 	Philadelphia has more outdoor sculpture than any other American city, yet this extensive collection often goes unnoticed. This program is intended to reveal the distinct stories behind each of these works, that have become visual white noise for so many of the city residents and visitors. ',
432
-            "post_images" => $image_array,
433
-            "post_category" => array('gd_placecategory' => array('Attractions')),
434
-            "post_tags" => array('Museum'),
435
-            "geodir_video" => '',
436
-            "geodir_timing" => 'Open today until 10.30 a.m., Sunday 10 am to 7 pm',
437
-            "geodir_contact" => '(222) 999-9999',
438
-            "geodir_email" => '[email protected]',
439
-            "geodir_website" => 'http://museumwithoutwallsaudio.org/',
440
-            "geodir_twitter" => 'http://twitter.com/mwwalls',
441
-            "geodir_facebook" => 'http://facebook.com/mwwalls',
442
-            "post_dummy" => '1'
443
-        );
444
-
445
-        ////post end///
446
-        /// Attractions ////post start 7///
447
-
448
-        break;
449
-    case 8:
450
-
451
-        $image_array = array();
452
-        $post_meta = array();
453
-
454
-        /// Attractions ////post start 8///
455
-        $image_array[] = "$dummy_image_url/a18.jpg";
456
-        $image_array[] = "$dummy_image_url/a10.jpg";
457
-        $image_array[] = "$dummy_image_url/a3.jpg";
458
-        $image_array[] = "$dummy_image_url/a4.jpg";
459
-        $image_array[] = "$dummy_image_url/a5.jpg";
460
-        $image_array[] = "$dummy_image_url/a2.jpg";
461
-        $image_array[] = "$dummy_image_url/a7.jpg";
462
-        $image_array[] = "$dummy_image_url/a8.jpg";
463
-        $image_array[] = "$dummy_image_url/a6.jpg";
464
-        $image_array[] = "$dummy_image_url/a1.jpg";
465
-        $image_array[] = "$dummy_image_url/a9.jpg";
466
-
467
-        $post_info[] = array(
468
-            "listing_type" => 'gd_place',
469
-            "post_title" => 'Audacious Freedom',
470
-            "post_desc" => 'Audacious Freedom, the major, new exhibit at the African American Museum in Philadelphia , explores the lives of people of African descent living in Philadelphia between 1776 and 1876.
432
+                "post_images" => $image_array,
433
+                "post_category" => array('gd_placecategory' => array('Attractions')),
434
+                "post_tags" => array('Museum'),
435
+                "geodir_video" => '',
436
+                "geodir_timing" => 'Open today until 10.30 a.m., Sunday 10 am to 7 pm',
437
+                "geodir_contact" => '(222) 999-9999',
438
+                "geodir_email" => '[email protected]',
439
+                "geodir_website" => 'http://museumwithoutwallsaudio.org/',
440
+                "geodir_twitter" => 'http://twitter.com/mwwalls',
441
+                "geodir_facebook" => 'http://facebook.com/mwwalls',
442
+                "post_dummy" => '1'
443
+            );
444
+
445
+            ////post end///
446
+            /// Attractions ////post start 7///
447
+
448
+            break;
449
+        case 8:
450
+
451
+            $image_array = array();
452
+            $post_meta = array();
453
+
454
+            /// Attractions ////post start 8///
455
+            $image_array[] = "$dummy_image_url/a18.jpg";
456
+            $image_array[] = "$dummy_image_url/a10.jpg";
457
+            $image_array[] = "$dummy_image_url/a3.jpg";
458
+            $image_array[] = "$dummy_image_url/a4.jpg";
459
+            $image_array[] = "$dummy_image_url/a5.jpg";
460
+            $image_array[] = "$dummy_image_url/a2.jpg";
461
+            $image_array[] = "$dummy_image_url/a7.jpg";
462
+            $image_array[] = "$dummy_image_url/a8.jpg";
463
+            $image_array[] = "$dummy_image_url/a6.jpg";
464
+            $image_array[] = "$dummy_image_url/a1.jpg";
465
+            $image_array[] = "$dummy_image_url/a9.jpg";
466
+
467
+            $post_info[] = array(
468
+                "listing_type" => 'gd_place',
469
+                "post_title" => 'Audacious Freedom',
470
+                "post_desc" => 'Audacious Freedom, the major, new exhibit at the African American Museum in Philadelphia , explores the lives of people of African descent living in Philadelphia between 1776 and 1876.
471 471
 	
472 472
 	Discover how African Americans in Philadelphia lived and worked while helping to shape the young nation in its formative stages.
473 473
 	
@@ -475,45 +475,45 @@  discard block
 block discarded – undo
475 475
 	
476 476
 	The groundbreaking exhibit allows visitors to “walk the streets” of Historic Philadelphia using a large-scale map. Young children can join the action with Children&acute;s Corner, which highlights the daily lives of children during that period.
477 477
 	',
478
-            "post_images" => $image_array,
479
-            "post_category" => array('gd_placecategory' => array('Attractions')),
480
-            "post_tags" => array('Tag1'),
481
-            "geodir_video" => '',
482
-            "geodir_timing" => 'Open today until 11.30 a.m., Sunday 1 pm to 7 pm',
483
-            "geodir_contact" => '(777) 777-7777',
484
-            "geodir_email" => '[email protected]',
485
-            "geodir_website" => 'http://www.aampmuseum.org/',
486
-            "geodir_twitter" => 'http://twitter.com/aampmuseum',
487
-            "geodir_facebook" => 'http://facebook.com/aampmuseum',
488
-            "post_dummy" => '1'
489
-        );
490
-
491
-        ////post end///
492
-        /// Attractions ////post start 8///
493
-
494
-
495
-        break;
496
-    case 9:
497
-        $image_array = array();
498
-        $post_meta = array();
499
-
500
-        /// Attractions ////post start 9///
501
-        $image_array[] = "$dummy_image_url/a19.jpg";
502
-        $image_array[] = "$dummy_image_url/a20.jpg";
503
-        $image_array[] = "$dummy_image_url/a3.jpg";
504
-        $image_array[] = "$dummy_image_url/a4.jpg";
505
-        $image_array[] = "$dummy_image_url/a5.jpg";
506
-        $image_array[] = "$dummy_image_url/a2.jpg";
507
-        $image_array[] = "$dummy_image_url/a7.jpg";
508
-        $image_array[] = "$dummy_image_url/a8.jpg";
509
-        $image_array[] = "$dummy_image_url/a6.jpg";
510
-        $image_array[] = "$dummy_image_url/a1.jpg";
511
-        $image_array[] = "$dummy_image_url/a9.jpg";
512
-
513
-        $post_info[] = array(
514
-            "listing_type" => 'gd_place',
515
-            "post_title" => 'The Liberty Bell Center',
516
-            "post_desc" => '<h3>The Experience </h3>
478
+                "post_images" => $image_array,
479
+                "post_category" => array('gd_placecategory' => array('Attractions')),
480
+                "post_tags" => array('Tag1'),
481
+                "geodir_video" => '',
482
+                "geodir_timing" => 'Open today until 11.30 a.m., Sunday 1 pm to 7 pm',
483
+                "geodir_contact" => '(777) 777-7777',
484
+                "geodir_email" => '[email protected]',
485
+                "geodir_website" => 'http://www.aampmuseum.org/',
486
+                "geodir_twitter" => 'http://twitter.com/aampmuseum',
487
+                "geodir_facebook" => 'http://facebook.com/aampmuseum',
488
+                "post_dummy" => '1'
489
+            );
490
+
491
+            ////post end///
492
+            /// Attractions ////post start 8///
493
+
494
+
495
+            break;
496
+        case 9:
497
+            $image_array = array();
498
+            $post_meta = array();
499
+
500
+            /// Attractions ////post start 9///
501
+            $image_array[] = "$dummy_image_url/a19.jpg";
502
+            $image_array[] = "$dummy_image_url/a20.jpg";
503
+            $image_array[] = "$dummy_image_url/a3.jpg";
504
+            $image_array[] = "$dummy_image_url/a4.jpg";
505
+            $image_array[] = "$dummy_image_url/a5.jpg";
506
+            $image_array[] = "$dummy_image_url/a2.jpg";
507
+            $image_array[] = "$dummy_image_url/a7.jpg";
508
+            $image_array[] = "$dummy_image_url/a8.jpg";
509
+            $image_array[] = "$dummy_image_url/a6.jpg";
510
+            $image_array[] = "$dummy_image_url/a1.jpg";
511
+            $image_array[] = "$dummy_image_url/a9.jpg";
512
+
513
+            $post_info[] = array(
514
+                "listing_type" => 'gd_place',
515
+                "post_title" => 'The Liberty Bell Center',
516
+                "post_desc" => '<h3>The Experience </h3>
517 517
 	
518 518
 	The Liberty Bell has a new home, and it is as powerful and dramatic as the Bell itself. Throughout the expansive, light-filled Center, larger-than-life historic documents and graphic images explore the facts and the myths surrounding the Bell.
519 519
 	
@@ -534,45 +534,45 @@  discard block
 block discarded – undo
534 534
 	The Bell is suspended from what is believed to be its original yoke, made of American elm.
535 535
 	
536 536
 	The Liberty Bell weighs 2,080 pounds. The yoke weighs about 100 pounds.',
537
-            "post_images" => $image_array,
538
-            "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
539
-            "post_tags" => array(''),
540
-            "geodir_video" => '',
541
-            "geodir_timing" => 'The center is open year round, 9 a.m. – 5 p.m., with extended hours in the summer.',
542
-            "geodir_contact" => '(777) 666-6666',
543
-            "geodir_email" => '[email protected]',
544
-            "geodir_website" => 'http://www.nps.gov/inde',
545
-            "geodir_twitter" => 'http://twitter.com/nps',
546
-            "geodir_facebook" => 'http://facebook.com/nps',
547
-            "post_dummy" => '1'
548
-        );
549
-
550
-        ////post end///
551
-        /// Attractions ////post start 9///
552
-        break;
553
-    case 10:
554
-
555
-
556
-        $image_array = array();
557
-        $post_meta = array();
558
-
559
-        /// Attractions ////post start 10///
560
-        $image_array[] = "$dummy_image_url/a19.jpg";
561
-        $image_array[] = "$dummy_image_url/a20.jpg";
562
-        $image_array[] = "$dummy_image_url/a3.jpg";
563
-        $image_array[] = "$dummy_image_url/a4.jpg";
564
-        $image_array[] = "$dummy_image_url/a5.jpg";
565
-        $image_array[] = "$dummy_image_url/a2.jpg";
566
-        $image_array[] = "$dummy_image_url/a7.jpg";
567
-        $image_array[] = "$dummy_image_url/a8.jpg";
568
-        $image_array[] = "$dummy_image_url/a6.jpg";
569
-        $image_array[] = "$dummy_image_url/a1.jpg";
570
-        $image_array[] = "$dummy_image_url/a9.jpg";
571
-
572
-        $post_info[] = array(
573
-            "listing_type" => 'gd_place',
574
-            "post_title" => 'Rittenhouse Square',
575
-            "post_desc" => '
537
+                "post_images" => $image_array,
538
+                "post_category" => array('gd_placecategory' => array('Attractions', 'Feature')),
539
+                "post_tags" => array(''),
540
+                "geodir_video" => '',
541
+                "geodir_timing" => 'The center is open year round, 9 a.m. – 5 p.m., with extended hours in the summer.',
542
+                "geodir_contact" => '(777) 666-6666',
543
+                "geodir_email" => '[email protected]',
544
+                "geodir_website" => 'http://www.nps.gov/inde',
545
+                "geodir_twitter" => 'http://twitter.com/nps',
546
+                "geodir_facebook" => 'http://facebook.com/nps',
547
+                "post_dummy" => '1'
548
+            );
549
+
550
+            ////post end///
551
+            /// Attractions ////post start 9///
552
+            break;
553
+        case 10:
554
+
555
+
556
+            $image_array = array();
557
+            $post_meta = array();
558
+
559
+            /// Attractions ////post start 10///
560
+            $image_array[] = "$dummy_image_url/a19.jpg";
561
+            $image_array[] = "$dummy_image_url/a20.jpg";
562
+            $image_array[] = "$dummy_image_url/a3.jpg";
563
+            $image_array[] = "$dummy_image_url/a4.jpg";
564
+            $image_array[] = "$dummy_image_url/a5.jpg";
565
+            $image_array[] = "$dummy_image_url/a2.jpg";
566
+            $image_array[] = "$dummy_image_url/a7.jpg";
567
+            $image_array[] = "$dummy_image_url/a8.jpg";
568
+            $image_array[] = "$dummy_image_url/a6.jpg";
569
+            $image_array[] = "$dummy_image_url/a1.jpg";
570
+            $image_array[] = "$dummy_image_url/a9.jpg";
571
+
572
+            $post_info[] = array(
573
+                "listing_type" => 'gd_place',
574
+                "post_title" => 'Rittenhouse Square',
575
+                "post_desc" => '
576 576
 	
577 577
 	Unlike the other squares, the early Southwest Square was never used as a burial ground, although it offered pasturage for local livestock and a convenient dumping spot for “night soil”.
578 578
 	<h3> History </h3>
@@ -605,45 +605,45 @@  discard block
 block discarded – undo
605 605
 	
606 606
 	Meanwhile, several more restaurants, bars and clubs have opened along the surrounding blocks in recent years, like Parc, Tria, Continental Midtown, Alfa, Walnut Room, and Twenty Manning just to name a few.
607 607
 	',
608
-            "post_images" => $image_array,
609
-            "post_category" => array('gd_placecategory' => array('Attractions')),
610
-            "post_tags" => array('Museum'),
611
-            "geodir_video" => '',
612
-            "geodir_timing" => 'The center is open year round, 9 a.m. – 5 p.m., with extended hours in the summer.',
613
-            "geodir_contact" => '(777) 666-6666',
614
-            "geodir_email" => '[email protected]',
615
-            "geodir_website" => 'http://www.fairmountpark.org/rittenhousesquare.asp',
616
-            "geodir_twitter" => 'http://twitter.com/fairmountpark',
617
-            "geodir_facebook" => 'http://facebook.com/fairmountpark',
618
-            "post_dummy" => '1'
619
-        );
620
-
621
-        ////post end///
622
-        /// Attractions ////post start 10///
623
-        break;
624
-    case 11:
625
-
626
-
627
-        $image_array = array();
628
-        $post_meta = array();
629
-
630
-        /// Hotels ////post start 1///
631
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
632
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
633
-        $image_array[] = "$dummy_image_url/hotels3.jpg";
634
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
635
-        $image_array[] = "$dummy_image_url/hotels5.jpg";
636
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
637
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
638
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
639
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
640
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
641
-        $image_array[] = "$dummy_image_url/hotels11.jpg";
642
-
643
-        $post_info[] = array(
644
-            "listing_type" => 'gd_place',
645
-            "post_title" => 'Loews Philadelphia Hotel',
646
-            "post_desc" => '
608
+                "post_images" => $image_array,
609
+                "post_category" => array('gd_placecategory' => array('Attractions')),
610
+                "post_tags" => array('Museum'),
611
+                "geodir_video" => '',
612
+                "geodir_timing" => 'The center is open year round, 9 a.m. – 5 p.m., with extended hours in the summer.',
613
+                "geodir_contact" => '(777) 666-6666',
614
+                "geodir_email" => '[email protected]',
615
+                "geodir_website" => 'http://www.fairmountpark.org/rittenhousesquare.asp',
616
+                "geodir_twitter" => 'http://twitter.com/fairmountpark',
617
+                "geodir_facebook" => 'http://facebook.com/fairmountpark',
618
+                "post_dummy" => '1'
619
+            );
620
+
621
+            ////post end///
622
+            /// Attractions ////post start 10///
623
+            break;
624
+        case 11:
625
+
626
+
627
+            $image_array = array();
628
+            $post_meta = array();
629
+
630
+            /// Hotels ////post start 1///
631
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
632
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
633
+            $image_array[] = "$dummy_image_url/hotels3.jpg";
634
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
635
+            $image_array[] = "$dummy_image_url/hotels5.jpg";
636
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
637
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
638
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
639
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
640
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
641
+            $image_array[] = "$dummy_image_url/hotels11.jpg";
642
+
643
+            $post_info[] = array(
644
+                "listing_type" => 'gd_place',
645
+                "post_title" => 'Loews Philadelphia Hotel',
646
+                "post_desc" => '
647 647
 	
648 648
 	<h3>OVERVIEW </h3>
649 649
 	
@@ -710,45 +710,45 @@  discard block
 block discarded – undo
710 710
 	
711 711
 	SoleFood Restaurant is proud to be serving Starbucks. Come in and enjoy a fresh cup of coffee during your morning rush. The Coffee Bar also offer small breakfast items for your enjoyment.
712 712
 	',
713
-            "post_images" => $image_array,
714
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
715
-            "post_tags" => array(''),
716
-            "geodir_video" => '',
717
-            "geodir_timing" => 'Daily, 6:30 am – 12:00 pm',
718
-            "geodir_contact" => '(111) 111-0000',
719
-            "geodir_email" => '[email protected]',
720
-            "geodir_website" => 'http://www.loewshotels.com/en/hotels/philadelphia-hotel/overview.aspx',
721
-            "geodir_twitter" => 'http://twitter.com/loewshotels',
722
-            "geodir_facebook" => 'http://facebook.com/loewshotels',
723
-            "post_dummy" => '1'
724
-        );
725
-
726
-        ////post end///
727
-        /// Hotels ////post start 1///
728
-        break;
729
-    case 12:
730
-
731
-
732
-        $image_array = array();
733
-        $post_meta = array();
734
-
735
-        /// Hotels ////post start 2///
736
-        $image_array[] = "$dummy_image_url/hotels5.jpg";
737
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
738
-        $image_array[] = "$dummy_image_url/hotels3.jpg";
739
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
740
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
741
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
742
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
743
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
744
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
745
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
746
-        $image_array[] = "$dummy_image_url/hotels11.jpg";
747
-
748
-        $post_info[] = array(
749
-            "listing_type" => 'gd_place',
750
-            "post_title" => 'Embassy Suites Philadelphia',
751
-            "post_desc" => '
713
+                "post_images" => $image_array,
714
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
715
+                "post_tags" => array(''),
716
+                "geodir_video" => '',
717
+                "geodir_timing" => 'Daily, 6:30 am – 12:00 pm',
718
+                "geodir_contact" => '(111) 111-0000',
719
+                "geodir_email" => '[email protected]',
720
+                "geodir_website" => 'http://www.loewshotels.com/en/hotels/philadelphia-hotel/overview.aspx',
721
+                "geodir_twitter" => 'http://twitter.com/loewshotels',
722
+                "geodir_facebook" => 'http://facebook.com/loewshotels',
723
+                "post_dummy" => '1'
724
+            );
725
+
726
+            ////post end///
727
+            /// Hotels ////post start 1///
728
+            break;
729
+        case 12:
730
+
731
+
732
+            $image_array = array();
733
+            $post_meta = array();
734
+
735
+            /// Hotels ////post start 2///
736
+            $image_array[] = "$dummy_image_url/hotels5.jpg";
737
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
738
+            $image_array[] = "$dummy_image_url/hotels3.jpg";
739
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
740
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
741
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
742
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
743
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
744
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
745
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
746
+            $image_array[] = "$dummy_image_url/hotels11.jpg";
747
+
748
+            $post_info[] = array(
749
+                "listing_type" => 'gd_place',
750
+                "post_title" => 'Embassy Suites Philadelphia',
751
+                "post_desc" => '
752 752
 	The newly renovated Embassy Suites Philadelphia – Center City hotel is conveniently situated in the heart of downtown Philadelphia, Pennsylvania and Philadelphia&acute;s Center City business district. This hotel in Philadelphia is located only eight miles from Philadelphia International Airport and just minutes from top Philadelphia attractions, including:
753 753
 	
754 754
 	Philadelphia Museum of Art
@@ -764,45 +764,45 @@  discard block
 block discarded – undo
764 764
 	
765 765
 	A delicious, complimentary cooked-to-order breakfast is offered each morning, and a hotel Manager&acute;s Reception every night – featuring complimentary refreshments and great company.
766 766
 	',
767
-            "post_images" => $image_array,
768
-            "post_category" => array('gd_placecategory' => array('Hotels')),
769
-            "post_tags" => array(''),
770
-            "geodir_video" => '',
771
-            "geodir_timing" => 'Daily, 10:30 am – 10 pm',
772
-            "geodir_contact" => '(111) 111-0000',
773
-            "geodir_email" => '[email protected]',
774
-            "geodir_website" => 'http://embassysuites1.hilton.com/en_US/es/hotel/PHLDTES-Embassy-Suites-Philadelphia-Center-City-Pennsylvania/index.do',
775
-            "geodir_twitter" => 'http://twitter.com/embassysuites1',
776
-            "geodir_facebook" => 'http://facebook.com/embassysuites1',
777
-            "post_dummy" => '1'
778
-        );
779
-
780
-        ////post end///
781
-        /// Hotels ////post start 2///
782
-
783
-        break;
784
-    case 13:
785
-
786
-        $image_array = array();
787
-        $post_meta = array();
788
-
789
-        /// Hotels ////post start 3///
790
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
791
-        $image_array[] = "$dummy_image_url/hotels11.jpg";
792
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
793
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
794
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
795
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
796
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
797
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
798
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
799
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
800
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
801
-
802
-        $post_info[] = array(
803
-            "listing_type" => 'gd_place',
804
-            "post_title" => 'Doubletree Hotel Philadelphia',
805
-            "post_desc" => '
767
+                "post_images" => $image_array,
768
+                "post_category" => array('gd_placecategory' => array('Hotels')),
769
+                "post_tags" => array(''),
770
+                "geodir_video" => '',
771
+                "geodir_timing" => 'Daily, 10:30 am – 10 pm',
772
+                "geodir_contact" => '(111) 111-0000',
773
+                "geodir_email" => '[email protected]',
774
+                "geodir_website" => 'http://embassysuites1.hilton.com/en_US/es/hotel/PHLDTES-Embassy-Suites-Philadelphia-Center-City-Pennsylvania/index.do',
775
+                "geodir_twitter" => 'http://twitter.com/embassysuites1',
776
+                "geodir_facebook" => 'http://facebook.com/embassysuites1',
777
+                "post_dummy" => '1'
778
+            );
779
+
780
+            ////post end///
781
+            /// Hotels ////post start 2///
782
+
783
+            break;
784
+        case 13:
785
+
786
+            $image_array = array();
787
+            $post_meta = array();
788
+
789
+            /// Hotels ////post start 3///
790
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
791
+            $image_array[] = "$dummy_image_url/hotels11.jpg";
792
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
793
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
794
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
795
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
796
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
797
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
798
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
799
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
800
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
801
+
802
+            $post_info[] = array(
803
+                "listing_type" => 'gd_place',
804
+                "post_title" => 'Doubletree Hotel Philadelphia',
805
+                "post_desc" => '
806 806
 	With 434 rooms, the Doubletree Hotel is a great option for your upcoming stay in Philadelphia.
807 807
 	
808 808
 	<h3>Location </h3>
@@ -832,47 +832,47 @@  discard block
 block discarded – undo
832 832
 	Stop in the restaurant - which serves lunch and dinner daily - for a drink and some light fare. With its location right on Broad Street, you&acute;re close to everything you could ever want in a night on the town.
833 833
 	',
834 834
 
835
-            "post_images" => $image_array,
836
-
837
-            "post_category" => array('gd_placecategory' => array('Hotels')),
838
-            "post_tags" => array(''),
839
-            "geodir_video" => '',
840
-            "geodir_timing" => 'Daily, 10:30 am – 10 pm',
841
-            "geodir_contact" => '(111) 111-0000',
842
-            "geodir_email" => '[email protected]',
843
-            "geodir_website" => 'http://doubletree1.hilton.com/en_US/dt/hotel/PHLBLDT-Doubletree-Hotel-Philadelphia-Pennsylvania/index.do',
844
-            "geodir_twitter" => 'http://twitter.com/doubletree1',
845
-            "geodir_facebook" => 'http://facebook.com/doubletree1',
846
-            "post_dummy" => '1'
847
-        );
848
-
849
-        ////post end///
850
-        /// Hotels ////post start 3///
851
-
852
-        break;
853
-    case 14:
854
-
855
-
856
-        $image_array = array();
857
-        $post_meta = array();
858
-
859
-        /// Hotels ////post start 4///
860
-        $image_array[] = "$dummy_image_url/hotels15.jpg";
861
-        $image_array[] = "$dummy_image_url/hotels16.jpg";
862
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
863
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
864
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
865
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
866
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
867
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
868
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
869
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
870
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
871
-
872
-        $post_info[] = array(
873
-            "listing_type" => 'gd_place',
874
-            "post_title" => 'Philadelphia Marriott Downtown',
875
-            "post_desc" => '
835
+                "post_images" => $image_array,
836
+
837
+                "post_category" => array('gd_placecategory' => array('Hotels')),
838
+                "post_tags" => array(''),
839
+                "geodir_video" => '',
840
+                "geodir_timing" => 'Daily, 10:30 am – 10 pm',
841
+                "geodir_contact" => '(111) 111-0000',
842
+                "geodir_email" => '[email protected]',
843
+                "geodir_website" => 'http://doubletree1.hilton.com/en_US/dt/hotel/PHLBLDT-Doubletree-Hotel-Philadelphia-Pennsylvania/index.do',
844
+                "geodir_twitter" => 'http://twitter.com/doubletree1',
845
+                "geodir_facebook" => 'http://facebook.com/doubletree1',
846
+                "post_dummy" => '1'
847
+            );
848
+
849
+            ////post end///
850
+            /// Hotels ////post start 3///
851
+
852
+            break;
853
+        case 14:
854
+
855
+
856
+            $image_array = array();
857
+            $post_meta = array();
858
+
859
+            /// Hotels ////post start 4///
860
+            $image_array[] = "$dummy_image_url/hotels15.jpg";
861
+            $image_array[] = "$dummy_image_url/hotels16.jpg";
862
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
863
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
864
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
865
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
866
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
867
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
868
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
869
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
870
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
871
+
872
+            $post_info[] = array(
873
+                "listing_type" => 'gd_place',
874
+                "post_title" => 'Philadelphia Marriott Downtown',
875
+                "post_desc" => '
876 876
 	Get ready to stay and play at the new aloft Philadelphia Airport!
877 877
 	
878 878
 	This incredibly modern hotel is located just five minutes from Philadelphia International Airport, offering a great convenience to travelers looking for fresh and fun accommodations.
@@ -899,45 +899,45 @@  discard block
 block discarded – undo
899 899
 	
900 900
 	Aahh…breathe deep at Aloft. This hotel is smoke-free.
901 901
 	',
902
-            "post_images" => $image_array,
903
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
904
-            "post_tags" => array(''),
905
-            "geodir_video" => '',
906
-            "geodir_timing" => '24 Hours',
907
-            "geodir_contact" => '(123) 111-2222',
908
-            "geodir_email" => '[email protected]',
909
-            "geodir_website" => 'http://www.marriott.com/hotels/travel/phldt-philadelphia-marriott-downtown/',
910
-            "geodir_twitter" => 'http://twitter.com/marriott',
911
-            "geodir_facebook" => 'http://facebook.com/marriott',
912
-            "post_dummy" => '1'
913
-        );
914
-
915
-        ////post end///
916
-        /// Hotels ////post start 4///
917
-        break;
918
-    case 15:
919
-
920
-
921
-        $image_array = array();
922
-        $post_meta = array();
923
-
924
-        /// Hotels ////post start 5///
925
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
926
-        $image_array[] = "$dummy_image_url/hotels16.jpg";
927
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
928
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
929
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
930
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
931
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
932
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
933
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
934
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
935
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
936
-
937
-        $post_info[] = array(
938
-            "listing_type" => 'gd_place',
939
-            "post_title" => 'Hilton Inn at Penn',
940
-            "post_desc" => '
902
+                "post_images" => $image_array,
903
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
904
+                "post_tags" => array(''),
905
+                "geodir_video" => '',
906
+                "geodir_timing" => '24 Hours',
907
+                "geodir_contact" => '(123) 111-2222',
908
+                "geodir_email" => '[email protected]',
909
+                "geodir_website" => 'http://www.marriott.com/hotels/travel/phldt-philadelphia-marriott-downtown/',
910
+                "geodir_twitter" => 'http://twitter.com/marriott',
911
+                "geodir_facebook" => 'http://facebook.com/marriott',
912
+                "post_dummy" => '1'
913
+            );
914
+
915
+            ////post end///
916
+            /// Hotels ////post start 4///
917
+            break;
918
+        case 15:
919
+
920
+
921
+            $image_array = array();
922
+            $post_meta = array();
923
+
924
+            /// Hotels ////post start 5///
925
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
926
+            $image_array[] = "$dummy_image_url/hotels16.jpg";
927
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
928
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
929
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
930
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
931
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
932
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
933
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
934
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
935
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
936
+
937
+            $post_info[] = array(
938
+                "listing_type" => 'gd_place',
939
+                "post_title" => 'Hilton Inn at Penn',
940
+                "post_desc" => '
941 941
 	Located in the heart of Penn&acute;s campus in the beautiful University City neighborhood of Philadelphia, The Hilton Inn at Penn is a great choice for accommodations during your upcoming visit to Philadelphia.
942 942
 	
943 943
 	The location puts you right in the middle of the prestigious University of Pennsylvania and its many nearby educational, medical and corporate centers. And Center City Philadelphia is only a short cab ride away. So if you want to get out and explore the city, you are set.
@@ -953,45 +953,45 @@  discard block
 block discarded – undo
953 953
 	
954 954
 	The pasta is handmade right in front of you and then dished up along side delectable entrées such as grilled veal tenderloin and honey glazed sea scallops. And the wine bar offers more than 30 varieties by the glass and more than 100 by the bottle.  
955 955
 	',
956
-            "post_images" => $image_array,
957
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
958
-            "post_tags" => array(''),
959
-            "geodir_video" => '',
960
-            "geodir_timing" => 'Daily : 11 am to 11 pm',
961
-            "geodir_contact" => '(888) 888-8888',
962
-            "geodir_email" => '[email protected]',
963
-            "geodir_website" => 'http://www.theinnatpenn.com/',
964
-            "geodir_twitter" => 'http://twitter.com/theinnatpenn',
965
-            "geodir_facebook" => 'http://facebook.com/theinnatpenn',
966
-            "post_dummy" => '1'
967
-        );
968
-
969
-        ////post end///
970
-        /// Hotels ////post start 5///
971
-        break;
972
-    case 16:
973
-
974
-
975
-        $image_array = array();
976
-        $post_meta = array();
977
-
978
-        /// Hotels ////post start 6///
979
-        $image_array[] = "$dummy_image_url/hotels17.jpg";
980
-        $image_array[] = "$dummy_image_url/hotels18.jpg";
981
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
982
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
983
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
984
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
985
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
986
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
987
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
988
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
989
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
990
-
991
-        $post_info[] = array(
992
-            "listing_type" => 'gd_place',
993
-            "post_title" => 'Courtyard Philadelphia Downtown',
994
-            "post_desc" => '
956
+                "post_images" => $image_array,
957
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
958
+                "post_tags" => array(''),
959
+                "geodir_video" => '',
960
+                "geodir_timing" => 'Daily : 11 am to 11 pm',
961
+                "geodir_contact" => '(888) 888-8888',
962
+                "geodir_email" => '[email protected]',
963
+                "geodir_website" => 'http://www.theinnatpenn.com/',
964
+                "geodir_twitter" => 'http://twitter.com/theinnatpenn',
965
+                "geodir_facebook" => 'http://facebook.com/theinnatpenn',
966
+                "post_dummy" => '1'
967
+            );
968
+
969
+            ////post end///
970
+            /// Hotels ////post start 5///
971
+            break;
972
+        case 16:
973
+
974
+
975
+            $image_array = array();
976
+            $post_meta = array();
977
+
978
+            /// Hotels ////post start 6///
979
+            $image_array[] = "$dummy_image_url/hotels17.jpg";
980
+            $image_array[] = "$dummy_image_url/hotels18.jpg";
981
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
982
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
983
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
984
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
985
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
986
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
987
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
988
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
989
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
990
+
991
+            $post_info[] = array(
992
+                "listing_type" => 'gd_place',
993
+                "post_title" => 'Courtyard Philadelphia Downtown',
994
+                "post_desc" => '
995 995
 	<h3>Overview </h3>
996 996
 	
997 997
 	The Philadelphia Downtown Courtyard opened it&acute;s doors after a grand $75 million restoration, recapturing the grandeur of its 1926 origins while incorporating state of the art systems throughout.
@@ -1021,45 +1021,45 @@  discard block
 block discarded – undo
1021 1021
 	
1022 1022
 	Recently featured on WE TV&acute;s “My Fair Wedding”, the Courtyard Marriott Philadelphia is one of the city&acute;s leading venues for corporate and social affairs with over 10,000 sq ft of flexible meeting space, including two Grand Ballrooms each with over 3,000 square feet accommodating up to 250 people. In addition, the hotel has a total of 11 meeting rooms making it an ideal home for all occasions. The hotel boasts an experienced full-service Event and Culinary Teams, ready to take care of all the details and ensure your event is not only a success, but a lasting memory. 
1023 1023
 	',
1024
-            "post_images" => $image_array,
1025
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1026
-            "post_tags" => array(''),
1027
-            "geodir_video" => '',
1028
-            "geodir_timing" => 'Daily : 11 am to 11 pm',
1029
-            "geodir_contact" => '(888) 888-8888',
1030
-            "geodir_email" => '[email protected]',
1031
-            "geodir_website" => 'http://www.theinnatpenn.com/',
1032
-            "geodir_twitter" => 'http://twitter.com/theinnatpenn',
1033
-            "geodir_facebook" => 'http://facebook.com/theinnatpenn',
1034
-            "post_dummy" => '1'
1035
-        );
1036
-
1037
-        ////post end///
1038
-        /// Hotels ////post start 6///
1039
-
1040
-        break;
1041
-    case 17:
1042
-
1043
-        $image_array = array();
1044
-        $post_meta = array();
1045
-
1046
-        /// Hotels ////post start 7///
1047
-        $image_array[] = "$dummy_image_url/hotels11.jpg";
1048
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
1049
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
1050
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
1051
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1052
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
1053
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
1054
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
1055
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
1056
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1057
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
1058
-
1059
-        $post_info[] = array(
1060
-            "listing_type" => 'gd_place',
1061
-            "post_title" => 'Four Seasons Philadelphia',
1062
-            "post_desc" => '
1024
+                "post_images" => $image_array,
1025
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1026
+                "post_tags" => array(''),
1027
+                "geodir_video" => '',
1028
+                "geodir_timing" => 'Daily : 11 am to 11 pm',
1029
+                "geodir_contact" => '(888) 888-8888',
1030
+                "geodir_email" => '[email protected]',
1031
+                "geodir_website" => 'http://www.theinnatpenn.com/',
1032
+                "geodir_twitter" => 'http://twitter.com/theinnatpenn',
1033
+                "geodir_facebook" => 'http://facebook.com/theinnatpenn',
1034
+                "post_dummy" => '1'
1035
+            );
1036
+
1037
+            ////post end///
1038
+            /// Hotels ////post start 6///
1039
+
1040
+            break;
1041
+        case 17:
1042
+
1043
+            $image_array = array();
1044
+            $post_meta = array();
1045
+
1046
+            /// Hotels ////post start 7///
1047
+            $image_array[] = "$dummy_image_url/hotels11.jpg";
1048
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
1049
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
1050
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
1051
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1052
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
1053
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
1054
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
1055
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
1056
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1057
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
1058
+
1059
+            $post_info[] = array(
1060
+                "listing_type" => 'gd_place',
1061
+                "post_title" => 'Four Seasons Philadelphia',
1062
+                "post_desc" => '
1063 1063
 	<h3>Overview </h3>
1064 1064
 	
1065 1065
 	The Philadelphia Downtown Courtyard opened it&acute;s doors after a grand $75 million restoration, recapturing the grandeur of its 1926 origins while incorporating state of the art systems throughout.
@@ -1089,45 +1089,45 @@  discard block
 block discarded – undo
1089 1089
 	
1090 1090
 	Recently featured on WE TV&acute;s “My Fair Wedding”, the Courtyard Marriott Philadelphia is one of the city&acute;s leading venues for corporate and social affairs with over 10,000 sq ft of flexible meeting space, including two Grand Ballrooms each with over 3,000 square feet accommodating up to 250 people. In addition, the hotel has a total of 11 meeting rooms making it an ideal home for all occasions. The hotel boasts an experienced full-service Event and Culinary Teams, ready to take care of all the details and ensure your event is not only a success, but a lasting memory. 
1091 1091
 	',
1092
-            "post_images" => $image_array,
1093
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1094
-            "post_tags" => array(''),
1095
-            "geodir_video" => '',
1096
-            "geodir_timing" => 'Daily : 11 am to 11 pm',
1097
-            "geodir_contact" => '(143) 888-8888',
1098
-            "geodir_email" => '[email protected]',
1099
-            "geodir_website" => 'http://www.fourseasons.com/philadelphia/',
1100
-            "geodir_twitter" => 'http://twitter.com/fourseasons',
1101
-            "geodir_facebook" => 'http://facebook.com/fourseasons',
1102
-            "post_dummy" => '1'
1103
-        );
1104
-
1105
-        ////post end///
1106
-        /// Hotels ////post start 7///
1107
-        break;
1108
-    case 18:
1109
-
1110
-
1111
-        $image_array = array();
1112
-        $post_meta = array();
1113
-
1114
-        /// Hotels ////post start 8///
1115
-        $image_array[] = "$dummy_image_url/hotels11.jpg";
1116
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
1117
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
1118
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
1119
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1120
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
1121
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
1122
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
1123
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
1124
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1125
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
1126
-
1127
-        $post_info[] = array(
1128
-            "listing_type" => 'gd_place',
1129
-            "post_title" => 'Alexander Inn',
1130
-            "post_desc" => '
1092
+                "post_images" => $image_array,
1093
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1094
+                "post_tags" => array(''),
1095
+                "geodir_video" => '',
1096
+                "geodir_timing" => 'Daily : 11 am to 11 pm',
1097
+                "geodir_contact" => '(143) 888-8888',
1098
+                "geodir_email" => '[email protected]',
1099
+                "geodir_website" => 'http://www.fourseasons.com/philadelphia/',
1100
+                "geodir_twitter" => 'http://twitter.com/fourseasons',
1101
+                "geodir_facebook" => 'http://facebook.com/fourseasons',
1102
+                "post_dummy" => '1'
1103
+            );
1104
+
1105
+            ////post end///
1106
+            /// Hotels ////post start 7///
1107
+            break;
1108
+        case 18:
1109
+
1110
+
1111
+            $image_array = array();
1112
+            $post_meta = array();
1113
+
1114
+            /// Hotels ////post start 8///
1115
+            $image_array[] = "$dummy_image_url/hotels11.jpg";
1116
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
1117
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
1118
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
1119
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1120
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
1121
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
1122
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
1123
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
1124
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1125
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
1126
+
1127
+            $post_info[] = array(
1128
+                "listing_type" => 'gd_place',
1129
+                "post_title" => 'Alexander Inn',
1130
+                "post_desc" => '
1131 1131
 	The Alexander Inn is one of Philadelphia&acute;s most popular and reasonably priced small hotels.
1132 1132
 	
1133 1133
 	Conveniently located in the heart of the Washington Square West neighborhood in Center City Philadelphia, the Alexander Inn is a great place to base your stay in Philadelphia.
@@ -1136,45 +1136,45 @@  discard block
 block discarded – undo
1136 1136
 	
1137 1137
 	Rooms are also fitted with DirecTV (including many complimentary channels like CNN, ESPN, eight movie channels, etc.) and telephones with modem ports and direct dial. You will also have access to the hotel&acute;s free 24-hour fitness and e-mail centers.  
1138 1138
 	',
1139
-            "post_images" => $image_array,
1140
-            "post_category" => array('gd_placecategory' => array('Hotels')),
1141
-            "post_tags" => array(''),
1142
-            "geodir_video" => '',
1143
-            "geodir_timing" => 'Daily : 11 am to 11 pm',
1144
-            "geodir_contact" => '(143) 888-8888',
1145
-            "geodir_email" => '[email protected]',
1146
-            "geodir_website" => 'http://www.alexanderinn.com/',
1147
-            "geodir_twitter" => 'http://twitter.com/alexanderinn',
1148
-            "geodir_facebook" => 'http://facebook.com/alexanderinn',
1149
-            "post_dummy" => '1'
1150
-        );
1151
-
1152
-        ////post end///
1153
-        /// Hotels ////post start 8///
1154
-        break;
1155
-    case 19:
1156
-
1157
-
1158
-        $image_array = array();
1159
-        $post_meta = array();
1160
-
1161
-        /// Hotels ////post start 9///
1162
-        $image_array[] = "$dummy_image_url/hotels5.jpg";
1163
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
1164
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
1165
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
1166
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1167
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
1168
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
1169
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
1170
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
1171
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1172
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
1173
-
1174
-        $post_info[] = array(
1175
-            "listing_type" => 'gd_place',
1176
-            "post_title" => 'Best Western Center City Hotel',
1177
-            "post_desc" => '
1139
+                "post_images" => $image_array,
1140
+                "post_category" => array('gd_placecategory' => array('Hotels')),
1141
+                "post_tags" => array(''),
1142
+                "geodir_video" => '',
1143
+                "geodir_timing" => 'Daily : 11 am to 11 pm',
1144
+                "geodir_contact" => '(143) 888-8888',
1145
+                "geodir_email" => '[email protected]',
1146
+                "geodir_website" => 'http://www.alexanderinn.com/',
1147
+                "geodir_twitter" => 'http://twitter.com/alexanderinn',
1148
+                "geodir_facebook" => 'http://facebook.com/alexanderinn',
1149
+                "post_dummy" => '1'
1150
+            );
1151
+
1152
+            ////post end///
1153
+            /// Hotels ////post start 8///
1154
+            break;
1155
+        case 19:
1156
+
1157
+
1158
+            $image_array = array();
1159
+            $post_meta = array();
1160
+
1161
+            /// Hotels ////post start 9///
1162
+            $image_array[] = "$dummy_image_url/hotels5.jpg";
1163
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
1164
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
1165
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
1166
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1167
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
1168
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
1169
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
1170
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
1171
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1172
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
1173
+
1174
+            $post_info[] = array(
1175
+                "listing_type" => 'gd_place',
1176
+                "post_title" => 'Best Western Center City Hotel',
1177
+                "post_desc" => '
1178 1178
 	The Alexander Inn is one of Philadelphia&acute;s most popular and reasonably priced small hotels.
1179 1179
 	
1180 1180
 	Conveniently located in the heart of the Washington Square West neighborhood in Center City Philadelphia, the Alexander Inn is a great place to base your stay in Philadelphia.
@@ -1183,91 +1183,91 @@  discard block
 block discarded – undo
1183 1183
 	
1184 1184
 	Rooms are also fitted with DirecTV (including many complimentary channels like CNN, ESPN, eight movie channels, etc.) and telephones with modem ports and direct dial. You will also have access to the hotel&acute;s free 24-hour fitness and e-mail centers.  
1185 1185
 	',
1186
-            "post_images" => $image_array,
1187
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1188
-            "post_tags" => array(''),
1189
-            "geodir_video" => '',
1190
-            "geodir_timing" => 'Daily : 10 am to 11 pm',
1191
-            "geodir_contact" => '(243) 222-12344',
1192
-            "geodir_email" => '[email protected]',
1193
-            "geodir_website" => 'http://book.bestwestern.com/bestwestern/productInfo.do?propertyCode=39087',
1194
-            "geodir_twitter" => 'http://twitter.com/bestwestern',
1195
-            "geodir_facebook" => 'http://facebook.com/bestwestern',
1196
-            "post_dummy" => '1'
1197
-        );
1198
-
1199
-        ////post end///
1200
-        /// Hotels ////post start 9///
1201
-        break;
1202
-    case 20:
1203
-
1204
-
1205
-        $image_array = array();
1206
-        $post_meta = array();
1207
-
1208
-        /// Hotels ////post start 10///
1209
-        $image_array[] = "$dummy_image_url/hotels7.jpg";
1210
-        $image_array[] = "$dummy_image_url/hotels10.jpg";
1211
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
1212
-        $image_array[] = "$dummy_image_url/hotels4.jpg";
1213
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1214
-        $image_array[] = "$dummy_image_url/hotels6.jpg";
1215
-        $image_array[] = "$dummy_image_url/hotels12.jpg";
1216
-        $image_array[] = "$dummy_image_url/hotels8.jpg";
1217
-        $image_array[] = "$dummy_image_url/hotels9.jpg";
1218
-        $image_array[] = "$dummy_image_url/hotels1.jpg";
1219
-        $image_array[] = "$dummy_image_url/hotels2.jpg";
1220
-
1221
-        $post_info[] = array(
1222
-            "listing_type" => 'gd_place',
1223
-            "post_title" => 'Chestnut Hill Hotel',
1224
-            "post_desc" => '
1186
+                "post_images" => $image_array,
1187
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Food Nightlife')),
1188
+                "post_tags" => array(''),
1189
+                "geodir_video" => '',
1190
+                "geodir_timing" => 'Daily : 10 am to 11 pm',
1191
+                "geodir_contact" => '(243) 222-12344',
1192
+                "geodir_email" => '[email protected]',
1193
+                "geodir_website" => 'http://book.bestwestern.com/bestwestern/productInfo.do?propertyCode=39087',
1194
+                "geodir_twitter" => 'http://twitter.com/bestwestern',
1195
+                "geodir_facebook" => 'http://facebook.com/bestwestern',
1196
+                "post_dummy" => '1'
1197
+            );
1198
+
1199
+            ////post end///
1200
+            /// Hotels ////post start 9///
1201
+            break;
1202
+        case 20:
1203
+
1204
+
1205
+            $image_array = array();
1206
+            $post_meta = array();
1207
+
1208
+            /// Hotels ////post start 10///
1209
+            $image_array[] = "$dummy_image_url/hotels7.jpg";
1210
+            $image_array[] = "$dummy_image_url/hotels10.jpg";
1211
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
1212
+            $image_array[] = "$dummy_image_url/hotels4.jpg";
1213
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1214
+            $image_array[] = "$dummy_image_url/hotels6.jpg";
1215
+            $image_array[] = "$dummy_image_url/hotels12.jpg";
1216
+            $image_array[] = "$dummy_image_url/hotels8.jpg";
1217
+            $image_array[] = "$dummy_image_url/hotels9.jpg";
1218
+            $image_array[] = "$dummy_image_url/hotels1.jpg";
1219
+            $image_array[] = "$dummy_image_url/hotels2.jpg";
1220
+
1221
+            $post_info[] = array(
1222
+                "listing_type" => 'gd_place',
1223
+                "post_title" => 'Chestnut Hill Hotel',
1224
+                "post_desc" => '
1225 1225
 	The Chestnut Hill Hotel is located in the historic community of Chestnut Hill, approximately nine miles northwest from Center City Philadelphia. Although Chestnut Hill is close to Center City by today&acute;s standards, it was originally a distant “suburb” on the outskirts of the Philadelphia countryside.
1226 1226
 	
1227 1227
 	Today, it is one of the region&acute;s most charming neighborhoods. Tree-lined streets and grand estates surround its main street, Germantown Avenue, where you can stroll and shop at more than 200 specialty shops and restaurants, along with trendy salons and other modern boutiques.
1228 1228
 	
1229 1229
 	The Chestnut Hill Hotel fits perfectly in this setting - the hotel&acute;s 36 rooms and suites, decorated in an 18th-century style, hold the hotel to its boutique roots. It&acute;s a perfect place at which to enjoy a romantic getaway in Philadelphia. 
1230 1230
 	',
1231
-            "post_images" => $image_array,
1232
-            "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
1233
-            "post_tags" => array(''),
1234
-            "geodir_video" => '',
1235
-            "geodir_timing" => 'Daily : 10 am to 11 pm',
1236
-            "geodir_contact" => '(243) 222-12344',
1237
-            "geodir_email" => '[email protected]',
1238
-            "geodir_website" => 'http://www.chestnuthillhotel.com/',
1239
-            "geodir_twitter" => 'http://twitter.com/chestnuthillhotel',
1240
-            "geodir_facebook" => 'http://facebook.com/chestnuthillhotel',
1241
-            "post_dummy" => '1'
1242
-        );
1243
-
1244
-        ////post end///
1245
-        /// Hotels ////post start 10///
1246
-
1247
-        break;
1248
-    case 21:
1249
-
1250
-
1251
-        $image_array = array();
1252
-        $post_meta = array();
1253
-
1254
-        /// Restaurants ////post start 1//
1255
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1256
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1257
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1258
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1259
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1260
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1261
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1262
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1263
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1264
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1265
-        $image_array[] = "$dummy_image_url/restaurants11.jpg";
1266
-
1267
-        $post_info[] = array(
1268
-            "listing_type" => 'gd_place',
1269
-            "post_title" => 'Village Whiskey',
1270
-            "post_desc" => '
1231
+                "post_images" => $image_array,
1232
+                "post_category" => array('gd_placecategory' => array('Hotels', 'Feature')),
1233
+                "post_tags" => array(''),
1234
+                "geodir_video" => '',
1235
+                "geodir_timing" => 'Daily : 10 am to 11 pm',
1236
+                "geodir_contact" => '(243) 222-12344',
1237
+                "geodir_email" => '[email protected]',
1238
+                "geodir_website" => 'http://www.chestnuthillhotel.com/',
1239
+                "geodir_twitter" => 'http://twitter.com/chestnuthillhotel',
1240
+                "geodir_facebook" => 'http://facebook.com/chestnuthillhotel',
1241
+                "post_dummy" => '1'
1242
+            );
1243
+
1244
+            ////post end///
1245
+            /// Hotels ////post start 10///
1246
+
1247
+            break;
1248
+        case 21:
1249
+
1250
+
1251
+            $image_array = array();
1252
+            $post_meta = array();
1253
+
1254
+            /// Restaurants ////post start 1//
1255
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1256
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1257
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1258
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1259
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1260
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1261
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1262
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1263
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1264
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1265
+            $image_array[] = "$dummy_image_url/restaurants11.jpg";
1266
+
1267
+            $post_info[] = array(
1268
+                "listing_type" => 'gd_place',
1269
+                "post_title" => 'Village Whiskey',
1270
+                "post_desc" => '
1271 1271
 	
1272 1272
 	
1273 1273
 	Located in a Rittenhouse Square space evoking the free-wheeling spirit of a speakeasy, Village Whiskey is prolific Chef Jose Garces’ intimate, 30-seat tribute to the time-honored liquor.
@@ -1293,45 +1293,45 @@  discard block
 block discarded – undo
1293 1293
 	
1294 1294
 	During the warmer months, diners can sit at large, wooden tables placed along Sansom Street for whiskey alfresco.
1295 1295
 	',
1296
-            "post_images" => $image_array,
1297
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Feature')),
1298
-            "post_tags" => array('Sample Tag1'),
1299
-            "geodir_video" => '',
1300
-            "geodir_timing" => 'Daily : 10 am to 11 pm',
1301
-            "geodir_contact" => '(243) 222-12344',
1302
-            "geodir_email" => '[email protected]',
1303
-            "geodir_website" => 'http://www.villagewhiskey.com/',
1304
-            "geodir_twitter" => 'http://twitter.com/villagewhiskey',
1305
-            "geodir_facebook" => 'http://facebook.com/villagewhiskey',
1306
-            "post_dummy" => '1'
1307
-        );
1308
-
1309
-        ////post end///
1310
-        /// Restaurants ////post start 1///
1311
-        break;
1312
-    case 22:
1313
-
1314
-
1315
-        $image_array = array();
1316
-        $post_meta = array();
1317
-
1318
-        /// Restaurants ////post start 2//
1319
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1320
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1321
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1322
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1323
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1324
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1325
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1326
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1327
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1328
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1329
-        $image_array[] = "$dummy_image_url/restaurants11.jpg";
1330
-
1331
-        $post_info[] = array(
1332
-            "listing_type" => 'gd_place',
1333
-            "post_title" => 'Zavino Pizzeria and Wine Bar',
1334
-            "post_desc" => '
1296
+                "post_images" => $image_array,
1297
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Feature')),
1298
+                "post_tags" => array('Sample Tag1'),
1299
+                "geodir_video" => '',
1300
+                "geodir_timing" => 'Daily : 10 am to 11 pm',
1301
+                "geodir_contact" => '(243) 222-12344',
1302
+                "geodir_email" => '[email protected]',
1303
+                "geodir_website" => 'http://www.villagewhiskey.com/',
1304
+                "geodir_twitter" => 'http://twitter.com/villagewhiskey',
1305
+                "geodir_facebook" => 'http://facebook.com/villagewhiskey',
1306
+                "post_dummy" => '1'
1307
+            );
1308
+
1309
+            ////post end///
1310
+            /// Restaurants ////post start 1///
1311
+            break;
1312
+        case 22:
1313
+
1314
+
1315
+            $image_array = array();
1316
+            $post_meta = array();
1317
+
1318
+            /// Restaurants ////post start 2//
1319
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1320
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1321
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1322
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1323
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1324
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1325
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1326
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1327
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1328
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1329
+            $image_array[] = "$dummy_image_url/restaurants11.jpg";
1330
+
1331
+            $post_info[] = array(
1332
+                "listing_type" => 'gd_place',
1333
+                "post_title" => 'Zavino Pizzeria and Wine Bar',
1334
+                "post_desc" => '
1335 1335
 	Zavino is a new pizzeria and wine bar located at the epicenter of the city&acute;s trendy Midtown Village neighborhood. The restaurant features a seasonal menu, classic cocktails, an approachable selection of wine and beer and some of the best late night menu offerings in the area.
1336 1336
 	
1337 1337
 	The restaurant&acute;s interior looks great - it has a simple, rustic feel with an original brick wall, large picture windows, a long bar and a large outdoor cafe coming this spring.
@@ -1350,46 +1350,46 @@  discard block
 block discarded – undo
1350 1350
 	
1351 1351
 	Pizzas vary in price from $8 to $12.
1352 1352
 	',
1353
-            "post_images" => $image_array,
1354
-            "post_category" => array('gd_placecategory' => array('Restaurants')),
1355
-            "post_tags" => array('Sample Tag1'),
1356
-            "geodir_video" => '',
1357
-            "geodir_timing" => 'Daily : 10 am to 11 pm',
1358
-            "geodir_contact" => '(243) 222-12344',
1359
-            "geodir_email" => '[email protected]',
1360
-            "geodir_website" => 'http://www.villagewhiskey.com/',
1361
-            "geodir_twitter" => 'http://twitter.com/villagewhiskey',
1362
-            "geodir_facebook" => 'http://facebook.com/villagewhiskey',
1363
-            "post_dummy" => '1'
1364
-        );
1365
-
1366
-        ////post end///
1367
-        /// Restaurants ////post start 2///
1368
-
1369
-        break;
1370
-    case 23:
1371
-
1372
-
1373
-        $image_array = array();
1374
-        $post_meta = array();
1375
-
1376
-        /// Restaurants ////post start 3//
1377
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1378
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1379
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1380
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1381
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1382
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1383
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1384
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1385
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1386
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1387
-        $image_array[] = "$dummy_image_url/restaurants11.jpg";
1388
-
1389
-        $post_info[] = array(
1390
-            "listing_type" => 'gd_place',
1391
-            "post_title" => 'Parc',
1392
-            "post_desc" => '
1353
+                "post_images" => $image_array,
1354
+                "post_category" => array('gd_placecategory' => array('Restaurants')),
1355
+                "post_tags" => array('Sample Tag1'),
1356
+                "geodir_video" => '',
1357
+                "geodir_timing" => 'Daily : 10 am to 11 pm',
1358
+                "geodir_contact" => '(243) 222-12344',
1359
+                "geodir_email" => '[email protected]',
1360
+                "geodir_website" => 'http://www.villagewhiskey.com/',
1361
+                "geodir_twitter" => 'http://twitter.com/villagewhiskey',
1362
+                "geodir_facebook" => 'http://facebook.com/villagewhiskey',
1363
+                "post_dummy" => '1'
1364
+            );
1365
+
1366
+            ////post end///
1367
+            /// Restaurants ////post start 2///
1368
+
1369
+            break;
1370
+        case 23:
1371
+
1372
+
1373
+            $image_array = array();
1374
+            $post_meta = array();
1375
+
1376
+            /// Restaurants ////post start 3//
1377
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1378
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1379
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1380
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1381
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1382
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1383
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1384
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1385
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1386
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1387
+            $image_array[] = "$dummy_image_url/restaurants11.jpg";
1388
+
1389
+            $post_info[] = array(
1390
+                "listing_type" => 'gd_place',
1391
+                "post_title" => 'Parc',
1392
+                "post_desc" => '
1393 1393
 	If you love Paris in the springtime, Parc is a veritable grand cru.
1394 1394
 	
1395 1395
 	With Parc, famed restaurateur Stephen Starr brings a certain je ne sais quoi to Rittenhouse Square. Parc offers an authentic French bistro experience, fully equipped with a chic Parisian ambiance and gorgeous sidewalk seating overlooking the Square.
@@ -1417,45 +1417,45 @@  discard block
 block discarded – undo
1417 1417
 	
1418 1418
 	To put it simply, Parc is nothing short of an authentic Parisian dining experience - right here in the heart of Rittenhouse Square.
1419 1419
 	',
1420
-            "post_images" => $image_array,
1421
-            "post_category" => array('gd_placecategory' => array('Restaurants')),
1422
-            "post_tags" => array('Sample Tag1'),
1423
-            "geodir_video" => '',
1424
-            "geodir_timing" => 'Daily : 10 am to 12 pm',
1425
-            "geodir_contact" => '(143) 222-12344',
1426
-            "geodir_email" => '[email protected]',
1427
-            "geodir_website" => 'http://www.parc-restaurant.com/',
1428
-            "geodir_twitter" => 'http://twitter.com/parc-restaurant',
1429
-            "geodir_facebook" => 'http://facebook.com/parc-restaurant',
1430
-            "post_dummy" => '1'
1431
-        );
1432
-
1433
-        ////post end///
1434
-        /// Restaurants ////post start 3///
1435
-        break;
1436
-    case 24:
1437
-
1438
-
1439
-        $image_array = array();
1440
-        $post_meta = array();
1441
-
1442
-        /// Restaurants ////post start 4//
1443
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1444
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1445
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1446
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1447
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1448
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1449
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1450
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1451
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1452
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1453
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1454
-
1455
-        $post_info[] = array(
1456
-            "listing_type" => 'gd_place',
1457
-            "post_title" => 'Percy Street Barbecue',
1458
-            "post_desc" => '
1420
+                "post_images" => $image_array,
1421
+                "post_category" => array('gd_placecategory' => array('Restaurants')),
1422
+                "post_tags" => array('Sample Tag1'),
1423
+                "geodir_video" => '',
1424
+                "geodir_timing" => 'Daily : 10 am to 12 pm',
1425
+                "geodir_contact" => '(143) 222-12344',
1426
+                "geodir_email" => '[email protected]',
1427
+                "geodir_website" => 'http://www.parc-restaurant.com/',
1428
+                "geodir_twitter" => 'http://twitter.com/parc-restaurant',
1429
+                "geodir_facebook" => 'http://facebook.com/parc-restaurant',
1430
+                "post_dummy" => '1'
1431
+            );
1432
+
1433
+            ////post end///
1434
+            /// Restaurants ////post start 3///
1435
+            break;
1436
+        case 24:
1437
+
1438
+
1439
+            $image_array = array();
1440
+            $post_meta = array();
1441
+
1442
+            /// Restaurants ////post start 4//
1443
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1444
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1445
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1446
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1447
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1448
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1449
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1450
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1451
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1452
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1453
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1454
+
1455
+            $post_info[] = array(
1456
+                "listing_type" => 'gd_place',
1457
+                "post_title" => 'Percy Street Barbecue',
1458
+                "post_desc" => '
1459 1459
 	Percy Street Barbecue sees the South Street debut of restaurateurs Steven Cook and Michael Solomonov (Zahav, Xochitl).
1460 1460
 	
1461 1461
 	Serving a straightforward selection of slowly smoked meats and homey side dishes alongside craft beers and tasty cocktails, Percy Street is an ideal venue for Chef Erin OShea much-lauded Southern cooking, and is on its way to become the city top spot for barbecue.
@@ -1481,46 +1481,46 @@  discard block
 block discarded – undo
1481 1481
 	
1482 1482
 	Seating in the form of repurposed church pews, and bare light bulbs overhead in the dining room lend to the restaurant Texas-esque aesthetic.
1483 1483
 	',
1484
-            "post_images" => $image_array,
1485
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Feature')),
1486
-            "post_tags" => array('Sample Tag1'),
1487
-            "geodir_video" => '',
1488
-            "geodir_timing" => 'Percy Street is closed on Mondays. The restaurant is also open for weekend lunch/brunch from 11:30 a.m. to 2:30 p.m.',
1489
-            "geodir_contact" => '(143) 222-12344',
1490
-            "geodir_email" => '[email protected]',
1491
-            "geodir_website" => 'http://www.percystreet.com/',
1492
-            "geodir_twitter" => 'http://twitter.com/percystreet',
1493
-            "geodir_facebook" => 'http://facebook.com/percystreet',
1494
-            "post_dummy" => '1'
1495
-        );
1496
-
1497
-        ////post end///
1498
-        /// Restaurants ////post start 4///
1499
-
1500
-        break;
1501
-    case 25:
1502
-
1503
-
1504
-        $image_array = array();
1505
-        $post_meta = array();
1506
-
1507
-        /// Restaurants ////post start 5//
1508
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1509
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1510
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1511
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1512
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1513
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1514
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1515
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1516
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1517
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1518
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1519
-
1520
-        $post_info[] = array(
1521
-            "listing_type" => 'gd_place',
1522
-            "post_title" => 'The Fountain Restaurant',
1523
-            "post_desc" => '
1484
+                "post_images" => $image_array,
1485
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Feature')),
1486
+                "post_tags" => array('Sample Tag1'),
1487
+                "geodir_video" => '',
1488
+                "geodir_timing" => 'Percy Street is closed on Mondays. The restaurant is also open for weekend lunch/brunch from 11:30 a.m. to 2:30 p.m.',
1489
+                "geodir_contact" => '(143) 222-12344',
1490
+                "geodir_email" => '[email protected]',
1491
+                "geodir_website" => 'http://www.percystreet.com/',
1492
+                "geodir_twitter" => 'http://twitter.com/percystreet',
1493
+                "geodir_facebook" => 'http://facebook.com/percystreet',
1494
+                "post_dummy" => '1'
1495
+            );
1496
+
1497
+            ////post end///
1498
+            /// Restaurants ////post start 4///
1499
+
1500
+            break;
1501
+        case 25:
1502
+
1503
+
1504
+            $image_array = array();
1505
+            $post_meta = array();
1506
+
1507
+            /// Restaurants ////post start 5//
1508
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1509
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1510
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1511
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1512
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1513
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1514
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1515
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1516
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1517
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1518
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1519
+
1520
+            $post_info[] = array(
1521
+                "listing_type" => 'gd_place',
1522
+                "post_title" => 'The Fountain Restaurant',
1523
+                "post_desc" => '
1524 1524
 	The Fountain Restaurant in the Four Seasons Hotel Philadelphia has received seemingly every type of accolade there is, from top honors in Gourmet magazine to Forbes Travel Guide&acute;s 2010 Five Star award to a perfect Five Diamond rating from AAA. It&acute;s been a Philadelphia favorite for special occasion meals for decades.
1525 1525
 	
1526 1526
 	Additionally rated as the best restaurant in Philadelphia by Zagat&acute;s, the Fountain Restaurant overlooks the majestic Swann Memorial Fountain sculpture by Alexander Stirling Calder in the center of Logan Square. You&acute;ll also enjoy sweeping views of the grand Benjamin Franklin Parkway and its gorgeous Beaux Arts architecture.
@@ -1530,45 +1530,45 @@  discard block
 block discarded – undo
1530 1530
 	You can order a la carte or select the prix fix option to enjoy the “spontaneous tastes” menu which gives the chef control of a few courses. The menu changes regularly, but you can expect to see globaly influenced items like Pan-fried Veal Sweetbreads, Braised Dover Sole Roulade, Sautéed Venison Medallions and Roasted Australian Lamb Saddle.
1531 1531
 	
1532 1532
 	',
1533
-            "post_images" => $image_array,
1534
-            "post_category" => array('gd_placecategory' => array('Restaurants')),
1535
-            "post_tags" => array('food'),
1536
-            "geodir_video" => '',
1537
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 11:30 a.m. to 2:30 p.m.',
1538
-            "geodir_contact" => '(103) 100-12344',
1539
-            "geodir_email" => '[email protected]',
1540
-            "geodir_website" => 'http://www.fourseasons.com/philadelphia/dining',
1541
-            "geodir_twitter" => 'http://twitter.com/fourseasons',
1542
-            "geodir_facebook" => 'http://facebook.com/fourseasons',
1543
-            "post_dummy" => '1'
1544
-        );
1545
-
1546
-        ////post end///
1547
-        /// Restaurants ////post start 5///
1548
-        break;
1549
-    case 26:
1550
-
1551
-
1552
-        $image_array = array();
1553
-        $post_meta = array();
1554
-
1555
-        /// Restaurants ////post start 6//
1556
-        $image_array[] = "$dummy_image_url/restaurants11.jpg";
1557
-        $image_array[] = "$dummy_image_url/restaurants10.jpg";
1558
-        $image_array[] = "$dummy_image_url/restaurants3.jpg";
1559
-        $image_array[] = "$dummy_image_url/restaurants1.jpg";
1560
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1561
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1562
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1563
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1564
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1565
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1566
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1567
-
1568
-        $post_info[] = array(
1569
-            "listing_type" => 'gd_place',
1570
-            "post_title" => 'Lacroix at The Rittenhouse',
1571
-            "post_desc" => '
1533
+                "post_images" => $image_array,
1534
+                "post_category" => array('gd_placecategory' => array('Restaurants')),
1535
+                "post_tags" => array('food'),
1536
+                "geodir_video" => '',
1537
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 11:30 a.m. to 2:30 p.m.',
1538
+                "geodir_contact" => '(103) 100-12344',
1539
+                "geodir_email" => '[email protected]',
1540
+                "geodir_website" => 'http://www.fourseasons.com/philadelphia/dining',
1541
+                "geodir_twitter" => 'http://twitter.com/fourseasons',
1542
+                "geodir_facebook" => 'http://facebook.com/fourseasons',
1543
+                "post_dummy" => '1'
1544
+            );
1545
+
1546
+            ////post end///
1547
+            /// Restaurants ////post start 5///
1548
+            break;
1549
+        case 26:
1550
+
1551
+
1552
+            $image_array = array();
1553
+            $post_meta = array();
1554
+
1555
+            /// Restaurants ////post start 6//
1556
+            $image_array[] = "$dummy_image_url/restaurants11.jpg";
1557
+            $image_array[] = "$dummy_image_url/restaurants10.jpg";
1558
+            $image_array[] = "$dummy_image_url/restaurants3.jpg";
1559
+            $image_array[] = "$dummy_image_url/restaurants1.jpg";
1560
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1561
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1562
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1563
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1564
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1565
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1566
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1567
+
1568
+            $post_info[] = array(
1569
+                "listing_type" => 'gd_place',
1570
+                "post_title" => 'Lacroix at The Rittenhouse',
1571
+                "post_desc" => '
1572 1572
 	A deluxe hotel like The Rittenhouse deserves a deluxe restaurant, a fitting description for Lacroix, named “Restaurant of the Year” in 2003 by Esquire magazine.
1573 1573
 	
1574 1574
 	Located on the second floor of the Rittenhouse Hotel, Lacroix features elegant décor and a broad view of Rittenhouse Square, which combine to make the ambiance at Lacroix as enjoyable as the meal itself.
@@ -1579,46 +1579,46 @@  discard block
 block discarded – undo
1579 1579
 	
1580 1580
 	Sunday Brunch at Lacroix - which features such delectable dishes as baby lamb chops with garlic crust and banyuls sauce, niman ranch smoked bacon, quail eggs with artichoke, golden beet and shiitakes, and french baguette toast with apple, raspberry and rosemary jam - is also highly recommended.
1581 1581
 	',
1582
-            "post_images" => $image_array,
1583
-            "post_category" => array('gd_placecategory' => array('Restaurants')),
1584
-            "post_tags" => array('food'),
1585
-            "geodir_video" => '',
1586
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1587
-            "geodir_contact" => '(113) 121-12344',
1588
-            "geodir_email" => '[email protected]',
1589
-            "geodir_website" => 'http://www.rittenhousehotel.com/lacroix.cfm',
1590
-            "geodir_twitter" => 'http://twitter.com/rittenhousehotel',
1591
-            "geodir_facebook" => 'http://facebook.com/rittenhousehotel',
1592
-            "post_dummy" => '1'
1593
-        );
1594
-
1595
-        ////post end///
1596
-        /// Restaurants ////post start 6///
1597
-
1598
-        break;
1599
-    case 27:
1600
-
1601
-
1602
-        $image_array = array();
1603
-        $post_meta = array();
1604
-
1605
-        /// Restaurants ////post start 7//
1606
-        $image_array[] = "$dummy_image_url/restaurants12.jpg";
1607
-        $image_array[] = "$dummy_image_url/restaurants13.jpg";
1608
-        $image_array[] = "$dummy_image_url/restaurants14.jpg";
1609
-        $image_array[] = "$dummy_image_url/restaurants15.jpg";
1610
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1611
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1612
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1613
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1614
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1615
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1616
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1617
-
1618
-        $post_info[] = array(
1619
-            "listing_type" => 'gd_place',
1620
-            "post_title" => 'Lacroix at The Rittenhouse',
1621
-            "post_desc" => '
1582
+                "post_images" => $image_array,
1583
+                "post_category" => array('gd_placecategory' => array('Restaurants')),
1584
+                "post_tags" => array('food'),
1585
+                "geodir_video" => '',
1586
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1587
+                "geodir_contact" => '(113) 121-12344',
1588
+                "geodir_email" => '[email protected]',
1589
+                "geodir_website" => 'http://www.rittenhousehotel.com/lacroix.cfm',
1590
+                "geodir_twitter" => 'http://twitter.com/rittenhousehotel',
1591
+                "geodir_facebook" => 'http://facebook.com/rittenhousehotel',
1592
+                "post_dummy" => '1'
1593
+            );
1594
+
1595
+            ////post end///
1596
+            /// Restaurants ////post start 6///
1597
+
1598
+            break;
1599
+        case 27:
1600
+
1601
+
1602
+            $image_array = array();
1603
+            $post_meta = array();
1604
+
1605
+            /// Restaurants ////post start 7//
1606
+            $image_array[] = "$dummy_image_url/restaurants12.jpg";
1607
+            $image_array[] = "$dummy_image_url/restaurants13.jpg";
1608
+            $image_array[] = "$dummy_image_url/restaurants14.jpg";
1609
+            $image_array[] = "$dummy_image_url/restaurants15.jpg";
1610
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1611
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1612
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1613
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1614
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1615
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1616
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1617
+
1618
+            $post_info[] = array(
1619
+                "listing_type" => 'gd_place',
1620
+                "post_title" => 'Lacroix at The Rittenhouse',
1621
+                "post_desc" => '
1622 1622
 	A deluxe hotel like The Rittenhouse deserves a deluxe restaurant, a fitting description for Lacroix, named “Restaurant of the Year” in 2003 by Esquire magazine.
1623 1623
 	
1624 1624
 	Located on the second floor of the Rittenhouse Hotel, Lacroix features elegant décor and a broad view of Rittenhouse Square, which combine to make the ambiance at Lacroix as enjoyable as the meal itself.
@@ -1629,45 +1629,45 @@  discard block
 block discarded – undo
1629 1629
 	
1630 1630
 	Sunday Brunch at Lacroix - which features such delectable dishes as baby lamb chops with garlic crust and banyuls sauce, niman ranch smoked bacon, quail eggs with artichoke, golden beet and shiitakes, and french baguette toast with apple, raspberry and rosemary jam - is also highly recommended.
1631 1631
 	',
1632
-            "post_images" => $image_array,
1633
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1634
-            "post_tags" => array('food'),
1635
-            "geodir_video" => '',
1636
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1637
-            "geodir_contact" => '(113) 121-12344',
1638
-            "geodir_email" => '[email protected]',
1639
-            "geodir_website" => 'http://www.zamarestaurant.com/',
1640
-            "geodir_twitter" => 'http://twitter.com/zamarestaurant',
1641
-            "geodir_facebook" => 'http://facebook.com/zamarestaurant',
1642
-            "post_dummy" => '1'
1643
-        );
1644
-
1645
-        ////post end///
1646
-        /// Restaurants ////post start 7///
1647
-
1648
-        break;
1649
-    case 28:
1650
-
1651
-        $image_array = array();
1652
-        $post_meta = array();
1653
-
1654
-        /// Restaurants ////post start 8//
1655
-        $image_array[] = "$dummy_image_url/restaurants16.jpg";
1656
-        $image_array[] = "$dummy_image_url/restaurants17.jpg";
1657
-        $image_array[] = "$dummy_image_url/restaurants18.jpg";
1658
-        $image_array[] = "$dummy_image_url/restaurants19.jpg";
1659
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1660
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1661
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1662
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1663
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1664
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1665
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1666
-
1667
-        $post_info[] = array(
1668
-            "listing_type" => 'gd_place',
1669
-            "post_title" => 'Sampan',
1670
-            "post_desc" => '
1632
+                "post_images" => $image_array,
1633
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1634
+                "post_tags" => array('food'),
1635
+                "geodir_video" => '',
1636
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1637
+                "geodir_contact" => '(113) 121-12344',
1638
+                "geodir_email" => '[email protected]',
1639
+                "geodir_website" => 'http://www.zamarestaurant.com/',
1640
+                "geodir_twitter" => 'http://twitter.com/zamarestaurant',
1641
+                "geodir_facebook" => 'http://facebook.com/zamarestaurant',
1642
+                "post_dummy" => '1'
1643
+            );
1644
+
1645
+            ////post end///
1646
+            /// Restaurants ////post start 7///
1647
+
1648
+            break;
1649
+        case 28:
1650
+
1651
+            $image_array = array();
1652
+            $post_meta = array();
1653
+
1654
+            /// Restaurants ////post start 8//
1655
+            $image_array[] = "$dummy_image_url/restaurants16.jpg";
1656
+            $image_array[] = "$dummy_image_url/restaurants17.jpg";
1657
+            $image_array[] = "$dummy_image_url/restaurants18.jpg";
1658
+            $image_array[] = "$dummy_image_url/restaurants19.jpg";
1659
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1660
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1661
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1662
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1663
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1664
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1665
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1666
+
1667
+            $post_info[] = array(
1668
+                "listing_type" => 'gd_place',
1669
+                "post_title" => 'Sampan',
1670
+                "post_desc" => '
1671 1671
 	Chef and charismatic television star Michael Schulson returns to Philadelphia with the opening of Sampan, a modern Asian restaurant where he serves the acclaimed cuisine that has made him one of the country&acute;s highly sought-after culinary talents.
1672 1672
 	
1673 1673
 	Schulson returns to Philadelphia after having opened Buddakan in New York City for Stephen Starr and Izakaya at the Borgata in Atlantic City and then having gone on to star in Style network&acute;s popular series Pantry Raid and TLC Ultimate Cake Off.
@@ -1686,45 +1686,45 @@  discard block
 block discarded – undo
1686 1686
 	
1687 1687
 	Prices range from $5 to $19.
1688 1688
 	',
1689
-            "post_images" => $image_array,
1690
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1691
-            "post_tags" => array('restaurant'),
1692
-            "geodir_video" => '',
1693
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1694
-            "geodir_contact" => '(000) 111-2222',
1695
-            "geodir_email" => '[email protected]',
1696
-            "geodir_website" => 'http://www.sampanphilly.com/',
1697
-            "geodir_twitter" => 'http://twitter.com/sampanphilly',
1698
-            "geodir_facebook" => 'http://facebook.com/sampanphilly',
1699
-            "post_dummy" => '1'
1700
-        );
1701
-
1702
-        ////post end///
1703
-        /// Restaurants ////post start 8///
1704
-
1705
-        break;
1706
-    case 29:
1707
-
1708
-        $image_array = array();
1709
-        $post_meta = array();
1710
-
1711
-        /// Restaurants ////post start 9//
1712
-        $image_array[] = "$dummy_image_url/restaurants17.jpg";
1713
-        $image_array[] = "$dummy_image_url/restaurants16.jpg";
1714
-        $image_array[] = "$dummy_image_url/restaurants18.jpg";
1715
-        $image_array[] = "$dummy_image_url/restaurants19.jpg";
1716
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1717
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1718
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1719
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1720
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1721
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1722
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1723
-
1724
-        $post_info[] = array(
1725
-            "listing_type" => 'gd_place',
1726
-            "post_title" => 'Morimoto',
1727
-            "post_desc" => '
1689
+                "post_images" => $image_array,
1690
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1691
+                "post_tags" => array('restaurant'),
1692
+                "geodir_video" => '',
1693
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1694
+                "geodir_contact" => '(000) 111-2222',
1695
+                "geodir_email" => '[email protected]',
1696
+                "geodir_website" => 'http://www.sampanphilly.com/',
1697
+                "geodir_twitter" => 'http://twitter.com/sampanphilly',
1698
+                "geodir_facebook" => 'http://facebook.com/sampanphilly',
1699
+                "post_dummy" => '1'
1700
+            );
1701
+
1702
+            ////post end///
1703
+            /// Restaurants ////post start 8///
1704
+
1705
+            break;
1706
+        case 29:
1707
+
1708
+            $image_array = array();
1709
+            $post_meta = array();
1710
+
1711
+            /// Restaurants ////post start 9//
1712
+            $image_array[] = "$dummy_image_url/restaurants17.jpg";
1713
+            $image_array[] = "$dummy_image_url/restaurants16.jpg";
1714
+            $image_array[] = "$dummy_image_url/restaurants18.jpg";
1715
+            $image_array[] = "$dummy_image_url/restaurants19.jpg";
1716
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1717
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1718
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1719
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1720
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1721
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1722
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1723
+
1724
+            $post_info[] = array(
1725
+                "listing_type" => 'gd_place',
1726
+                "post_title" => 'Morimoto',
1727
+                "post_desc" => '
1728 1728
 	Stephen Starr creative Japanese restaurant has garnered all kinds of national and international attention since opening a few years back. Located a block from Independence Hall on Chestnut Street, Morimoto has an interior - awash in glass and colors - that is both striking and serene in its design.
1729 1729
 	
1730 1730
 	The restaurant&acute;s namesake and head chef, Morimoto (of Food Network&acute;s Iron Chef fame), has created a menu offering the very best in contemporary Japanese cusine. While regulars flock here for the exquisitely prepared sushi, Morimoto offers diners a broad spectrum of flavors that delve beyond nigiri and sashimi.
@@ -1737,45 +1737,45 @@  discard block
 block discarded – undo
1737 1737
 	
1738 1738
 	The mezzanine level lounge is a great spot to have a pre-meal cocktail while waiting for your table. You can enjoy a sake or try a “Sakura” - a cosmo made with Sake - in the sleek space that overlooks the brilliant restaurant below.
1739 1739
 	',
1740
-            "post_images" => $image_array,
1741
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife', 'Feature')),
1742
-            "post_tags" => array('America'),
1743
-            "geodir_video" => '',
1744
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1745
-            "geodir_contact" => '(000) 111-2222',
1746
-            "geodir_email" => '[email protected]',
1747
-            "geodir_website" => 'http://www.morimotorestaurant.com/',
1748
-            "geodir_twitter" => 'http://twitter.com/morimotorestaurant',
1749
-            "geodir_facebook" => 'http://facebook.com/morimotorestaurant',
1750
-            "post_dummy" => '1'
1751
-        );
1752
-
1753
-        ////post end///
1754
-        /// Restaurants ////post start 9///
1755
-        break;
1756
-    case 30:
1757
-
1758
-
1759
-        $image_array = array();
1760
-        $post_meta = array();
1761
-
1762
-        /// Restaurants ////post start 10//
1763
-        $image_array[] = "$dummy_image_url/restaurants19.jpg";
1764
-        $image_array[] = "$dummy_image_url/restaurants17.jpg";
1765
-        $image_array[] = "$dummy_image_url/restaurants18.jpg";
1766
-        $image_array[] = "$dummy_image_url/restaurants16.jpg";
1767
-        $image_array[] = "$dummy_image_url/restaurants5.jpg";
1768
-        $image_array[] = "$dummy_image_url/restaurants6.jpg";
1769
-        $image_array[] = "$dummy_image_url/restaurants7.jpg";
1770
-        $image_array[] = "$dummy_image_url/restaurants8.jpg";
1771
-        $image_array[] = "$dummy_image_url/restaurants9.jpg";
1772
-        $image_array[] = "$dummy_image_url/restaurants2.jpg";
1773
-        $image_array[] = "$dummy_image_url/restaurants4.jpg";
1774
-
1775
-        $post_info[] = array(
1776
-            "listing_type" => 'gd_place',
1777
-            "post_title" => 'Buddakan',
1778
-            "post_desc" => '
1740
+                "post_images" => $image_array,
1741
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife', 'Feature')),
1742
+                "post_tags" => array('America'),
1743
+                "geodir_video" => '',
1744
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1745
+                "geodir_contact" => '(000) 111-2222',
1746
+                "geodir_email" => '[email protected]',
1747
+                "geodir_website" => 'http://www.morimotorestaurant.com/',
1748
+                "geodir_twitter" => 'http://twitter.com/morimotorestaurant',
1749
+                "geodir_facebook" => 'http://facebook.com/morimotorestaurant',
1750
+                "post_dummy" => '1'
1751
+            );
1752
+
1753
+            ////post end///
1754
+            /// Restaurants ////post start 9///
1755
+            break;
1756
+        case 30:
1757
+
1758
+
1759
+            $image_array = array();
1760
+            $post_meta = array();
1761
+
1762
+            /// Restaurants ////post start 10//
1763
+            $image_array[] = "$dummy_image_url/restaurants19.jpg";
1764
+            $image_array[] = "$dummy_image_url/restaurants17.jpg";
1765
+            $image_array[] = "$dummy_image_url/restaurants18.jpg";
1766
+            $image_array[] = "$dummy_image_url/restaurants16.jpg";
1767
+            $image_array[] = "$dummy_image_url/restaurants5.jpg";
1768
+            $image_array[] = "$dummy_image_url/restaurants6.jpg";
1769
+            $image_array[] = "$dummy_image_url/restaurants7.jpg";
1770
+            $image_array[] = "$dummy_image_url/restaurants8.jpg";
1771
+            $image_array[] = "$dummy_image_url/restaurants9.jpg";
1772
+            $image_array[] = "$dummy_image_url/restaurants2.jpg";
1773
+            $image_array[] = "$dummy_image_url/restaurants4.jpg";
1774
+
1775
+            $post_info[] = array(
1776
+                "listing_type" => 'gd_place',
1777
+                "post_title" => 'Buddakan',
1778
+                "post_desc" => '
1779 1779
 	<h3>The Experience </h3>
1780 1780
 	
1781 1781
 	A towering gilded statue of the Buddha generates elegant calm in this 175-seat, Pan Asian restaurant with sleek, modern decor. Immensely popular, Buddakan is a restaurant that is great for both large parties and intimate dinners.
@@ -1786,22 +1786,22 @@  discard block
 block discarded – undo
1786 1786
 	
1787 1787
 	Be sure to make your reservation before coming to town as Buddakan fills up quickly especially on weekends. Better yet, make your reservation right now .
1788 1788
 	',
1789
-            "post_images" => $image_array,
1790
-            "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1791
-            "post_tags" => array('America'),
1792
-            "geodir_video" => '',
1793
-            "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1794
-            "geodir_contact" => '(000) 111-2222',
1795
-            "geodir_email" => '[email protected]',
1796
-            "geodir_website" => 'http://www.buddakan.com/',
1797
-            "geodir_twitter" => 'http://twitter.com/buddakan',
1798
-            "geodir_facebook" => 'http://facebook.com/buddakan',
1799
-            "post_dummy" => '1'
1800
-        );
1801
-        break;
1802
-
1803
-    ////post end///
1804
-    /// Restaurants ////post start 10///
1789
+                "post_images" => $image_array,
1790
+                "post_category" => array('gd_placecategory' => array('Restaurants', 'Food Nightlife')),
1791
+                "post_tags" => array('America'),
1792
+                "geodir_video" => '',
1793
+                "geodir_timing" => 'The restaurant is also open for weekend lunch/brunch from 10:30 a.m. to 6:30 p.m.',
1794
+                "geodir_contact" => '(000) 111-2222',
1795
+                "geodir_email" => '[email protected]',
1796
+                "geodir_website" => 'http://www.buddakan.com/',
1797
+                "geodir_twitter" => 'http://twitter.com/buddakan',
1798
+                "geodir_facebook" => 'http://facebook.com/buddakan',
1799
+                "post_dummy" => '1'
1800
+            );
1801
+            break;
1802
+
1803
+        ////post end///
1804
+        /// Restaurants ////post start 10///
1805 1805
 } // end of switch
1806 1806
 
1807 1807
 
Please login to merge, or discard this patch.
Braces   +37 added lines, -30 removed lines patch added patch discarded remove patch
@@ -11,10 +11,11 @@  discard block
 block discarded – undo
11 11
 $image_array = array();
12 12
 $post_meta = array();
13 13
 
14
-if (geodir_dummy_folder_exists())
15
-    $dummy_image_url = geodir_plugin_url() . "/geodirectory-admin/dummy";
16
-else
17
-    $dummy_image_url = 'http://www.wpgeodirectory.com/dummy';
14
+if (geodir_dummy_folder_exists()) {
15
+    $dummy_image_url = geodir_plugin_url() . "/geodirectory-admin/dummy";
16
+} else {
17
+    $dummy_image_url = 'http://www.wpgeodirectory.com/dummy';
18
+}
18 19
 
19 20
 switch ($dummy_post_index) {
20 21
 
@@ -1807,16 +1808,18 @@  discard block
 block discarded – undo
1807 1808
 
1808 1809
 foreach ($post_info as $post_info) {
1809 1810
     $default_location = geodir_get_default_location();
1810
-    if ($city_bound_lat1 > $city_bound_lat2)
1811
-        $dummy_post_latitude = geodir_random_float(geodir_random_float($city_bound_lat1, $city_bound_lat2), geodir_random_float($city_bound_lat2, $city_bound_lat1));
1812
-    else
1813
-        $dummy_post_latitude = geodir_random_float(geodir_random_float($city_bound_lat2, $city_bound_lat1), geodir_random_float($city_bound_lat1, $city_bound_lat2));
1814
-
1815
-
1816
-    if ($city_bound_lng1 > $city_bound_lng2)
1817
-        $dummy_post_longitude = geodir_random_float(geodir_random_float($city_bound_lng1, $city_bound_lng2), geodir_random_float($city_bound_lng2, $city_bound_lng1));
1818
-    else
1819
-        $dummy_post_longitude = geodir_random_float(geodir_random_float($city_bound_lng2, $city_bound_lng1), geodir_random_float($city_bound_lng1, $city_bound_lng2));
1811
+    if ($city_bound_lat1 > $city_bound_lat2) {
1812
+            $dummy_post_latitude = geodir_random_float(geodir_random_float($city_bound_lat1, $city_bound_lat2), geodir_random_float($city_bound_lat2, $city_bound_lat1));
1813
+    } else {
1814
+            $dummy_post_latitude = geodir_random_float(geodir_random_float($city_bound_lat2, $city_bound_lat1), geodir_random_float($city_bound_lat1, $city_bound_lat2));
1815
+    }
1816
+
1817
+
1818
+    if ($city_bound_lng1 > $city_bound_lng2) {
1819
+            $dummy_post_longitude = geodir_random_float(geodir_random_float($city_bound_lng1, $city_bound_lng2), geodir_random_float($city_bound_lng2, $city_bound_lng1));
1820
+    } else {
1821
+            $dummy_post_longitude = geodir_random_float(geodir_random_float($city_bound_lng2, $city_bound_lng1), geodir_random_float($city_bound_lng1, $city_bound_lng2));
1822
+    }
1820 1823
     $post_address = array();
1821 1824
     $postal_code = '';
1822 1825
     $address = '';
@@ -1831,28 +1834,32 @@  discard block
 block discarded – undo
1831 1834
             }
1832 1835
 
1833 1836
             if ($add_value->types[0] == 'street_number') {
1834
-                if ($address != '')
1835
-                    $address .= ',' . $add_value->long_name;
1836
-                else
1837
-                    $address .= $add_value->long_name;
1837
+                if ($address != '') {
1838
+                                    $address .= ',' . $add_value->long_name;
1839
+                } else {
1840
+                                    $address .= $add_value->long_name;
1841
+                }
1838 1842
             }
1839 1843
             if ($add_value->types[0] == 'route') {
1840
-                if ($address != '')
1841
-                    $address .= ',' . $add_value->long_name;
1842
-                else
1843
-                    $address .= $add_value->long_name;
1844
+                if ($address != '') {
1845
+                                    $address .= ',' . $add_value->long_name;
1846
+                } else {
1847
+                                    $address .= $add_value->long_name;
1848
+                }
1844 1849
             }
1845 1850
             if ($add_value->types[0] == 'neighborhood') {
1846
-                if ($address != '')
1847
-                    $address .= ',' . $add_value->long_name;
1848
-                else
1849
-                    $address .= $add_value->long_name;
1851
+                if ($address != '') {
1852
+                                    $address .= ',' . $add_value->long_name;
1853
+                } else {
1854
+                                    $address .= $add_value->long_name;
1855
+                }
1850 1856
             }
1851 1857
             if ($add_value->types[0] == 'sublocality') {
1852
-                if ($address != '')
1853
-                    $address .= ',' . $add_value->long_name;
1854
-                else
1855
-                    $address .= $add_value->long_name;
1858
+                if ($address != '') {
1859
+                                    $address .= ',' . $add_value->long_name;
1860
+                } else {
1861
+                                    $address .= $add_value->long_name;
1862
+                }
1856 1863
             }
1857 1864
 
1858 1865
         }
Please login to merge, or discard this patch.
geodirectory-functions/ajax_handler_functions.php 3 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
     global $wpdb, $gd_session;
122 122
 
123 123
     if (isset($_REQUEST['gd_listing_view']) && $_REQUEST['gd_listing_view'] != '') {
124
-		$gd_session->set('gd_listing_view', $_REQUEST['gd_listing_view']);
124
+        $gd_session->set('gd_listing_view', $_REQUEST['gd_listing_view']);
125 125
         echo '1';
126 126
     }
127 127
 
@@ -364,17 +364,17 @@  discard block
 block discarded – undo
364 364
     if (isset($_REQUEST['ajax_action']) && $_REQUEST['ajax_action'] == 'geodir_get_term_list') {
365 365
         $terms_o = get_terms(sanitize_text_field($_REQUEST['term']));
366 366
 		
367
-		// Skip terms which has no listing
368
-		if (!empty($terms_o)) {
369
-			$filter_terms = array();
367
+        // Skip terms which has no listing
368
+        if (!empty($terms_o)) {
369
+            $filter_terms = array();
370 370
 			
371
-			foreach ($terms_o as $term) {	
372
-				if ($term->count > 0) {
373
-					$filter_terms[] = $term;
374
-				}
375
-			}
376
-			$terms_o = $filter_terms;
377
-		}
371
+            foreach ($terms_o as $term) {	
372
+                if ($term->count > 0) {
373
+                    $filter_terms[] = $term;
374
+                }
375
+            }
376
+            $terms_o = $filter_terms;
377
+        }
378 378
 		
379 379
         $terms = geodir_sort_terms($terms_o, 'count');
380 380
         geodir_helper_cat_list_output($terms, intval($_REQUEST['limit']));
Please login to merge, or discard this patch.
Braces   +34 added lines, -25 removed lines patch added patch discarded remove patch
@@ -126,10 +126,11 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     if (isset($_REQUEST['geodir_ajax']) && $_REQUEST['geodir_ajax'] == 'category_ajax') {
129
-        if (isset($_REQUEST['main_catid']) && isset($_REQUEST['cat_tax']) && isset($_REQUEST['exclude']))
130
-            geodir_addpost_categories_html($_REQUEST['cat_tax'], $_REQUEST['main_catid'], '', '', '', $_REQUEST['exclude']);
131
-        else if (isset($_REQUEST['catpid']) && isset($_REQUEST['cat_tax']))
132
-            geodir_editpost_categories_html($_REQUEST['cat_tax'], $_REQUEST['catpid']);
129
+        if (isset($_REQUEST['main_catid']) && isset($_REQUEST['cat_tax']) && isset($_REQUEST['exclude'])) {
130
+                    geodir_addpost_categories_html($_REQUEST['cat_tax'], $_REQUEST['main_catid'], '', '', '', $_REQUEST['exclude']);
131
+        } else if (isset($_REQUEST['catpid']) && isset($_REQUEST['cat_tax'])) {
132
+                    geodir_editpost_categories_html($_REQUEST['cat_tax'], $_REQUEST['catpid']);
133
+        }
133 134
     }
134 135
 
135 136
     if ((isset($_REQUEST['geodir_ajax']) && $_REQUEST['geodir_ajax'] == 'admin_ajax') || isset($_REQUEST['create_field']) || isset($_REQUEST['sort_create_field'])) {
@@ -151,22 +152,25 @@  discard block
 block discarded – undo
151 152
         if (current_user_can('manage_options')) {
152 153
             switch ($_REQUEST['geodir_autofill']):
153 154
                 case "geodir_dummy_delete" :
154
-                    if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'geodir_dummy_posts_delete_noncename'))
155
-                        return;
155
+                    if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'geodir_dummy_posts_delete_noncename')) {
156
+                                            return;
157
+                    }
156 158
 
157
-                    if (isset($_REQUEST['posttype']))
158
-                        /**
159
+                    if (isset($_REQUEST['posttype'])) {
160
+                                            /**
159 161
                          * Used to delete the dummy post data per post type.
160 162
                          *
161 163
                          * Uses dynamic hook, geodir_delete_dummy_posts_$_REQUEST['posttype'].
162 164
                          *
163 165
                          * @since 1.0.0
164 166
                          */
165
-                        do_action('geodir_delete_dummy_posts_' . $_REQUEST['posttype']);
167
+                        do_action('geodir_delete_dummy_posts_' . $_REQUEST['posttype']);
168
+                    }
166 169
                     break;
167 170
                 case "geodir_dummy_insert" :
168
-                    if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'geodir_dummy_posts_insert_noncename'))
169
-                        return;
171
+                    if (!wp_verify_nonce($_REQUEST['_wpnonce'], 'geodir_dummy_posts_insert_noncename')) {
172
+                                            return;
173
+                    }
170 174
 
171 175
                     global $dummy_post_index, $city_bound_lat1, $city_bound_lng1, $city_bound_lat2, $city_bound_lng2;
172 176
                     $dummy_post_index = $_REQUEST['insert_dummy_post_index'];
@@ -175,15 +179,16 @@  discard block
 block discarded – undo
175 179
                     $city_bound_lat2 = $_REQUEST['city_bound_lat2'];
176 180
                     $city_bound_lng2 = $_REQUEST['city_bound_lng2'];
177 181
 
178
-                    if (isset($_REQUEST['posttype']))
179
-                        /**
182
+                    if (isset($_REQUEST['posttype'])) {
183
+                                            /**
180 184
                          * Used to insert the dummy post data per post type.
181 185
                          *
182 186
                          * Uses dynamic hook, geodir_insert_dummy_posts_$_REQUEST['posttype'].
183 187
                          *
184 188
                          * @since 1.0.0
185 189
                          */
186
-                        do_action('geodir_insert_dummy_posts_' . $_REQUEST['posttype']);
190
+                        do_action('geodir_insert_dummy_posts_' . $_REQUEST['posttype']);
191
+                    }
187 192
 
188 193
                     break;
189 194
             endswitch;
@@ -204,8 +209,9 @@  discard block
 block discarded – undo
204 209
 
205 210
     if (isset($_REQUEST['popuptype']) && $_REQUEST['popuptype'] != '' && isset($_REQUEST['post_id']) && $_REQUEST['post_id'] != '') {
206 211
 
207
-        if ($_REQUEST['popuptype'] == 'b_send_inquiry' || $_REQUEST['popuptype'] == 'b_sendtofriend')
208
-            require_once(geodir_plugin_path() . '/geodirectory-templates/popup-forms.php');
212
+        if ($_REQUEST['popuptype'] == 'b_send_inquiry' || $_REQUEST['popuptype'] == 'b_sendtofriend') {
213
+                    require_once(geodir_plugin_path() . '/geodirectory-templates/popup-forms.php');
214
+        }
209 215
 
210 216
         exit;
211 217
     }
@@ -266,8 +272,9 @@  discard block
 block discarded – undo
266 272
                         } elseif (isset($_REQUEST['pid']) && $_REQUEST['pid'] != '') {
267 273
                             $redirect_to = get_permalink(geodir_add_listing_page_id());
268 274
                             $redirect_to = geodir_getlink($redirect_to, array('pid' => $post->pid), false);
269
-                        } else
270
-                            $redirect_to = get_permalink(geodir_add_listing_page_id());
275
+                        } else {
276
+                                                    $redirect_to = get_permalink(geodir_add_listing_page_id());
277
+                        }
271 278
 
272 279
                         wp_redirect($redirect_to);
273 280
                     } else {
@@ -280,9 +287,9 @@  discard block
 block discarded – undo
280 287
 
281 288
                     $gd_session->un_set('listing');
282 289
 
283
-                    if (isset($_REQUEST['pid']) && $_REQUEST['pid'] != '' && get_permalink($_REQUEST['pid']))
284
-                        wp_redirect(get_permalink($_REQUEST['pid']));
285
-                    else {
290
+                    if (isset($_REQUEST['pid']) && $_REQUEST['pid'] != '' && get_permalink($_REQUEST['pid'])) {
291
+                                            wp_redirect(get_permalink($_REQUEST['pid']));
292
+                    } else {
286 293
                         geodir_remove_temp_images();
287 294
                         wp_redirect(geodir_getlink(get_permalink(geodir_add_listing_page_id()), array('listing_type' => $_REQUEST['listing_type'])));
288 295
                     }
@@ -310,8 +317,9 @@  discard block
 block discarded – undo
310 317
                             } elseif (isset($_REQUEST['pid']) && $_REQUEST['pid'] != '') {
311 318
                                 $redirect_to = get_permalink(geodir_add_listing_page_id());
312 319
                                 $redirect_to = geodir_getlink($redirect_to, array('pid' => $post->pid), false);
313
-                            } else
314
-                                $redirect_to = get_permalink(geodir_add_listing_page_id());
320
+                            } else {
321
+                                                            $redirect_to = get_permalink(geodir_add_listing_page_id());
322
+                            }
315 323
 
316 324
                             $gd_session->un_set('listing');
317 325
                             wp_redirect($redirect_to);
@@ -333,8 +341,9 @@  discard block
 block discarded – undo
333 341
                             $lastid = wp_delete_post($_REQUEST['pid']);
334 342
                         }
335 343
 
336
-                        if ($lastid && !is_wp_error($lastid))
337
-                            wp_redirect($_SERVER['HTTP_REFERER']);
344
+                        if ($lastid && !is_wp_error($lastid)) {
345
+                                                    wp_redirect($_SERVER['HTTP_REFERER']);
346
+                        }
338 347
 
339 348
                         //wp_redirect( geodir_getlink(get_author_posts_url($current_user->ID),array('geodir_dashbord'=>'true','stype'=>$post_type ),false) );
340 349
                     }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
  */
45 45
 function geodir_on_wp()
46 46
 {
47
-    if(geodir_is_page('login')) {
47
+    if (geodir_is_page('login')) {
48 48
         geodir_user_signup();
49 49
     }
50 50
 
@@ -228,10 +228,10 @@  discard block
 block discarded – undo
228 228
         if (is_user_logged_in()) {
229 229
             switch ($_REQUEST['ajax_action']):
230 230
                 case "add" :
231
-                    geodir_add_to_favorite((int)$_REQUEST['pid']);
231
+                    geodir_add_to_favorite((int) $_REQUEST['pid']);
232 232
                     break;
233 233
                 case "remove" :
234
-                    geodir_remove_from_favorite((int)$_REQUEST['pid']);
234
+                    geodir_remove_from_favorite((int) $_REQUEST['pid']);
235 235
                     break;
236 236
             endswitch;
237 237
         } else {
@@ -244,7 +244,7 @@  discard block
 block discarded – undo
244 244
 
245 245
         $is_current_user_owner = true;
246 246
         if (isset($_REQUEST['pid']) && $_REQUEST['pid'] != '') {
247
-            $is_current_user_owner = geodir_listing_belong_to_current_user((int)$_REQUEST['pid']);
247
+            $is_current_user_owner = geodir_listing_belong_to_current_user((int) $_REQUEST['pid']);
248 248
         }
249 249
 
250 250
         $request = $gd_session->get('listing');
Please login to merge, or discard this patch.
geodirectory-functions/cat-meta-functions/cat_meta.php 2 patches
Spacing   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
      */
25 25
 
26 26
     $config = array(
27
-        'id' => 'demo_meta_box',                    // meta box id, unique per meta box
28
-        'title' => __('Demo Meta Box', 'geodirectory'),                    // meta box title
29
-        'pages' => geodir_get_taxonomies(),            // taxonomy name, accept categories, post_tag and custom taxonomies
30
-        'context' => 'normal',                        // where the meta box appear: normal (default), advanced, side; optional
31
-        'fields' => array(),                        // list of meta fields (can be added by field arrays)
32
-        'local_images' => false,                    // Use local or hosted images (meta box images for add/remove)
27
+        'id' => 'demo_meta_box', // meta box id, unique per meta box
28
+        'title' => __('Demo Meta Box', 'geodirectory'), // meta box title
29
+        'pages' => geodir_get_taxonomies(), // taxonomy name, accept categories, post_tag and custom taxonomies
30
+        'context' => 'normal', // where the meta box appear: normal (default), advanced, side; optional
31
+        'fields' => array(), // list of meta fields (can be added by field arrays)
32
+        'local_images' => false, // Use local or hosted images (meta box images for add/remove)
33 33
         'use_with_theme' => true                    //change path if used with theme set to true, false for a plugin or anything else for a custom path(default false).
34 34
     );
35 35
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      *
50 50
      * @since 1.5.7
51 51
      */
52
-        apply_filters('geodir_cat_schemas',array(
52
+        apply_filters('geodir_cat_schemas', array(
53 53
             '' => __('Default (LocalBusiness)', 'geodirectory'),
54 54
             'AccountingService' => 'AccountingService',
55 55
             'Attorney' => 'Attorney',
@@ -214,9 +214,9 @@  discard block
 block discarded – undo
214 214
 
215 215
             $file_info = pathinfo($term_icon_url['src']);
216 216
 
217
-            if (isset($file_info['dirname'] ) && $file_info['dirname'] != '.' && $file_info['dirname'] != '..')
217
+            if (isset($file_info['dirname']) && $file_info['dirname'] != '.' && $file_info['dirname'] != '..')
218 218
                 $sub_dir = $file_info['dirname'];
219
-            else{$sub_dir = '';}
219
+            else {$sub_dir = ''; }
220 220
 
221 221
             $uploads = wp_upload_dir(trim($sub_dir, '/')); // Array of key => value pairs
222 222
             $uploads_baseurl = $uploads['baseurl'];
@@ -268,8 +268,8 @@  discard block
 block discarded – undo
268 268
                             jQuery("#addtag iframe").contents().find("body").html('');
269 269
                             jQuery('#addtag [rel="ct_cat_default_img"]').removeClass('at-delete_image_button').addClass('at-upload_image_button');
270 270
                             jQuery('#addtag [rel="ct_cat_icon"]').removeClass('at-delete_image_button').addClass('at-upload_image_button');
271
-                            jQuery('#addtag [rel="ct_cat_default_img"]').val('<?php _e('Upload Image','geodirectory');?>');
272
-                            jQuery('#addtag [rel="ct_cat_icon"]').val('<?php _e('Upload Image','geodirectory');?>');
271
+                            jQuery('#addtag [rel="ct_cat_default_img"]').val('<?php _e('Upload Image', 'geodirectory'); ?>');
272
+                            jQuery('#addtag [rel="ct_cat_icon"]').val('<?php _e('Upload Image', 'geodirectory'); ?>');
273 273
                         }
274 274
                     }, 1000);
275 275
 
Please login to merge, or discard this patch.
Braces   +15 added lines, -12 removed lines patch added patch discarded remove patch
@@ -204,8 +204,9 @@  discard block
 block discarded – undo
204 204
 #############################################################
205 205
 function manage_category_custom_fields($deprecated, $column_name, $term_id)
206 206
 {
207
-    if ($column_name == 'cat_ID_num')
208
-        echo $term_id;
207
+    if ($column_name == 'cat_ID_num') {
208
+            echo $term_id;
209
+    }
209 210
 
210 211
     if ($column_name == 'cat_icon') {
211 212
         $term_icon_url = get_tax_meta($term_id, 'ct_cat_icon');
@@ -214,9 +215,9 @@  discard block
 block discarded – undo
214 215
 
215 216
             $file_info = pathinfo($term_icon_url['src']);
216 217
 
217
-            if (isset($file_info['dirname'] ) && $file_info['dirname'] != '.' && $file_info['dirname'] != '..')
218
-                $sub_dir = $file_info['dirname'];
219
-            else{$sub_dir = '';}
218
+            if (isset($file_info['dirname'] ) && $file_info['dirname'] != '.' && $file_info['dirname'] != '..') {
219
+                            $sub_dir = $file_info['dirname'];
220
+            } else{$sub_dir = '';}
220 221
 
221 222
             $uploads = wp_upload_dir(trim($sub_dir, '/')); // Array of key => value pairs
222 223
             $uploads_baseurl = $uploads['baseurl'];
@@ -236,8 +237,9 @@  discard block
 block discarded – undo
236 237
 
237 238
     if ($column_name == 'cat_default_img') {
238 239
         $cat_default_img = get_tax_meta($term_id, 'ct_cat_default_img');
239
-        if ($cat_default_img != '')
240
-            echo '<img src="' . $cat_default_img['src'] . '" style="max-height:60px;max-width:60px;"/>';
240
+        if ($cat_default_img != '') {
241
+                    echo '<img src="' . $cat_default_img['src'] . '" style="max-height:60px;max-width:60px;"/>';
242
+        }
241 243
 
242 244
     }
243 245
 }
@@ -245,11 +247,12 @@  discard block
 block discarded – undo
245 247
 function geodir_get_default_catimage($term_id, $post_type = 'gd_place')
246 248
 {
247 249
 
248
-    if ($cat_default_img = get_tax_meta($term_id, 'ct_cat_default_img', '', $post_type))
249
-        return $cat_default_img;
250
-    else
251
-        return false;
252
-}
250
+    if ($cat_default_img = get_tax_meta($term_id, 'ct_cat_default_img', '', $post_type)) {
251
+            return $cat_default_img;
252
+    } else {
253
+            return false;
254
+    }
255
+    }
253 256
 
254 257
 //Clear custom fields
255 258
 add_action('in_admin_footer', 'geodir_tax_meta_clear_custom_field');
Please login to merge, or discard this patch.
geodirectory-functions/comments_functions.php 3 patches
Braces   +60 added lines, -48 removed lines patch added patch discarded remove patch
@@ -248,8 +248,9 @@  discard block
 block discarded – undo
248 248
 
249 249
     $post_id = isset($comment_info->comment_post_ID) ? $comment_info->comment_post_ID : '';
250 250
 
251
-    if (!empty($comment_info))
252
-        $status = $comment_info->comment_approved;
251
+    if (!empty($comment_info)) {
252
+            $status = $comment_info->comment_approved;
253
+    }
253 254
 
254 255
     if ($status == 'approve' || $status == 1) {
255 256
         $status = 1;
@@ -381,12 +382,14 @@  discard block
 block discarded – undo
381 382
 function geodir_wrap_comment_text($content, $comment = '')
382 383
 {
383 384
     $rating = 0;
384
-    if (!empty($comment))
385
-        $rating = geodir_get_commentoverall($comment->comment_ID);
385
+    if (!empty($comment)) {
386
+            $rating = geodir_get_commentoverall($comment->comment_ID);
387
+    }
386 388
     if ($rating != 0 && !is_admin()) {
387 389
         return '<div><div class="gd-rating-text">' . __('Overall Rating', 'geodirectory') . ': <div class="rating">' . $rating . '</div></div>' . geodir_get_rating_stars($rating, $comment->comment_ID) . '</div><div class="description">' . $content . '</div>';
388
-    } else
389
-        return $content;
390
+    } else {
391
+            return $content;
392
+    }
390 393
 
391 394
 }
392 395
 
@@ -475,11 +478,12 @@  discard block
 block discarded – undo
475 478
         $post_ratings = get_post_meta($post_id, 'overall_rating');
476 479
     }
477 480
 
478
-    if ($post_ratings)
479
-        return $post_ratings;
480
-    else
481
-        return false;
482
-}
481
+    if ($post_ratings) {
482
+            return $post_ratings;
483
+    } else {
484
+            return false;
485
+    }
486
+    }
483 487
 
484 488
 
485 489
 /**
@@ -504,11 +508,12 @@  discard block
 block discarded – undo
504 508
         )
505 509
     );
506 510
 
507
-    if (!empty($reatings))
508
-        return $reatings;
509
-    else
510
-        return false;
511
-}
511
+    if (!empty($reatings)) {
512
+            return $reatings;
513
+    } else {
514
+            return false;
515
+    }
516
+    }
512 517
 
513 518
 /**
514 519
  * Get review total of a Post.
@@ -532,11 +537,12 @@  discard block
 block discarded – undo
532 537
         )
533 538
     );
534 539
 
535
-    if (!empty($results))
536
-        return $results;
537
-    else
538
-        return false;
539
-}
540
+    if (!empty($results)) {
541
+            return $results;
542
+    } else {
543
+            return false;
544
+    }
545
+    }
540 546
 
541 547
 /**
542 548
  * Get review count by user ID.
@@ -559,11 +565,12 @@  discard block
 block discarded – undo
559 565
         )
560 566
     );
561 567
 
562
-    if (!empty($results))
563
-        return $results;
564
-    else
565
-        return false;
566
-}
568
+    if (!empty($results)) {
569
+            return $results;
570
+    } else {
571
+            return false;
572
+    }
573
+    }
567 574
 
568 575
 /**
569 576
  * Get average overall rating of a Post.
@@ -597,11 +604,12 @@  discard block
 block discarded – undo
597 604
         )
598 605
     );
599 606
 
600
-    if (!empty($results))
601
-        return $results;
602
-    else
603
-        return false;
604
-}
607
+    if (!empty($results)) {
608
+            return $results;
609
+    } else {
610
+            return false;
611
+    }
612
+    }
605 613
 
606 614
 /**
607 615
  * Get review count of a Post.
@@ -625,11 +633,12 @@  discard block
 block discarded – undo
625 633
         )
626 634
     );
627 635
 
628
-    if (!empty($results))
629
-        return $results;
630
-    else
631
-        return false;
632
-}
636
+    if (!empty($results)) {
637
+            return $results;
638
+    } else {
639
+            return false;
640
+    }
641
+    }
633 642
 
634 643
 /**
635 644
  * Get comments count of a Post.
@@ -655,11 +664,12 @@  discard block
 block discarded – undo
655 664
     );
656 665
 
657 666
 
658
-    if (!empty($results))
659
-        return $results;
660
-    else
661
-        return false;
662
-}
667
+    if (!empty($results)) {
668
+            return $results;
669
+    } else {
670
+            return false;
671
+    }
672
+    }
663 673
 
664 674
 /**
665 675
  * Get overall rating of a comment.
@@ -683,11 +693,12 @@  discard block
 block discarded – undo
683 693
         )
684 694
     );
685 695
 
686
-    if ($reatings)
687
-        return $reatings;
688
-    else
689
-        return false;
690
-}
696
+    if ($reatings) {
697
+            return $reatings;
698
+    } else {
699
+            return false;
700
+    }
701
+    }
691 702
 
692 703
 /**
693 704
  * Returns average overall rating of a Post. Depreciated since ver 1.3.6.
@@ -930,8 +941,9 @@  discard block
 block discarded – undo
930 941
     $active_tabs = get_option('geodir_detail_page_tabs_excluded');
931 942
 
932 943
     $is_display = true;
933
-    if (!empty($active_tabs) && in_array('reviews', $active_tabs))
934
-        $is_display = false;
944
+    if (!empty($active_tabs) && in_array('reviews', $active_tabs)) {
945
+            $is_display = false;
946
+    }
935 947
 
936 948
     /**
937 949
      * Filter to change display value.
Please login to merge, or discard this patch.
Indentation   +48 added lines, -48 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Comment related functions.
4
- *
5
- * @since 1.0.0
6
- * @package GeoDirectory
7
- */
3
+     * Comment related functions.
4
+     *
5
+     * @since 1.0.0
6
+     * @package GeoDirectory
7
+     */
8 8
 
9 9
 add_filter('comment_row_actions', 'geodir_comment_meta_row_action', 11, 1);
10 10
 /**
@@ -68,28 +68,28 @@  discard block
 block discarded – undo
68 68
 function geodir_comment_rating_meta($comment)
69 69
 {
70 70
     $post_type = get_post_type($comment->comment_post_ID);
71
-	if (in_array($post_type, (array)geodir_get_posttypes()) && (int)$comment->comment_parent == 0) {
72
-		$rating = geodir_get_commentoverall($comment->comment_ID);
71
+    if (in_array($post_type, (array)geodir_get_posttypes()) && (int)$comment->comment_parent == 0) {
72
+        $rating = geodir_get_commentoverall($comment->comment_ID);
73 73
 		
74
-		if ((int)get_option('geodir_reviewrating_enable_font_awesome') == 1) {
75
-			$star_texts = array();
76
-			$star_texts[] = __('Terrible', 'geodirectory');
77
-			$star_texts[] = __('Poor', 'geodirectory');
78
-			$star_texts[] = __('Average', 'geodirectory');
79
-			$star_texts[] = __('Very Good', 'geodirectory');
80
-			$star_texts[] = __('Excellent', 'geodirectory');
74
+        if ((int)get_option('geodir_reviewrating_enable_font_awesome') == 1) {
75
+            $star_texts = array();
76
+            $star_texts[] = __('Terrible', 'geodirectory');
77
+            $star_texts[] = __('Poor', 'geodirectory');
78
+            $star_texts[] = __('Average', 'geodirectory');
79
+            $star_texts[] = __('Very Good', 'geodirectory');
80
+            $star_texts[] = __('Excellent', 'geodirectory');
81 81
 			
82
-			echo geodir_font_awesome_rating_form_html('', $star_texts, $rating);
83
-		} else {			
84
-			if ($rating) {
85
-				echo '<div class="gd_rating" data-average="' . $rating . '" data-id="5">';
86
-
87
-			} else {
88
-				echo '<div class="gd_rating" data-average="0" data-id="5"></div>';
89
-			}
90
-		}
91
-		echo '<input type="hidden" id="geodir_overallrating" name="geodir_overallrating" value="' . $rating . '"  />';
92
-	}
82
+            echo geodir_font_awesome_rating_form_html('', $star_texts, $rating);
83
+        } else {			
84
+            if ($rating) {
85
+                echo '<div class="gd_rating" data-average="' . $rating . '" data-id="5">';
86
+
87
+            } else {
88
+                echo '<div class="gd_rating" data-average="0" data-id="5"></div>';
89
+            }
90
+        }
91
+        echo '<input type="hidden" id="geodir_overallrating" name="geodir_overallrating" value="' . $rating . '"  />';
92
+    }
93 93
 }
94 94
 
95 95
 
@@ -113,13 +113,13 @@  discard block
 block discarded – undo
113 113
 
114 114
     if (in_array($post->post_type, $post_types)) {
115 115
         $star_texts = array();
116
-		$star_texts[] = __('Terrible', 'geodirectory');
117
-		$star_texts[] = __('Poor', 'geodirectory');
118
-		$star_texts[] = __('Average', 'geodirectory');
119
-		$star_texts[] = __('Very Good', 'geodirectory');
120
-		$star_texts[] = __('Excellent', 'geodirectory');
116
+        $star_texts[] = __('Terrible', 'geodirectory');
117
+        $star_texts[] = __('Poor', 'geodirectory');
118
+        $star_texts[] = __('Average', 'geodirectory');
119
+        $star_texts[] = __('Very Good', 'geodirectory');
120
+        $star_texts[] = __('Excellent', 'geodirectory');
121 121
 		
122
-		$gd_rating_html = apply_filters('gd_rating_form_html', '<div class="gd_rating" data-average="0" data-id="5"></div>', $star_texts);
122
+        $gd_rating_html = apply_filters('gd_rating_form_html', '<div class="gd_rating" data-average="0" data-id="5"></div>', $star_texts);
123 123
         echo $gd_rating_html;
124 124
         ?>
125 125
         <input type="hidden" id="geodir_overallrating" name="geodir_overallrating" value="0"/><?php
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     if (isset($_REQUEST['geodir_overallrating'])) {
194 194
         $overall_rating = $_REQUEST['geodir_overallrating'];
195 195
         
196
-		if (isset($comment_info->comment_parent) && (int)$comment_info->comment_parent == 0) {
196
+        if (isset($comment_info->comment_parent) && (int)$comment_info->comment_parent == 0) {
197 197
             $overall_rating = $overall_rating > 0 ? $overall_rating : '0';
198 198
 
199 199
             $sqlqry = $wpdb->prepare("INSERT INTO " . GEODIR_REVIEW_TABLE . " SET
@@ -914,23 +914,23 @@  discard block
 block discarded – undo
914 914
     if ($small) {
915 915
         $r_html = '<div class="rating"><div class="gd_rating_map" data-average="' . $rating . '" data-id="' . $post_id . '"><div class="geodir_RatingColor" ></div><div class="geodir_RatingAverage_small" style="width: ' . $a_rating . '%;"></div><div class="geodir_Star_small"></div></div></div>';
916 916
     } else {
917
-		if (function_exists('geodir_reviewrating_draw_overall_rating')) {
918
-			// Show rating stars from review rating manager
919
-			$r_html = geodir_reviewrating_draw_overall_rating($rating);
920
-		} else {
921
-			$rating_img = '<img alt="rating icon" src="' . get_option('geodir_default_rating_star_icon') . '" />';
917
+        if (function_exists('geodir_reviewrating_draw_overall_rating')) {
918
+            // Show rating stars from review rating manager
919
+            $r_html = geodir_reviewrating_draw_overall_rating($rating);
920
+        } else {
921
+            $rating_img = '<img alt="rating icon" src="' . get_option('geodir_default_rating_star_icon') . '" />';
922 922
 			
923
-			/* fix rating star for safari */
924
-			$star_width = 23 * 5;
925
-			//global $is_safari, $is_iphone, $ios, $is_chrome;
926
-			//$attach_style = ( $is_safari || $is_iphone || $ios || $is_chrome ) && $star_width > 0 ? 'width:' . $star_width . 'px;max-width:none' : '';
927
-			if ($star_width > 0) {
928
-				$attach_style = 'max-width:' . $star_width . 'px';
929
-			} else {
930
-				$attach_style = '';
931
-			}
932
-			$r_html = '<div class="geodir-rating" style="' . $attach_style . '"><div class="gd_rating_show" data-average="' . $rating . '" data-id="' . $post_id . '"><div class="geodir_RatingAverage" style="width: ' . $a_rating . '%;"></div><div class="geodir_Star">' . $rating_img . $rating_img . $rating_img . $rating_img . $rating_img . '</div></div></div>';
933
-		}
923
+            /* fix rating star for safari */
924
+            $star_width = 23 * 5;
925
+            //global $is_safari, $is_iphone, $ios, $is_chrome;
926
+            //$attach_style = ( $is_safari || $is_iphone || $ios || $is_chrome ) && $star_width > 0 ? 'width:' . $star_width . 'px;max-width:none' : '';
927
+            if ($star_width > 0) {
928
+                $attach_style = 'max-width:' . $star_width . 'px';
929
+            } else {
930
+                $attach_style = '';
931
+            }
932
+            $r_html = '<div class="geodir-rating" style="' . $attach_style . '"><div class="gd_rating_show" data-average="' . $rating . '" data-id="' . $post_id . '"><div class="geodir_RatingAverage" style="width: ' . $a_rating . '%;"></div><div class="geodir_Star">' . $rating_img . $rating_img . $rating_img . $rating_img . $rating_img . '</div></div></div>';
933
+        }
934 934
     }
935 935
     return apply_filters('geodir_get_rating_stars_html', $r_html, $rating, 5);
936 936
 }
Please login to merge, or discard this patch.
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -68,10 +68,10 @@  discard block
 block discarded – undo
68 68
 function geodir_comment_rating_meta($comment)
69 69
 {
70 70
     $post_type = get_post_type($comment->comment_post_ID);
71
-	if (in_array($post_type, (array)geodir_get_posttypes()) && (int)$comment->comment_parent == 0) {
71
+	if (in_array($post_type, (array) geodir_get_posttypes()) && (int) $comment->comment_parent == 0) {
72 72
 		$rating = geodir_get_commentoverall($comment->comment_ID);
73 73
 		
74
-		if ((int)get_option('geodir_reviewrating_enable_font_awesome') == 1) {
74
+		if ((int) get_option('geodir_reviewrating_enable_font_awesome') == 1) {
75 75
 			$star_texts = array();
76 76
 			$star_texts[] = __('Terrible', 'geodirectory');
77 77
 			$star_texts[] = __('Poor', 'geodirectory');
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
     if (isset($_REQUEST['geodir_overallrating'])) {
194 194
         $overall_rating = $_REQUEST['geodir_overallrating'];
195 195
         
196
-		if (isset($comment_info->comment_parent) && (int)$comment_info->comment_parent == 0) {
196
+		if (isset($comment_info->comment_parent) && (int) $comment_info->comment_parent == 0) {
197 197
             $overall_rating = $overall_rating > 0 ? $overall_rating : '0';
198 198
 
199 199
             $sqlqry = $wpdb->prepare("INSERT INTO " . GEODIR_REVIEW_TABLE . " SET
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
 
338 338
         $overall_rating = $_REQUEST['geodir_overallrating'];
339 339
 
340
-        if (isset($comment_info->comment_parent) && (int)$comment_info->comment_parent == 0) {
340
+        if (isset($comment_info->comment_parent) && (int) $comment_info->comment_parent == 0) {
341 341
             $overall_rating = $overall_rating > 0 ? $overall_rating : '0';
342 342
 
343 343
             if (isset($old_rating)) {
@@ -457,7 +457,7 @@  discard block
 block discarded – undo
457 457
      * @package GeoDirectory
458 458
      * @param int $post_id The post ID.
459 459
      */
460
-    do_action('geodir_update_postrating',$post_id);
460
+    do_action('geodir_update_postrating', $post_id);
461 461
 
462 462
 }
463 463
 
@@ -969,10 +969,10 @@  discard block
 block discarded – undo
969 969
 /*
970 970
  * If Disqus plugin is active, do some fixes to show on blogs but no on GD post types
971 971
  */
972
-if(function_exists('dsq_can_replace')) {
972
+if (function_exists('dsq_can_replace')) {
973 973
     remove_filter('comments_template', 'dsq_comments_template');
974 974
     add_filter('comments_template', 'dsq_comments_template', 100);
975
-    add_filter('pre_option_disqus_active', 'geodir_option_disqus_active',10,1);
975
+    add_filter('pre_option_disqus_active', 'geodir_option_disqus_active', 10, 1);
976 976
 }
977 977
 
978 978
 
@@ -985,11 +985,11 @@  discard block
 block discarded – undo
985 985
  * @param string $disqus_active Hook called before DB call for option so this is empty.
986 986
  * @return string `1` if active `0` if disabled.
987 987
  */
988
-function geodir_option_disqus_active($disqus_active){
988
+function geodir_option_disqus_active($disqus_active) {
989 989
     global $post;
990 990
     $all_postypes = geodir_get_posttypes();
991 991
 
992
-    if(isset($post->post_type) && is_array($all_postypes) && in_array($post->post_type,$all_postypes)){
992
+    if (isset($post->post_type) && is_array($all_postypes) && in_array($post->post_type, $all_postypes)) {
993 993
         $disqus_active = '0';
994 994
     }
995 995
 
Please login to merge, or discard this patch.