-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclient_contacts.php
More file actions
56 lines (47 loc) · 1.82 KB
/
client_contacts.php
File metadata and controls
56 lines (47 loc) · 1.82 KB
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
51
52
53
54
55
56
<?php
require_once './php/essentials.php';
include_once './php/nocache.php';
require_once './php/identify/user.php';
$headings = array($user['user_name']);
$navbox = TRUE;
$urls = array("user.php?user_id=$user_id");
require_once './php/identify/business.php';
array_push($headings, $business['business_name'], 'Clients');
array_push($urls, "business.php$unique_id", "clients.php$unique_id");
require_once './php/forms/join.php';
$saveall = TRUE;
require './php/identify/client.php';
$headings[] = html_entity_decode($client['client_name'], ENT_COMPAT, 'UTF-8');
$urls[] = "client.php$unique_id&client_id=$client_id";
$headings[] = "Contacts";
require_once './php/header_one.php';
?>
<style type="text/css">
/* <![CDATA[ */
ul { list-style-type: none; }
/* ]]> */
</style>
<?php
require_once './php/header_two.php';
require_once './php/forms/contact_ticks.php';
?>
<p>Ticked contacts will be linked with the client ‘<?php echo $client['client_name']; ?>’:</p>
<form accept-charset="UTF-8" name="frm_main" method="post" action="link_contacts.php" onsubmit="disable()">
<?php insert_hidden_fields("client.php$unique_id&client_id=$client_id"); ?>
<input type="hidden" name="user_id" value="<?php echo $user_id; ?>" />
<input type="hidden" name="business_id" value="<?php echo $business_id; ?>" />
<input type="hidden" name="client_id" value="<?php echo $client_id; ?>" />
<input type="hidden" name="client_name" value="<?php echo $client['client_name']; ?>" />
<fieldset class="main">
<?php draw_contact_ticks(3); ?>
<div class="savebutton">
<script type="text/javascript">
// <!-- [CDATA[
insertcancel();
// ]] -->
</script>
<input type="submit" name="btn_save" value="Save" />
</div>
</fieldset>
</form>
<?php include './php/footer.php';