PATH:
home
/
lab2454c
/
caimegroup.com
/
caime-stock-widget
<?php require_once(dirname(__FILE__)."/functions.php"); $func = new Functions; $action = $_POST["action"]; $index = @$_POST["index"]; $func->debug_log("Got into AJAX FNs with action=".$action); $func->debug_log("POST is:"); $func->debug_log($_POST); $result = FALSE; if(isset($action) && !empty($action)) { switch ($action) { case "get_projects_tickers": $params = array("index" => 50, "count" => 10); $response = $func->get_projects_tickers($params); break; case "get_indexes": $params = array("index" => $index); $response = $func->get_projects_tickers($params); break; } } else { $response = array("result" => FALSE); } echo json_encode($response); die();
[+]
js
[+]
..
[-] wp-blog-header.php
[edit]
[-] test.html
[edit]
[-] caime-stock-widget.iml
[edit]
[-] ajax-functions.php
[edit]
[-] index.html
[edit]
[-] .gitignore
[edit]
[+]
.idea
[+]
logs
[-] .htaccess
[edit]
[-] widget.html
[edit]
[-] functions.php
[edit]
[-] wp-cron.php
[edit]