Gazelle/sections/ajax/inbox/index.php

13 lines
319 B
PHP
Raw Normal View History

<?
2013-04-15 08:00:54 +00:00
if (empty($_GET['type']) || $_GET['type'] == 'inbox' || $_GET['type'] == 'sentbox') {
require(SERVER_ROOT.'/sections/ajax/inbox/inbox.php');
2013-04-15 08:00:54 +00:00
} elseif ($_GET['type'] == 'viewconv') {
require(SERVER_ROOT.'/sections/ajax/inbox/viewconv.php');
} else {
print json_encode(array('status' => 'failure'));
die();
}
2012-07-07 08:00:11 +00:00
?>