body.ow.whatsapp.base_index_page .ow_header{display:none}
.ow_logo, .ow.base_sign_in .ow_sign_in_wrap h2{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_69.png)}
body.ow.whatsapp.base_sign_in .slide.zoom-out-4-slide.delay-0s{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_41.jpg)}
body.ow.whatsapp.base_sign_in .slide.from-left-4-slide.delay-6s{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_17.jpg)}
body.ow.whatsapp.base_sign_in .slide.from-top-4-slide.delay-12s{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_63.jpg)}
.hero-phone{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_33.png)}
.feature--calls .feature__img{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_34.png)}
.ow_sign_in_wrap{background:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_37.png)}
.ow_sign_in_wrap h2{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_66.png)}
body.ow.whatsapp.base_user_join{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_73.jpg)}
a.ow_logo.ow_center{background-image:url(https://zonavirtuala.net/ow_userfiles/themes/theme_image_2.png)}
<?php
// Asigură-te că acest cod este plasat înainte de orice ieșire de HTML
// Include librăriile necesare dacă nu sunt deja incluse
require_once OW_DIR_LIB . 'path/to/your/includes.php';

// Obține instanța serviciului de utilizator
$userService = BOL_UserService::getInstance();

// Verifică dacă utilizatorul este autentificat
if (OW::getUser()->isAuthenticated()) {
    $currentUser = OW::getUser()->getId();
    // Obține lista de roluri ale utilizatorului
    $roles = OW::getUser()->getRoles($currentUser);
    
    // Verifică dacă utilizatorul este abonat (de exemplu, dacă are rolul 'pro')
    $isSubscriber = false;
    foreach ($roles as $role) {
        if ($role == 'pro') {
            $isSubscriber = true;
            break;
        }
    }
    
    // Dacă utilizatorul nu este abonat, redirecționează-l către pagina de abonare
    if (!$isSubscriber) {
        header('Location: https://zonavirtuala.net/membership/subscribe');
        exit;
    }
} else {
    // Dacă utilizatorul nu este autentificat, poate dorești să-l redirecționezi și pe acesta
    header('Location: https://zonavirtuala.net/membership/subscribe');
    exit;
}
?>















.ow_logo {
    height: 80px;
    width: 80px;
    background-size: contain;
}
.ow_site_panel.clearfix.introjs-fixParent {
    z-index: 1000000 !important;
}




@media (max-width: 1000px){
.ow_dnd_widget.admin-5dc732bae39bd {
    display: none;
}
}
.ow_newsfeed_item_picture img {
    opacity: 1 !important;
}
html body div.floatbox_empty.ow_photoview_overlay a.ow_ic_delete.close:before {
    color: white;
}
.ow_context_action_block.clearfix.ow_photo_context_action {
    margin-right: 15px;
}
body > div.introjs-tooltipReferenceLayer.introjs-fixedTooltip.introjs-fixedTooltip {
    position: fixed;
}
.ow_newsfeed_item[data-entity-type="awards-added"] .ow_newsfeed_features {
    overflow: visible !important;
    display: block !important;
}
.shop_pro .ow_cavatar {
    display: none;
}
.adsense_pro table.ow_table_1.ow_form {
    background-color: white;
}
.adsense_pro table.ow_table_1.ow_form td.ow_label > .clearfix {
    text-align: center;
}
.adsense_pro input.ow_ic_add.ow_positive {
    background-image: none;
    padding: 0px 6px 0px 0px;
}
.adsense_pro a.VerifiedMemberMiniTag h1 {
    margin: 0;
    padding: 8px;
    max-width: -webkit-fill-available !important;
    max-width: -moz-fill-available !important;
}
.adsense_pro table.ow_table_1.ow_form td.ow_label input#save {
    padding: 1px 31px 0px 6px;
}
@media (max-width: 1000px){
.introjs-overlay, .introjs-helperLayer, .introjs-tooltipReferenceLayer, div#tour-start {
    display: none;
}
}
@media (max-width: 773px){
a.ow_logo.ow_left {
    width: 50px;
}
.ow_footer_menu .datagrid {
    display: none;
}
}
@media (max-width: 568px){
body.base_sign_in .ow_page {
    margin: 0;
}
div#photo_edit_form,.CodeMirror {
    width: 100% !important;
}
.adsense_pro .clearfix {
    float: none;
    margin-left: 0 !important;
}
.adsense_pro td.ow_label, .adsense_pro td.ow_value {
    float: left;
    width: 100% !important;
    max-width: 99% !important;
    min-width: 80%;
    text-align: left !important;
}
.adsense_pro td.ow_value input[type="text"] {
    margin-left: 0 !important;
}
}
@media (max-width: 480px){
.ow_console_items_wrap .sitesearch_search_box {
    display: none !important;
}
.console_tooltip.ow_tooltip_top_right.ow_tooltip {
    margin-left: -12px;
}
}
@media (max-width: 380px){
.randomusers .ow_avatar {
    max-width: 31.4% !important;
}
.header_container ul li {
    padding: 10px 0 8px 26px;
}
.console_tooltip.ow_tooltip_top_right.ow_tooltip {
    margin-left: -40px;
}
}
@media (max-width: 360px){
.console_tooltip.ow_tooltip_top_right.ow_tooltip {
    margin-left: -50px;
}
}
@media (max-width: 359px){
.randomusers .ow_avatar {
    max-width: 31.1% !important;
}
.console_tooltip.ow_tooltip_top_right.ow_tooltip {
    margin-left: -100px;
}
.ow_console_lang_item {
    display: none;
}
.adsense_pro .ow_page.ow_bg_color.clearfix {
    padding: 16px 0;
}
.adsense_pro table.ow_table_1.ow_form td.ow_label {
    padding: 0;
}
}


.ow_console_more {
    margin-top: -20px;
}
.ow_wide.ow_automargin .ow_stdmargin.ow_center img {
    width: 100%;
    max-width: 320px;
}
.form_auto_click .ow_submit_auto_click{display:block !important;}



@media (max-width: 992px)  {
.ow_sidebar .ow_dnd_widget.index-BASE_CMP_MyAvatarWidget,
.ow_dnd_widget.index-BASE_CMP_UserListWidget,
.ow_dnd_widget.index-PHOTO_CMP_PhotoListWidget,
.ow_dnd_widget.index-VIDEO_CMP_VideoListWidget,
.ow_dnd_widget.index-BLOGS_CMP_BlogWidget,
.ow_dnd_widget.index-GROUPS_CMP_GroupsWidget,
.ow_dnd_widget.index-EVENT_CMP_UpcomingEvents,
.ow_dnd_widget.dashboard-BASE_CMP_QuickLinksWidget,
.ow_dnd_widget.dashboard-VERIFIEDMEMBERS_CMP_Dashboard,
.ow_dnd_widget.profile-VIDEO_CMP_UserVideoListWidget,
.ow_dnd_widget.profile-PROFILEPROGRESSBAR_CMP_Widget,
.ow_dnd_widget.admin-5d85f71300650,
.ow_dnd_widget.admin-5d737fe2a5d6d,
.ow_dnd_widget.admin-5de965dc1a87d,
.ow_dnd_widget.profile-EVENT_CMP_ProfilePageWidget,
.ow_dnd_widget.profile-SHOPPRO_CMP_IndexWidgetprofile,
.ow_dnd_widget.profile-LINKS_CMP_UserLinksWidget,
.ow_dnd_widget.index-BASE_CMP_AddNewContent,
.ow_dnd_widget.admin-5edd2a00c0ede,
.ow_dnd_widget.admin-5edbea16de1b0,
.ow_dnd_widget.admin-5edfc3f57afde,
.ow_dnd_widget.admin-5edfc41355118,
.ow_dnd_widget.admin-5edfc4539884a,
.ow_dnd_widget.index-LINKS_CMP_LinksWidget,
.ow_dnd_widget.index-QUOTE_CMP_QuoteListWidget,
.ow_dnd_widget.admin-5ef61cf87c8dd,
.ow_dnd_widget.admin-5ef5bc0fd6a0b,
.ow_dnd_widget.admin-5ef53521d2b52,
.ow_dnd_widget.admin-5ef635b70d84d,
.ow_dnd_widget.admin-5ef61c45ec048,
.ow_dnd_widget.dashboard-SWELCOME_CMP_Widgetcontrol,
.ow_dnd_widget.dashboard-VIRTUALBUTLER_CMP_Alfredsuggestion,
.ow_dnd_widget.dashboard-OCSGUESTS_CMP_MyGuestsWidget,
.ow_dnd_widget.admin-5ef523f2ccb76,
.ow_dnd_widget.admin-5edd2989dd658,
.ow_dnd_widget.admin-5ef5365f42a71,
.ow_dnd_widget.admin-5ef5b3ed214ea,
.ow_dnd_widget.admin-5ef623b1f3b51,
.ow_dnd_widget.admin-5ef6237124bb8,
.ow_dnd_widget.admin-5edd29d794970,
.ow_dnd_widget.group-GROUPS_CMP_UserListWidget,
.ow_dnd_widget.group-FORUM_CMP_LatestTopicsWidget,
.ow_dnd_widget.admin-5ef75a5ed9491,
.ow_dnd_widget.admin-5ef6242385bf3,
.ow_dnd_widget.admin-5ef75c235d2ae,
.ow_dnd_widget.admin-5f10e26ad3ef9,
.ow_dnd_widget.admin-5f10e29d723fb,
.ow_dnd_widget.admin-5f156fd9f2590,
.ow_dnd_widget.admin-5f1570223d7c6,
.ow_dnd_widget.admin-5f15705c5d4a4,
.ow_dnd_widget.admin-5f1570a3d1870,
.ow_dnd_widget.admin-5f04fc8f4508d,
.ow_dnd_widget.admin-5f04fe4a9620c,
.ow_dnd_widget.admin-5f04fdc0d4c99,
.ow_dnd_widget.admin-5f04fd23d6072,
.ow_dnd_widget.admin-5f04fdf3c1dc0,

.ow_dnd_widget.group-PHOTOGROUP_CMP_PhotogroupListWidget,

.ow_box_empty.ow_std_margin.clearfix.ow_break_word,
.ow_box_cap_empty,


.ow_ads_cont,
.ow_dnd_widget.profile-GROUPS_CMP_UserGroupsWidget {
    display: none;
}
body.ow.whatsapp.base_index_page .ow_page, body.ow.whatsapp.base_index_page_customize .ow_page {
    margin: 0 0px 0px 0px;
}
}