Gazelle/sections/ajax/inbox/index.php
2012-07-07 08:00:11 +00:00

14 lines
320 B
PHP

<?
if(empty($_GET['type']) || $_GET['type'] == 'inbox' || $_GET['type'] == 'sentbox') {
require(SERVER_ROOT.'/sections/ajax/inbox/inbox.php');
} else if ($_GET['type'] == 'viewconv') {
require(SERVER_ROOT.'/sections/ajax/inbox/viewconv.php');
} else {
print json_encode(array('status' => 'failure'));
die();
}
?>