<div class="main-title mb-25">
<div class="main-title mb-25">
<h3 class="mb-0"><?php echo e(__('setting.General')); ?></h3>
</div>
<?php if(permissionCheck('settings.general_setting_update')): ?>
<form action="" id="form_data_id" method="POST" enctype="multipart/form-data">
<?php endif; ?>
<?php echo csrf_field(); ?>
<div class="General_system_wrap_area">
<div class="single_system_wrap">
<div class="single_system_wrap_inner text-center">
<div class="logo">
<span><?php echo e(__('setting.Header Logo')); ?> <small>(SVG is not support for PWA) </small></span>
</div>
<div class="logo_img">
<img class="imagePreview1" src="<?php echo e(getCourseImage(Settings('logo'))); ?>"
style="width: 200px;max-width: 100%; height: auto;" alt="">
</div>
<div class="update_logo_btn">
<button class="primary-btn small fix-gr-bg" type="button">
<input class="imgInput1" placeholder="Upload Header Logo" type="file" name="site_logo"
id="site_logo">
<?php echo e(__('setting.Upload Header Logo')); ?>
</button>
</div>
<a href="#" class="remove_logo"><?php echo e(__('setting.Remove')); ?></a>
</div>
<div class="single_system_wrap_inner text-center">
<div class="logo">
<span><?php echo e(__('setting.Footer Logo')); ?></span>
</div>
<div class="logo_img">
<img class="imagePreview2" src="<?php echo e(getCourseImage(Settings('logo2'))); ?>"
style="width: 200px;max-width: 100% ;height: auto;" alt="">
<br>
</div>
<div class="update_logo_btn">
<button class="primary-btn small fix-gr-bg" type="button">
<input class="imgInput2" placeholder="Upload Footer Logo" type="file" name="site_logo2"
id="site_logo2">
<?php echo e(__('setting.Upload Footer Logo')); ?>
</button>
</div>
<a href="#" class="remove_logo"><?php echo e(__('setting.Remove')); ?></a>
</div>
<div class="single_system_wrap_inner text-center">
<div class="logo">
<span><?php echo e(__('setting.Fav Icon')); ?></span>
</div>
<div class="logo_img">
<img class="imagePreview3" src="<?php echo e(getCourseImage(Settings('favicon'))); ?>" alt=""
style="max-width: 100%">
</div>
<div class="update_logo_btn">
<button class="primary-btn small fix-gr-bg" type="button">
<input class="imgInput3" placeholder="Upload Header Logo" type="file"
name="favicon_logo"
id="favicon_logo">
<?php echo e(__('setting.Upload Fav Icon')); ?>
</button>
</div>
<a href="#" class="remove_logo"><?php echo e(__('setting.Remove')); ?></a>
</div>
</div>
<div class="single_system_wrap">
<div class="row">
<div class="col-xl-12">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('setting.Site Title')); ?></label>
<input class="primary_input_field" placeholder="Infix CRM" type="text" id="site_title"
name="site_title" value="<?php echo e(Settings('site_title')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('common.Email')); ?></label>
<input class="primary_input_field" placeholder="demo@infix.com" type="email" id="email"
name="email" value="<?php echo e(Settings('email')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('common.Phone')); ?></label>
<input class="primary_input_field" placeholder="-" type="text" id="phone" name="phone"
value="<?php echo e(Settings('phone')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('common.Country')); ?></label>
<select class="primary_select mb-25" name="country_id" id="country_id">
<?php $__currentLoopData = $countries; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $country): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($country->id); ?>"
<?php if(Settings('country_id') == $country->id): ?> selected <?php endif; ?>><?php echo e($country->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('common.Zip Code')); ?></label>
<input class="primary_input_field" placeholder="-" type="text" id="zip_code"
name="zip_code" value="<?php echo e(Settings('zip_code')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('setting.System Default Language')); ?></label>
<select class="primary_select mb-25" name="language_id" id="language_id">
<?php $__currentLoopData = $languages; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($language->id); ?>"
<?php if(Settings('language_code') == $language->code): ?> selected <?php endif; ?>><?php echo e($language->name); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('setting.Date Format')); ?></label>
<select class="primary_select mb-25" name="date_format_id" id="date_format_id">
<?php $__currentLoopData = $date_formats; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $dateFormat): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($dateFormat->id); ?>"
<?php if(Settings('date_format_id') == $dateFormat->id): ?> selected <?php endif; ?>><?php echo e($dateFormat->normal_view); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('setting.System Default Currency')); ?></label>
<select class="primary_select mb-25" name="currency_id" id="currency_id">
<?php $__currentLoopData = $currencies; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $currency): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($currency->id); ?>"
<?php if(Settings('currency_id') == $currency->id): ?> selected <?php endif; ?>><?php echo e($currency->name); ?>
- <?php echo e($currency->code); ?>
(<?php echo e($currency->symbol); ?>)
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="currency_show"><?php echo e(__('setting.Currency Show At')); ?></label>
<select class="primary_select mb-25" name="currency_show" id="currency_show">
<option value="1"
<?php if(Settings('currency_show') == 1): ?> selected <?php endif; ?>> <?php echo e(__('setting.Left')); ?>
</option>
<option value="2"
<?php if(Settings('currency_show') == 2): ?> selected <?php endif; ?>> <?php echo e(__('setting.Left With Space')); ?>
</option>
<option value="3"
<?php if(Settings('currency_show') == 3): ?> selected <?php endif; ?>> <?php echo e(__('setting.Right')); ?>
</option>
<option value="4"
<?php if(Settings('currency_show') == 4): ?> selected <?php endif; ?>> <?php echo e(__('setting.Right With Space')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for=""><?php echo e(__('setting.Time Zone')); ?></label>
<select class="primary_select mb-25" name="time_zone_id" id="time_zone_id">
<?php $__currentLoopData = $timeZones; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $timeZone): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option value="<?php echo e($timeZone->id); ?>"
<?php if(Settings('time_zone_id') == $timeZone->id): ?> selected <?php endif; ?>><?php echo e($timeZone->time_zone); ?></option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('setting.Public Student Registration')); ?></label>
<select class="primary_select mb-25" name="student_reg" id="student_reg">
<option value="1"
<?php if(Settings('student_reg') == 1): ?> selected <?php endif; ?>><?php echo e(__('common.Enable')); ?></option>
<option value="0"
<?php if(Settings('student_reg') == 0): ?> selected <?php endif; ?>><?php echo e(__('common.Disable')); ?></option>
</select>
</div>
</div>
<?php if(isModuleActive('Org')): ?>
<div class="col-xl-6 org_branch_div">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('org.Select Default Branch For Register')); ?></label>
<select class="primary_select mb-25" name="org_student_default_branch">
<option value=""><?php echo e(__('org.Select Default Branch')); ?></option>
<?php $__currentLoopData = $branches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $branch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option
<?php echo e($branch->code == Settings('org_student_default_branch')?'selected':''); ?> value="<?php echo e($branch->code); ?>">
<?php echo e($branch->group); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<?php endif; ?>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('setting.Public Instructor Registration')); ?></label>
<select class="primary_select mb-25" name="instructor_reg" id="instructor_reg">
<option value="1"
<?php if(Settings('instructor_reg') == 1): ?> selected <?php endif; ?>><?php echo e(__('common.Enable')); ?></option>
<option value="0"
<?php if(Settings('instructor_reg') == 0): ?> selected <?php endif; ?>><?php echo e(__('common.Disable')); ?></option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="currency_conversion"><?php echo e(__('setting.Currency Conversion')); ?></label>
<select class="primary_select mb-25" name="currency_conversion"
id="currency_conversion">
<option value="Fixer"
<?php if(Settings('currency_conversion') == 'Fixer'): ?> selected <?php endif; ?>>Fixer
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label" for="address"><?php echo e(__('common.Address')); ?></label>
<input class="primary_input_field" placeholder="-" type="text" id="address"
name="address" value="<?php echo e(Settings('address')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="currency_conversion"><?php echo e(__('setting.Students Active Device Limit')); ?></label>
<select class="primary_select mb-25" name="device_limit"
id="currency_conversion">
<option value="0"
<?php if(Settings('device_limit') == 0): ?> selected <?php endif; ?>>Unlimited
</option>
<?php for($i=1;$i<=20;$i++): ?>
<option value="<?php echo e($i); ?>"
<?php if(Settings('device_limit') == $i): ?> selected <?php endif; ?>><?php echo e($i); ?>
</option>
<?php endfor; ?>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="device_limit_time"><?php echo e(__('setting.Inactive Logout Time')); ?>
<small>(<?php echo e(__('setting.In Minute')); ?>)</small>
</label>
<input class="primary_input_field" placeholder="0 means Unlimited" type="number" min="0"
id="device_limit_time"
name="device_limit_time" value="<?php echo e(Settings('device_limit_time')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="google_analytics"><?php echo e(__('setting.Google Analytics')); ?> <small>(example:G-5S6YDGEDS3/UA-198163311-1)</small></label>
<input class="primary_input_field" placeholder="-" type="text" id="google_analytics"
name="google_analytics" value="<?php echo e(Settings('google_analytics')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="category_show"><?php echo e(__('setting.Category Show In Frontend')); ?> </label>
<select class="primary_select mb-25" name="category_show"
id="category_show">
<option value="1"
<?php if(Settings('category_show') == 1): ?> selected <?php endif; ?>><?php echo e(__('common.Show')); ?>
</option>
<option value="0"
<?php if(Settings('category_show') == 0): ?> selected <?php endif; ?>><?php echo e(__('common.Hide')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="google_analytics"><?php echo e(__('setting.Hide Footer From Mobile')); ?> </label>
<select class="primary_select mb-25" name="footer_show"
id="currency_conversion">
<option value="1"
<?php if(Settings('footer_show') == 1): ?> selected <?php endif; ?>><?php echo e(__('common.Show')); ?>
</option>
<option value="0"
<?php if(Settings('footer_show') == 0): ?> selected <?php endif; ?>><?php echo e(__('common.Hide')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="show_cart"><?php echo e(__('setting.Show Cart In Frontend')); ?> </label>
<select class="primary_select mb-25" name="show_cart"
id="show_cart">
<option value="1"
<?php if(Settings('show_cart') == 1): ?> selected <?php endif; ?>><?php echo e(__('common.Show')); ?>
</option>
<option value="0"
<?php if(Settings('show_cart') == 0): ?> selected <?php endif; ?>><?php echo e(__('common.Hide')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="facebook_pixel"><?php echo e(__('setting.Facebook Pixel ID')); ?> </label>
<input class="primary_input_field" placeholder="-" type="text" id="facebook_pixel"
name="facebook_pixel" value="<?php echo e(Settings('facebook_pixel')); ?>">
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="student_dashboard_card_view"><?php echo e(__('setting.Student Dashboard Info In Card View')); ?> </label>
<select class="primary_select mb-25" name="student_dashboard_card_view"
id="student_dashboard_card_view">
<option value="1"
<?php if(Settings('student_dashboard_card_view') == 1): ?> selected <?php endif; ?>> <?php echo e(__('common.Yes')); ?>
</option>
<option value="0"
<?php if(Settings('student_dashboard_card_view') == 0): ?> selected <?php endif; ?>> <?php echo e(__('common.No')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="hide_ecommerce"><?php echo e(__('setting.Hide Ecommerce')); ?> </label>
<select class="primary_select mb-25" name="hide_ecommerce"
id="hide_ecommerce">
<option value="0"
<?php if(Settings('hide_ecommerce') == 0): ?> selected <?php endif; ?>> <?php echo e(__('common.No')); ?>
</option>
<option value="1"
<?php if(Settings('hide_ecommerce') == 1): ?> selected <?php endif; ?>> <?php echo e(__('common.Yes')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="hide_blog_comment"><?php echo e(__('setting.Hide Blog Comment')); ?> </label>
<select class="primary_select mb-25" name="hide_blog_comment"
id="hide_blog_comment">
<option value="0"
<?php if(Settings('hide_blog_comment') == 0): ?> selected <?php endif; ?>> <?php echo e(__('common.No')); ?>
</option>
<option value="1"
<?php if(Settings('hide_blog_comment') == 1): ?> selected <?php endif; ?>> <?php echo e(__('common.Yes')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="hide_social_share_btn"><?php echo e(__('setting.Hide Social Share Button')); ?> </label>
<select class="primary_select mb-25" name="hide_social_share_btn"
id="hide_social_share_btn">
<option value="0"
<?php if(Settings('hide_social_share_btn') == 0): ?> selected <?php endif; ?>> <?php echo e(__('common.No')); ?>
</option>
<option value="1"
<?php if(Settings('hide_social_share_btn') == 1): ?> selected <?php endif; ?>> <?php echo e(__('common.Yes')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="start_site"><?php echo e(__('setting.Starting site')); ?> </label>
<select class="primary_select mb-25" name="start_site"
id="start_site">
<option value="loginpage"
<?php if(Settings('start_site') == 'loginpage'): ?> selected <?php endif; ?>> <?php echo e(__('setting.Login Page')); ?>
</option>
<option value="homepage"
<?php if(Settings('start_site') == 'homepage'): ?> selected <?php endif; ?>> <?php echo e(__('setting.Home Page')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="navigate_user_after_login"><?php echo e(__('setting.Navigate User After Login')); ?> </label>
<select class="primary_select mb-25" name="navigate_user_after_login"
id="navigate_user_after_login">
<option value="dashboard"
<?php if(Settings('navigate_user_after_login') == 'dashboard'): ?> selected <?php endif; ?>>
<?php echo e(__('common.Dashboard')); ?>
</option>
<option value="homepage"
<?php if(Settings('navigate_user_after_login') == 'homepage'): ?> selected <?php endif; ?>> <?php echo e(__('setting.Home Page')); ?>
</option>
</select>
</div>
</div>
<?php if(isModuleActive('Org')): ?>
<div class="col-xl-6">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="customize_org_chart_branch_navigate"><?php echo e(__('org.Navigate after login for special Org chart branch')); ?> </label>
<select class="primary_select mb-25" name="customize_org_chart_branch_navigate"
id="customize_org_chart_branch_navigate">
<option value="0"
<?php if(Settings('customize_org_chart_branch_navigate') == '0'): ?> selected <?php endif; ?>> <?php echo e(__('common.No')); ?>
</option>
<option value="1"
<?php if(Settings('customize_org_chart_branch_navigate') == '1'): ?> selected <?php endif; ?>> <?php echo e(__('common.Yes')); ?>
</option>
</select>
</div>
</div>
<div class="col-xl-6 org_branch_special_div">
<div class="primary_input mb-25">
<label class="primary_input_label"
for=""><?php echo e(__('org.Select special Org Chart branch')); ?></label>
<select class="primary_select mb-25" name="org_student_special_branch">
<option value=""><?php echo e(__('org.Select special Org Chart branch')); ?></option>
<?php $__currentLoopData = $branches; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $branch): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
<option
<?php echo e($branch->code == Settings('org_student_special_branch')?'selected':''); ?> value="<?php echo e($branch->code); ?>">
<?php echo e($branch->group); ?>
</option>
<?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
</select>
</div>
</div>
<div class="col-xl-6 org_branch_special_div">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="navigate_user_after_login"><?php echo e(__('org.Navigate special branch After Login')); ?> </label>
<select class="primary_select mb-25" name="navigate_special_branch_after_login"
id="navigate_special_branch_after_login">
<option value="homepage"
<?php if(Settings('navigate_special_branch_after_login') == 'homepage'): ?> selected <?php endif; ?>> <?php echo e(__('setting.Home Page')); ?>
</option>
<option value="dashboard"
<?php if(Settings('navigate_special_branch_after_login') == 'dashboard'): ?> selected <?php endif; ?>>
<?php echo e(__('common.Dashboard')); ?>
</option>
</select>
</div>
</div>
<?php endif; ?>
<div class="col-xl-12">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="company_info"><?php echo e(__('setting.Company Information')); ?> </label>
<textarea class="primary_textarea" placeholder="Company Info" id="company_info"
cols="30" rows="10"
name="company_info"><?php echo e(Settings('company_info')); ?></textarea>
</div>
</div>
<div class="col-xl-12">
<div class="primary_input mb-25">
<label class="primary_input_label"
for="copyright_text"><?php echo e(__('setting.Backend')); ?> <?php echo e(__('setting.Copyright Text')); ?></label>
<input class="primary_input_field" placeholder="-" type="text" id="copyright_text"
name="copyright_text" value="<?php echo e(Settings('copyright_text')); ?>">
</div>
</div>
</div>
</div>
</div>
<?php
$tooltip = "";
if(permissionCheck('settings.general_setting_update')){
$tooltip = "";
}else{
$tooltip = "You have no permission to add";
}
?>
<div class="submit_btn text-center mt-4">
<button class="primary_btn_large" type="submit" data-toggle="tooltip" title="<?php echo e($tooltip); ?>"
id="general_info_sbmt_btn"><i class="ti-check"></i> <?php echo e(__('common.Save')); ?></button>
</div>
</form>
</div>
</div>
<?php /**PATH /home/bouloter/infix/Modules/Setting/Resources/views/page_components/general_settings.blade.php ENDPATH**/ ?>