You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
428 B
18 lines
428 B
![]()
14 years ago
|
<?php
|
||
|
require_once '../global.inc.php';
|
||
|
require_once api_get_path(LIBRARY_PATH).'timeline.lib.php';
|
||
|
|
||
|
$timeline = new Timeline();
|
||
|
|
||
|
$action = $_GET['a'];
|
||
|
|
||
|
switch ($action) {
|
||
|
case 'get_timeline_content':
|
||
|
$items = $timeline->get_timeline_content($_GET['id']);
|
||
|
echo json_encode($items);
|
||
|
/*echo '<pre>';
|
||
|
echo json_encode($items);
|
||
|
echo '</pre>';
|
||
|
var_dump($items);*/
|
||
|
break;
|
||
|
}
|