@if(Auth::check())
@else
@endif
@php if(isset($_GET['ref'])) { session_start(); $_SESSION['ref'] = $_GET['ref']; } @endphp