@extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection @extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection @extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection @extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection @extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection @extends('layouts.commontemp') @section('title', ($movieData['flimname'] ?? 'விமர்சனம்') . ' - விமர்சனம் | Tamil Cinema News') @section('body_class', 'page-template page-template-template-home1 page-template-template-home1-php page page-id-432 custom-background wp-embed-responsive theme-zox-news woocommerce-js') @section('seo') @endsection @section('css') @endsection @section('content') {{-- ======= REUSABLE SLUG HELPER ======= --}} {{-- Usage: pass any article/review array to get its URL from slug --}} {{-- $item['slug'] from API is like "/movie-review/rathnam/3436" --}} {{-- We strip the leading slash and pass to url() helper --}}
@include('layouts.cini-detail-advt970x90')

{{ $movieData['flimname'] ?? '' }} - விமர்சனம்

தயாரிப்பு - {{ $movieData['pname'] ?? '' }} | இயக்கம் - {{ $movieData['directorname'] ?? '' }}

Published

on

{{-- ======= COMMENT COUNT BADGE — matches cini-detail pattern ======= --}}
@if(($commentscount ?? 0) > 0) {{ $commentscount }} @endif
@php $bodyContent = $movieData['description'] ?? ''; $autoplayAd = ''; $bannerAd = '
' . view('layouts.cini-detail-advt728x90')->render() . '
'; $parts = preg_split('/(<\/p>|[\s]*|)/i', $bodyContent, -1, PREG_SPLIT_DELIM_CAPTURE); $paraCount = 0; foreach ($parts as $p) { if (!preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)) && trim(strip_tags($p)) !== '') { $paraCount++; } } $halfPara = max(1, floor($paraCount / 2)); $finalHTML = ''; $autoplayInserted = false; $bannerInserted = false; $currentPara = 0; $pendingAds = ''; foreach ($parts as $i => $p) { $isDelimiter = preg_match('/^<\/?(?:p|br)[^>]*>$/i', trim($p)); $finalHTML .= $p; if ($isDelimiter) { if ($pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } else if (trim(strip_tags($p)) !== '') { $currentPara++; if (!$autoplayInserted && (mb_stripos($p, 'ரேட்டிங்') !== false || mb_stripos($p, 'Rating') !== false)) { $pendingAds .= $autoplayAd; $autoplayInserted = true; } if (!$bannerInserted && $currentPara == $halfPara) { $pendingAds .= $bannerAd; $bannerInserted = true; } if ($i == count($parts) - 1 && $pendingAds !== '') { $finalHTML .= $pendingAds; $pendingAds = ''; } } } if (!$autoplayInserted) { $finalHTML = $autoplayAd . $finalHTML; } @endphp @if(!empty($movieData['topimage']) || !empty($movieData['image1']))
@if(!empty($vlink)) @php $videoId = ''; if (preg_match('/(?:youtube\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?\/\s]{11})/', $vlink, $match)) { $videoId = $match[1]; } @endphp @if($videoId) @else {{ $movieData['flimname'] ?? '' }} @endif @else {{ $movieData['flimname'] ?? '' }} @endif

{{ $movieData['flimname'] ?? '' }}

{{ $movieData['total_duration'] ?? '' }}
@php $rating = (float) ($movieData['starrating'] ?? 0); @endphp
★★★★★
★★★★★
{{ $rating }}
    @if(!empty($movieData['pname']))
  • {{ $movieData['pname'] }}
  • @endif @if(!empty($movieData['actress']))
  • {{ $movieData['actress'] }}
  • @endif @if(!empty($movieData['date']))
  • {{ $movieData['date'] }}
  • @endif @if(!empty($movieData['directorname']))
  • {{ $movieData['directorname'] }}
  • @endif @if(!empty($movieData['vcaption']))
  • {!! htmlspecialchars_decode($movieData['vcaption']) !!}
  • @endif
{{-- Mobile Description Block --}}
{!! $finalHTML !!}
{!! $bannerAd !!}
@endif
@include('layouts.cini-detail-rightbar')
{!! $finalHTML !!}
@if(!empty($actordetail) || !empty($actressdetail))
@if(!empty($actordetail)) @foreach($actordetail as $actor)
{{ $actor['name'] ?? '' }}

{{ $actor['name'] ?? '' }}

@endforeach @endif @if(!empty($actressdetail)) @foreach($actressdetail as $actress)
{{ $actress['name'] ?? '' }}

{{ $actress['name'] ?? '' }}

@endforeach @endif
@endif
@if(!empty($metadata['keywords'])) @endif {{-- ======= PREV / NEXT — slug from API ======= --}} @php // Helper: build URL from slug field, fall back to fid-based URL $prevSlugRaw = !empty($prevPost) ? ($prevPost['slug'] ?? '') : ''; $prevUrl = $prevSlugRaw ? url(ltrim($prevSlugRaw, '/')) : (!empty($prevPost) ? url('/movie-review/article/' . ($prevPost['fid'] ?? $prevPost['id'] ?? '')) : ''); $nextSlugRaw = !empty($nextPost) ? ($nextPost['slug'] ?? '') : ''; $nextUrl = $nextSlugRaw ? url(ltrim($nextSlugRaw, '/')) : (!empty($nextPost) ? url('/movie-review/article/' . ($nextPost['fid'] ?? $nextPost['id'] ?? '')) : ''); $prevTitle = !empty($prevPost) ? ($prevPost['title'] ?? $prevPost['flim_name'] ?? $prevPost['flimname'] ?? '') : ''; $nextTitle = !empty($nextPost) ? ($nextPost['title'] ?? $nextPost['flim_name'] ?? $nextPost['flimname'] ?? '') : ''; @endphp
{{-- Left arrow --}}
@if($prevUrl) @else @endif @if($prevUrl) Don't Miss {{ $prevTitle }} @else @endif
@if($nextUrl) Up Next {{ $nextTitle }} @else @endif @if($nextUrl) @else @endif
@php $shareUrl = urlencode(request()->fullUrl()); $shareTitle = urlencode($movieData['flimname'] ?? ''); @endphp {{-- ======= RELATED POSTS — slug from API ======= --}} @if(!empty($relatednews)) @endif {{-- ======= COMMENTS BUTTON (hidden by default) ======= --}} {{-- ======= COMMENTS — pass ID, type & title ======= --}} @include('layouts.comment', [ 'commentPageId' => $commentPageId, 'commentType' => $commentType, 'commentPageTitle' => $commentPageTitle, 'commentCat' => $commentCat, ])
{{-- ======= வந்த படங்கள் SLIDER — slug from API ======= --}} @if(!empty($directorMovies) && count($directorMovies) > 1)
@foreach($directorMovies as $movie) @php // 1. Try all possible ID keys $mId = $movie['fid'] ?? $movie['id'] ?? $movie['uid'] ?? $movie['newsid'] ?? $movie['film_id'] ?? $movie['news_id'] ?? $movie['mid'] ?? $movie['movie_id'] ?? $movie['f_id'] ?? ''; $mSlugRaw = $movie['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $movie['flim_name'] ?? $movie['flimname'] ?? $movie['title'] ?? ''; $mImage = $movie['image'] ?? $movie['image_url'] ?? $movie['timage'] ?? ''; $mYear = $movie['year'] ?? $movie['created_date'] ?? $movie['date'] ?? ''; $mRating = $movie['starrating'] ?? $movie['rating'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug = Str::slug($mTitle) ?: 'vimarsanam'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $cardStyle = "min-width:210px; height:400px; transition: 0.5s cubic-bezier(0.2, 0.8, 0.2, 1); cursor:pointer; position:relative;"; if (!$loop->first) { $cardStyle .= " margin-left: -100px;"; } @endphp
Published on {{ $mYear }}
{{ $mTitle }}

{{ $mTitle }}

@if(!empty($mRating) && $mRating != '0')
{{ floatval($mRating) }}/5
@endif
@endforeach
@endif
{{-- ======= மேலும் விமர்சனங்கள் — slug from API ======= --}} @php $finalMoreReviews = !empty($melumreview) ? $melumreview : $relatednews; @endphp @if(!empty($finalMoreReviews))

மேலும் விமர்சனங்கள்

@foreach(array_slice($finalMoreReviews, 0, 3) as $more) @php // 1. Try all possible ID keys $mId = $more['fid'] ?? $more['id'] ?? $more['uid'] ?? $more['newsid'] ?? $more['film_id'] ?? $more['news_id'] ?? $more['mid'] ?? $more['movie_id'] ?? $more['f_id'] ?? ''; $mSlugRaw = $more['slug'] ?? ''; $trimmedSlug = trim($mSlugRaw, '/'); // 2. If ID is still empty, try to extract it from the end of the slug if (!$mId && $trimmedSlug && str_contains($trimmedSlug, '/')) { $segments = explode('/', $trimmedSlug); $lastSegment = end($segments); if (is_numeric($lastSegment)) { $mId = $lastSegment; } } // 3. Determine if it's a category slug $isCategorySlug = !$trimmedSlug || !str_contains($trimmedSlug, '/') || in_array($trimmedSlug, ['vimarsanam', 'review']); $mTitle = $more['title'] ?? $more['flim_name'] ?? $more['flimname'] ?? ''; $mImage = $more['image'] ?? $more['largeimage'] ?? $more['image_url'] ?? $more['timage'] ?? ''; $mDesc = $more['description'] ?? ''; $mDate = $more['date'] ?? $more['created_date'] ?? ''; // 4. Build the final URL if ($mSlugRaw && !$isCategorySlug) { $mDetailUrl = url(ltrim($mSlugRaw, '/')); } elseif ($mId) { $tSlug =Str::slug($mTitle) ?: 'review'; $mDetailUrl = url("/review/{$tSlug}/{$mId}"); } else { $mDetailUrl = url('/review'); } $mDisplayDate = $mDate; if (!empty($mDate)) { try { $dt = \Carbon\Carbon::parse($mDate); $mDisplayDate = $dt->format('F j, Y'); } catch (\Exception $e) { $mDisplayDate = $mDate; } } @endphp

{{ $mTitle }}

    @if(!empty($more['pname']))
  • தயாரிப்பு : {{ $more['pname'] }}
  • @endif @if(!empty($more['directorname']))
  • இயக்கம் : {{ $more['directorname'] }}
  • @endif @if(!empty($more['musicname']))
  • இசை : {{ $more['musicname'] }}
  • @endif @if(!empty($more['actress']))
  • நடிப்பு : {{ $more['actress'] }}
  • @endif @if(!empty($more['date']))
  • வெளியான தேதி : {{ $more['date'] }}
  • @endif @if(!empty($more['total_duration']) || !empty($more['duration']))
  • நேரம் : {{ $more['total_duration'] ?? $more['duration'] }}
  • @endif @if(!empty($more['starrating']) || !empty($more['rating']))
  • ரேட்டிங் : {{ $more['starrating'] ?? $more['rating'] }}
  • @endif
{{ $mTitle }}

{{ Str::limit(strip_tags($mDesc), 500) }}

@endforeach
@endif
@include('layouts.cini-detail-advt970x90')
@endsection @section('js') {{-- Slick is already included in commontemp --}} @endsection Laravel
Internal Server Error

Illuminate\Contracts\Container\BindingResolutionException

vendor/laravel/framework/src/Illuminate/Container/Container.php:1124

Target class [App\Http\Controllers\VimarsanamdetailController] does not exist.

LARAVEL 12.56.0
PHP 8.2.24
UNHANDLED
CODE 0
500
GET
https://staging-cinema.dinamalar.com/review/thaai-kizhavi/3736

Exception trace

52 vendor frames
Illuminate\Container\Container->build()
vendor/laravel/framework/src/Illuminate/Container/Container.php:1124
Illuminate\Container\Container->build()
vendor/laravel/framework/src/Illuminate/Container/Container.php:933
Illuminate\Container\Container->resolve()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1078
Illuminate\Foundation\Application->resolve()
vendor/laravel/framework/src/Illuminate/Container/Container.php:864
Illuminate\Container\Container->make()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1058
Illuminate\Foundation\Application->make()
vendor/laravel/framework/src/Illuminate/Routing/Route.php:286
Illuminate\Routing\Route->getController()
vendor/laravel/framework/src/Illuminate/Routing/Route.php:266
Illuminate\Routing\Route->runController()
vendor/laravel/framework/src/Illuminate/Routing/Route.php:211
Illuminate\Routing\Route->run()
vendor/laravel/framework/src/Illuminate/Routing/Router.php:822
Illuminate\Routing\Router->Illuminate\Routing\{closure}()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php:50
Illuminate\Routing\Middleware\SubstituteBindings->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php:87
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php:48
Illuminate\View\Middleware\ShareErrorsFromSession->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:120
Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php:63
Illuminate\Session\Middleware\StartSession->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php:36
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php:74
Illuminate\Cookie\Middleware\EncryptCookies->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137
Illuminate\Pipeline\Pipeline->then()
vendor/laravel/framework/src/Illuminate/Routing/Router.php:821
Illuminate\Routing\Router->runRouteWithinStack()
vendor/laravel/framework/src/Illuminate/Routing/Router.php:800
Illuminate\Routing\Router->runRoute()
vendor/laravel/framework/src/Illuminate/Routing/Router.php:764
Illuminate\Routing\Router->dispatchToRoute()
vendor/laravel/framework/src/Illuminate/Routing/Router.php:753
Illuminate\Routing\Router->dispatch()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:200
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure}()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:180
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php:31
Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php:21
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php:51
Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php:27
Illuminate\Http\Middleware\ValidatePostSize->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php:109
Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php:61
Illuminate\Http\Middleware\HandleCors->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php:58
Illuminate\Http\Middleware\TrustProxies->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/InvokeDeferredCallbacks.php:22
Illuminate\Foundation\Http\Middleware\InvokeDeferredCallbacks->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePathEncoding.php:26
Illuminate\Http\Middleware\ValidatePathEncoding->handle()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:219
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:137
Illuminate\Pipeline\Pipeline->then()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:175
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144
Illuminate\Foundation\Http\Kernel->handle()
vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1220
Illuminate\Foundation\Application->handleRequest()
public/index.php:20
1516// Bootstrap Laravel and handle the request...17/** @var Application $app */18$app = require_once __DIR__.'/../bootstrap/app.php';1920$app->handleRequest(Request::capture());21

Queries

// No queries executed

Headers

cookie
XSRF-TOKEN=eyJpdiI6IlZMN2YrZjNXOG5YcXdxTXV3bk1aZHc9PSIsInZhbHVlIjoiZG9ZMWJoSDhxbnF2UWxQSmV1OTRFQlJQVWJqUWZnTVNEb1JJRTBZbDh2UjliV3A1cTNRU1ErYlVBT3VzQjNVRjRLTUJsSU1JbjNCUTRFVC96OEJDQVViRGpwTXpYMVZNYXowdXJIOUUxMXdzdW9nSXltVVFML1VTVk1oeVp2TXMiLCJtYWMiOiJmY2MxYTg5NjUzZmJiODU5OWYwZDYzZTU2NGI5ZTJkMDQyMmNkYWYwMjhhNDU4Y2ZmZjAwNDVhMDBkNWIwNjZjIiwidGFnIjoiIn0%3D; laravel-session=eyJpdiI6Ijlva3NxbVo0VTBhK1NHQ1hPUmZkWFE9PSIsInZhbHVlIjoiVTFyeFdseDZtV1VNdzRwNnVmMmNiRWwzUTJabk1kSXZIc3ZmMHFjYVdDUkJRTEFDT0UwYUZGNWRHQU42SHhWR0F0K3hNWXIxdU1uYkU5MExiSGFqdnBXT3lZWlZLRU5FSmV5U3ZmWTYrTFJzYzFuaElqZHhvVXJlRDhudk8zc2oiLCJtYWMiOiI5ZGE1YTQzYjM1ZTUyMzRlYzUzMGQxOWNkZGIxM2IxMGM3OTE4NTQwYmE4ZTZmYTc2YWFkZTA5ZDQ3MmQwOGY0IiwidGFnIjoiIn0%3D
accept-encoding
gzip, br, zstd, deflate
user-agent
Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
accept
*/*
host
staging-cinema.dinamalar.com

Body

// No request body

Routing

controller
App\Http\Controllers\VimarsanamdetailController@index
route name
detail-vimarsanam
middleware
web

Routing parameters

{
    "slug": "thaai-kizhavi",
    "id": "3736"
}