-
Notifications
You must be signed in to change notification settings - Fork 0
/
admin-messaging.php
50 lines (36 loc) · 1.3 KB
/
admin-messaging.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<div class="wrap">
<div <!--style="float: left; width: 200px-->">
<img src="<?php echo plugins_url( 'images/logo_bj_trans_150.png', __FILE__ ); ?>">
</div>
<p /><p />
<div style="width: 720px">
<div>
<b>Select Client:</b>
<select id="admin_messaging_clients" style="width: 328px">
<?php
$args = array(
'meta_query' => array(
array('key' => '_is_archived','value' => 0,'compare' => 'LIKE')
),'orderby' => 'display_name','order' => 'ASC');
$users = get_users( $args );
foreach($users as $user){
echo '<option value="' . $user->ID . '">' . $user->display_name . '</option>';
}
?>
</select>
<p />
<b>Select Message Thread:</b>
<select id="admin_messaging_messages"> </select>
</div>
Admin Messaging to Client: <span id="client_company_name"></span>
<p /><b>Respond to Message</b>
<div id="respond_message">
<textarea id="respond_message_content" style="width: 75%; float: left"></textarea><br />
<button id="admin_messaging_send_message" style="float: right; margin-top: -10px;" class="btn">Send Message</button>
</div>
<!--<div id="admin_message_subject"></div>-->
<div id="admin_message_content"></div>
</div>
<?php
?>
</div>