public function render_view($page, $title, $theme_num) { $data = ['route_info' => \sr::siteTests($page), 'theme' => $this->themes[$theme_num]]; // err($data); // $data= (in_array($page, array_keys($api_arr))) ? $api_arr[$page] : $api_arr['default']; return $this->get_view('SiteTests.' . $page, $data); }
<?php $index = ["img" => get_thumb($page_img), "title" => "Testing & underConstruction!", "desc" => "Just Testing & Documentating Some Of the APIs & ideas that iam working on.", "desc2" => "", "itiration" => sr::siteTests()]; ?> @include(get_location("index"))