PK œqhYî¶J‚ßF ßF ) nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/
Dir : /home/trave494/outtheboxministry.org/themes/g/wowonder/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/g/wowonder/layout/page-setting/admins.phtml |
<div class="wow_content wow_sett_content profile-lists"> <div class="wo_page_hdng pag_neg_padd"> <div class="wo_page_hdng_innr"> <span><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="currentColor" d="M22.7,19L13.6,9.9C14.5,7.6 14,4.9 12.1,3C10.1,1 7.1,0.6 4.7,1.7L9,6L6,9L1.6,4.7C0.4,7.1 0.9,10.1 2.9,12.1C4.8,14 7.5,14.5 9.8,13.6L18.9,22.7C19.3,23.1 19.9,23.1 20.3,22.7L22.6,20.4C23.1,20 23.1,19.3 22.7,19Z"></path></svg></span> <?php echo $wo['lang']['admin'];?> <input type="text" placeholder="<?php echo $wo['lang']['search']; ?>.." class='form-control' id='search-page-admins' onkeydown="Wo_SearchPageAdminUsers(this.value)"> </div> </div> <div class="setting-well" id="page_admins"> <?php $requests = Wo_GetPageAdmins($wo['setting']['page_id']); if (count($requests) > 0) { foreach ($requests as $wo['member']) { $wo['member']['page_name'] = $wo['setting']['page_name']; echo Wo_LoadPage('page-setting/admin-list'); } } else { echo '<div class="empty_state"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M16 17V19H2V17S2 13 9 13 16 17 16 17M12.5 7.5A3.5 3.5 0 1 0 9 11A3.5 3.5 0 0 0 12.5 7.5M15.94 13A5.32 5.32 0 0 1 18 17V19H22V17S22 13.37 15.94 13M15 4A3.39 3.39 0 0 0 13.07 4.59A5 5 0 0 1 13.07 10.41A3.39 3.39 0 0 0 15 11A3.5 3.5 0 0 0 15 4Z" /></svg>' . $wo['lang']['no_members_found'] . '</div>'; } ?> </div> </div> <style>#search-page-admins{margin-bottom: -2px;width:60%;border: 1px solid #ebeaea;border-radius: 2px;padding-left: 10px;height: 30px;margin-top: -4px;margin-left: auto;}</style> <script> function Wo_SearchPageAdminUsers(name = '') { if (!name) { return false; } $.ajax({ url: Wo_Ajax_Requests_File(), type: 'GET', dataType: 'json', data: {f: 'pages',s:'get_mbr',name:name,page:'<?php echo $wo['setting']['page_id']; ?>'}, }) .done(function(data) { if (data.status == 200) { $("#page_admins").html(data.html) } else{ $("#page_admins").html('<h5 class="search-filter-center-text"><?php echo $wo['lang']['no_result']; ?></h5>'); } }) .fail(function() { console.log("error"); }) } function Wo_AddPageAdmin(member_id = false,page_id = false,self = false){ if (!member_id || !page_id || !self) { return false; } $.ajax({ url: Wo_Ajax_Requests_File(), type: 'GET', dataType: 'json', data: {f: 'pages',s:'add_admin',user_id:member_id,page_id:page_id}, }) .done(function(data) { if (data.status == 200 && data.code == 1) { $(self).find('i').replaceWith('<i class="fa fa-times-circle-o"></i>'); $('#privileges_admin_page_'+member_id).slideDown(); } else if(data.status == 200 && data.code == 0){ $(self).find('i').replaceWith('<i class="fa fa-plus-square-o"></i>'); $('#privileges_admin_page_'+member_id).slideUp(); } }) .fail(function() { console.log("error"); }) } </script>