failed');
}
if (!Auth::check()) {
die('
');
}
if (!ClickZans::canClickZan($_POST['id'], $_POST['type'], Auth::user())) {
die('no permission
');
}
die(ClickZans::click($_POST['id'], $_POST['type'], Auth::user(), $_POST['delta'], $_POST['show-text']));