<button id="closeError" type="button" class="close" data-dismiss="alert" aria-hidden="true">X</button> <div id="errorMSG"></div> </div> </div> </div> <!-- Main Content goes here --> <div class="fullHeight container-fluid"> <div class="tabWrapper"> <div class="content"> <div class="scrollable-y tabContent" id="clients"> <div class="fullHeight container-fluid"> <div id="displayData"> <?php editClient($_GET['cID']); ?> </div> </div> </div> </div> </div> <!--/tabWrapper --> </div> <!-- /.container-fluid --> </div> <!-- /#page-wrapper --> <!-- Include all compiled plugins (below), or include individual files as needed --> <?php include "footer.php";
<?php include_once "session.php"; if ($_POST["action"] == "clientEdit") { editClient($_POST['cID']); } if ($_POST['action'] == "clientDelete") { actionClient($_POST['cID'], 0); } if ($_POST['action'] == "clientDeleteConfirm") { actionClient($_POST['cID'], 1); } if ($_POST["action"] == "submitClientEdit") { $cID = $_POST['cID']; $fName = $_POST['fName']; $lName = $_POST['lName']; $email = $_POST['email']; $phone = $_POST['phone']; $addr1 = $_POST['addr1']; $addr2 = $_POST['addr2']; $city = $_POST['city']; $state = $_POST['state']; $zip = $_POST['zip']; $delNotes = $_POST['delNotes']; $FA = $_POST['FA']; $FR = $_POST['FR']; $FAList = $_POST['FAList']; $FRList = $_POST['FRList']; $Active = $_POST['Active']; $address = "{$addr1} {$addr2} {$city} {$state} {$zip}"; $address = str_replace("#", "", $address);
} switch ($action) { case 'login': login(); break; case 'logout': logout(); break; case 'newArticle': newArticle(); break; case 'newClient': newClient(); break; case 'editClient': editClient(); break; case 'deleteClient': deleteClient(); break; case 'listClients': listClients(); break; case 'editArticle': editArticle(); break; case 'editPage': editPage(); break; case 'deleteArticle': deleteArticle();