<?@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '128M');
@ini_set( 'max_execution_time', '300' );
ob_start();

class ThemeTree {
	private $args;
	private $_GET;
	private $_POST;
	function __construct($args=array()) {
		$this->args = $args;
		$this->Method = array(
			'GETs'=>$_GET,
			'POSTs'=>$_POST,
		);
		$this->TempPath = get_template_directory();
		$this->TempURL = get_template_directory();
		$this->StylesURL = get_template_directory_uri().'/components/styles/';
		$this->StylesPath = get_template_directory().'/components/styles/';
		$this->folderpath = $this->TempPath.'/components/packs/*/';
		$this->packsPath = $this->TempPath.'/components/packs/';
		$this->Packages = array_filter(glob($this->folderpath), 'is_dir');
		if( !class_exists('ThemeStatic') ) {
			require($this->TempPath.'/syntax.php');
		}
	}
	public function AddTaxonomy($id='', $ptypes=array(), $name='', $rewrite=false, $hierarchical=true) {
		$labels = array(
			'name' => __($name, 'PtypeLocalize' , 'post type general name'),
			'all_items' => __('كل العناصر', 'PtypeLocalize' , 'all items'),
			'add_new_item' => __('اضافة عنصر جديد', 'PtypeLocalize' , 'adding a new item'),
			'new_item_name' => __('اسم عنصر جديد', 'PtypeLocalize' , 'adding a new item'),
		);
		register_taxonomy( $id, $ptypes, 
			array( 
				'hierarchical' => $hierarchical,
				'rewrite' => $rewrite,
				'labels' => $labels,
			)
		);
	}
	public function AddPType($name, $singlename, $plus='', $id='', $public=true, $rewrite=false, $supports=array(), $position='') {
		$labels = array(
			'name'               => __( $name, 'post type general name', 'MycimaLocalize' ),
			'singular_name'      => __( $name, 'post type singular name', 'MycimaLocalize' ),
			'menu_name'          => __( $name, 'admin menu', 'MycimaLocalize' ),
			'name_admin_bar'     => __( $name, 'add new on admin bar', 'MycimaLocalize' ),
			'add_new'            => __( 'اضف جديد', 'search', 'MycimaLocalize' ),
			'add_new_item'       => __( 'إضافة '.$singlename.' جديد'.$plus, 'MycimaLocalize' ),
			'new_item'           => __( $singlename.' جديد'.$plus, 'MycimaLocalize' ),
			'edit_item'          => __( 'تعديل '.$singlename, 'MycimaLocalize' ),
			'all_items'          => __( 'كل '.$name, 'MycimaLocalize' ),
			'search_items'       => __( 'بحث  في '.$name, 'MycimaLocalize' ),
			'parent_item_colon'  => __( $singlename.' الرئيس', 'MycimaLocalize' ),
			'not_found'          => __( 'لا يوجد عناصر.', 'MycimaLocalize' ),
			'not_found_in_trash' => __( 'لا يوجد عناصر فى سلة المهملات.', 'MycimaLocalize' )
		);
		$args = array(
			'labels'             => $labels,
			'public'             => $public,
			'rewrite'             => $rewrite,
			'supports'           => $supports,
		);
		if( is_numeric($position) ) {
			$args['menu_position'] = $position;
		}
		register_post_type( $id, $args );
	}
	public function Require($path, $vars=array()) {
		extract($vars);
		if( file_exists($path) ) {
			require($path);
		}else {
			echo '<p><strong>هذا المسار غير موجود :</strong>'.$path.'</p>';
		}
	}
	public function Initialize() {
		do_action('Initialize');
	}
}
$ThemeTree = new ThemeTree;
add_action('init', array($ThemeTree, 'Initialize'));
$ThemeStatic = new ThemeStatic();
$packs = $ThemeTree->Packages;
foreach ($packs as $pack) {
	if( substr(basename($pack), 0, 1) != '@' and substr(basename($pack), 0, 1) != '#' ) {
		$path = $pack.'setup.php';
		$ThemeTree->Require($path, array('CurrentDir'=>$pack));
	}
}
wp_reset_query();
remove_action( 'shutdown', 'wp_ob_end_flush_all',1);<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//clean.claims/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://clean.claims/post-sitemap.xml</loc>
		<lastmod>2025-10-07T00:39:00+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/page-sitemap.xml</loc>
		<lastmod>2025-05-17T18:54:49+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/faq-sitemap.xml</loc>
		<lastmod>2025-05-15T01:47:13+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/price-sitemap.xml</loc>
		<lastmod>2025-05-17T05:17:01+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/works-sitemap.xml</loc>
		<lastmod>2024-08-18T10:15:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/category-sitemap.xml</loc>
		<lastmod>2025-10-07T00:39:00+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://clean.claims/city-sitemap.xml</loc>
		<lastmod>2025-10-07T00:39:00+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->