@@ -6,26 +6,26 @@ discard block |
||
6 | 6 | * @package GeoDirectory |
7 | 7 | */ |
8 | 8 | if (!function_exists('geodir_create_tables')) { |
9 | - /** |
|
10 | - * Creates custom db tables for storing GeoDirectory plugin data. |
|
11 | - * |
|
12 | - * @since 1.0.0 |
|
13 | - * @package GeoDirectory |
|
14 | - * @global object $wpdb WordPress Database object. |
|
15 | - * @global string $plugin_prefix GeoDirectory plugin table prefix. |
|
16 | - */ |
|
17 | - function geodir_create_tables() |
|
18 | - { |
|
19 | - |
|
20 | - global $wpdb, $plugin_prefix; |
|
21 | - |
|
22 | - $wpdb->hide_errors(); |
|
23 | - |
|
24 | - $collate = ''; |
|
25 | - if ($wpdb->has_cap('collation')) { |
|
26 | - if (!empty($wpdb->charset)) $collate = "DEFAULT CHARACTER SET $wpdb->charset"; |
|
27 | - if (!empty($wpdb->collate)) $collate .= " COLLATE $wpdb->collate"; |
|
28 | - } |
|
9 | + /** |
|
10 | + * Creates custom db tables for storing GeoDirectory plugin data. |
|
11 | + * |
|
12 | + * @since 1.0.0 |
|
13 | + * @package GeoDirectory |
|
14 | + * @global object $wpdb WordPress Database object. |
|
15 | + * @global string $plugin_prefix GeoDirectory plugin table prefix. |
|
16 | + */ |
|
17 | + function geodir_create_tables() |
|
18 | + { |
|
19 | + |
|
20 | + global $wpdb, $plugin_prefix; |
|
21 | + |
|
22 | + $wpdb->hide_errors(); |
|
23 | + |
|
24 | + $collate = ''; |
|
25 | + if ($wpdb->has_cap('collation')) { |
|
26 | + if (!empty($wpdb->charset)) $collate = "DEFAULT CHARACTER SET $wpdb->charset"; |
|
27 | + if (!empty($wpdb->collate)) $collate .= " COLLATE $wpdb->collate"; |
|
28 | + } |
|
29 | 29 | |
30 | 30 | /** |
31 | 31 | * Include any functions needed for upgrades. |
@@ -36,31 +36,31 @@ discard block |
||
36 | 36 | |
37 | 37 | |
38 | 38 | // rename tables if we need to |
39 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_countries'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_countries'") == 0) { |
|
40 | - $wpdb->query("RENAME TABLE geodir_countries TO " . $wpdb->prefix . "geodir_countries"); |
|
41 | - } |
|
42 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_custom_fields'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_custom_fields'") == 0) { |
|
43 | - $wpdb->query("RENAME TABLE geodir_custom_fields TO " . $wpdb->prefix . "geodir_custom_fields"); |
|
44 | - } |
|
45 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_post_icon'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_post_icon'") == 0) { |
|
46 | - $wpdb->query("RENAME TABLE geodir_post_icon TO " . $wpdb->prefix . "geodir_post_icon"); |
|
47 | - } |
|
48 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_attachments'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_attachments'") == 0) { |
|
49 | - $wpdb->query("RENAME TABLE geodir_attachments TO " . $wpdb->prefix . "geodir_attachments"); |
|
50 | - } |
|
51 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_post_review'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_post_review'") == 0) { |
|
52 | - $wpdb->query("RENAME TABLE geodir_post_review TO " . $wpdb->prefix . "geodir_post_review"); |
|
53 | - } |
|
54 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_custom_sort_fields'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_custom_sort_fields'") == 0) { |
|
55 | - $wpdb->query("RENAME TABLE geodir_custom_sort_fields TO " . $wpdb->prefix . "geodir_custom_sort_fields"); |
|
56 | - } |
|
57 | - if ($wpdb->query("SHOW TABLES LIKE 'geodir_gd_place_detail'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_gd_place_detail'") == 0) { |
|
58 | - $wpdb->query("RENAME TABLE geodir_gd_place_detail TO " . $wpdb->prefix . "geodir_gd_place_detail"); |
|
59 | - } |
|
60 | - |
|
61 | - |
|
62 | - // Table for storing Countries |
|
63 | - $GEODIR_COUNTRIES_TABLE = "CREATE TABLE " . GEODIR_COUNTRIES_TABLE . " ( |
|
39 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_countries'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_countries'") == 0) { |
|
40 | + $wpdb->query("RENAME TABLE geodir_countries TO " . $wpdb->prefix . "geodir_countries"); |
|
41 | + } |
|
42 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_custom_fields'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_custom_fields'") == 0) { |
|
43 | + $wpdb->query("RENAME TABLE geodir_custom_fields TO " . $wpdb->prefix . "geodir_custom_fields"); |
|
44 | + } |
|
45 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_post_icon'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_post_icon'") == 0) { |
|
46 | + $wpdb->query("RENAME TABLE geodir_post_icon TO " . $wpdb->prefix . "geodir_post_icon"); |
|
47 | + } |
|
48 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_attachments'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_attachments'") == 0) { |
|
49 | + $wpdb->query("RENAME TABLE geodir_attachments TO " . $wpdb->prefix . "geodir_attachments"); |
|
50 | + } |
|
51 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_post_review'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_post_review'") == 0) { |
|
52 | + $wpdb->query("RENAME TABLE geodir_post_review TO " . $wpdb->prefix . "geodir_post_review"); |
|
53 | + } |
|
54 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_custom_sort_fields'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_custom_sort_fields'") == 0) { |
|
55 | + $wpdb->query("RENAME TABLE geodir_custom_sort_fields TO " . $wpdb->prefix . "geodir_custom_sort_fields"); |
|
56 | + } |
|
57 | + if ($wpdb->query("SHOW TABLES LIKE 'geodir_gd_place_detail'") > 0 && $wpdb->query("SHOW TABLES LIKE '" . $wpdb->prefix . "geodir_gd_place_detail'") == 0) { |
|
58 | + $wpdb->query("RENAME TABLE geodir_gd_place_detail TO " . $wpdb->prefix . "geodir_gd_place_detail"); |
|
59 | + } |
|
60 | + |
|
61 | + |
|
62 | + // Table for storing Countries |
|
63 | + $GEODIR_COUNTRIES_TABLE = "CREATE TABLE " . GEODIR_COUNTRIES_TABLE . " ( |
|
64 | 64 | CountryId smallint AUTO_INCREMENT NOT NULL , |
65 | 65 | Country varchar (50) NOT NULL , |
66 | 66 | FIPS104 varchar (2) NOT NULL , |
@@ -79,21 +79,21 @@ discard block |
||
79 | 79 | Comment varchar (255) NULL , |
80 | 80 | PRIMARY KEY (CountryId)) $collate "; |
81 | 81 | |
82 | - /** |
|
83 | - * Filter the SQL query that creates/updates the country DB table structure. |
|
84 | - * |
|
85 | - * @since 1.0.0 |
|
86 | - * @param string $sql The SQL insert query string. |
|
87 | - */ |
|
88 | - $GEODIR_COUNTRIES_TABLE = apply_filters('geodir_before_country_table_create', $GEODIR_COUNTRIES_TABLE); |
|
89 | - dbDelta($GEODIR_COUNTRIES_TABLE); |
|
82 | + /** |
|
83 | + * Filter the SQL query that creates/updates the country DB table structure. |
|
84 | + * |
|
85 | + * @since 1.0.0 |
|
86 | + * @param string $sql The SQL insert query string. |
|
87 | + */ |
|
88 | + $GEODIR_COUNTRIES_TABLE = apply_filters('geodir_before_country_table_create', $GEODIR_COUNTRIES_TABLE); |
|
89 | + dbDelta($GEODIR_COUNTRIES_TABLE); |
|
90 | 90 | |
91 | 91 | |
92 | - $country_table_empty = $wpdb->get_var("SELECT COUNT(CountryId) FROM " . GEODIR_COUNTRIES_TABLE . ""); |
|
92 | + $country_table_empty = $wpdb->get_var("SELECT COUNT(CountryId) FROM " . GEODIR_COUNTRIES_TABLE . ""); |
|
93 | 93 | |
94 | - if ($country_table_empty == 0) { |
|
94 | + if ($country_table_empty == 0) { |
|
95 | 95 | |
96 | - $countries_insert = "INSERT INTO " . GEODIR_COUNTRIES_TABLE . " (`CountryId`, `Country`, `FIPS104`, `ISO2`, `ISO3`, `ISON`, `Internet`, `Capital`, `MapReference`, `NationalitySingular`, `NationalityPlural`, `Currency`, `CurrencyCode`, `Population`, `Title`, `COMMENT`) VALUES |
|
96 | + $countries_insert = "INSERT INTO " . GEODIR_COUNTRIES_TABLE . " (`CountryId`, `Country`, `FIPS104`, `ISO2`, `ISO3`, `ISON`, `Internet`, `Capital`, `MapReference`, `NationalitySingular`, `NationalityPlural`, `Currency`, `CurrencyCode`, `Population`, `Title`, `COMMENT`) VALUES |
|
97 | 97 | (1, 'Afghanistan', 'AF', 'AF', 'AFG', '4', 'AF', 'Kabul ', 'Asia ', 'Afghan', 'Afghans', 'Afghani ', 'AFA', 26813057, 'Afghanistan', ''), |
98 | 98 | (2, 'Albania', 'AL', 'AL', 'ALB', '8', 'AL', 'Tirana ', 'Europe ', 'Albanian', 'Albanians', 'Lek ', 'ALL', 3510484, 'Albania', ''), |
99 | 99 | (3, 'Algeria', 'AG', 'DZ', 'DZA', '12', 'DZ', 'Algiers ', 'Africa ', 'Algerian', 'Algerians', 'Algerian Dinar ', 'DZD', 31736053, 'Algeria', ''), |
@@ -367,21 +367,21 @@ discard block |
||
367 | 367 | (276, 'Curaçao', 'UC', 'CW', 'CUW', '531', 'CW', 'Willemstad ', 'Central America and the Caribbean', 'Curaçaoan', 'Curaçaoans', 'Netherlands Antillean guilder', 'ANG', 152760, 'Curaçao', ''), |
368 | 368 | (277, 'Caribbean Netherlands', '--', 'BQ', 'BES', '535', 'BQ', '--', 'Central America and the Caribbean', '--', '--', 'United States dollar', 'USD', 21133, 'Caribbean Netherlands', '')"; |
369 | 369 | |
370 | - /** |
|
371 | - * Filter the SQL query that inserts the country DB table data. |
|
372 | - * |
|
373 | - * @since 1.0.0 |
|
374 | - * @param string $sql The SQL insert query string. |
|
375 | - */ |
|
376 | - $countries_insert = apply_filters('geodir_before_country_data_insert', $countries_insert); |
|
377 | - $wpdb->query($countries_insert); |
|
370 | + /** |
|
371 | + * Filter the SQL query that inserts the country DB table data. |
|
372 | + * |
|
373 | + * @since 1.0.0 |
|
374 | + * @param string $sql The SQL insert query string. |
|
375 | + */ |
|
376 | + $countries_insert = apply_filters('geodir_before_country_data_insert', $countries_insert); |
|
377 | + $wpdb->query($countries_insert); |
|
378 | 378 | |
379 | - } |
|
379 | + } |
|
380 | 380 | |
381 | 381 | |
382 | - // Table for storing location attribute - these are user defined |
|
382 | + // Table for storing location attribute - these are user defined |
|
383 | 383 | |
384 | - $icon_table = "CREATE TABLE " . GEODIR_ICON_TABLE . " ( |
|
384 | + $icon_table = "CREATE TABLE " . GEODIR_ICON_TABLE . " ( |
|
385 | 385 | id int NOT NULL AUTO_INCREMENT, |
386 | 386 | post_id int( 10 ) NOT NULL, |
387 | 387 | post_title varchar(254) NOT NULL, |
@@ -390,19 +390,19 @@ discard block |
||
390 | 390 | PRIMARY KEY (id) |
391 | 391 | ) $collate "; |
392 | 392 | |
393 | - /** |
|
394 | - * Filter the SQL query that creates/updates the post_icon DB table structure. |
|
395 | - * |
|
396 | - * @since 1.0.0 |
|
397 | - * @param string $sql The SQL insert query string. |
|
398 | - */ |
|
399 | - $icon_table = apply_filters('geodir_before_icon_table_create', $icon_table); |
|
393 | + /** |
|
394 | + * Filter the SQL query that creates/updates the post_icon DB table structure. |
|
395 | + * |
|
396 | + * @since 1.0.0 |
|
397 | + * @param string $sql The SQL insert query string. |
|
398 | + */ |
|
399 | + $icon_table = apply_filters('geodir_before_icon_table_create', $icon_table); |
|
400 | 400 | |
401 | - dbDelta($icon_table); |
|
401 | + dbDelta($icon_table); |
|
402 | 402 | |
403 | - // Table for storing post custom fields - these are user defined |
|
403 | + // Table for storing post custom fields - these are user defined |
|
404 | 404 | |
405 | - $post_custom_fields = "CREATE TABLE " . GEODIR_CUSTOM_FIELDS_TABLE . " ( |
|
405 | + $post_custom_fields = "CREATE TABLE " . GEODIR_CUSTOM_FIELDS_TABLE . " ( |
|
406 | 406 | id int(11) NOT NULL AUTO_INCREMENT, |
407 | 407 | post_type varchar(100) NULL, |
408 | 408 | data_type varchar(100) NULL DEFAULT NULL, |
@@ -436,18 +436,18 @@ discard block |
||
436 | 436 | PRIMARY KEY (id) |
437 | 437 | ) $collate"; |
438 | 438 | |
439 | - /** |
|
440 | - * Filter the SQL query that creates/updates the custom_fields DB table structure. |
|
441 | - * |
|
442 | - * @since 1.0.0 |
|
443 | - * @param string $sql The SQL insert query string. |
|
444 | - */ |
|
445 | - $post_custom_fields = apply_filters('geodir_before_custom_field_table_create', $post_custom_fields); |
|
439 | + /** |
|
440 | + * Filter the SQL query that creates/updates the custom_fields DB table structure. |
|
441 | + * |
|
442 | + * @since 1.0.0 |
|
443 | + * @param string $sql The SQL insert query string. |
|
444 | + */ |
|
445 | + $post_custom_fields = apply_filters('geodir_before_custom_field_table_create', $post_custom_fields); |
|
446 | 446 | |
447 | - dbDelta($post_custom_fields); |
|
447 | + dbDelta($post_custom_fields); |
|
448 | 448 | |
449 | - // Table for storing place attribute - these are user defined |
|
450 | - $post_detail = "CREATE TABLE " . $plugin_prefix . "gd_place_detail ( |
|
449 | + // Table for storing place attribute - these are user defined |
|
450 | + $post_detail = "CREATE TABLE " . $plugin_prefix . "gd_place_detail ( |
|
451 | 451 | post_id int(11) NOT NULL, |
452 | 452 | post_title text NULL DEFAULT NULL, |
453 | 453 | post_status varchar(20) NULL DEFAULT NULL, |
@@ -473,22 +473,22 @@ discard block |
||
473 | 473 | PRIMARY KEY (post_id) |
474 | 474 | ) $collate "; |
475 | 475 | |
476 | - /** |
|
477 | - * Filter the SQL query that creates/updates the post_detail DB table structure. |
|
478 | - * |
|
479 | - * @since 1.0.0 |
|
480 | - * @param string $sql The SQL insert query string. |
|
481 | - */ |
|
482 | - $post_detail = apply_filters('geodir_before_post_detail_table_create', $post_detail); |
|
476 | + /** |
|
477 | + * Filter the SQL query that creates/updates the post_detail DB table structure. |
|
478 | + * |
|
479 | + * @since 1.0.0 |
|
480 | + * @param string $sql The SQL insert query string. |
|
481 | + */ |
|
482 | + $post_detail = apply_filters('geodir_before_post_detail_table_create', $post_detail); |
|
483 | 483 | |
484 | - dbDelta($post_detail); |
|
484 | + dbDelta($post_detail); |
|
485 | 485 | |
486 | - // alter post_title |
|
487 | - //$wpdb->query("ALTER TABLE ".$wpdb->prefix."geodir_gd_place_detail MODIFY `post_title` text NULL"); |
|
486 | + // alter post_title |
|
487 | + //$wpdb->query("ALTER TABLE ".$wpdb->prefix."geodir_gd_place_detail MODIFY `post_title` text NULL"); |
|
488 | 488 | |
489 | - // Table for storing place images - these are user defined |
|
489 | + // Table for storing place images - these are user defined |
|
490 | 490 | |
491 | - $attechment_table = "CREATE TABLE " . GEODIR_ATTACHMENT_TABLE . " ( |
|
491 | + $attechment_table = "CREATE TABLE " . GEODIR_ATTACHMENT_TABLE . " ( |
|
492 | 492 | ID int(11) NOT NULL AUTO_INCREMENT, |
493 | 493 | post_id int(11) NOT NULL, |
494 | 494 | user_id int(11) DEFAULT NULL, |
@@ -504,18 +504,18 @@ discard block |
||
504 | 504 | PRIMARY KEY (ID) |
505 | 505 | ) $collate "; |
506 | 506 | |
507 | - /** |
|
508 | - * Filter the SQL query that creates/updates the attachments DB table structure. |
|
509 | - * |
|
510 | - * @since 1.0.0 |
|
511 | - * @param string $sql The SQL insert query string. |
|
512 | - */ |
|
513 | - $attechment_table = apply_filters('geodir_before_attachment_table_create', $attechment_table); |
|
507 | + /** |
|
508 | + * Filter the SQL query that creates/updates the attachments DB table structure. |
|
509 | + * |
|
510 | + * @since 1.0.0 |
|
511 | + * @param string $sql The SQL insert query string. |
|
512 | + */ |
|
513 | + $attechment_table = apply_filters('geodir_before_attachment_table_create', $attechment_table); |
|
514 | 514 | |
515 | - dbDelta($attechment_table); |
|
515 | + dbDelta($attechment_table); |
|
516 | 516 | |
517 | 517 | |
518 | - $custom_sort_fields_table = "CREATE TABLE " . GEODIR_CUSTOM_SORT_FIELDS_TABLE . " ( |
|
518 | + $custom_sort_fields_table = "CREATE TABLE " . GEODIR_CUSTOM_SORT_FIELDS_TABLE . " ( |
|
519 | 519 | id int(11) NOT NULL AUTO_INCREMENT, |
520 | 520 | post_type varchar(255) NOT NULL, |
521 | 521 | data_type varchar(255) NOT NULL, |
@@ -533,18 +533,18 @@ discard block |
||
533 | 533 | PRIMARY KEY (id) |
534 | 534 | ) $collate "; |
535 | 535 | |
536 | - /** |
|
537 | - * Filter the SQL query that creates/updates the custom_sort_fields DB table structure. |
|
538 | - * |
|
539 | - * @since 1.0.0 |
|
540 | - * @param string $sql The SQL insert query string. |
|
541 | - */ |
|
542 | - $custom_sort_fields_table = apply_filters('geodir_before_sort_fields_table_create', $custom_sort_fields_table); |
|
536 | + /** |
|
537 | + * Filter the SQL query that creates/updates the custom_sort_fields DB table structure. |
|
538 | + * |
|
539 | + * @since 1.0.0 |
|
540 | + * @param string $sql The SQL insert query string. |
|
541 | + */ |
|
542 | + $custom_sort_fields_table = apply_filters('geodir_before_sort_fields_table_create', $custom_sort_fields_table); |
|
543 | 543 | |
544 | - dbDelta($custom_sort_fields_table); |
|
544 | + dbDelta($custom_sort_fields_table); |
|
545 | 545 | |
546 | 546 | |
547 | - $review_table = "CREATE TABLE " . GEODIR_REVIEW_TABLE . " ( |
|
547 | + $review_table = "CREATE TABLE " . GEODIR_REVIEW_TABLE . " ( |
|
548 | 548 | id int(11) NOT NULL AUTO_INCREMENT, |
549 | 549 | post_id int(11) DEFAULT NULL, |
550 | 550 | post_title varchar( 255 ) NULL DEFAULT NULL, |
@@ -568,191 +568,191 @@ discard block |
||
568 | 568 | PRIMARY KEY (id) |
569 | 569 | ) $collate "; |
570 | 570 | |
571 | - /** |
|
572 | - * Filter the SQL query that creates the review DB table structure. |
|
573 | - * |
|
574 | - * @since 1.0.0 |
|
575 | - * @param string $sql The SQL insert query string. |
|
576 | - */ |
|
577 | - $review_table = apply_filters('geodir_before_review_table_create', $review_table); |
|
578 | - dbDelta($review_table); |
|
571 | + /** |
|
572 | + * Filter the SQL query that creates the review DB table structure. |
|
573 | + * |
|
574 | + * @since 1.0.0 |
|
575 | + * @param string $sql The SQL insert query string. |
|
576 | + */ |
|
577 | + $review_table = apply_filters('geodir_before_review_table_create', $review_table); |
|
578 | + dbDelta($review_table); |
|
579 | 579 | |
580 | 580 | |
581 | 581 | |
582 | - // Alter terms table |
|
583 | - $term_icon_column = $wpdb->get_var("SHOW COLUMNS FROM $wpdb->terms where field='term_icon'"); |
|
584 | - if (!$term_icon_column) { |
|
585 | - $wpdb->query("ALTER TABLE $wpdb->terms ADD `term_icon` TEXT NULL DEFAULT NULL"); |
|
586 | - } |
|
582 | + // Alter terms table |
|
583 | + $term_icon_column = $wpdb->get_var("SHOW COLUMNS FROM $wpdb->terms where field='term_icon'"); |
|
584 | + if (!$term_icon_column) { |
|
585 | + $wpdb->query("ALTER TABLE $wpdb->terms ADD `term_icon` TEXT NULL DEFAULT NULL"); |
|
586 | + } |
|
587 | 587 | |
588 | - //require_once(geodir_plugin_path() . '/upgrade.php'); |
|
588 | + //require_once(geodir_plugin_path() . '/upgrade.php'); |
|
589 | 589 | |
590 | 590 | |
591 | - } |
|
591 | + } |
|
592 | 592 | } // END MAIN FUNCTION geodir_tables_install |
593 | 593 | |
594 | 594 | if (!function_exists('geodir_create_default_fields')) { |
595 | - /** |
|
596 | - * Inserts default custom fields table data into database. |
|
597 | - * |
|
598 | - * @since 1.0.0 |
|
599 | - * @package GeoDirectory |
|
600 | - */ |
|
601 | - function geodir_create_default_fields() |
|
602 | - { |
|
603 | - |
|
604 | - $fields = array(); |
|
605 | - |
|
606 | - $fields[] = array('listing_type' => 'gd_place', |
|
607 | - 'data_type' => 'VARCHAR', |
|
608 | - 'field_type' => 'taxonomy', |
|
609 | - 'admin_title' => __('Category', 'geodirectory'), |
|
610 | - 'admin_desc' => __('SELECT listing category FROM here. SELECT at least one CATEGORY', 'geodirectory'), |
|
611 | - 'site_title' => __('Category', 'geodirectory'), |
|
612 | - 'htmlvar_name' => 'gd_placecategory', |
|
613 | - 'default_value' => '', |
|
614 | - 'is_default' => '1', |
|
615 | - 'is_admin' => '1', |
|
616 | - 'is_required' => '1', |
|
617 | - 'clabels' => __('Category', 'geodirectory')); |
|
618 | - |
|
619 | - $fields[] = array('listing_type' => 'gd_place', |
|
620 | - 'data_type' => 'VARCHAR', |
|
621 | - 'field_type' => 'address', |
|
622 | - 'admin_title' => __('Address', 'geodirectory'), |
|
623 | - 'admin_desc' => ADDRESS_MSG, |
|
624 | - 'site_title' => __('Address', 'geodirectory'), |
|
625 | - 'htmlvar_name' => 'post', |
|
626 | - 'default_value' => '', |
|
627 | - 'option_values' => '', |
|
628 | - 'is_default' => '1', |
|
629 | - 'is_admin' => '1', |
|
630 | - 'is_required' => '1', |
|
631 | - 'required_msg' => __('Address fields are required', 'geodirectory'), |
|
632 | - 'clabels' => __('Address', 'geodirectory'), |
|
633 | - 'extra' => array('show_city' => 1, 'city_lable' => __('City', 'geodirectory'), |
|
634 | - 'show_region' => 1, 'region_lable' => __('Region', 'geodirectory'), |
|
635 | - 'show_country' => 1, 'country_lable' => __('Country', 'geodirectory'), |
|
636 | - 'show_zip' => 1, 'zip_lable' => __('Zip/Post Code', 'geodirectory'), |
|
637 | - 'show_map' => 1, 'map_lable' => __('Set Address On Map', 'geodirectory'), |
|
638 | - 'show_mapview' => 1, 'mapview_lable' => __('Select Map View', 'geodirectory'), |
|
639 | - 'show_mapzoom' => 1, 'mapzoom_lable' => 'hidden', |
|
640 | - 'show_latlng' => 1)); |
|
641 | - |
|
642 | - $fields[] = array('listing_type' => 'gd_place', |
|
643 | - 'data_type' => 'VARCHAR', |
|
644 | - 'field_type' => 'text', |
|
645 | - 'admin_title' => __('Time', 'geodirectory'), |
|
646 | - 'admin_desc' => __('Enter Business or Listing Timing Information.<br/>eg. : 10.00 am to 6 pm every day', 'geodirectory'), |
|
647 | - 'site_title' => __('Time', 'geodirectory'), |
|
648 | - 'htmlvar_name' => 'timing', |
|
649 | - 'default_value' => '', |
|
650 | - 'option_values' => '', |
|
651 | - 'is_default' => '1', |
|
652 | - 'is_admin' => '1', |
|
653 | - 'clabels' => __('Time', 'geodirectory')); |
|
654 | - |
|
655 | - $fields[] = array('listing_type' => 'gd_place', |
|
656 | - 'data_type' => 'VARCHAR', |
|
657 | - 'field_type' => 'phone', |
|
658 | - 'admin_title' => __('Phone', 'geodirectory'), |
|
659 | - 'admin_desc' => __('You can enter phone number,cell phone number etc.', 'geodirectory'), |
|
660 | - 'site_title' => __('Phone', 'geodirectory'), |
|
661 | - 'htmlvar_name' => 'contact', |
|
662 | - 'default_value' => '', |
|
663 | - 'option_values' => '', |
|
664 | - 'is_default' => '1', |
|
665 | - 'is_admin' => '1', |
|
666 | - 'clabels' => __('Phone', 'geodirectory')); |
|
667 | - |
|
668 | - $fields[] = array('listing_type' => 'gd_place', |
|
669 | - 'data_type' => 'VARCHAR', |
|
670 | - 'field_type' => 'email', |
|
671 | - 'admin_title' => __('Email', 'geodirectory'), |
|
672 | - 'admin_desc' => __('You can enter your business or listing email.', 'geodirectory'), |
|
673 | - 'site_title' => __('Email', 'geodirectory'), |
|
674 | - 'htmlvar_name' => 'email', |
|
675 | - 'default_value' => '', |
|
676 | - 'option_values' => '', |
|
677 | - 'is_default' => '1', |
|
678 | - 'is_admin' => '1', |
|
679 | - 'clabels' => __('Email', 'geodirectory')); |
|
680 | - |
|
681 | - $fields[] = array('listing_type' => 'gd_place', |
|
682 | - 'data_type' => 'VARCHAR', |
|
683 | - 'field_type' => 'url', |
|
684 | - 'admin_title' => __('Website', 'geodirectory'), |
|
685 | - 'admin_desc' => __('You can enter your business or listing website.', 'geodirectory'), |
|
686 | - 'site_title' => __('Website', 'geodirectory'), |
|
687 | - 'htmlvar_name' => 'website', |
|
688 | - 'default_value' => '', |
|
689 | - 'option_values' => '', |
|
690 | - 'is_default' => '1', |
|
691 | - 'is_admin' => '1', |
|
692 | - 'clabels' => __('Website', 'geodirectory')); |
|
693 | - |
|
694 | - $fields[] = array('listing_type' => 'gd_place', |
|
695 | - 'data_type' => 'VARCHAR', |
|
696 | - 'field_type' => 'url', |
|
697 | - 'admin_title' => __('Twitter', 'geodirectory'), |
|
698 | - 'admin_desc' => __('You can enter your business or listing twitter url.', 'geodirectory'), |
|
699 | - 'site_title' => __('Twitter', 'geodirectory'), |
|
700 | - 'htmlvar_name' => 'twitter', |
|
701 | - 'default_value' => '', |
|
702 | - 'option_values' => '', |
|
703 | - 'is_default' => '1', |
|
704 | - 'is_admin' => '1', |
|
705 | - 'clabels' => __('Twitter', 'geodirectory')); |
|
706 | - |
|
707 | - $fields[] = array('listing_type' => 'gd_place', |
|
708 | - 'data_type' => 'VARCHAR', |
|
709 | - 'field_type' => 'url', |
|
710 | - 'admin_title' => __('Facebook', 'geodirectory'), |
|
711 | - 'admin_desc' => __('You can enter your business or listing facebook url.', 'geodirectory'), |
|
712 | - 'site_title' => __('Facebook', 'geodirectory'), |
|
713 | - 'htmlvar_name' => 'facebook', |
|
714 | - 'default_value' => '', |
|
715 | - 'option_values' => '', |
|
716 | - 'is_default' => '1', |
|
717 | - 'is_admin' => '1', |
|
718 | - 'clabels' => __('Facebook', 'geodirectory')); |
|
719 | - |
|
720 | - $fields[] = array('listing_type' => 'gd_place', |
|
721 | - 'data_type' => 'TEXT', |
|
722 | - 'field_type' => 'textarea', |
|
723 | - 'admin_title' => __('Video', 'geodirectory'), |
|
724 | - 'admin_desc' => __('Add video code here, YouTube etc.', 'geodirectory'), |
|
725 | - 'site_title' => __('Video', 'geodirectory'), |
|
726 | - 'htmlvar_name' => 'video', |
|
727 | - 'default_value' => '', |
|
728 | - 'option_values' => '', |
|
729 | - 'is_default' => '0', |
|
730 | - 'is_admin' => '1', |
|
731 | - 'clabels' => __('Video', 'geodirectory')); |
|
732 | - |
|
733 | - $fields[] = array('listing_type' => 'gd_place', |
|
734 | - 'data_type' => 'TEXT', |
|
735 | - 'field_type' => 'textarea', |
|
736 | - 'admin_title' => __('Special Offers', 'geodirectory'), |
|
737 | - 'admin_desc' => __('Note: List out any special offers (optional)', 'geodirectory'), |
|
738 | - 'site_title' => __('Special Offers', 'geodirectory'), |
|
739 | - 'htmlvar_name' => 'special_offers', |
|
740 | - 'default_value' => '', |
|
741 | - 'option_values' => '', |
|
742 | - 'is_default' => '0', |
|
743 | - 'is_admin' => '1', |
|
744 | - 'clabels' => __('Special Offers', 'geodirectory')); |
|
745 | - |
|
746 | - /** |
|
747 | - * Filter the array of default custom fields DB table data. |
|
748 | - * |
|
749 | - * @since 1.0.0 |
|
750 | - * @param string $fields The default custom fields as an array. |
|
751 | - */ |
|
752 | - $fields = apply_filters('geodir_before_default_custom_fields_saved', $fields); |
|
753 | - foreach ($fields as $field_index => $field) { |
|
754 | - geodir_custom_field_save($field); |
|
755 | - |
|
756 | - } |
|
757 | - } |
|
595 | + /** |
|
596 | + * Inserts default custom fields table data into database. |
|
597 | + * |
|
598 | + * @since 1.0.0 |
|
599 | + * @package GeoDirectory |
|
600 | + */ |
|
601 | + function geodir_create_default_fields() |
|
602 | + { |
|
603 | + |
|
604 | + $fields = array(); |
|
605 | + |
|
606 | + $fields[] = array('listing_type' => 'gd_place', |
|
607 | + 'data_type' => 'VARCHAR', |
|
608 | + 'field_type' => 'taxonomy', |
|
609 | + 'admin_title' => __('Category', 'geodirectory'), |
|
610 | + 'admin_desc' => __('SELECT listing category FROM here. SELECT at least one CATEGORY', 'geodirectory'), |
|
611 | + 'site_title' => __('Category', 'geodirectory'), |
|
612 | + 'htmlvar_name' => 'gd_placecategory', |
|
613 | + 'default_value' => '', |
|
614 | + 'is_default' => '1', |
|
615 | + 'is_admin' => '1', |
|
616 | + 'is_required' => '1', |
|
617 | + 'clabels' => __('Category', 'geodirectory')); |
|
618 | + |
|
619 | + $fields[] = array('listing_type' => 'gd_place', |
|
620 | + 'data_type' => 'VARCHAR', |
|
621 | + 'field_type' => 'address', |
|
622 | + 'admin_title' => __('Address', 'geodirectory'), |
|
623 | + 'admin_desc' => ADDRESS_MSG, |
|
624 | + 'site_title' => __('Address', 'geodirectory'), |
|
625 | + 'htmlvar_name' => 'post', |
|
626 | + 'default_value' => '', |
|
627 | + 'option_values' => '', |
|
628 | + 'is_default' => '1', |
|
629 | + 'is_admin' => '1', |
|
630 | + 'is_required' => '1', |
|
631 | + 'required_msg' => __('Address fields are required', 'geodirectory'), |
|
632 | + 'clabels' => __('Address', 'geodirectory'), |
|
633 | + 'extra' => array('show_city' => 1, 'city_lable' => __('City', 'geodirectory'), |
|
634 | + 'show_region' => 1, 'region_lable' => __('Region', 'geodirectory'), |
|
635 | + 'show_country' => 1, 'country_lable' => __('Country', 'geodirectory'), |
|
636 | + 'show_zip' => 1, 'zip_lable' => __('Zip/Post Code', 'geodirectory'), |
|
637 | + 'show_map' => 1, 'map_lable' => __('Set Address On Map', 'geodirectory'), |
|
638 | + 'show_mapview' => 1, 'mapview_lable' => __('Select Map View', 'geodirectory'), |
|
639 | + 'show_mapzoom' => 1, 'mapzoom_lable' => 'hidden', |
|
640 | + 'show_latlng' => 1)); |
|
641 | + |
|
642 | + $fields[] = array('listing_type' => 'gd_place', |
|
643 | + 'data_type' => 'VARCHAR', |
|
644 | + 'field_type' => 'text', |
|
645 | + 'admin_title' => __('Time', 'geodirectory'), |
|
646 | + 'admin_desc' => __('Enter Business or Listing Timing Information.<br/>eg. : 10.00 am to 6 pm every day', 'geodirectory'), |
|
647 | + 'site_title' => __('Time', 'geodirectory'), |
|
648 | + 'htmlvar_name' => 'timing', |
|
649 | + 'default_value' => '', |
|
650 | + 'option_values' => '', |
|
651 | + 'is_default' => '1', |
|
652 | + 'is_admin' => '1', |
|
653 | + 'clabels' => __('Time', 'geodirectory')); |
|
654 | + |
|
655 | + $fields[] = array('listing_type' => 'gd_place', |
|
656 | + 'data_type' => 'VARCHAR', |
|
657 | + 'field_type' => 'phone', |
|
658 | + 'admin_title' => __('Phone', 'geodirectory'), |
|
659 | + 'admin_desc' => __('You can enter phone number,cell phone number etc.', 'geodirectory'), |
|
660 | + 'site_title' => __('Phone', 'geodirectory'), |
|
661 | + 'htmlvar_name' => 'contact', |
|
662 | + 'default_value' => '', |
|
663 | + 'option_values' => '', |
|
664 | + 'is_default' => '1', |
|
665 | + 'is_admin' => '1', |
|
666 | + 'clabels' => __('Phone', 'geodirectory')); |
|
667 | + |
|
668 | + $fields[] = array('listing_type' => 'gd_place', |
|
669 | + 'data_type' => 'VARCHAR', |
|
670 | + 'field_type' => 'email', |
|
671 | + 'admin_title' => __('Email', 'geodirectory'), |
|
672 | + 'admin_desc' => __('You can enter your business or listing email.', 'geodirectory'), |
|
673 | + 'site_title' => __('Email', 'geodirectory'), |
|
674 | + 'htmlvar_name' => 'email', |
|
675 | + 'default_value' => '', |
|
676 | + 'option_values' => '', |
|
677 | + 'is_default' => '1', |
|
678 | + 'is_admin' => '1', |
|
679 | + 'clabels' => __('Email', 'geodirectory')); |
|
680 | + |
|
681 | + $fields[] = array('listing_type' => 'gd_place', |
|
682 | + 'data_type' => 'VARCHAR', |
|
683 | + 'field_type' => 'url', |
|
684 | + 'admin_title' => __('Website', 'geodirectory'), |
|
685 | + 'admin_desc' => __('You can enter your business or listing website.', 'geodirectory'), |
|
686 | + 'site_title' => __('Website', 'geodirectory'), |
|
687 | + 'htmlvar_name' => 'website', |
|
688 | + 'default_value' => '', |
|
689 | + 'option_values' => '', |
|
690 | + 'is_default' => '1', |
|
691 | + 'is_admin' => '1', |
|
692 | + 'clabels' => __('Website', 'geodirectory')); |
|
693 | + |
|
694 | + $fields[] = array('listing_type' => 'gd_place', |
|
695 | + 'data_type' => 'VARCHAR', |
|
696 | + 'field_type' => 'url', |
|
697 | + 'admin_title' => __('Twitter', 'geodirectory'), |
|
698 | + 'admin_desc' => __('You can enter your business or listing twitter url.', 'geodirectory'), |
|
699 | + 'site_title' => __('Twitter', 'geodirectory'), |
|
700 | + 'htmlvar_name' => 'twitter', |
|
701 | + 'default_value' => '', |
|
702 | + 'option_values' => '', |
|
703 | + 'is_default' => '1', |
|
704 | + 'is_admin' => '1', |
|
705 | + 'clabels' => __('Twitter', 'geodirectory')); |
|
706 | + |
|
707 | + $fields[] = array('listing_type' => 'gd_place', |
|
708 | + 'data_type' => 'VARCHAR', |
|
709 | + 'field_type' => 'url', |
|
710 | + 'admin_title' => __('Facebook', 'geodirectory'), |
|
711 | + 'admin_desc' => __('You can enter your business or listing facebook url.', 'geodirectory'), |
|
712 | + 'site_title' => __('Facebook', 'geodirectory'), |
|
713 | + 'htmlvar_name' => 'facebook', |
|
714 | + 'default_value' => '', |
|
715 | + 'option_values' => '', |
|
716 | + 'is_default' => '1', |
|
717 | + 'is_admin' => '1', |
|
718 | + 'clabels' => __('Facebook', 'geodirectory')); |
|
719 | + |
|
720 | + $fields[] = array('listing_type' => 'gd_place', |
|
721 | + 'data_type' => 'TEXT', |
|
722 | + 'field_type' => 'textarea', |
|
723 | + 'admin_title' => __('Video', 'geodirectory'), |
|
724 | + 'admin_desc' => __('Add video code here, YouTube etc.', 'geodirectory'), |
|
725 | + 'site_title' => __('Video', 'geodirectory'), |
|
726 | + 'htmlvar_name' => 'video', |
|
727 | + 'default_value' => '', |
|
728 | + 'option_values' => '', |
|
729 | + 'is_default' => '0', |
|
730 | + 'is_admin' => '1', |
|
731 | + 'clabels' => __('Video', 'geodirectory')); |
|
732 | + |
|
733 | + $fields[] = array('listing_type' => 'gd_place', |
|
734 | + 'data_type' => 'TEXT', |
|
735 | + 'field_type' => 'textarea', |
|
736 | + 'admin_title' => __('Special Offers', 'geodirectory'), |
|
737 | + 'admin_desc' => __('Note: List out any special offers (optional)', 'geodirectory'), |
|
738 | + 'site_title' => __('Special Offers', 'geodirectory'), |
|
739 | + 'htmlvar_name' => 'special_offers', |
|
740 | + 'default_value' => '', |
|
741 | + 'option_values' => '', |
|
742 | + 'is_default' => '0', |
|
743 | + 'is_admin' => '1', |
|
744 | + 'clabels' => __('Special Offers', 'geodirectory')); |
|
745 | + |
|
746 | + /** |
|
747 | + * Filter the array of default custom fields DB table data. |
|
748 | + * |
|
749 | + * @since 1.0.0 |
|
750 | + * @param string $fields The default custom fields as an array. |
|
751 | + */ |
|
752 | + $fields = apply_filters('geodir_before_default_custom_fields_saved', $fields); |
|
753 | + foreach ($fields as $field_index => $field) { |
|
754 | + geodir_custom_field_save($field); |
|
755 | + |
|
756 | + } |
|
757 | + } |
|
758 | 758 | } |
759 | 759 | \ No newline at end of file |
@@ -16,184 +16,184 @@ |
||
16 | 16 | */ |
17 | 17 | $geodir_settings['permalink_settings'] = apply_filters('geodir_permalink_settings', array( |
18 | 18 | |
19 | - /* Listing Permalink Settings start */ |
|
20 | - array('name' => __('Permalink', 'geodirectory'), 'type' => 'no_tabs', 'desc' => 'Settings to set permalink', 'id' => 'geodir_permalink_settings '), |
|
21 | - |
|
22 | - |
|
23 | - array('name' => __('Listing Detail Permalink Settings', 'geodirectory'), |
|
24 | - 'type' => 'sectionstart', |
|
25 | - 'desc' => '', |
|
26 | - 'id' => 'geodir_permalink'), |
|
27 | - |
|
28 | - array( |
|
29 | - 'name' => __('Add location in urls', 'geodirectory'), |
|
30 | - 'desc' => __('Add location slug in listing urls', 'geodirectory'), |
|
31 | - 'id' => 'geodir_add_location_url', |
|
32 | - 'type' => 'checkbox', |
|
33 | - 'std' => '1', |
|
34 | - 'checkboxgroup' => 'start' |
|
35 | - ), |
|
36 | - |
|
37 | - array( |
|
38 | - 'name' => __('Add full location in listing urls', 'geodirectory'), |
|
39 | - 'desc' => __('Add full location info with country, region and city slug in listing urls', 'geodirectory'), |
|
40 | - 'id' => 'geodir_show_location_url', |
|
41 | - 'type' => 'radio', |
|
42 | - 'value' => 'all', |
|
43 | - 'std' => 'all', |
|
44 | - 'radiogroup' => '' |
|
45 | - ), |
|
46 | - |
|
47 | - array( |
|
48 | - 'name' => __('Add country and city slug in listing urls', 'geodirectory'), |
|
49 | - 'desc' => __('Add country and city slug in listing urls (/country/city/)', 'geodirectory'), |
|
50 | - 'id' => 'geodir_show_location_url', |
|
51 | - 'type' => 'radio', |
|
52 | - 'std' => 'all', |
|
53 | - 'value' => 'country_city', |
|
54 | - 'radiogroup' => '' |
|
55 | - ), |
|
56 | - array( |
|
57 | - 'name' => __('Add region and city slug in listing urls', 'geodirectory'), |
|
58 | - 'desc' => __('Add region and city slug in listing urls (/region/city/)', 'geodirectory'), |
|
59 | - 'id' => 'geodir_show_location_url', |
|
60 | - 'type' => 'radio', |
|
61 | - 'std' => 'all', |
|
62 | - 'value' => 'region_city', |
|
63 | - 'radiogroup' => '' |
|
64 | - ), |
|
65 | - array( |
|
66 | - 'name' => __('Add only city in listing urls', 'geodirectory'), |
|
67 | - 'desc' => __('Add city slug in listing urls', 'geodirectory'), |
|
68 | - 'id' => 'geodir_show_location_url', |
|
69 | - 'type' => 'radio', |
|
70 | - 'std' => 'all', |
|
71 | - 'value' => 'city', |
|
72 | - 'radiogroup' => 'end' |
|
73 | - ), |
|
74 | - |
|
75 | - |
|
76 | - |
|
77 | - array( |
|
78 | - 'name' => __('Add category in listing urls', 'geodirectory'), |
|
79 | - 'desc' => __('Add requested category slugs in listing urls', 'geodirectory'), |
|
80 | - 'id' => 'geodir_add_categories_url', |
|
81 | - 'type' => 'checkbox', |
|
82 | - 'std' => '1', |
|
83 | - ), |
|
84 | - |
|
85 | - array( |
|
86 | - 'name' => __('Listing url prefix', 'geodirectory'), |
|
87 | - 'desc' => __('Listing prefix to show in url', 'geodirectory'), |
|
88 | - 'id' => 'geodir_listing_prefix', |
|
89 | - 'type' => 'text', |
|
90 | - 'css' => 'min-width:300px;', |
|
91 | - 'std' => 'places' |
|
92 | - ), |
|
93 | - |
|
94 | - array( |
|
95 | - 'name' => __('Location url prefix', 'geodirectory'), |
|
96 | - 'desc' => __('Depreciated, now uses the location page slug', 'geodirectory'), |
|
97 | - 'id' => 'geodir_location_prefix', |
|
98 | - 'type' => 'text', |
|
99 | - 'css' => 'min-width:300px;', |
|
100 | - 'std' => 'location' // Default value to show home top section |
|
101 | - ), |
|
102 | - |
|
103 | - array( |
|
104 | - 'name' => __('Location and category url separator', 'geodirectory'), |
|
105 | - 'desc' => __('Separator to show between location and category url slugs in listing urls', 'geodirectory'), |
|
106 | - 'id' => 'geodir_listingurl_separator', |
|
107 | - 'type' => 'text', |
|
108 | - 'css' => 'min-width:300px;', |
|
109 | - 'std' => 'C' // Default value to show home top section |
|
110 | - ), |
|
111 | - |
|
112 | - array( |
|
113 | - 'name' => __('Listing detail url separator', 'geodirectory'), |
|
114 | - 'desc' => __('Separator to show before listing slug in listing detail urls', 'geodirectory'), |
|
115 | - 'id' => 'geodir_detailurl_separator', |
|
116 | - 'type' => 'text', |
|
117 | - 'css' => 'min-width:300px;', |
|
118 | - 'std' => 'info' // Default value to show home top section |
|
119 | - ), |
|
120 | - |
|
121 | - |
|
122 | - array('type' => 'sectionend', 'id' => 'geodir_permalink'), |
|
123 | - |
|
124 | - array('name' => __('GeoDirectory Pages', 'geodirectory'), |
|
125 | - 'type' => 'sectionstart', |
|
126 | - 'desc' => '', |
|
127 | - 'id' => 'geodir_pages'), |
|
128 | - |
|
129 | - array( |
|
130 | - 'name' => __('GD Home page', 'geodirectory'), |
|
131 | - 'desc' => __('Select the page to use for the GD homepage (you must also set this page in Settings>Reading>Front page for it to work)', 'geodirectory'), |
|
132 | - 'id' => 'geodir_home_page', |
|
133 | - 'type' => 'single_select_page', |
|
134 | - 'class' => 'chosen_select' |
|
135 | - ), |
|
136 | - |
|
137 | - array( |
|
138 | - 'name' => __('Add listing page', 'geodirectory'), |
|
139 | - 'desc' => __('Select the page to use for adding listings', 'geodirectory'), |
|
140 | - 'id' => 'geodir_add_listing_page', |
|
141 | - 'type' => 'single_select_page', |
|
142 | - 'class' => 'chosen_select' |
|
143 | - ), |
|
144 | - |
|
145 | - array( |
|
146 | - 'name' => __('Listing preview page', 'geodirectory'), |
|
147 | - 'desc' => __('Select the page to use for listing preview', 'geodirectory'), |
|
148 | - 'id' => 'geodir_preview_page', |
|
149 | - 'type' => 'single_select_page', |
|
150 | - 'class' => 'chosen_select' |
|
151 | - ), |
|
152 | - |
|
153 | - array( |
|
154 | - 'name' => __('Listing success page', 'geodirectory'), |
|
155 | - 'desc' => __('Select the page to use for listing success', 'geodirectory'), |
|
156 | - 'id' => 'geodir_success_page', |
|
157 | - 'type' => 'single_select_page', |
|
158 | - 'class' => 'chosen_select' |
|
159 | - ), |
|
160 | - |
|
161 | - array( |
|
162 | - 'name' => __('Location page', 'geodirectory'), |
|
163 | - 'desc' => __('Select the page to use for locations', 'geodirectory'), |
|
164 | - 'id' => 'geodir_location_page', |
|
165 | - 'type' => 'single_select_page', |
|
166 | - 'class' => 'chosen_select' |
|
167 | - ), |
|
168 | - |
|
169 | - array( |
|
170 | - 'name' => __('Terms and Conditions page', 'geodirectory'), |
|
171 | - 'desc' => __('Select the page to use for Terms and Conditions (if enabled)', 'geodirectory'), |
|
172 | - 'id' => 'geodir_term_condition_page', |
|
173 | - 'type' => 'single_select_page', |
|
174 | - 'class' => 'chosen_select' |
|
175 | - ), |
|
176 | - |
|
177 | - array( |
|
178 | - 'name' => __('Info page', 'geodirectory'), |
|
179 | - 'desc' => __('Select the page to use for Gd general Info', 'geodirectory'), |
|
180 | - 'id' => 'geodir_info_page', |
|
181 | - 'type' => 'single_select_page', |
|
182 | - 'class' => 'chosen_select' |
|
183 | - ), |
|
184 | - |
|
185 | - array( |
|
186 | - 'name' => __('Login page', 'geodirectory'), |
|
187 | - 'desc' => __('Select the page to use for Login / Register', 'geodirectory'), |
|
188 | - 'id' => 'geodir_login_page', |
|
189 | - 'type' => 'single_select_page', |
|
190 | - 'class' => 'chosen_select' |
|
191 | - ), |
|
192 | - |
|
193 | - |
|
194 | - array('type' => 'sectionend', 'id' => 'geodir_pages'), |
|
195 | - |
|
196 | - /* Listing Detail Permalink Settings End */ |
|
19 | + /* Listing Permalink Settings start */ |
|
20 | + array('name' => __('Permalink', 'geodirectory'), 'type' => 'no_tabs', 'desc' => 'Settings to set permalink', 'id' => 'geodir_permalink_settings '), |
|
21 | + |
|
22 | + |
|
23 | + array('name' => __('Listing Detail Permalink Settings', 'geodirectory'), |
|
24 | + 'type' => 'sectionstart', |
|
25 | + 'desc' => '', |
|
26 | + 'id' => 'geodir_permalink'), |
|
27 | + |
|
28 | + array( |
|
29 | + 'name' => __('Add location in urls', 'geodirectory'), |
|
30 | + 'desc' => __('Add location slug in listing urls', 'geodirectory'), |
|
31 | + 'id' => 'geodir_add_location_url', |
|
32 | + 'type' => 'checkbox', |
|
33 | + 'std' => '1', |
|
34 | + 'checkboxgroup' => 'start' |
|
35 | + ), |
|
36 | + |
|
37 | + array( |
|
38 | + 'name' => __('Add full location in listing urls', 'geodirectory'), |
|
39 | + 'desc' => __('Add full location info with country, region and city slug in listing urls', 'geodirectory'), |
|
40 | + 'id' => 'geodir_show_location_url', |
|
41 | + 'type' => 'radio', |
|
42 | + 'value' => 'all', |
|
43 | + 'std' => 'all', |
|
44 | + 'radiogroup' => '' |
|
45 | + ), |
|
46 | + |
|
47 | + array( |
|
48 | + 'name' => __('Add country and city slug in listing urls', 'geodirectory'), |
|
49 | + 'desc' => __('Add country and city slug in listing urls (/country/city/)', 'geodirectory'), |
|
50 | + 'id' => 'geodir_show_location_url', |
|
51 | + 'type' => 'radio', |
|
52 | + 'std' => 'all', |
|
53 | + 'value' => 'country_city', |
|
54 | + 'radiogroup' => '' |
|
55 | + ), |
|
56 | + array( |
|
57 | + 'name' => __('Add region and city slug in listing urls', 'geodirectory'), |
|
58 | + 'desc' => __('Add region and city slug in listing urls (/region/city/)', 'geodirectory'), |
|
59 | + 'id' => 'geodir_show_location_url', |
|
60 | + 'type' => 'radio', |
|
61 | + 'std' => 'all', |
|
62 | + 'value' => 'region_city', |
|
63 | + 'radiogroup' => '' |
|
64 | + ), |
|
65 | + array( |
|
66 | + 'name' => __('Add only city in listing urls', 'geodirectory'), |
|
67 | + 'desc' => __('Add city slug in listing urls', 'geodirectory'), |
|
68 | + 'id' => 'geodir_show_location_url', |
|
69 | + 'type' => 'radio', |
|
70 | + 'std' => 'all', |
|
71 | + 'value' => 'city', |
|
72 | + 'radiogroup' => 'end' |
|
73 | + ), |
|
74 | + |
|
75 | + |
|
76 | + |
|
77 | + array( |
|
78 | + 'name' => __('Add category in listing urls', 'geodirectory'), |
|
79 | + 'desc' => __('Add requested category slugs in listing urls', 'geodirectory'), |
|
80 | + 'id' => 'geodir_add_categories_url', |
|
81 | + 'type' => 'checkbox', |
|
82 | + 'std' => '1', |
|
83 | + ), |
|
84 | + |
|
85 | + array( |
|
86 | + 'name' => __('Listing url prefix', 'geodirectory'), |
|
87 | + 'desc' => __('Listing prefix to show in url', 'geodirectory'), |
|
88 | + 'id' => 'geodir_listing_prefix', |
|
89 | + 'type' => 'text', |
|
90 | + 'css' => 'min-width:300px;', |
|
91 | + 'std' => 'places' |
|
92 | + ), |
|
93 | + |
|
94 | + array( |
|
95 | + 'name' => __('Location url prefix', 'geodirectory'), |
|
96 | + 'desc' => __('Depreciated, now uses the location page slug', 'geodirectory'), |
|
97 | + 'id' => 'geodir_location_prefix', |
|
98 | + 'type' => 'text', |
|
99 | + 'css' => 'min-width:300px;', |
|
100 | + 'std' => 'location' // Default value to show home top section |
|
101 | + ), |
|
102 | + |
|
103 | + array( |
|
104 | + 'name' => __('Location and category url separator', 'geodirectory'), |
|
105 | + 'desc' => __('Separator to show between location and category url slugs in listing urls', 'geodirectory'), |
|
106 | + 'id' => 'geodir_listingurl_separator', |
|
107 | + 'type' => 'text', |
|
108 | + 'css' => 'min-width:300px;', |
|
109 | + 'std' => 'C' // Default value to show home top section |
|
110 | + ), |
|
111 | + |
|
112 | + array( |
|
113 | + 'name' => __('Listing detail url separator', 'geodirectory'), |
|
114 | + 'desc' => __('Separator to show before listing slug in listing detail urls', 'geodirectory'), |
|
115 | + 'id' => 'geodir_detailurl_separator', |
|
116 | + 'type' => 'text', |
|
117 | + 'css' => 'min-width:300px;', |
|
118 | + 'std' => 'info' // Default value to show home top section |
|
119 | + ), |
|
120 | + |
|
121 | + |
|
122 | + array('type' => 'sectionend', 'id' => 'geodir_permalink'), |
|
123 | + |
|
124 | + array('name' => __('GeoDirectory Pages', 'geodirectory'), |
|
125 | + 'type' => 'sectionstart', |
|
126 | + 'desc' => '', |
|
127 | + 'id' => 'geodir_pages'), |
|
128 | + |
|
129 | + array( |
|
130 | + 'name' => __('GD Home page', 'geodirectory'), |
|
131 | + 'desc' => __('Select the page to use for the GD homepage (you must also set this page in Settings>Reading>Front page for it to work)', 'geodirectory'), |
|
132 | + 'id' => 'geodir_home_page', |
|
133 | + 'type' => 'single_select_page', |
|
134 | + 'class' => 'chosen_select' |
|
135 | + ), |
|
136 | + |
|
137 | + array( |
|
138 | + 'name' => __('Add listing page', 'geodirectory'), |
|
139 | + 'desc' => __('Select the page to use for adding listings', 'geodirectory'), |
|
140 | + 'id' => 'geodir_add_listing_page', |
|
141 | + 'type' => 'single_select_page', |
|
142 | + 'class' => 'chosen_select' |
|
143 | + ), |
|
144 | + |
|
145 | + array( |
|
146 | + 'name' => __('Listing preview page', 'geodirectory'), |
|
147 | + 'desc' => __('Select the page to use for listing preview', 'geodirectory'), |
|
148 | + 'id' => 'geodir_preview_page', |
|
149 | + 'type' => 'single_select_page', |
|
150 | + 'class' => 'chosen_select' |
|
151 | + ), |
|
152 | + |
|
153 | + array( |
|
154 | + 'name' => __('Listing success page', 'geodirectory'), |
|
155 | + 'desc' => __('Select the page to use for listing success', 'geodirectory'), |
|
156 | + 'id' => 'geodir_success_page', |
|
157 | + 'type' => 'single_select_page', |
|
158 | + 'class' => 'chosen_select' |
|
159 | + ), |
|
160 | + |
|
161 | + array( |
|
162 | + 'name' => __('Location page', 'geodirectory'), |
|
163 | + 'desc' => __('Select the page to use for locations', 'geodirectory'), |
|
164 | + 'id' => 'geodir_location_page', |
|
165 | + 'type' => 'single_select_page', |
|
166 | + 'class' => 'chosen_select' |
|
167 | + ), |
|
168 | + |
|
169 | + array( |
|
170 | + 'name' => __('Terms and Conditions page', 'geodirectory'), |
|
171 | + 'desc' => __('Select the page to use for Terms and Conditions (if enabled)', 'geodirectory'), |
|
172 | + 'id' => 'geodir_term_condition_page', |
|
173 | + 'type' => 'single_select_page', |
|
174 | + 'class' => 'chosen_select' |
|
175 | + ), |
|
176 | + |
|
177 | + array( |
|
178 | + 'name' => __('Info page', 'geodirectory'), |
|
179 | + 'desc' => __('Select the page to use for Gd general Info', 'geodirectory'), |
|
180 | + 'id' => 'geodir_info_page', |
|
181 | + 'type' => 'single_select_page', |
|
182 | + 'class' => 'chosen_select' |
|
183 | + ), |
|
184 | + |
|
185 | + array( |
|
186 | + 'name' => __('Login page', 'geodirectory'), |
|
187 | + 'desc' => __('Select the page to use for Login / Register', 'geodirectory'), |
|
188 | + 'id' => 'geodir_login_page', |
|
189 | + 'type' => 'single_select_page', |
|
190 | + 'class' => 'chosen_select' |
|
191 | + ), |
|
192 | + |
|
193 | + |
|
194 | + array('type' => 'sectionend', 'id' => 'geodir_pages'), |
|
195 | + |
|
196 | + /* Listing Detail Permalink Settings End */ |
|
197 | 197 | |
198 | 198 | |
199 | 199 | )); // End Design settings |
@@ -12,30 +12,30 @@ discard block |
||
12 | 12 | $post_meta = array(); |
13 | 13 | |
14 | 14 | if (geodir_dummy_folder_exists()) |
15 | - $dummy_image_url = geodir_plugin_url() . "/geodirectory-admin/dummy"; |
|
15 | + $dummy_image_url = geodir_plugin_url() . "/geodirectory-admin/dummy"; |
|
16 | 16 | else |
17 | - $dummy_image_url = 'http://www.wpgeodirectory.com/dummy'; |
|
17 | + $dummy_image_url = 'http://www.wpgeodirectory.com/dummy'; |
|
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 |
||
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´t love the Please Touch Museum? And now, taking kids to the Museum is better than ever. The nation´s premier children´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 |
||
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´re at Longwood Gardens, it´s easy to imagine that you´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 |
||
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´s first zoo! |
238 | 238 | |
@@ -267,45 +267,45 @@ discard block |
||
267 | 267 | The nation´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´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´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´s perspective; outdoors, the Zoo Balloon lifts passengers 400 feet into the air for a bird´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 |
||
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 |
||
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 |
||
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 |
||
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´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 |
||
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 |
||
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 |
||
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´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 |
||
764 | 764 | |
765 | 765 | A delicious, complimentary cooked-to-order breakfast is offered each morning, and a hotel Manager´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 |
||
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´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 |
||
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´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 |
||
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´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 |
||
1021 | 1021 | |
1022 | 1022 | Recently featured on WE TV´s “My Fair Wedding”, the Courtyard Marriott Philadelphia is one of the city´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´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 |
||
1089 | 1089 | |
1090 | 1090 | Recently featured on WE TV´s “My Fair Wedding”, the Courtyard Marriott Philadelphia is one of the city´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´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 |
||
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´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´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 |
||
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´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´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´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´s 36 rooms and suites, decorated in an 18th-century style, hold the hotel to its boutique roots. It´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 |
||
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´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´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 |
||
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 |
||
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 |
||
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´s 2010 Five Star award to a perfect Five Diamond rating from AAA. It´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´s, the Fountain Restaurant overlooks the majestic Swann Memorial Fountain sculpture by Alexander Stirling Calder in the center of Logan Square. You´ll also enjoy sweeping views of the grand Benjamin Franklin Parkway and its gorgeous Beaux Arts architecture. |
@@ -1530,45 +1530,45 @@ discard block |
||
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 |
||
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 |
||
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´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´s popular series Pantry Raid and TLC Ultimate Cake Off. |
@@ -1686,45 +1686,45 @@ discard block |
||
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´s namesake and head chef, Morimoto (of Food Network´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 |
||
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,87 +1786,87 @@ discard block |
||
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 | |
1808 | 1808 | foreach ($post_info as $post_info) { |
1809 | - $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)); |
|
1820 | - $post_address = array(); |
|
1821 | - $postal_code = ''; |
|
1822 | - $address = ''; |
|
1823 | - |
|
1824 | - $post_address = geodir_get_address_by_lat_lan($dummy_post_latitude, $dummy_post_longitude); |
|
1825 | - |
|
1826 | - |
|
1827 | - if (!empty($post_address)) { |
|
1828 | - foreach ($post_address as $add_key => $add_value) { |
|
1829 | - if ($add_value->types[0] == 'postal_code') { |
|
1830 | - $postal_code = $add_value->long_name; |
|
1831 | - } |
|
1832 | - |
|
1833 | - if ($add_value->types[0] == 'street_number') { |
|
1834 | - if ($address != '') |
|
1835 | - $address .= ',' . $add_value->long_name; |
|
1836 | - else |
|
1837 | - $address .= $add_value->long_name; |
|
1838 | - } |
|
1839 | - if ($add_value->types[0] == 'route') { |
|
1840 | - if ($address != '') |
|
1841 | - $address .= ',' . $add_value->long_name; |
|
1842 | - else |
|
1843 | - $address .= $add_value->long_name; |
|
1844 | - } |
|
1845 | - if ($add_value->types[0] == 'neighborhood') { |
|
1846 | - if ($address != '') |
|
1847 | - $address .= ',' . $add_value->long_name; |
|
1848 | - else |
|
1849 | - $address .= $add_value->long_name; |
|
1850 | - } |
|
1851 | - if ($add_value->types[0] == 'sublocality') { |
|
1852 | - if ($address != '') |
|
1853 | - $address .= ',' . $add_value->long_name; |
|
1854 | - else |
|
1855 | - $address .= $add_value->long_name; |
|
1856 | - } |
|
1857 | - |
|
1858 | - } |
|
1859 | - |
|
1860 | - $post_info['post_address'] = $address; |
|
1861 | - $post_info['post_city'] = $default_location->city; |
|
1862 | - $post_info['post_region'] = $default_location->region; |
|
1863 | - $post_info['post_country'] = $default_location->country; |
|
1864 | - $post_info['post_zip'] = $postal_code; |
|
1865 | - $post_info['post_latitude'] = $dummy_post_latitude; |
|
1866 | - $post_info['post_longitude'] = $dummy_post_longitude; |
|
1867 | - |
|
1868 | - } |
|
1869 | - geodir_save_listing($post_info, true); |
|
1809 | + $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)); |
|
1820 | + $post_address = array(); |
|
1821 | + $postal_code = ''; |
|
1822 | + $address = ''; |
|
1823 | + |
|
1824 | + $post_address = geodir_get_address_by_lat_lan($dummy_post_latitude, $dummy_post_longitude); |
|
1825 | + |
|
1826 | + |
|
1827 | + if (!empty($post_address)) { |
|
1828 | + foreach ($post_address as $add_key => $add_value) { |
|
1829 | + if ($add_value->types[0] == 'postal_code') { |
|
1830 | + $postal_code = $add_value->long_name; |
|
1831 | + } |
|
1832 | + |
|
1833 | + if ($add_value->types[0] == 'street_number') { |
|
1834 | + if ($address != '') |
|
1835 | + $address .= ',' . $add_value->long_name; |
|
1836 | + else |
|
1837 | + $address .= $add_value->long_name; |
|
1838 | + } |
|
1839 | + if ($add_value->types[0] == 'route') { |
|
1840 | + if ($address != '') |
|
1841 | + $address .= ',' . $add_value->long_name; |
|
1842 | + else |
|
1843 | + $address .= $add_value->long_name; |
|
1844 | + } |
|
1845 | + if ($add_value->types[0] == 'neighborhood') { |
|
1846 | + if ($address != '') |
|
1847 | + $address .= ',' . $add_value->long_name; |
|
1848 | + else |
|
1849 | + $address .= $add_value->long_name; |
|
1850 | + } |
|
1851 | + if ($add_value->types[0] == 'sublocality') { |
|
1852 | + if ($address != '') |
|
1853 | + $address .= ',' . $add_value->long_name; |
|
1854 | + else |
|
1855 | + $address .= $add_value->long_name; |
|
1856 | + } |
|
1857 | + |
|
1858 | + } |
|
1859 | + |
|
1860 | + $post_info['post_address'] = $address; |
|
1861 | + $post_info['post_city'] = $default_location->city; |
|
1862 | + $post_info['post_region'] = $default_location->region; |
|
1863 | + $post_info['post_country'] = $default_location->country; |
|
1864 | + $post_info['post_zip'] = $postal_code; |
|
1865 | + $post_info['post_latitude'] = $dummy_post_latitude; |
|
1866 | + $post_info['post_longitude'] = $dummy_post_longitude; |
|
1867 | + |
|
1868 | + } |
|
1869 | + geodir_save_listing($post_info, true); |
|
1870 | 1870 | |
1871 | 1871 | } |
1872 | 1872 |
@@ -18,11 +18,11 @@ discard block |
||
18 | 18 | */ |
19 | 19 | function geodir_divi_signup_body_class($classes) |
20 | 20 | { |
21 | - if (geodir_is_page('login')) { |
|
22 | - $classes = str_replace('et_right_sidebar', 'et_full_width_page', $classes); |
|
23 | - $classes[] = 'divi-gd-signup'; |
|
24 | - } |
|
25 | - return $classes; |
|
21 | + if (geodir_is_page('login')) { |
|
22 | + $classes = str_replace('et_right_sidebar', 'et_full_width_page', $classes); |
|
23 | + $classes[] = 'divi-gd-signup'; |
|
24 | + } |
|
25 | + return $classes; |
|
26 | 26 | } |
27 | 27 | |
28 | 28 | add_action('geodir_wrapper_close', 'geodir_divi_action_wrapper_close', 11); |
@@ -34,8 +34,8 @@ discard block |
||
34 | 34 | */ |
35 | 35 | function geodir_divi_action_wrapper_close() |
36 | 36 | { |
37 | - if (geodir_is_page('login')) { |
|
38 | - // We need to close extra divs generated by WRAPPER BEFORE MAIN CONTENT (below) because there is no sidebar on this page |
|
39 | - echo '</div></div>'; |
|
40 | - } |
|
37 | + if (geodir_is_page('login')) { |
|
38 | + // We need to close extra divs generated by WRAPPER BEFORE MAIN CONTENT (below) because there is no sidebar on this page |
|
39 | + echo '</div></div>'; |
|
40 | + } |
|
41 | 41 | } |
42 | 42 | \ No newline at end of file |
@@ -17,26 +17,26 @@ discard block |
||
17 | 17 | function gd_compat_php_genesis() |
18 | 18 | { |
19 | 19 | // REPLACE GENESIS BREADCRUMBS WITH GD BREADCRUMBS |
20 | - remove_action('geodir_detail_before_main_content', 'geodir_breadcrumb', 20); |
|
21 | - remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20); |
|
22 | - remove_action('geodir_author_before_main_content', 'geodir_breadcrumb', 20); |
|
23 | - remove_action('geodir_search_before_main_content', 'geodir_breadcrumb', 20); |
|
24 | - remove_action('geodir_home_before_main_content', 'geodir_breadcrumb', 20); |
|
25 | - remove_action('geodir_location_before_main_content', 'geodir_breadcrumb', 20); |
|
20 | + remove_action('geodir_detail_before_main_content', 'geodir_breadcrumb', 20); |
|
21 | + remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20); |
|
22 | + remove_action('geodir_author_before_main_content', 'geodir_breadcrumb', 20); |
|
23 | + remove_action('geodir_search_before_main_content', 'geodir_breadcrumb', 20); |
|
24 | + remove_action('geodir_home_before_main_content', 'geodir_breadcrumb', 20); |
|
25 | + remove_action('geodir_location_before_main_content', 'geodir_breadcrumb', 20); |
|
26 | 26 | |
27 | 27 | |
28 | - // make top section wide |
|
29 | - remove_action('geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
30 | - remove_action('geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
31 | - remove_action('geodir_author_before_main_content', 'geodir_action_geodir_sidebar_author_top', 10); |
|
32 | - remove_action('geodir_search_before_main_content', 'geodir_action_geodir_sidebar_search_top', 10); |
|
33 | - remove_action('geodir_detail_before_main_content', 'geodir_action_geodir_sidebar_detail_top', 10); |
|
34 | - remove_action('geodir_listings_before_main_content', 'geodir_action_geodir_sidebar_listings_top', 10); |
|
28 | + // make top section wide |
|
29 | + remove_action('geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
30 | + remove_action('geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
31 | + remove_action('geodir_author_before_main_content', 'geodir_action_geodir_sidebar_author_top', 10); |
|
32 | + remove_action('geodir_search_before_main_content', 'geodir_action_geodir_sidebar_search_top', 10); |
|
33 | + remove_action('geodir_detail_before_main_content', 'geodir_action_geodir_sidebar_detail_top', 10); |
|
34 | + remove_action('geodir_listings_before_main_content', 'geodir_action_geodir_sidebar_listings_top', 10); |
|
35 | 35 | |
36 | - // REMOVE PAGE TITLES |
|
37 | - remove_action('geodir_listings_page_title', 'geodir_action_listings_title', 10); |
|
38 | - remove_action('geodir_search_page_title', 'geodir_action_search_page_title', 10); |
|
39 | - remove_action('geodir_author_page_title', 'geodir_action_author_page_title', 10); |
|
36 | + // REMOVE PAGE TITLES |
|
37 | + remove_action('geodir_listings_page_title', 'geodir_action_listings_title', 10); |
|
38 | + remove_action('geodir_search_page_title', 'geodir_action_search_page_title', 10); |
|
39 | + remove_action('geodir_author_page_title', 'geodir_action_author_page_title', 10); |
|
40 | 40 | |
41 | 41 | |
42 | 42 | } |
@@ -53,25 +53,25 @@ discard block |
||
53 | 53 | function gd_genesis_compat_left_sidebars() |
54 | 54 | { |
55 | 55 | |
56 | - if (is_page_geodir_home()) { |
|
57 | - remove_action('geodir_home_sidebar_left', 'geodir_action_home_sidebar_left', 10); |
|
58 | - add_action('geodir_wrapper_close', 'geodir_action_home_sidebar_left', 11); |
|
59 | - } elseif (geodir_is_page('location')) { |
|
60 | - remove_action('geodir_location_sidebar_left', 'geodir_action_home_sidebar_left', 10); |
|
61 | - add_action('geodir_wrapper_close', 'geodir_action_home_sidebar_left', 11); |
|
62 | - } elseif (geodir_is_page('listing')) { |
|
63 | - remove_action('geodir_listings_sidebar_left', 'geodir_action_listings_sidebar_left', 10); |
|
64 | - add_action('geodir_wrapper_close', 'geodir_action_listings_sidebar_left', 11); |
|
65 | - } elseif (geodir_is_page('detail') && get_option('geodir_detail_sidebar_left_section')) { |
|
66 | - //remove_action( 'geodir_detail_sidebar', 'geodir_action_details_sidebar', 10 ); |
|
67 | - //add_action( 'geodir_wrapper_close', 'geodir_action_details_sidebar', 11 ); |
|
68 | - } elseif (geodir_is_page('search')) { |
|
69 | - remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10); |
|
70 | - add_action('geodir_wrapper_close', 'geodir_action_search_sidebar_left', 11); |
|
71 | - } elseif (geodir_is_page('author')) { |
|
72 | - remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10); |
|
73 | - add_action('geodir_wrapper_close', 'geodir_action_author_sidebar_left', 11); |
|
74 | - } |
|
56 | + if (is_page_geodir_home()) { |
|
57 | + remove_action('geodir_home_sidebar_left', 'geodir_action_home_sidebar_left', 10); |
|
58 | + add_action('geodir_wrapper_close', 'geodir_action_home_sidebar_left', 11); |
|
59 | + } elseif (geodir_is_page('location')) { |
|
60 | + remove_action('geodir_location_sidebar_left', 'geodir_action_home_sidebar_left', 10); |
|
61 | + add_action('geodir_wrapper_close', 'geodir_action_home_sidebar_left', 11); |
|
62 | + } elseif (geodir_is_page('listing')) { |
|
63 | + remove_action('geodir_listings_sidebar_left', 'geodir_action_listings_sidebar_left', 10); |
|
64 | + add_action('geodir_wrapper_close', 'geodir_action_listings_sidebar_left', 11); |
|
65 | + } elseif (geodir_is_page('detail') && get_option('geodir_detail_sidebar_left_section')) { |
|
66 | + //remove_action( 'geodir_detail_sidebar', 'geodir_action_details_sidebar', 10 ); |
|
67 | + //add_action( 'geodir_wrapper_close', 'geodir_action_details_sidebar', 11 ); |
|
68 | + } elseif (geodir_is_page('search')) { |
|
69 | + remove_action('geodir_search_sidebar_left', 'geodir_action_search_sidebar_left', 10); |
|
70 | + add_action('geodir_wrapper_close', 'geodir_action_search_sidebar_left', 11); |
|
71 | + } elseif (geodir_is_page('author')) { |
|
72 | + remove_action('geodir_author_sidebar_left', 'geodir_action_author_sidebar_left', 10); |
|
73 | + add_action('geodir_wrapper_close', 'geodir_action_author_sidebar_left', 11); |
|
74 | + } |
|
75 | 75 | |
76 | 76 | |
77 | 77 | } |
@@ -88,65 +88,65 @@ discard block |
||
88 | 88 | */ |
89 | 89 | function geodir_set_body_scs($classes) |
90 | 90 | { |
91 | - $remove_class = false; |
|
92 | - $new_class = ''; |
|
93 | - if (is_page_geodir_home() || geodir_is_page('location')) { |
|
94 | - $remove_class = true; |
|
95 | - if (get_option('geodir_show_home_left_section')) { |
|
96 | - $new_class .= 'sidebar-'; |
|
97 | - } |
|
98 | - if (get_option('geodir_show_home_contant_section')) { |
|
99 | - $new_class .= 'content'; |
|
100 | - } |
|
101 | - if (get_option('geodir_show_home_right_section')) { |
|
102 | - $new_class .= '-sidebar'; |
|
103 | - } |
|
104 | - } elseif (geodir_is_page('listing')) { |
|
105 | - $remove_class = true; |
|
106 | - if (get_option('geodir_show_listing_left_section')) { |
|
107 | - $new_class .= 'sidebar-'; |
|
108 | - } |
|
109 | - $new_class .= 'content'; |
|
110 | - if (get_option('geodir_show_listing_right_section')) { |
|
111 | - $new_class .= '-sidebar'; |
|
112 | - } |
|
113 | - } elseif (geodir_is_page('detail')) { |
|
114 | - $remove_class = true; |
|
115 | - if (get_option('geodir_detail_sidebar_left_section')) { |
|
116 | - $new_class .= 'sidebar-content gd-details-sidebar-left'; |
|
117 | - } else { |
|
118 | - $new_class .= 'content-sidebar'; |
|
119 | - } |
|
120 | - } elseif (geodir_is_page('search')) { |
|
121 | - $remove_class = true; |
|
122 | - if (get_option('geodir_show_search_left_section')) { |
|
123 | - $new_class .= 'sidebar-'; |
|
124 | - } |
|
125 | - $new_class .= 'content'; |
|
126 | - if (get_option('geodir_show_search_right_section')) { |
|
127 | - $new_class .= '-sidebar'; |
|
128 | - } |
|
129 | - } elseif (geodir_is_page('author')) { |
|
130 | - $remove_class = true; |
|
131 | - if (get_option('geodir_show_author_left_section')) { |
|
132 | - $new_class .= 'sidebar-'; |
|
133 | - } |
|
134 | - $new_class .= 'content'; |
|
135 | - if (get_option('geodir_show_author_right_section')) { |
|
136 | - $new_class .= '-sidebar'; |
|
137 | - } |
|
138 | - } elseif (geodir_is_page('add-listing')) { |
|
139 | - $remove_class = true; |
|
140 | - $new_class .= 'content-sidebar'; |
|
141 | - } |
|
142 | - |
|
143 | - if ($remove_class) { |
|
144 | - $classes = array_diff($classes, array('content-sidebar', 'sidebar-content', 'content-sidebar-sidebar', 'sidebar-sidebar-content', 'sidebar-content-sidebar', 'full-width-content')); |
|
145 | - //str_replace(array('content-sidebar','sidebar-content','content-sidebar-sidebar','sidebar-sidebar-content','sidebar-content-sidebar','full-width-content'),array('','','','','',''),$classes); |
|
146 | - $classes[] = $new_class; |
|
147 | - } |
|
148 | - |
|
149 | - return $classes; |
|
91 | + $remove_class = false; |
|
92 | + $new_class = ''; |
|
93 | + if (is_page_geodir_home() || geodir_is_page('location')) { |
|
94 | + $remove_class = true; |
|
95 | + if (get_option('geodir_show_home_left_section')) { |
|
96 | + $new_class .= 'sidebar-'; |
|
97 | + } |
|
98 | + if (get_option('geodir_show_home_contant_section')) { |
|
99 | + $new_class .= 'content'; |
|
100 | + } |
|
101 | + if (get_option('geodir_show_home_right_section')) { |
|
102 | + $new_class .= '-sidebar'; |
|
103 | + } |
|
104 | + } elseif (geodir_is_page('listing')) { |
|
105 | + $remove_class = true; |
|
106 | + if (get_option('geodir_show_listing_left_section')) { |
|
107 | + $new_class .= 'sidebar-'; |
|
108 | + } |
|
109 | + $new_class .= 'content'; |
|
110 | + if (get_option('geodir_show_listing_right_section')) { |
|
111 | + $new_class .= '-sidebar'; |
|
112 | + } |
|
113 | + } elseif (geodir_is_page('detail')) { |
|
114 | + $remove_class = true; |
|
115 | + if (get_option('geodir_detail_sidebar_left_section')) { |
|
116 | + $new_class .= 'sidebar-content gd-details-sidebar-left'; |
|
117 | + } else { |
|
118 | + $new_class .= 'content-sidebar'; |
|
119 | + } |
|
120 | + } elseif (geodir_is_page('search')) { |
|
121 | + $remove_class = true; |
|
122 | + if (get_option('geodir_show_search_left_section')) { |
|
123 | + $new_class .= 'sidebar-'; |
|
124 | + } |
|
125 | + $new_class .= 'content'; |
|
126 | + if (get_option('geodir_show_search_right_section')) { |
|
127 | + $new_class .= '-sidebar'; |
|
128 | + } |
|
129 | + } elseif (geodir_is_page('author')) { |
|
130 | + $remove_class = true; |
|
131 | + if (get_option('geodir_show_author_left_section')) { |
|
132 | + $new_class .= 'sidebar-'; |
|
133 | + } |
|
134 | + $new_class .= 'content'; |
|
135 | + if (get_option('geodir_show_author_right_section')) { |
|
136 | + $new_class .= '-sidebar'; |
|
137 | + } |
|
138 | + } elseif (geodir_is_page('add-listing')) { |
|
139 | + $remove_class = true; |
|
140 | + $new_class .= 'content-sidebar'; |
|
141 | + } |
|
142 | + |
|
143 | + if ($remove_class) { |
|
144 | + $classes = array_diff($classes, array('content-sidebar', 'sidebar-content', 'content-sidebar-sidebar', 'sidebar-sidebar-content', 'sidebar-content-sidebar', 'full-width-content')); |
|
145 | + //str_replace(array('content-sidebar','sidebar-content','content-sidebar-sidebar','sidebar-sidebar-content','sidebar-content-sidebar','full-width-content'),array('','','','','',''),$classes); |
|
146 | + $classes[] = $new_class; |
|
147 | + } |
|
148 | + |
|
149 | + return $classes; |
|
150 | 150 | |
151 | 151 | } |
152 | 152 | |
@@ -160,17 +160,17 @@ discard block |
||
160 | 160 | function gd_genesis_compat_add_top_section_back() |
161 | 161 | { |
162 | 162 | |
163 | - if (is_page_geodir_home() || geodir_is_page('location')) { |
|
164 | - geodir_action_geodir_sidebar_home_top(); |
|
165 | - } elseif (geodir_is_page('listing')) { |
|
166 | - geodir_action_geodir_sidebar_listings_top(); |
|
167 | - } elseif (geodir_is_page('detail')) { |
|
168 | - geodir_action_geodir_sidebar_detail_top(); |
|
169 | - } elseif (geodir_is_page('search')) { |
|
170 | - geodir_action_geodir_sidebar_search_top(); |
|
171 | - } elseif (geodir_is_page('author')) { |
|
172 | - geodir_action_geodir_sidebar_author_top(); |
|
173 | - } |
|
163 | + if (is_page_geodir_home() || geodir_is_page('location')) { |
|
164 | + geodir_action_geodir_sidebar_home_top(); |
|
165 | + } elseif (geodir_is_page('listing')) { |
|
166 | + geodir_action_geodir_sidebar_listings_top(); |
|
167 | + } elseif (geodir_is_page('detail')) { |
|
168 | + geodir_action_geodir_sidebar_detail_top(); |
|
169 | + } elseif (geodir_is_page('search')) { |
|
170 | + geodir_action_geodir_sidebar_search_top(); |
|
171 | + } elseif (geodir_is_page('author')) { |
|
172 | + geodir_action_geodir_sidebar_author_top(); |
|
173 | + } |
|
174 | 174 | |
175 | 175 | |
176 | 176 | } |
@@ -183,12 +183,12 @@ discard block |
||
183 | 183 | */ |
184 | 184 | function geodir_replace_breadcrumb() |
185 | 185 | { |
186 | - if (is_front_page() && get_option('geodir_set_as_home') && !geodir_is_page('login')) { |
|
187 | - } else { |
|
188 | - echo '<div class="geodir-breadcrumb-bar"><div class="wrap">'; |
|
189 | - geodir_breadcrumb(); |
|
190 | - echo '</div></div>'; |
|
191 | - } |
|
186 | + if (is_front_page() && get_option('geodir_set_as_home') && !geodir_is_page('login')) { |
|
187 | + } else { |
|
188 | + echo '<div class="geodir-breadcrumb-bar"><div class="wrap">'; |
|
189 | + geodir_breadcrumb(); |
|
190 | + echo '</div></div>'; |
|
191 | + } |
|
192 | 192 | } |
193 | 193 | |
194 | 194 | // Force Full Width on signup page |
@@ -201,9 +201,9 @@ discard block |
||
201 | 201 | */ |
202 | 202 | function geodir_genesis_meta() |
203 | 203 | { |
204 | - if (geodir_is_page('login')) { |
|
205 | - add_filter('genesis_pre_get_option_site_layout', '__genesis_return_full_width_content'); |
|
206 | - } |
|
204 | + if (geodir_is_page('login')) { |
|
205 | + add_filter('genesis_pre_get_option_site_layout', '__genesis_return_full_width_content'); |
|
206 | + } |
|
207 | 207 | } |
208 | 208 | |
209 | 209 | add_action('geodir_add_listing_page_title', 'geodir_add_listing_page_title_genesis_before', 8); |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | function geodir_add_listing_page_title_genesis_before() |
217 | 217 | { |
218 | 218 | |
219 | - echo "<div class='entry' >"; |
|
219 | + echo "<div class='entry' >"; |
|
220 | 220 | } |
221 | 221 | |
222 | 222 | |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | function geodir_add_listing_form_genesis_after() |
231 | 231 | { |
232 | 232 | |
233 | - echo "</div>"; |
|
233 | + echo "</div>"; |
|
234 | 234 | } |
235 | 235 | |
236 | 236 | |
@@ -249,38 +249,38 @@ discard block |
||
249 | 249 | { |
250 | 250 | |
251 | 251 | |
252 | - $title = ''; |
|
253 | - $subtitle = ''; |
|
254 | - |
|
255 | - if (geodir_is_page('listing')) { |
|
256 | - echo '<div class="wrap gd-title-wrap">'; |
|
257 | - geodir_action_listings_title(); |
|
258 | - echo '</div>'; |
|
259 | - } |
|
260 | - |
|
261 | - if (geodir_is_page('add-listing')) { |
|
262 | - echo '<div class="wrap gd-title-wrap">'; |
|
263 | - geodir_action_add_listing_page_title(); |
|
264 | - echo '</div>'; |
|
265 | - } |
|
266 | - |
|
267 | - if (geodir_is_page('author')) { |
|
268 | - echo '<div class="wrap gd-title-wrap">'; |
|
269 | - geodir_action_author_page_title(); |
|
270 | - echo '</div>'; |
|
271 | - } |
|
272 | - |
|
273 | - if (geodir_is_page('detail') || geodir_is_page('preview')) { |
|
274 | - echo '<div class="wrap gd-title-wrap">'; |
|
275 | - echo get_the_title(); |
|
276 | - echo '</div>'; |
|
277 | - } |
|
278 | - |
|
279 | - if (geodir_is_page('search')) { |
|
280 | - echo '<div class="wrap gd-title-wrap">'; |
|
281 | - geodir_action_search_page_title(); |
|
282 | - echo '</div>'; |
|
283 | - } |
|
252 | + $title = ''; |
|
253 | + $subtitle = ''; |
|
254 | + |
|
255 | + if (geodir_is_page('listing')) { |
|
256 | + echo '<div class="wrap gd-title-wrap">'; |
|
257 | + geodir_action_listings_title(); |
|
258 | + echo '</div>'; |
|
259 | + } |
|
260 | + |
|
261 | + if (geodir_is_page('add-listing')) { |
|
262 | + echo '<div class="wrap gd-title-wrap">'; |
|
263 | + geodir_action_add_listing_page_title(); |
|
264 | + echo '</div>'; |
|
265 | + } |
|
266 | + |
|
267 | + if (geodir_is_page('author')) { |
|
268 | + echo '<div class="wrap gd-title-wrap">'; |
|
269 | + geodir_action_author_page_title(); |
|
270 | + echo '</div>'; |
|
271 | + } |
|
272 | + |
|
273 | + if (geodir_is_page('detail') || geodir_is_page('preview')) { |
|
274 | + echo '<div class="wrap gd-title-wrap">'; |
|
275 | + echo get_the_title(); |
|
276 | + echo '</div>'; |
|
277 | + } |
|
278 | + |
|
279 | + if (geodir_is_page('search')) { |
|
280 | + echo '<div class="wrap gd-title-wrap">'; |
|
281 | + geodir_action_search_page_title(); |
|
282 | + echo '</div>'; |
|
283 | + } |
|
284 | 284 | } |
285 | 285 | |
286 | 286 | |
@@ -293,8 +293,8 @@ discard block |
||
293 | 293 | */ |
294 | 294 | function gd_genesis_listing_page_title_bar() |
295 | 295 | { |
296 | - geodir_action_listings_title(); |
|
297 | - //geodir_action_listings_description(); |
|
296 | + geodir_action_listings_title(); |
|
297 | + //geodir_action_listings_description(); |
|
298 | 298 | } |
299 | 299 | |
300 | 300 | |
@@ -307,19 +307,19 @@ discard block |
||
307 | 307 | */ |
308 | 308 | function gd_compat_php_genesis_geo_1280_fix() |
309 | 309 | { |
310 | - if (function_exists('geo1280_search_bar')) { |
|
311 | - remove_action('genesis_after_header', 'geo1280_search_bar', 20); |
|
312 | - add_action('genesis_after_header', 'geo1280_search_bar_fix', 4); |
|
310 | + if (function_exists('geo1280_search_bar')) { |
|
311 | + remove_action('genesis_after_header', 'geo1280_search_bar', 20); |
|
312 | + add_action('genesis_after_header', 'geo1280_search_bar_fix', 4); |
|
313 | 313 | |
314 | - // |
|
314 | + // |
|
315 | 315 | |
316 | - remove_action('genesis_after_header', 'geodir_replace_breadcrumb', 20); |
|
317 | - remove_action('genesis_before_content_sidebar_wrap', 'geodir_replace_breadcrumb', 20); |
|
318 | - add_action('geodir_wrapper_open', 'geodir_replace_breadcrumb', 105); |
|
316 | + remove_action('genesis_after_header', 'geodir_replace_breadcrumb', 20); |
|
317 | + remove_action('genesis_before_content_sidebar_wrap', 'geodir_replace_breadcrumb', 20); |
|
318 | + add_action('geodir_wrapper_open', 'geodir_replace_breadcrumb', 105); |
|
319 | 319 | |
320 | - remove_action('genesis_before_content_sidebar_wrap', 'geo1280_page_title', 10); |
|
321 | - add_action('geodir_wrapper_open', 'geo1280_page_title', 101); |
|
322 | - } |
|
320 | + remove_action('genesis_before_content_sidebar_wrap', 'geo1280_page_title', 10); |
|
321 | + add_action('geodir_wrapper_open', 'geo1280_page_title', 101); |
|
322 | + } |
|
323 | 323 | } |
324 | 324 | |
325 | 325 | /** |
@@ -331,11 +331,11 @@ discard block |
||
331 | 331 | function geo1280_search_bar_fix() |
332 | 332 | { |
333 | 333 | |
334 | - echo '<div class="geo1280-placeholder"></div>'; |
|
335 | - if (is_active_sidebar('search-bar')) { |
|
336 | - genesis_widget_area('search-bar', array( |
|
337 | - 'before' => '<div class="search-bar widget-area"><div class="wrap">', |
|
338 | - 'after' => '</div></div>', |
|
339 | - )); |
|
340 | - } |
|
334 | + echo '<div class="geo1280-placeholder"></div>'; |
|
335 | + if (is_active_sidebar('search-bar')) { |
|
336 | + genesis_widget_area('search-bar', array( |
|
337 | + 'before' => '<div class="search-bar widget-area"><div class="wrap">', |
|
338 | + 'after' => '</div></div>', |
|
339 | + )); |
|
340 | + } |
|
341 | 341 | } |
@@ -19,60 +19,60 @@ discard block |
||
19 | 19 | function geodir_x_action_calls() |
20 | 20 | { |
21 | 21 | |
22 | - /* ACTIONS |
|
22 | + /* ACTIONS |
|
23 | 23 | ****************************************************************************************/ |
24 | 24 | |
25 | - // Add body class for styling purposes |
|
26 | - add_filter('body_class', 'geodir_x_body_class'); |
|
25 | + // Add body class for styling purposes |
|
26 | + add_filter('body_class', 'geodir_x_body_class'); |
|
27 | 27 | |
28 | - // HOME TOP SIDEBAR |
|
29 | - //remove_action( 'geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10 ); |
|
30 | - //remove_action( 'geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10 ); |
|
31 | - //add_action( 'geodir_wrapper_open', 'geodir_x_home_sidebar', 5 ); |
|
32 | - add_action('geodir_before_search_form', 'geodir_x_search_container_open'); |
|
33 | - add_action('geodir_after_search_form', 'geodir_x_search_container_close'); |
|
28 | + // HOME TOP SIDEBAR |
|
29 | + //remove_action( 'geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10 ); |
|
30 | + //remove_action( 'geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10 ); |
|
31 | + //add_action( 'geodir_wrapper_open', 'geodir_x_home_sidebar', 5 ); |
|
32 | + add_action('geodir_before_search_form', 'geodir_x_search_container_open'); |
|
33 | + add_action('geodir_after_search_form', 'geodir_x_search_container_close'); |
|
34 | 34 | |
35 | - // WRAPPER OPEN ACTIONS |
|
36 | - remove_action('geodir_wrapper_open', 'geodir_action_wrapper_open', 10); |
|
37 | - add_action('geodir_wrapper_open', 'geodir_x_action_wrapper_open', 9); |
|
35 | + // WRAPPER OPEN ACTIONS |
|
36 | + remove_action('geodir_wrapper_open', 'geodir_action_wrapper_open', 10); |
|
37 | + add_action('geodir_wrapper_open', 'geodir_x_action_wrapper_open', 9); |
|
38 | 38 | |
39 | - // WRAPPER CLOSE ACTIONS |
|
40 | - remove_action('geodir_wrapper_close', 'geodir_action_wrapper_close', 10); |
|
41 | - add_action('geodir_wrapper_close', 'geodir_x_action_wrapper_close', 11); |
|
39 | + // WRAPPER CLOSE ACTIONS |
|
40 | + remove_action('geodir_wrapper_close', 'geodir_action_wrapper_close', 10); |
|
41 | + add_action('geodir_wrapper_close', 'geodir_x_action_wrapper_close', 11); |
|
42 | 42 | |
43 | - // WRAPPER CONTENT OPEN ACTIONS |
|
44 | - remove_action('geodir_wrapper_content_open', 'geodir_action_wrapper_content_open', 10); |
|
45 | - add_action('geodir_wrapper_content_open', 'geodir_x_action_wrapper_content_open', 9, 3); |
|
43 | + // WRAPPER CONTENT OPEN ACTIONS |
|
44 | + remove_action('geodir_wrapper_content_open', 'geodir_action_wrapper_content_open', 10); |
|
45 | + add_action('geodir_wrapper_content_open', 'geodir_x_action_wrapper_content_open', 9, 3); |
|
46 | 46 | |
47 | - // WRAPPER CONTENT CLOSE ACTIONS |
|
48 | - remove_action('geodir_wrapper_content_close', 'geodir_action_wrapper_content_close', 10); |
|
49 | - add_action('geodir_wrapper_content_close', 'geodir_x_action_wrapper_content_close', 11); |
|
47 | + // WRAPPER CONTENT CLOSE ACTIONS |
|
48 | + remove_action('geodir_wrapper_content_close', 'geodir_action_wrapper_content_close', 10); |
|
49 | + add_action('geodir_wrapper_content_close', 'geodir_x_action_wrapper_content_close', 11); |
|
50 | 50 | |
51 | - // SIDEBAR RIGHT OPEN ACTIONS |
|
52 | - remove_action('geodir_sidebar_right_open', 'geodir_action_sidebar_right_open', 10); |
|
53 | - add_action('geodir_sidebar_right_open', 'geodir_x_action_sidebar_right_open', 10, 4); |
|
51 | + // SIDEBAR RIGHT OPEN ACTIONS |
|
52 | + remove_action('geodir_sidebar_right_open', 'geodir_action_sidebar_right_open', 10); |
|
53 | + add_action('geodir_sidebar_right_open', 'geodir_x_action_sidebar_right_open', 10, 4); |
|
54 | 54 | |
55 | - // SIDEBAR RIGHT CLOSE ACTIONS |
|
56 | - remove_action('geodir_sidebar_right_close', 'geodir_action_sidebar_right_close', 10); |
|
57 | - add_action('geodir_sidebar_right_close', 'geodir_x_action_sidebar_right_close', 10, 1); |
|
55 | + // SIDEBAR RIGHT CLOSE ACTIONS |
|
56 | + remove_action('geodir_sidebar_right_close', 'geodir_action_sidebar_right_close', 10); |
|
57 | + add_action('geodir_sidebar_right_close', 'geodir_x_action_sidebar_right_close', 10, 1); |
|
58 | 58 | |
59 | - // REMOVE BREADCRUMBS |
|
60 | - remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20); |
|
61 | - remove_action('geodir_detail_before_main_content', 'geodir_breadcrumb', 20); |
|
62 | - remove_action('geodir_search_before_main_content', 'geodir_breadcrumb', 20); |
|
63 | - remove_action('geodir_author_before_main_content', 'geodir_breadcrumb', 20); |
|
64 | - remove_action('geodir_home_before_main_content', 'geodir_breadcrumb', 20); |
|
65 | - remove_action('geodir_location_before_main_content', 'geodir_breadcrumb', 20); |
|
59 | + // REMOVE BREADCRUMBS |
|
60 | + remove_action('geodir_listings_before_main_content', 'geodir_breadcrumb', 20); |
|
61 | + remove_action('geodir_detail_before_main_content', 'geodir_breadcrumb', 20); |
|
62 | + remove_action('geodir_search_before_main_content', 'geodir_breadcrumb', 20); |
|
63 | + remove_action('geodir_author_before_main_content', 'geodir_breadcrumb', 20); |
|
64 | + remove_action('geodir_home_before_main_content', 'geodir_breadcrumb', 20); |
|
65 | + remove_action('geodir_location_before_main_content', 'geodir_breadcrumb', 20); |
|
66 | 66 | |
67 | - // make top section wide |
|
68 | - remove_action('geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
69 | - remove_action('geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
70 | - remove_action('geodir_author_before_main_content', 'geodir_action_geodir_sidebar_author_top', 10); |
|
71 | - remove_action('geodir_search_before_main_content', 'geodir_action_geodir_sidebar_search_top', 10); |
|
72 | - remove_action('geodir_detail_before_main_content', 'geodir_action_geodir_sidebar_detail_top', 10); |
|
73 | - remove_action('geodir_listings_before_main_content', 'geodir_action_geodir_sidebar_listings_top', 10); |
|
67 | + // make top section wide |
|
68 | + remove_action('geodir_home_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
69 | + remove_action('geodir_location_before_main_content', 'geodir_action_geodir_sidebar_home_top', 10); |
|
70 | + remove_action('geodir_author_before_main_content', 'geodir_action_geodir_sidebar_author_top', 10); |
|
71 | + remove_action('geodir_search_before_main_content', 'geodir_action_geodir_sidebar_search_top', 10); |
|
72 | + remove_action('geodir_detail_before_main_content', 'geodir_action_geodir_sidebar_detail_top', 10); |
|
73 | + remove_action('geodir_listings_before_main_content', 'geodir_action_geodir_sidebar_listings_top', 10); |
|
74 | 74 | |
75 | - add_action('geodir_wrapper_open', 'gd_X_compat_add_top_section_back', 5); |
|
75 | + add_action('geodir_wrapper_open', 'gd_X_compat_add_top_section_back', 5); |
|
76 | 76 | |
77 | 77 | |
78 | 78 | } // Close geodir_x_action_calls |
@@ -89,17 +89,17 @@ discard block |
||
89 | 89 | function gd_X_compat_add_top_section_back() |
90 | 90 | { |
91 | 91 | |
92 | - if (is_page_geodir_home() || geodir_is_page('location')) { |
|
93 | - geodir_action_geodir_sidebar_home_top(); |
|
94 | - } elseif (geodir_is_page('listing')) { |
|
95 | - geodir_action_geodir_sidebar_listings_top(); |
|
96 | - } elseif (geodir_is_page('detail')) { |
|
97 | - geodir_action_geodir_sidebar_detail_top(); |
|
98 | - } elseif (geodir_is_page('search')) { |
|
99 | - geodir_action_geodir_sidebar_search_top(); |
|
100 | - } elseif (geodir_is_page('author')) { |
|
101 | - geodir_action_geodir_sidebar_author_top(); |
|
102 | - } |
|
92 | + if (is_page_geodir_home() || geodir_is_page('location')) { |
|
93 | + geodir_action_geodir_sidebar_home_top(); |
|
94 | + } elseif (geodir_is_page('listing')) { |
|
95 | + geodir_action_geodir_sidebar_listings_top(); |
|
96 | + } elseif (geodir_is_page('detail')) { |
|
97 | + geodir_action_geodir_sidebar_detail_top(); |
|
98 | + } elseif (geodir_is_page('search')) { |
|
99 | + geodir_action_geodir_sidebar_search_top(); |
|
100 | + } elseif (geodir_is_page('author')) { |
|
101 | + geodir_action_geodir_sidebar_author_top(); |
|
102 | + } |
|
103 | 103 | |
104 | 104 | |
105 | 105 | } |
@@ -117,8 +117,8 @@ discard block |
||
117 | 117 | */ |
118 | 118 | function geodir_x_body_class($classes) |
119 | 119 | { |
120 | - $classes[] = 'geodir-x'; |
|
121 | - return $classes; |
|
120 | + $classes[] = 'geodir-x'; |
|
121 | + return $classes; |
|
122 | 122 | } |
123 | 123 | |
124 | 124 | /** |
@@ -130,14 +130,14 @@ discard block |
||
130 | 130 | */ |
131 | 131 | function geodir_x_home_sidebar() |
132 | 132 | { |
133 | - //if ( geodir_is_geodir_page() ) { |
|
134 | - global $wp; |
|
135 | - if ($wp->query_vars['page_id'] == geodir_location_page_id() || is_home() && !geodir_is_page('login')) { |
|
136 | - echo '<div class="x-main full">'; |
|
137 | - dynamic_sidebar('geodir_home_top'); |
|
138 | - echo '</div>'; |
|
139 | - } |
|
140 | - //} |
|
133 | + //if ( geodir_is_geodir_page() ) { |
|
134 | + global $wp; |
|
135 | + if ($wp->query_vars['page_id'] == geodir_location_page_id() || is_home() && !geodir_is_page('login')) { |
|
136 | + echo '<div class="x-main full">'; |
|
137 | + dynamic_sidebar('geodir_home_top'); |
|
138 | + echo '</div>'; |
|
139 | + } |
|
140 | + //} |
|
141 | 141 | } |
142 | 142 | |
143 | 143 | /** |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | */ |
149 | 149 | function geodir_x_search_container_open() |
150 | 150 | { |
151 | - echo '<div class="x-container-fluid x-container max">'; |
|
151 | + echo '<div class="x-container-fluid x-container max">'; |
|
152 | 152 | } |
153 | 153 | |
154 | 154 | /** |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | */ |
160 | 160 | function geodir_x_search_container_close() |
161 | 161 | { |
162 | - echo '</div>'; |
|
162 | + echo '</div>'; |
|
163 | 163 | } |
164 | 164 | |
165 | 165 | /** |
@@ -170,16 +170,16 @@ discard block |
||
170 | 170 | */ |
171 | 171 | function geodir_x_action_wrapper_open() |
172 | 172 | { |
173 | - global $stack; |
|
174 | - if ($stack == 'integrity') { |
|
175 | - echo '<div class="x-container-fluid x-container max width offset">'; |
|
176 | - } elseif ($stack == 'renew') { |
|
177 | - echo '<div class="x-container-fluid x-container max width offset cf">'; |
|
178 | - } elseif ($stack == 'icon') { |
|
179 | - echo '<div class="x-main full" role="main">'; |
|
180 | - } elseif ($stack == 'ethos') { |
|
181 | - echo '<div class="x-container-fluid x-container max width main"><div class="offset cf">'; |
|
182 | - } |
|
173 | + global $stack; |
|
174 | + if ($stack == 'integrity') { |
|
175 | + echo '<div class="x-container-fluid x-container max width offset">'; |
|
176 | + } elseif ($stack == 'renew') { |
|
177 | + echo '<div class="x-container-fluid x-container max width offset cf">'; |
|
178 | + } elseif ($stack == 'icon') { |
|
179 | + echo '<div class="x-main full" role="main">'; |
|
180 | + } elseif ($stack == 'ethos') { |
|
181 | + echo '<div class="x-container-fluid x-container max width main"><div class="offset cf">'; |
|
182 | + } |
|
183 | 183 | } |
184 | 184 | |
185 | 185 | /** |
@@ -190,12 +190,12 @@ discard block |
||
190 | 190 | */ |
191 | 191 | function geodir_x_action_wrapper_close() |
192 | 192 | { |
193 | - global $stack; |
|
194 | - if ($stack == 'ethos') { |
|
195 | - echo '</div></div>'; |
|
196 | - } else { |
|
197 | - echo '</div>'; |
|
198 | - } |
|
193 | + global $stack; |
|
194 | + if ($stack == 'ethos') { |
|
195 | + echo '</div></div>'; |
|
196 | + } else { |
|
197 | + echo '</div>'; |
|
198 | + } |
|
199 | 199 | } |
200 | 200 | |
201 | 201 | /** |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | */ |
210 | 210 | function geodir_x_action_wrapper_content_open($type = '', $id = '', $class = '') |
211 | 211 | { |
212 | - echo '<div class="x-main left ' . $class . '" role="main">'; |
|
212 | + echo '<div class="x-main left ' . $class . '" role="main">'; |
|
213 | 213 | } |
214 | 214 | |
215 | 215 | /** |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | */ |
221 | 221 | function geodir_x_action_wrapper_content_close() |
222 | 222 | { |
223 | - echo '</div>'; |
|
223 | + echo '</div>'; |
|
224 | 224 | } |
225 | 225 | |
226 | 226 | /** |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | */ |
236 | 236 | function geodir_x_action_sidebar_right_open($type = '', $id = '', $class = '', $itemtype = '') |
237 | 237 | { |
238 | - echo '<aside class="x-sidebar right" role="complementary" itemscope itemtype="' . $itemtype . '">'; |
|
238 | + echo '<aside class="x-sidebar right" role="complementary" itemscope itemtype="' . $itemtype . '">'; |
|
239 | 239 | } |
240 | 240 | |
241 | 241 | /** |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | */ |
248 | 248 | function geodir_x_action_sidebar_right_close($type = '') |
249 | 249 | { |
250 | - echo '</aside>'; |
|
250 | + echo '</aside>'; |
|
251 | 251 | } |
252 | 252 | |
253 | 253 | add_filter('geodir_breadcrumb', 'geodir_x_breadcrumb'); |
@@ -261,12 +261,12 @@ discard block |
||
261 | 261 | */ |
262 | 262 | function geodir_x_breadcrumb($breadcrumb) |
263 | 263 | { |
264 | - $breadcrumb = str_replace('<div class="geodir-breadcrumb clearfix"><ul id="breadcrumbs">', '', $breadcrumb); |
|
265 | - $breadcrumb = str_replace('<li>', '', $breadcrumb); |
|
266 | - $breadcrumb = str_replace('</li>', '', $breadcrumb); |
|
267 | - $breadcrumb = str_replace('Home', '<span class="home"><i class="x-icon-home"></i></span>', $breadcrumb); |
|
268 | - $breadcrumb = str_replace('</ul></div>', '', $breadcrumb); |
|
269 | - return $breadcrumb; |
|
264 | + $breadcrumb = str_replace('<div class="geodir-breadcrumb clearfix"><ul id="breadcrumbs">', '', $breadcrumb); |
|
265 | + $breadcrumb = str_replace('<li>', '', $breadcrumb); |
|
266 | + $breadcrumb = str_replace('</li>', '', $breadcrumb); |
|
267 | + $breadcrumb = str_replace('Home', '<span class="home"><i class="x-icon-home"></i></span>', $breadcrumb); |
|
268 | + $breadcrumb = str_replace('</ul></div>', '', $breadcrumb); |
|
269 | + return $breadcrumb; |
|
270 | 270 | } |
271 | 271 | |
272 | 272 | add_filter('geodir_breadcrumb_separator', 'geodir_x_breadcrumb_separator'); |
@@ -280,125 +280,125 @@ discard block |
||
280 | 280 | */ |
281 | 281 | function geodir_x_breadcrumb_separator($separator) |
282 | 282 | { |
283 | - $separator = str_replace(' > ', ' <span class="delimiter"><i class="x-icon-angle-right"></i></span> ', $separator); |
|
284 | - return $separator; |
|
283 | + $separator = str_replace(' > ', ' <span class="delimiter"><i class="x-icon-angle-right"></i></span> ', $separator); |
|
284 | + return $separator; |
|
285 | 285 | } |
286 | 286 | |
287 | 287 | if (!function_exists('x_breadcrumbs')) : |
288 | - /** |
|
289 | - * breadcrumbs. |
|
290 | - * |
|
291 | - * @since 1.0.0 |
|
292 | - * @package GeoDirectory |
|
293 | - */ |
|
294 | - function x_breadcrumbs() |
|
295 | - { |
|
296 | - |
|
297 | - if (x_get_option('x_breadcrumb_display', '1')) { |
|
298 | - |
|
299 | - // |
|
300 | - // 1. Delimiter between crumbs. |
|
301 | - // 2. Output text for the "Home" link. |
|
302 | - // 3. Link to the home page. |
|
303 | - // 4. Tag before the current crumb. |
|
304 | - // 5. Tag after the current crumb. |
|
305 | - // 6. Get page title. |
|
306 | - // 7. Get blog title. |
|
307 | - // 8. Get shop title. |
|
308 | - // |
|
309 | - |
|
310 | - GLOBAL $post,$wp; |
|
311 | - |
|
312 | - if (geodir_is_page('detail') || geodir_is_page('listing') || (isset($wp->query_vars['page_id']) && $wp->query_vars['page_id'] == geodir_location_page_id())) { |
|
313 | - geodir_breadcrumb(); |
|
314 | - } else { |
|
315 | - |
|
316 | - $stack = x_get_stack(); |
|
317 | - $delimiter = ' <span class="delimiter"><i class="x-icon-angle-right"></i></span> '; // 1 |
|
318 | - $home_text = '<span class="home"><i class="x-icon-home"></i></span>'; // 2 |
|
319 | - $home_link = home_url(); // 3 |
|
320 | - $current_before = '<span class="current">'; // 4 |
|
321 | - $current_after = '</span>'; // 5 |
|
322 | - $page_title = get_the_title(); // 6 |
|
323 | - $blog_title = get_the_title(get_option('page_for_posts', true)); // 7 |
|
324 | - $shop_title = get_theme_mod('x_' . $stack . '_shop_title'); // 8 |
|
325 | - |
|
326 | - if (function_exists('woocommerce_get_page_id')) { |
|
327 | - $shop_url = x_get_shop_link(); |
|
328 | - $shop_link = '<a href="' . $shop_url . '">' . $shop_title . '</a>'; |
|
329 | - } |
|
330 | - |
|
331 | - if (is_front_page()) { |
|
332 | - echo '<div class="x-breadcrumbs">' . $current_before . $home_text . $current_after . '</div>'; |
|
333 | - } elseif (is_home()) { |
|
334 | - echo '<div class="x-breadcrumbs"><a href="' . $home_link . '">' . $home_text . '</a>' . $delimiter . $current_before . $blog_title . $current_after . '</div>'; |
|
335 | - } else { |
|
336 | - echo '<div class="x-breadcrumbs"><a href="' . $home_link . '">' . $home_text . '</a>' . $delimiter; |
|
337 | - if (is_category()) { |
|
338 | - $the_cat = get_category(get_query_var('cat'), false); |
|
339 | - if ($the_cat->parent != 0) echo get_category_parents($the_cat->parent, TRUE, $delimiter); |
|
340 | - echo $current_before . single_cat_title('', false) . $current_after; |
|
341 | - } elseif (x_is_product_category()) { |
|
342 | - echo $shop_link . $delimiter . $current_before . single_cat_title('', false) . $current_after; |
|
343 | - } elseif (x_is_product_tag()) { |
|
344 | - echo $shop_link . $delimiter . $current_before . single_tag_title('', false) . $current_after; |
|
345 | - } elseif (is_search()) { |
|
346 | - echo $current_before . __('Search Results for ', '__x__') . '“' . get_search_query() . '”' . $current_after; |
|
347 | - } elseif (is_singular('post')) { |
|
348 | - if (get_option('page_for_posts') == is_front_page()) { |
|
349 | - echo $current_before . $page_title . $current_after; |
|
350 | - } else { |
|
351 | - echo '<a href="' . get_permalink(get_option('page_for_posts')) . '" title="' . esc_attr(__('See All Posts', '__x__')) . '">' . $blog_title . '</a>' . $delimiter . $current_before . $page_title . $current_after; |
|
352 | - } |
|
353 | - } elseif (x_is_portfolio()) { |
|
354 | - echo $current_before . get_the_title() . $current_after; |
|
355 | - } elseif (x_is_portfolio_item()) { |
|
356 | - $link = x_get_parent_portfolio_link(); |
|
357 | - $title = x_get_parent_portfolio_title(); |
|
358 | - echo '<a href="' . $link . '" title="' . esc_attr(__('See All Posts', '__x__')) . '">' . $title . '</a>' . $delimiter . $current_before . $page_title . $current_after; |
|
359 | - } elseif (x_is_product()) { |
|
360 | - echo $shop_link . $delimiter . $current_before . $page_title . $current_after; |
|
361 | - } elseif (is_page() && !$post->post_parent) { |
|
362 | - echo $current_before . $page_title . $current_after; |
|
363 | - } elseif (is_page() && $post->post_parent) { |
|
364 | - $parent_id = $post->post_parent; |
|
365 | - $breadcrumbs = array(); |
|
366 | - while ($parent_id) { |
|
367 | - $page = get_page($parent_id); |
|
368 | - $breadcrumbs[] = '<a href="' . get_permalink($page->ID) . '">' . get_the_title($page->ID) . '</a>'; |
|
369 | - $parent_id = $page->post_parent; |
|
370 | - } |
|
371 | - $breadcrumbs = array_reverse($breadcrumbs); |
|
372 | - for ($i = 0; $i < count($breadcrumbs); $i++) { |
|
373 | - echo $breadcrumbs[$i]; |
|
374 | - if ($i != count($breadcrumbs) - 1) echo $delimiter; |
|
375 | - } |
|
376 | - echo $delimiter . $current_before . $page_title . $current_after; |
|
377 | - } elseif (is_tag()) { |
|
378 | - echo $current_before . single_tag_title('', false) . $current_after; |
|
379 | - } elseif (is_author()) { |
|
380 | - GLOBAL $author; |
|
381 | - $userdata = get_userdata($author); |
|
382 | - echo $current_before . __('Posts by ', '__x__') . '“' . $userdata->display_name . $current_after . '”'; |
|
383 | - } elseif (is_404()) { |
|
384 | - echo $current_before . __('404 (Page Not Found)', '__x__') . $current_after; |
|
385 | - } elseif (is_archive()) { |
|
386 | - if (x_is_shop()) { |
|
387 | - echo $current_before . $shop_title . $current_after; |
|
388 | - } else { |
|
389 | - echo $current_before . __('Archives ', '__x__') . $current_after; |
|
390 | - } |
|
391 | - } |
|
392 | - if (get_query_var('paged')) { |
|
393 | - echo ' <span class="current" style="white-space: nowrap;">(' . __('Page', '__x__') . ' ' . get_query_var('paged') . ')</span>'; |
|
394 | - } |
|
395 | - echo '</div>'; |
|
396 | - } |
|
397 | - |
|
398 | - } |
|
399 | - |
|
400 | - } |
|
401 | - } // ends my geodir check |
|
288 | + /** |
|
289 | + * breadcrumbs. |
|
290 | + * |
|
291 | + * @since 1.0.0 |
|
292 | + * @package GeoDirectory |
|
293 | + */ |
|
294 | + function x_breadcrumbs() |
|
295 | + { |
|
296 | + |
|
297 | + if (x_get_option('x_breadcrumb_display', '1')) { |
|
298 | + |
|
299 | + // |
|
300 | + // 1. Delimiter between crumbs. |
|
301 | + // 2. Output text for the "Home" link. |
|
302 | + // 3. Link to the home page. |
|
303 | + // 4. Tag before the current crumb. |
|
304 | + // 5. Tag after the current crumb. |
|
305 | + // 6. Get page title. |
|
306 | + // 7. Get blog title. |
|
307 | + // 8. Get shop title. |
|
308 | + // |
|
309 | + |
|
310 | + GLOBAL $post,$wp; |
|
311 | + |
|
312 | + if (geodir_is_page('detail') || geodir_is_page('listing') || (isset($wp->query_vars['page_id']) && $wp->query_vars['page_id'] == geodir_location_page_id())) { |
|
313 | + geodir_breadcrumb(); |
|
314 | + } else { |
|
315 | + |
|
316 | + $stack = x_get_stack(); |
|
317 | + $delimiter = ' <span class="delimiter"><i class="x-icon-angle-right"></i></span> '; // 1 |
|
318 | + $home_text = '<span class="home"><i class="x-icon-home"></i></span>'; // 2 |
|
319 | + $home_link = home_url(); // 3 |
|
320 | + $current_before = '<span class="current">'; // 4 |
|
321 | + $current_after = '</span>'; // 5 |
|
322 | + $page_title = get_the_title(); // 6 |
|
323 | + $blog_title = get_the_title(get_option('page_for_posts', true)); // 7 |
|
324 | + $shop_title = get_theme_mod('x_' . $stack . '_shop_title'); // 8 |
|
325 | + |
|
326 | + if (function_exists('woocommerce_get_page_id')) { |
|
327 | + $shop_url = x_get_shop_link(); |
|
328 | + $shop_link = '<a href="' . $shop_url . '">' . $shop_title . '</a>'; |
|
329 | + } |
|
330 | + |
|
331 | + if (is_front_page()) { |
|
332 | + echo '<div class="x-breadcrumbs">' . $current_before . $home_text . $current_after . '</div>'; |
|
333 | + } elseif (is_home()) { |
|
334 | + echo '<div class="x-breadcrumbs"><a href="' . $home_link . '">' . $home_text . '</a>' . $delimiter . $current_before . $blog_title . $current_after . '</div>'; |
|
335 | + } else { |
|
336 | + echo '<div class="x-breadcrumbs"><a href="' . $home_link . '">' . $home_text . '</a>' . $delimiter; |
|
337 | + if (is_category()) { |
|
338 | + $the_cat = get_category(get_query_var('cat'), false); |
|
339 | + if ($the_cat->parent != 0) echo get_category_parents($the_cat->parent, TRUE, $delimiter); |
|
340 | + echo $current_before . single_cat_title('', false) . $current_after; |
|
341 | + } elseif (x_is_product_category()) { |
|
342 | + echo $shop_link . $delimiter . $current_before . single_cat_title('', false) . $current_after; |
|
343 | + } elseif (x_is_product_tag()) { |
|
344 | + echo $shop_link . $delimiter . $current_before . single_tag_title('', false) . $current_after; |
|
345 | + } elseif (is_search()) { |
|
346 | + echo $current_before . __('Search Results for ', '__x__') . '“' . get_search_query() . '”' . $current_after; |
|
347 | + } elseif (is_singular('post')) { |
|
348 | + if (get_option('page_for_posts') == is_front_page()) { |
|
349 | + echo $current_before . $page_title . $current_after; |
|
350 | + } else { |
|
351 | + echo '<a href="' . get_permalink(get_option('page_for_posts')) . '" title="' . esc_attr(__('See All Posts', '__x__')) . '">' . $blog_title . '</a>' . $delimiter . $current_before . $page_title . $current_after; |
|
352 | + } |
|
353 | + } elseif (x_is_portfolio()) { |
|
354 | + echo $current_before . get_the_title() . $current_after; |
|
355 | + } elseif (x_is_portfolio_item()) { |
|
356 | + $link = x_get_parent_portfolio_link(); |
|
357 | + $title = x_get_parent_portfolio_title(); |
|
358 | + echo '<a href="' . $link . '" title="' . esc_attr(__('See All Posts', '__x__')) . '">' . $title . '</a>' . $delimiter . $current_before . $page_title . $current_after; |
|
359 | + } elseif (x_is_product()) { |
|
360 | + echo $shop_link . $delimiter . $current_before . $page_title . $current_after; |
|
361 | + } elseif (is_page() && !$post->post_parent) { |
|
362 | + echo $current_before . $page_title . $current_after; |
|
363 | + } elseif (is_page() && $post->post_parent) { |
|
364 | + $parent_id = $post->post_parent; |
|
365 | + $breadcrumbs = array(); |
|
366 | + while ($parent_id) { |
|
367 | + $page = get_page($parent_id); |
|
368 | + $breadcrumbs[] = '<a href="' . get_permalink($page->ID) . '">' . get_the_title($page->ID) . '</a>'; |
|
369 | + $parent_id = $page->post_parent; |
|
370 | + } |
|
371 | + $breadcrumbs = array_reverse($breadcrumbs); |
|
372 | + for ($i = 0; $i < count($breadcrumbs); $i++) { |
|
373 | + echo $breadcrumbs[$i]; |
|
374 | + if ($i != count($breadcrumbs) - 1) echo $delimiter; |
|
375 | + } |
|
376 | + echo $delimiter . $current_before . $page_title . $current_after; |
|
377 | + } elseif (is_tag()) { |
|
378 | + echo $current_before . single_tag_title('', false) . $current_after; |
|
379 | + } elseif (is_author()) { |
|
380 | + GLOBAL $author; |
|
381 | + $userdata = get_userdata($author); |
|
382 | + echo $current_before . __('Posts by ', '__x__') . '“' . $userdata->display_name . $current_after . '”'; |
|
383 | + } elseif (is_404()) { |
|
384 | + echo $current_before . __('404 (Page Not Found)', '__x__') . $current_after; |
|
385 | + } elseif (is_archive()) { |
|
386 | + if (x_is_shop()) { |
|
387 | + echo $current_before . $shop_title . $current_after; |
|
388 | + } else { |
|
389 | + echo $current_before . __('Archives ', '__x__') . $current_after; |
|
390 | + } |
|
391 | + } |
|
392 | + if (get_query_var('paged')) { |
|
393 | + echo ' <span class="current" style="white-space: nowrap;">(' . __('Page', '__x__') . ' ' . get_query_var('paged') . ')</span>'; |
|
394 | + } |
|
395 | + echo '</div>'; |
|
396 | + } |
|
397 | + |
|
398 | + } |
|
399 | + |
|
400 | + } |
|
401 | + } // ends my geodir check |
|
402 | 402 | endif; |
403 | 403 | |
404 | 404 | |
@@ -413,8 +413,8 @@ discard block |
||
413 | 413 | */ |
414 | 414 | function geodir_x_location_switcher_menu_li_class($class) |
415 | 415 | { |
416 | - $class .= " menu-item-has-children "; |
|
417 | - return $class; |
|
416 | + $class .= " menu-item-has-children "; |
|
417 | + return $class; |
|
418 | 418 | } |
419 | 419 | |
420 | 420 | add_filter('geodir_sub_menu_li_class', 'geodir_x_sub_menu_li_class', 10, 1); |
@@ -428,6 +428,6 @@ discard block |
||
428 | 428 | */ |
429 | 429 | function geodir_x_sub_menu_li_class($class) |
430 | 430 | { |
431 | - $class .= " menu-item-has-children "; |
|
432 | - return $class; |
|
431 | + $class .= " menu-item-has-children "; |
|
432 | + return $class; |
|
433 | 433 | } |
434 | 434 | \ No newline at end of file |
@@ -13,8 +13,8 @@ |
||
13 | 13 | * If user is not signed in, redirect home. |
14 | 14 | */ |
15 | 15 | if (get_current_user_id()) { |
16 | - wp_redirect(home_url(), 302); |
|
17 | - exit; |
|
16 | + wp_redirect(home_url(), 302); |
|
17 | + exit; |
|
18 | 18 | } |
19 | 19 | |
20 | 20 | // call header |
@@ -10,13 +10,13 @@ discard block |
||
10 | 10 | */ |
11 | 11 | |
12 | 12 | if (isset($_GET['redirect_to']) && $_GET['redirect_to'] != '') { |
13 | - $redirect_to = $_GET['redirect_to']; |
|
13 | + $redirect_to = $_GET['redirect_to']; |
|
14 | 14 | } else { |
15 | - //echo $_SERVER['HTTP_HOST'] ; |
|
16 | - $redirect_to = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; |
|
17 | - if (strpos($redirect_to, $_SERVER['HTTP_HOST']) === false) { |
|
18 | - $redirect_to = home_url(); |
|
19 | - } |
|
15 | + //echo $_SERVER['HTTP_HOST'] ; |
|
16 | + $redirect_to = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : ''; |
|
17 | + if (strpos($redirect_to, $_SERVER['HTTP_HOST']) === false) { |
|
18 | + $redirect_to = home_url(); |
|
19 | + } |
|
20 | 20 | |
21 | 21 | } |
22 | 22 | |
@@ -38,36 +38,36 @@ discard block |
||
38 | 38 | <h4> |
39 | 39 | <?php |
40 | 40 | |
41 | - /** |
|
42 | - * Filter the `SIGN_IN_PAGE_TITLE` title text on login form template. |
|
43 | - * |
|
44 | - * @since 1.0.0 |
|
45 | - */ |
|
46 | - echo apply_filters('geodir_login_page_title', SIGN_IN_PAGE_TITLE); |
|
41 | + /** |
|
42 | + * Filter the `SIGN_IN_PAGE_TITLE` title text on login form template. |
|
43 | + * |
|
44 | + * @since 1.0.0 |
|
45 | + */ |
|
46 | + echo apply_filters('geodir_login_page_title', SIGN_IN_PAGE_TITLE); |
|
47 | 47 | |
48 | - ?> |
|
48 | + ?> |
|
49 | 49 | </h4> |
50 | 50 | <?php |
51 | - if (isset($_REQUEST['emsg']) && $_REQUEST['emsg'] == 'fw') { |
|
52 | - echo "<p class=\"error_msg\"> " . INVALID_USER_FPW_MSG . " </p>"; |
|
53 | - } elseif (isset($_REQUEST['logemsg']) && $_REQUEST['logemsg'] == 1) { |
|
54 | - echo "<p class=\"error_msg\"> " . INVALID_USER_PW_MSG . " </p>"; |
|
55 | - } |
|
51 | + if (isset($_REQUEST['emsg']) && $_REQUEST['emsg'] == 'fw') { |
|
52 | + echo "<p class=\"error_msg\"> " . INVALID_USER_FPW_MSG . " </p>"; |
|
53 | + } elseif (isset($_REQUEST['logemsg']) && $_REQUEST['logemsg'] == 1) { |
|
54 | + echo "<p class=\"error_msg\"> " . INVALID_USER_PW_MSG . " </p>"; |
|
55 | + } |
|
56 | 56 | |
57 | - if (isset($_REQUEST['checkemail']) && $_REQUEST['checkemail'] == 'confirm') |
|
58 | - echo '<p class="sucess_msg">' . PW_SEND_CONFIRM_MSG . '</p>'; |
|
57 | + if (isset($_REQUEST['checkemail']) && $_REQUEST['checkemail'] == 'confirm') |
|
58 | + echo '<p class="sucess_msg">' . PW_SEND_CONFIRM_MSG . '</p>'; |
|
59 | 59 | |
60 | - ?> |
|
60 | + ?> |
|
61 | 61 | <form name="cus_loginform" id="cus_loginform" action="<?php echo esc_url(geodir_curPageURL()); ?>" |
62 | 62 | method="post"> |
63 | 63 | |
64 | 64 | <div class="form_row clearfix"> |
65 | 65 | <input placeholder='<?php echo USERNAME_TEXT; ?>' type="text" name="log" id="user_login" |
66 | 66 | value="<?php global $user_login; |
67 | - if (!isset($user_login)) { |
|
68 | - $user_login = ''; |
|
69 | - } |
|
70 | - echo esc_attr($user_login); ?>" size="20" class="textfield"/> |
|
67 | + if (!isset($user_login)) { |
|
68 | + $user_login = ''; |
|
69 | + } |
|
70 | + echo esc_attr($user_login); ?>" size="20" class="textfield"/> |
|
71 | 71 | <span class="user_loginInfo"></span> |
72 | 72 | </div> |
73 | 73 | |
@@ -78,14 +78,14 @@ discard block |
||
78 | 78 | </div> |
79 | 79 | |
80 | 80 | <?php |
81 | - /** |
|
82 | - * This is a default WordPress action that calls any additional elements needed for any login forms. |
|
83 | - * |
|
84 | - * We use this action before the remember me checkbox on the sigin form. |
|
85 | - * |
|
86 | - * @since 1.0.0 |
|
87 | - */ |
|
88 | - do_action('login_form'); ?> |
|
81 | + /** |
|
82 | + * This is a default WordPress action that calls any additional elements needed for any login forms. |
|
83 | + * |
|
84 | + * We use this action before the remember me checkbox on the sigin form. |
|
85 | + * |
|
86 | + * @since 1.0.0 |
|
87 | + */ |
|
88 | + do_action('login_form'); ?> |
|
89 | 89 | <p class="rember"> |
90 | 90 | <input name="rememberme" type="checkbox" id="rememberme" value="forever" class="fl"/> |
91 | 91 | <?php echo REMEMBER_ON_COMPUTER_TEXT; ?> |
@@ -109,12 +109,12 @@ discard block |
||
109 | 109 | <input placeholder='<?php echo USERNAME_EMAIL_TEXT; ?>' type="text" name="user_login" |
110 | 110 | value="<?php echo esc_attr($user_login); ?>" size="20" class="user_login1 textfield"/> |
111 | 111 | <?php |
112 | - /** |
|
113 | - * Called before the get new password button in the login box template. |
|
114 | - * |
|
115 | - * @since 1.0.0 |
|
116 | - */ |
|
117 | - do_action('lostpassword_form'); ?> |
|
112 | + /** |
|
113 | + * Called before the get new password button in the login box template. |
|
114 | + * |
|
115 | + * @since 1.0.0 |
|
116 | + */ |
|
117 | + do_action('lostpassword_form'); ?> |
|
118 | 118 | </div> |
119 | 119 | <input type="submit" name="get_new_password" value="<?php echo GET_NEW_PW_TEXT; ?>" class="geodir_button"/> |
120 | 120 | </form> |
@@ -15,29 +15,29 @@ discard block |
||
15 | 15 | <?php |
16 | 16 | |
17 | 17 | |
18 | - global $wpdb; |
|
18 | + global $wpdb; |
|
19 | 19 | |
20 | - $post_id = $_REQUEST['pid']; |
|
21 | - $post_info = get_post($post_id); |
|
20 | + $post_id = $_REQUEST['pid']; |
|
21 | + $post_info = get_post($post_id); |
|
22 | 22 | |
23 | - $posted_date = $post_info->post_date; |
|
24 | - $productlink = get_permalink($post_id); |
|
25 | - $siteName = get_bloginfo('name'); |
|
26 | - $siteurl = home_url(); |
|
27 | - $siteurl_link = '<a href="' . $siteurl . '">' . $siteurl . '</a>'; |
|
23 | + $posted_date = $post_info->post_date; |
|
24 | + $productlink = get_permalink($post_id); |
|
25 | + $siteName = get_bloginfo('name'); |
|
26 | + $siteurl = home_url(); |
|
27 | + $siteurl_link = '<a href="' . $siteurl . '">' . $siteurl . '</a>'; |
|
28 | 28 | |
29 | - $loginurl = geodir_login_url(); |
|
30 | - $loginurl_link = '<a href="' . $loginurl . '">login</a>'; |
|
29 | + $loginurl = geodir_login_url(); |
|
30 | + $loginurl_link = '<a href="' . $loginurl . '">login</a>'; |
|
31 | 31 | |
32 | - $post_author = $post_info->post_author; |
|
32 | + $post_author = $post_info->post_author; |
|
33 | 33 | |
34 | - $user_info = get_userdata($post_author); |
|
35 | - $username = $user_info->user_login; |
|
36 | - $user_email = $user_info->user_email; |
|
34 | + $user_info = get_userdata($post_author); |
|
35 | + $username = $user_info->user_login; |
|
36 | + $user_email = $user_info->user_email; |
|
37 | 37 | |
38 | - $message = wpautop(__(stripslashes_deep(get_option('geodir_post_added_success_msg_content')),'geodirectory')); |
|
38 | + $message = wpautop(__(stripslashes_deep(get_option('geodir_post_added_success_msg_content')),'geodirectory')); |
|
39 | 39 | |
40 | - /* |
|
40 | + /* |
|
41 | 41 | * Filter the success page message before variable replacements. |
42 | 42 | * |
43 | 43 | * @since 1.5.7 |
@@ -45,13 +45,13 @@ discard block |
||
45 | 45 | * @param object $post_info Post object. |
46 | 46 | * @param object $user_info User object. |
47 | 47 | */ |
48 | - $message = apply_filters('geodir_success_page_msg_before_var_replace', $message,$post_info, $user_info); |
|
48 | + $message = apply_filters('geodir_success_page_msg_before_var_replace', $message,$post_info, $user_info); |
|
49 | 49 | |
50 | - $search_array = array('[#submited_information_link#]', '[#listing_link#]', '[#site_name_url#]', '[#post_id#]', '[#site_name#]', '[#user_email#]', '[#username#]', '[#login_url#]', '[#posted_date#]'); |
|
51 | - $replace_array = array($productlink, $productlink, $siteurl_link, $post_id, $siteName, $user_email, $username, $loginurl_link, $posted_date); |
|
52 | - $message = str_replace($search_array, $replace_array, $message); |
|
50 | + $search_array = array('[#submited_information_link#]', '[#listing_link#]', '[#site_name_url#]', '[#post_id#]', '[#site_name#]', '[#user_email#]', '[#username#]', '[#login_url#]', '[#posted_date#]'); |
|
51 | + $replace_array = array($productlink, $productlink, $siteurl_link, $post_id, $siteName, $user_email, $username, $loginurl_link, $posted_date); |
|
52 | + $message = str_replace($search_array, $replace_array, $message); |
|
53 | 53 | |
54 | - /* |
|
54 | + /* |
|
55 | 55 | * Filter the success page message after variable replacements. |
56 | 56 | * |
57 | 57 | * @since 1.5.7 |
@@ -59,15 +59,15 @@ discard block |
||
59 | 59 | * @param object $post_info Post object. |
60 | 60 | * @param object $user_info User object. |
61 | 61 | */ |
62 | - $message = apply_filters('geodir_success_page_msg_after_var_replace', $message,$post_info, $user_info); |
|
62 | + $message = apply_filters('geodir_success_page_msg_after_var_replace', $message,$post_info, $user_info); |
|
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | - ?> |
|
66 | + ?> |
|
67 | 67 | |
68 | 68 | <?php |
69 | 69 | |
70 | - /* |
|
70 | + /* |
|
71 | 71 | * Action called before the success page message wrapper. |
72 | 72 | * |
73 | 73 | * @since 1.5.7 |
@@ -75,11 +75,11 @@ discard block |
||
75 | 75 | * @param object $post_info Post object. |
76 | 76 | * @param object $user_info User object. |
77 | 77 | */ |
78 | - do_action('geodir_before_success_page_msg_wrapper', $message,$post_info, $user_info); |
|
79 | - echo '<h5 class="geodir_information">'; |
|
80 | - echo $message; |
|
81 | - echo '</h5>'; |
|
82 | - /* |
|
78 | + do_action('geodir_before_success_page_msg_wrapper', $message,$post_info, $user_info); |
|
79 | + echo '<h5 class="geodir_information">'; |
|
80 | + echo $message; |
|
81 | + echo '</h5>'; |
|
82 | + /* |
|
83 | 83 | * Action called after the success page message wrapper. |
84 | 84 | * |
85 | 85 | * @since 1.5.7 |
@@ -87,8 +87,8 @@ discard block |
||
87 | 87 | * @param object $post_info Post object. |
88 | 88 | * @param object $user_info User object. |
89 | 89 | */ |
90 | - do_action('geodir_after_success_page_msg_wrapper', $message,$post_info, $user_info); |
|
90 | + do_action('geodir_after_success_page_msg_wrapper', $message,$post_info, $user_info); |
|
91 | 91 | |
92 | - ?> |
|
92 | + ?> |
|
93 | 93 | |
94 | 94 | </div> |
95 | 95 | \ No newline at end of file |