@if(!empty($inf))
@if(isset($inf) && isset($inf['varURL']))
@php $varURL = url('/'.$inf['varURL']) @endphp
@else
@php $varURL = '#' @endphp
@endif
{{-- Title & Link --}}
@if(isset($inf) && isset($inf['varMetaTitle']))
@php $metaTitle = $inf['varMetaTitle'] @endphp
@php
if(!empty($inf_highLight['varMetaTitle']) && !empty($inf['varMetaTitle']) && ($inf_highLight['varMetaTitle'] != $inf['varMetaTitle'])){
$Class_metatitle = " highlitetext";
}else{
$Class_metatitle = "";
}
$privateLink = "";
if(isset($inf['privateLink']) && isset($inf['chrPageActive']) && $inf['chrPageActive'] == 'PR') {
$privateLink = $inf['privateLink'];
}
@endphp
{{ $metaTitle }}
{{ $varURL }}
@endif
{{-- Meta Description --}}
@if(isset($inf) && isset($inf['varMetaDescription']))
@php $metaDescription = $inf['varMetaDescription'] @endphp
@php
if(!empty($inf_highLight['varMetaDescription']) && !empty($inf['varMetaDescription']) && ($inf_highLight['varMetaDescription'] != $inf['varMetaDescription'])){
$Class_metaDescription = " highlitetext";
}else{
$Class_metaDescription = "";
}
@endphp
{{ $metaDescription }}
@endif
{{--
@if(isset($inf) && isset($inf['varTags']) && !empty($inf['varTags']))
@php $tagArr = explode(',',$inf['varTags']) @endphp
@if(!empty($tagArr))
@php
if(!empty($inf_highLight['varTags']) && !empty($tagArr) && ($inf_highLight['varTags'] != $tagArr)){
$Class_varTags = " highlitetext";
}else{
$Class_varTags = "";
}
@endphp
@foreach($tagArr as $key => $value)
@if($key == count($tagArr) - 1)
@php $sep = '' @endphp
@else
@php $sep = ', ' @endphp
@endif
{{ $value.$sep }}
@endforeach
@endif
@endif
@if(isset($srank) && $srank == 1)
High
@elseif(isset($srank) && $srank == 2)
Medium
@elseif(isset($srank) && $srank == 3)
Low
@endif
--}}
@endif
@if(empty($inf))
@endif
@php if(!empty($inf_highLight['varMetaTitle']) && !empty($inf['varMetaTitle']) && ($inf_highLight['varMetaTitle'] != $inf['varMetaTitle'])){
$Class_metatitle = " highlitetext";
}else{
$Class_metatitle = "";
}
@endphp
@if(isset($inf) && isset($inf['varMetaTitle']))
@php $metaTitle = $inf['varMetaTitle'] @endphp
@else
@php $metaTitle = null @endphp
@endif
{!! Form::text('varMetaTitle', $metaTitle , array('maxlength'=>'160','class' => 'form-control maxlength-handler metatitlespellingcheck','id'=>'varMetaTitle','autocomplete'=>'off','onkeyup'=>'MetaTitle_Function(this.value)')) !!}
{{ $errors->first('varMetaTitle') }}
@php
if(!empty($inf_highLight['varTags']) && !empty($tagArr) && ($inf_highLight['varTags'] != $tagArr)){
$Class_varTags = " highlitetext";
}else{
$Class_varTags = "";
}
@endphp
@if(isset($inf) && isset($inf['varTags']) && !empty($inf['varTags']))
@php $tags = $inf['varTags'] @endphp
@else
@php $tags = null @endphp
@endif
{!! Form::text('tags',$tags, array('class' => 'form-control', 'data-role' => 'tagsinput')) !!}
@if(Config::get('Constant.CHRSearchRank') == 'Y')
@else
@endif
@php if(!empty($inf_highLight['varMetaDescription']) && !empty($inf['varMetaDescription']) && ($inf_highLight['varMetaDescription'] != $inf['varMetaDescription'])){
$Class_metaDescription = " highlitetext";
}else{
$Class_metaDescription = "";
}
@endphp
@if(isset($inf) && isset($inf['varMetaDescription']))
@php $metaDescription = $inf['varMetaDescription'] @endphp
@else
@php $metaDescription = null @endphp
@endif
{!! Form::textarea('varMetaDescription', $metaDescription,
array(
'maxlength'=>'200',
'class' => 'form-control resize-none maxlength-handler metadescspellingcheck',
'cols' => '40',
'rows' => '2',
'id' => 'varMetaDescription',
'spellcheck' => 'true',
'onkeyup'=>'MetaDescription_Function(this.value)'
))
!!}
{{ $errors->first('varMetaDescription') }}