Gazelle/sections/ajax/userhistory/index.php

21 lines
285 B
PHP
Raw Normal View History

2012-07-28 08:00:17 +00:00
<?
if ($_GET['type']) {
2013-04-17 08:00:58 +00:00
switch ($_GET['type']) {
case 'posts':
// Load post history page
include('post_history.php');
break;
default:
print json_encode(
array('status' => 'failure')
);
}
} else {
print json_encode(
array('status' => 'failure')
);
2012-07-28 08:00:17 +00:00
}
2013-04-17 08:00:58 +00:00
?>