PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/outtheboxministry.org/themes/sunshine/layout/page-setting/ |
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 IP: 209.182.202.254 |
Dir : /home/trave494/outtheboxministry.org/themes/sunshine/layout/page-setting/privileges.phtml |
<div class="wo_settings_page sun_sett_page"> <h3><?php echo $wo['lang']['privileges'];?></h3> <form class="setting-general-form form-horizontal" method="post"> <div class="setting-general-alert setting-update-alert"></div> <div class="setting-panel row"> <?php $selected_e_settings = ($wo['admin_info']['general'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="general" id="general" value="1" <?php echo $selected_e_settings; ?>> <label for="general"><?php echo $wo['lang']['access_to_general_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['info'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="info" id="info" value="1" <?php echo $selected_e_settings; ?>> <label for="info"><?php echo $wo['lang']['access_to_info_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['social'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="social" id="social" value="1" <?php echo $selected_e_settings; ?>> <label for="social"><?php echo $wo['lang']['access_to_social_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['avatar'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="avatar" id="avatar" value="1" <?php echo $selected_e_settings; ?>> <label for="avatar"><?php echo $wo['lang']['access_to_avatar_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['design'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="design" id="design" value="1" <?php echo $selected_e_settings; ?>> <label for="design"><?php echo $wo['lang']['access_to_design_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['admins'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="admins" id="admins" value="1" <?php echo $selected_e_settings; ?>> <label for="admins"><?php echo $wo['lang']['access_to_admins_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['analytics'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="analytics" id="analytics" value="1" <?php echo $selected_e_settings; ?>> <label for="analytics"><?php echo $wo['lang']['access_to_analytics_settings']; ?></label> </div> <?php $selected_e_settings = ($wo['admin_info']['delete_page'] == 1) ? ' checked' : ''; ?> <div class="col-md-12 round-check"> <input type="checkbox" name="delete_page" id="delete_page" value="1" <?php echo $selected_e_settings; ?>> <label for="delete_page"><?php echo $wo['lang']['access_to_delete_page_settings']; ?></label> </div> </div> <div class="form-group last-sett-btn modal-footer"> <div class="ball-pulse"><div></div><div></div><div></div></div> <button type="submit" class="btn btn-main setting-panel-mdbtn"><?php echo $wo['lang']['save']; ?></button> </div> <input type="hidden" name="page_id" value="<?php echo $wo['setting']['page_id'];?>"> <input type="hidden" name="user_id" value="<?php echo $wo['admin_info']['user_id'];?>"> <input type="hidden" name="hash_id" value="<?php echo Wo_CreateSession();?>"> </form> </div> <script type="text/javascript"> $(function() { $('form.setting-general-form').ajaxForm({ url: Wo_Ajax_Requests_File() + '?f=pages&s=privileges', beforeSend: function() { $('.setting-general-form').find('.add_wow_loader').addClass('btn-loading'); }, success: function(data) { scrollToTop(); if (data.status == 200) { $('.setting-general-alert').html('<div class="alert alert-success">' + data.message + '</div>'); $('.alert-success').fadeIn('fast', function() { $(this).delay(2500).slideUp(500, function() { $(this).remove(); }); }); } else { var errors = data.errors.join("<br>"); $('.setting-general-alert').html('<div class="alert alert-danger">' + errors + '</div>'); $('.alert-danger').fadeIn(300); } $('.setting-general-form').find('.add_wow_loader').removeClass('btn-loading'); } }); }); </script>