??
You're inside public_html, but wp-admin or wp-content was not found.
Savvy
W
olf -
MANAGER
Edit File: front.blade.php
<div class="tab-pane {{ ( Session::get('active_tab') == 'frontSettingsTab' || Session::get('active_tab') =="") ? 'active' : '' }}" id="tab-5"> <div class="p-a-md"><h5>{!! __('backend.frontSettings') !!}</h5></div> <div class="p-a-md col-md-12"> <div class="col-md-6"> <div class="form-group"> <label>{{ __('backend.headerMenu') }} : </label> <select name="header_menu_id" id="header_menu_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> @foreach ($ParentMenus as $ParentMenu) <?php if ($ParentMenu->$title_var != "") { $title = $ParentMenu->$title_var; } else { $title = $ParentMenu->$title_var2; } ?> <option value="{{ $ParentMenu->id }}" {{ ($ParentMenu->id == $WebmasterSetting->header_menu_id) ? "selected='selected'":"" }}>{{ $title }}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.footerMenu') }} : </label> <select name="footer_menu_id" id="footer_menu_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> @foreach ($ParentMenus as $ParentMenu) <?php if ($ParentMenu->$title_var != "") { $title = $ParentMenu->$title_var; } else { $title = $ParentMenu->$title_var2; } ?> <option value="{{ $ParentMenu->id }}" {{ ($ParentMenu->id == $WebmasterSetting->footer_menu_id) ? "selected='selected'":"" }}>{{ $title }}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.homeSlideBanners') }} : </label> <select name="home_banners_section_id" id="home_banners_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($WebmasterBanners as $WebmasterBanner) <?php if ($WebmasterBanner->$title_var != "") { $WBTitle = $WebmasterBanner->$title_var; } else { $WBTitle = $WebmasterBanner->$title_var2; } ?> <option value="{{ $WebmasterBanner->id }}" {{ ($WebmasterBanner->id == $WebmasterSetting->home_banners_section_id) ? "selected='selected'":"" }}>{!! $WBTitle !!}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.homeTextBanners') }} : </label> <select name="home_text_banners_section_id" id="home_text_banners_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($WebmasterBanners as $WebmasterBanner) <?php if ($WebmasterBanner->$title_var != "") { $WBTitle = $WebmasterBanner->$title_var; } else { $WBTitle = $WebmasterBanner->$title_var2; } ?> <option value="{{ $WebmasterBanner->id }}" {{ ($WebmasterBanner->id == $WebmasterSetting->home_text_banners_section_id) ? "selected='selected'":"" }}>{!! $WBTitle !!}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.sideBanners') }} : </label> <select name="side_banners_section_id" id="side_banners_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($WebmasterBanners as $WebmasterBanner) <?php if ($WebmasterBanner->$title_var != "") { $WBTitle = $WebmasterBanner->$title_var; } else { $WBTitle = $WebmasterBanner->$title_var2; } ?> <option value="{{ $WebmasterBanner->id }}" {{ ($WebmasterBanner->id == $WebmasterSetting->side_banners_section_id) ? "selected='selected'":"" }}>{!! $WBTitle !!}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.newsletterGroup') }} : </label> <select name="newsletter_contacts_group" id="newsletter_contacts_group" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($ContactsGroups as $ContactsGroup) <?php ?> <option value="{{ $ContactsGroup->id }}" {{ ($ContactsGroup->id == $WebmasterSetting->newsletter_contacts_group) ? "selected='selected'":"" }}>{!! $ContactsGroup->name !!}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.topicsPerPage') }} : </label> {!! Form::number('home_contents_per_page',$WebmasterSetting->home_contents_per_page, array('id' => 'home_contents_per_page','class' => 'form-control')) !!} </div> <div class="form-group"> <label>{{ __('backend.topicsOrderInFront') }} : </label> <select name="front_topics_order" id="front_topics_order" class="form-control c-select"> <option value="asc" {{ (env("FRONTEND_TOPICS_ORDER","asc") == "asc") ? "selected='selected'":"" }}>{!! __('backend.topicsOrderInFrontAsc') !!}</option> <option value="desc" {{ (env("FRONTEND_TOPICS_ORDER","asc") == "desc") ? "selected='selected'":"" }}>{!! __('backend.topicsOrderInFrontDesc') !!}</option> </select> </div> </div> <div class="col-md-6"> <div class="form-group"> <label>{{ __('backend.homeRow1') }} : </label> <select name="home_content1_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($SitePages as $SitePage) <?php if ($SitePage->$title_var != "") { $title = $SitePage->$title_var; } else { $title = $SitePage->$title_var2; } ?> <option value="{{ $SitePage->id }}" {{ ($SitePage->id == $WebmasterSetting->home_content1_section_id) ? "selected='selected'":"" }}>{{ $title }}</option> @endforeach </select> </div> <div class="form-group"> <label>Байрлал 2: </label> <select name="home_content2_section_id" id="home_content2_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($GeneralWebmasterSections as $Webmaster_Section) @if($Webmaster_Section->type !=4) <?php if ($Webmaster_Section->$title_var != "") { $WSectionTitle = $Webmaster_Section->$title_var; } else { $WSectionTitle = $Webmaster_Section->$title_var2; } ?> <option value="{{ $Webmaster_Section->id }}" {{ ($Webmaster_Section->id == $WebmasterSetting->home_content2_section_id) ? "selected='selected'":"" }}>{!! $WSectionTitle !!}</option> @endif @endforeach </select> </div> <div class="form-group"> <label>Байрлал 3: </label> <select name="home_content3_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($SitePages as $SitePage) <?php if ($SitePage->$title_var != "") { $title = $SitePage->$title_var; } else { $title = $SitePage->$title_var2; } ?> <option value="{{ $SitePage->id }}" {{ ($SitePage->id == $WebmasterSetting->home_content3_section_id) ? "selected='selected'":"" }}>{{ $title }}</option> @endforeach </select> </div> <div class="form-group"> <label>Байрлал 4: </label> <select name="home_content4_section_id" id="home_content4_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($GeneralWebmasterSections as $Webmaster_Section) @if($Webmaster_Section->type !=4) <?php if ($Webmaster_Section->$title_var != "") { $WSectionTitle = $Webmaster_Section->$title_var; } else { $WSectionTitle = $Webmaster_Section->$title_var2; } ?> <option value="{{ $Webmaster_Section->id }}" {{ ($Webmaster_Section->id == $WebmasterSetting->home_content4_section_id) ? "selected='selected'":"" }}>{!! $WSectionTitle !!}</option> @endif @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.homeRow3') }} : </label> <select name="latest_news_section_id" id="latest_news_section_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> @foreach ($GeneralWebmasterSections as $Webmaster_Section) @if($Webmaster_Section->type !=4) <?php if ($Webmaster_Section->$title_var != "") { $WSectionTitle = $Webmaster_Section->$title_var; } else { $WSectionTitle = $Webmaster_Section->$title_var2; } ?> <option value="{{ $Webmaster_Section->id }}" {{ ($Webmaster_Section->id == $WebmasterSetting->latest_news_section_id) ? "selected='selected'":"" }}>{!! $WSectionTitle !!}</option> @endif @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.contactPageId') }} : </label> <select name="contact_page_id" id="contact_page_id" class="form-control c-select"> <option value="0">- - {!! __('backend.none') !!} - -</option> <?php $title_var = "title_" . @Helper::currentLanguage()->code; $title_var2 = "title_" . env('DEFAULT_LANGUAGE'); ?> @foreach ($SitePages as $SitePage) <?php if ($SitePage->$title_var != "") { $title = $SitePage->$title_var; } else { $title = $SitePage->$title_var2; } ?> <option value="{{ $SitePage->id }}" {{ ($SitePage->id == $WebmasterSetting->contact_page_id) ? "selected='selected'":"" }}>{{ $title }}</option> @endforeach </select> </div> <div class="form-group"> <label>{{ __('backend.commentsStatus') }} : </label> <div class="radio"> <div> <label class="ui-check ui-check-md"> {!! Form::radio('new_comments_status','1',$WebmasterSetting->new_comments_status ? true : false , array('id' => 'new_comments_status1','class'=>'has-value')) !!} <i class="dark-white"></i> {{ __('backend.automaticPublish') }} </label> </div> <div style="margin-top: 5px;"> <label class="ui-check ui-check-md"> {!! Form::radio('new_comments_status','0',$WebmasterSetting->new_comments_status ? false : true , array('id' => 'new_comments_status2','class'=>'has-value')) !!} <i class="dark-white"></i> {{ __('backend.manualByAdmin') }} </label> </div> </div> </div> <div class="form-group"> <label>{{ __('backend.dashboardLink') }} : </label> <div class="radio"> <div> <label class="ui-check ui-check-md"> {!! Form::radio('dashboard_link_status','1',$WebmasterSetting->dashboard_link_status ? true : false , array('id' => 'dashboard_link_status1','class'=>'has-value')) !!} <i class="dark-white"></i> {{ __('backend.active') }} </label> </div> <div style="margin-top: 5px;"> <label class="ui-check ui-check-md"> {!! Form::radio('dashboard_link_status','0',$WebmasterSetting->dashboard_link_status ? false : true , array('id' => 'dashboard_link_status2','class'=>'has-value')) !!} <i class="dark-white"></i> {{ __('backend.notActive') }} </label> </div> </div> </div> </div> </div> </div>