<?php 
    global $syrus, $syrusActions; 
    $tab_function = isset($_GET['tab']) ? "tab_" . str_replace('-','_',$_GET['tab']) : 'tab_menu'; 
    
    if($_GET['page'] == "syrus-theme-ai-page")
        $tab_function = "tab_syrus_ai";

    if($_GET['page'] == "syrus-theme-tools-page")
        $tab_function = "tab_syrus_tools";
    ?>
<link rel="stylesheet" href="<?php echo SYRUS_THEME_URI ?>/css/fontawesome-all.min.css" />

<div class="container-fluid mt-3">
    <div class="row">
        <div class="col-2 text-center">
            <?php include_once $syrus->get_template_parts_admin('layouts/sidebar') ?> 
        </div>
        <div class="col-10">
            <?php call_user_func([$syrusActions,$tab_function]); ?> 
        </div>
    </div>
</div>
