Exemple #1
0
 case 'pausarCampana':
     $ev = new EnvialoSimple();
     $ev->checkSetup();
     $ca = new Campanas();
     echo $ca->pausarCampana($_POST['CampaignID']);
     break;
 case 'traerPlantillas':
     $ev = new EnvialoSimple();
     $ev->checkSetup();
     header("Content-Type: text/html; charset=utf-8");
     $filterListByCategory = $_POST["filterListByCategory"];
     $filterListByCategory2 = $_POST["filterListByCategory2"];
     $limit = $_POST["limit"];
     $retrieveList = "defaulTemplates";
     $offset = $_POST["offset"];
     echo $ev->mostrarPlantillas($limit, $retrieveList, $offset, $filterListByCategory, $filterListByCategory2);
     break;
 case 'mostrarPostsWP':
     //TODO
     header("Content-Type: text/html; charset=utf-8");
     $ev = new EnvialoSimple();
     echo $ev->mostrarPostsWP($_POST['category'], $_POST['numberposts'], $_POST['offset']);
     break;
 case 'previsualizar-camp':
     $ev = new EnvialoSimple();
     $ev->checkSetup();
     $ca = new Campanas();
     echo $ca->previsualizarCampana($_POST['CampaignID'], $_POST['Email']);
     break;
 case 'traerPreciosEnvios':
     $ev = new EnvialoSimple();