%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/local/components/p4/p.portfolio.profile/
Upload File :
Create Path :
Current File : /home/bitrix/www/local/components/p4/p.portfolio.profile/ajax_like.php

<?
require_once($_SERVER['DOCUMENT_ROOT'].'/bitrix/modules/main/include/prolog_before.php');

if (intval($_REQUEST['ID'])>0) {

	$arRatingParams = Array(
		"ENTITY_TYPE_ID" => "P4_PORTFOLIO",
		"ENTITY_ID" => $_REQUEST["ID"],
		"OWNER_ID" => $_REQUEST["ACCOUNT"],
		"PATH_TO_USER_PROFILE" => "/user/#USER_ID#/"
	);
	$GLOBALS["APPLICATION"]->IncludeComponent("bitrix:rating.vote", "blueimp", $arRatingParams);

	?><?

}
else {
	?><?=GetMessage("ERROR_ID_IS_NOT_VALID")?><?
}

?>

Zerion Mini Shell 1.0