Added Contact Import Capabilities and fixed some undefined vars

This commit is contained in:
johnnyq
2022-05-13 11:53:17 -04:00
parent e510c74536
commit 8b5f8547c4
4 changed files with 164 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
<div class="col-md-8">
<div class="float-right">
<a href="post.php?export_client_<?php echo strip_tags($_GET['tab']); ?>_csv=<?php echo $client_id; ?>" class="btn btn-default"><i class="fa fa-fw fa-download"></i> Export</a>
<a href="#" class="btn btn-default"><i class="fa fa-fw fa-upload"></i> Import</a>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#importContactModal"><i class="fa fa-fw fa-upload"></i> Import</button>
</div>
</div>
@@ -211,4 +211,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli,"SELECT FOUND_ROWS()"));
</div>
</div>
<?php include("client_contact_add_modal.php"); ?>
<?php
include("client_contact_add_modal.php");
include("client_contact_import_modal.php");
?>