<?php /** *ESTE SCRIPT VERIFICA LA INSTANCIA DE BOX ASI TAMBIEN GENERA LA DATA DE BOX *QUE QUIERE DECIR , PUES GRACIAS A LA API TODO DEBE SERIALIZARCE * * ?init=0 , SE LOGUE A LA CUENTA DE BOX PARA TENER ACCESO * ?init=1 , SI YA ESTA LOGADO OBTENEMOS LA INFORMACION * */ include '../../../../Conf/Include.php'; include '../../box/BaseBox.php'; $uri = FunctionsController::GetContentUrl('Web/admin/task/includes/box.php?init=' . $_GET['init'] ?: 1); //$box = new BaseBox("http://localhost/LieisonCMS/Content/Web/admin/task/includes/box.php?init=" . $_GET['init'] ? : 1); $box = new BaseBox($uri); $box->ConecToBox(); if (isset($_REQUEST['init'])) { if ($_REQUEST['init'] == 0) { $header = new \Http\Header(); $header->redirect('../../task/dashboard_add_task.php?security=1&box=1'); exit; } else { $uri = FunctionsController::GetUrl('task/includes/box.php?init=1'); } } if (!isset($_REQUEST['folder'])) { $folders = $box->ShowAllPrimaryFolders(); echo '<h3>Seleccione un directorio</h3>'; echo "<select onchange='GetBoxChild(0 , null);' class='form-control' id='box_parent' name='box_parent' >"; echo '<option value="-1">...</option>'; foreach ($folders as $parent) {
$header->redirect("dashboard_add_prospecto.php"); } $fb = $_REQUEST['txt_facebook']; $tw = $_REQUEST['txt_twitter']; ?> <!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]--> <!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]--> <!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]--> <!-- BEGIN HEAD --> <head> <?php AdminHeader::$relative_route = FunctionsController::GetContentUrl("Web/"); AdminHeader::GetTitle("Lieison Dashboard"); AdminHeader::GetMeta(); AdminHeader::GetCss(); ?> </head> <!-- END HEAD --> <!-- BEGIN BODY --> <body class="page-header-fixed page-quick-sidebar-over-content page-style-square"> <input type="hidden" value="<?php echo $_REQUEST['txt_nombre']; ?> " id="nombre" /> <input type="hidden" value="<?php echo $_REQUEST['txt_direccion1'];