<head> <meta charset="UTF-8"> <meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'> <title>Asignar Clientes | DLB GROUP Worldwide</title> <!-- bootstrap 3.0.2 --> <link href="css/bootstrap.min.css" rel="stylesheet" type="text/css" /> <!-- font Awesome --> <link href="css/font-awesome.min.css" rel="stylesheet" type="text/css" /> <!-- Ionicons --> <link href="css/ionicons.min.css" rel="stylesheet" type="text/css" /> <!-- Theme style --> <link href="css/AdminLTE.css" rel="stylesheet" type="text/css" /> <?php require 'clientesc.php'; require 'usersc.php'; $userc = new usersc(); $clientesc = new clientesc(); $user = $userc->busca_user($_REQUEST['id']); $lista_clientes = $clientesc->lista_clientes($_REQUEST['id']); ?> </head> <body class="skin-blue"> <?php include 'includes/header.php'; ?> <div class="wrapper row-offcanvas row-offcanvas-left"> <?php include 'includes/asides.php'; ?>
$data['password'] = trim($_REQUEST['password']); } if (isset($_REQUEST['id_tipo'])) { $data['id_tipo'] = trim($_REQUEST['id_tipo']); } if (isset($_FILES["user_img"]) && $_FILES["user_img"]['tmp_name'] != "") { $file = $_FILES["user_img"]; } else { $file = null; } $usersc->edit_user($data, $file, $_REQUEST['id'], $switch); } } if ($_REQUEST['func'] == 5) { if (isset($_REQUEST['id'])) { $usersc = new usersc(); echo $usersc->delete_user($_REQUEST['id']); } else { echo 0; } } if ($_REQUEST['func'] == 6) { var_dump($_REQUEST['interests']); var_dump($_REQUEST['interests1']); } if ($_REQUEST['func'] == 7) { $departamentosc = new departamentosc(); $listado_depar = $departamentosc->lista_departamentos(); echo json_encode($listado_depar); } if ($_REQUEST['func'] == 8) {