Return to Notebook
{{ $note->category->name }} @if($note->is_paid) Premium @if($note->price) (TK {{ number_format($note->price, 0) }}) @endif @endif #{{ str_pad($note->id, 5, '0', STR_PAD_LEFT) }}

{{ $note->title }}

@php $hasAccess = ! $note->is_paid || (Auth::check() && Auth::user()->hasAccessToNote($note)); @endphp @if($hasAccess) @if($note->type === 'image')
{{ $note->title }}
@else
@foreach(explode("\n", e($note->content)) as $line)

{{ $line }}

@endforeach
@endif @else
@if($note->type === 'image')
{{ $note->title }}
@else @foreach(explode("\n", e(Str::limit($note->content, 200))) as $line)

{{ $line }}

@endforeach

Content hidden for security reasons. This is a premium repository entry restricted to authorized members only.

@endif

Premium Entry

@if($note->price)
TK {{ number_format($note->price, 2) }}
@endif

Unlock this specialized academic resource by purchasing it via WhatsApp.

@php $message = "Hello Admin, I want to buy the premium note:\n" . "Title: " . $note->title . "\n" . "ID: #" . str_pad($note->id, 5, '0', STR_PAD_LEFT); if ($note->price) { $message .= "\nPrice: TK " . number_format($note->price, 2); } if (Auth::check()) { $message .= "\n\nMy Account Details:\n" . "Name: " . Auth::user()->name . "\n" . "Username: " . Auth::user()->username . "\n" . "Email: " . Auth::user()->email; } else { $message .= "\n\n(Requested as Guest)"; } $whatsappUrl = "https://wa.me/8801728431336?text=" . urlencode($message); @endphp Buy via WhatsApp @guest @endguest
@endif
@guest @if($hasAccess) {{-- Only show for free notes --}}

Unlock Full Access

Join StudyXnote to save your favorite resources and track your academic journey.

Create Free Account
@endif @endguest