PluginProbe
Property Hive / 2.2.4
Property Hive v2.2.4
2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 1.4.62 All 260 releases
propertyhive / includes / admin / views / html-viewing-details-lightbox.php

html-viewing-details-lightbox.php in Property Hive 2.2.4, at includes/admin/views/html-viewing-details-lightbox.php

100 lines 3.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly ?>
2
3 <div class="propertyhive-lightbox-details">
4
5 <div class="propertyhive-lightbox-left">
6
7 <!-- VIEWING DETAILS -->
8 <div class="propertyhive-lightbox-viewing-details">
9
10 <h3><?php echo esc_html(__( 'Viewing Details', 'propertyhive' )); ?></h3>
11
12 <div id="propertyhive_viewing_details_meta_box_container">
13 <?php
14 $readonly = true;
15 include( PH()->plugin_path() . '/includes/admin/views/html-viewing-details-meta-box.php' );
16 ?>
17 </div>
18
19 <?php
20 $readonly = true;
21 include( PH()->plugin_path() . '/includes/admin/views/html-viewing-event-meta-box.php' );
22 ?>
23
24 </div>
25
26 <!-- PROPERTY DETAILS -->
27 <div class="propertyhive-lightbox-property-details">
28
29 <h3><?php echo esc_html(__( 'Property Details', 'propertyhive' )); ?></h3>
30
31 <?php
32 $property_id = $viewing->property_id;
33 include( PH()->plugin_path() . '/includes/admin/views/html-lightbox-property-details.php' );
34 ?>
35
36 </div>
37
38 <!-- OWNER/LANDLORD DETAILS -->
39 <div class="propertyhive-lightbox-contact-details">
40
41 <h3><?php echo esc_html(__( ( get_post_meta((int)$viewing->property_id, '_department', TRUE) == 'residential-lettings' ? 'Landlord' : 'Owner' ) . ' Details', 'propertyhive' )); ?></h3>
42
43 <?php
44 $contact_ids = get_post_meta((int)$viewing->property_id, '_owner_contact_id', TRUE);
45 include( PH()->plugin_path() . '/includes/admin/views/html-lightbox-contact-details.php' );
46 ?>
47
48 </div>
49
50 <!-- APPLICANT DETAILS -->
51 <div class="propertyhive-lightbox-contact-details">
52
53 <h3><?php echo esc_html(__( 'Applicant Details', 'propertyhive' )); ?></h3>
54
55 <?php
56 $contact_ids = get_post_meta($post->ID, '_applicant_contact_id');
57 include( PH()->plugin_path() . '/includes/admin/views/html-lightbox-contact-details.php' );
58 ?>
59
60 </div>
61
62 </div>
63
64 <!-- NOTES -->
65 <div class="propertyhive-lightbox-notes">
66
67 <h3><?php echo esc_html(__( 'Notes', 'propertyhive' )); ?></h3>
68
69 <?php
70 $section = 'viewing';
71
72 echo '<div class="propertyhive-notes-container" id="propertyhive_' . $section . '_notes_container">';
73 include( PH()->plugin_path() . '/includes/admin/views/html-display-notes.php' );
74 echo '</div>';
75 ?>
76
77 </div>
78
79 <!-- ACTIONS -->
80 <div class="propertyhive-lightbox-actions">
81
82 <h3><?php echo esc_html(__( 'Actions', 'propertyhive' )); ?></h3>
83
84 <div id="propertyhive_viewing_actions_meta_box_container">
85 <?php include( PH()->plugin_path() . '/includes/admin/views/html-viewing-actions.php' ); ?>
86 </div>
87
88 </div>
89
90 <div style="clear:both"></div>
91
92 <!-- BUTTONS -->
93 <div class="propertyhive-lightbox-buttons">
94 <a href="" class="button button-close"><?php echo esc_html(__( 'Close', 'propertyhive' )); ?></a>
95 <a href="<?php echo esc_url(get_edit_post_link($post->ID)); ?>" class="button button-primary"><?php echo esc_html(__( 'Go To Viewing', 'propertyhive' )); ?></a>
96 <a href="" class="button button-prev" style="display:none">&lt;</a>
97 <a href="" class="button button-next" style="display:none">&gt;</a>
98 </div>
99
100 </div>