<?php defined('ABSPATH') || die('Cheatin\' uh?'); 

echo '<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />';?>
<link rel="stylesheet" href="<?php echo _STRB_THEME_URL_ . 'photoBlogger/style.css'?>" >
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet">

<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">

<div class="frontend-wrapper">
<div class="scale-wrapper">
<div class="squirrly-strb-main-container">
    <div class="squirrly-strb-background-img">
        <img class="squirrly-strb-background-image" style="margin:auto;filter:opacity(<?php $STB_user_theme->echoData("opacity")?>%) grayscale(<?php $STB_user_theme->echoData("grayscale")?>%) brightness(<?php $STB_user_theme->echoData("brightness")?>%) saturate(<?php $STB_user_theme->echoData("saturation")?>)" style="filter:grayscale('.get_user_meta($id,'strb_grayscale',true).'%) brightness('.get_user_meta($id,'strb_brightness',true).'%) opacity('.get_user_meta($id,'strb_opacity',true).'%) saturate('.get_user_meta($id,'strb_saturation',true).')" src="<?php echo $backgroundImg; ?>">
    </div>
    
    <div class="squirrly-strb-innerContainer" style="height:120px;top:35%;width:100%;margin-top:<?php $STB_user_theme->echoData("pnl_up")?>px;margin-left:<?php $STB_user_theme->echoData("pnl_left")?>px;">
        <div class="squirrly-strb-pnl-color  edit-clr" style="box-shadow:0 0 10px <?php $STB_user_theme->echoData("brd_color") ?>; background-color:<?php $STB_user_theme->echoData("pnl_color") ?>;opacity:0.<?php $STB_user_theme->echoData("pnl_opacity")?>;border-radius:0px;"></div>
        
        <div class="squirrly-strb-data" style="width:100%;margin-top:-12px;">

            <div class="squirrly-strb-social-wrap-dinamic" style="width:180px;left:-5px;top:22px;display:flex;justify-content: flex-end;flex-wrap:wrap;">    
                <?php if($STB_user_data->getData("facebook")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("facebook").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-facebook squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>
                <?php if($STB_user_data->getData("linked")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("linked").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-linkedin squirrly-strb-item social-item"></i></a>
                      </div>';
                }?>      
                <?php if($STB_user_data->getData("insta")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("insta").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-instagram squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>     
                <?php if($STB_user_data->getData("twitter")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("twitter").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-twitter squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>  
                <?php if($STB_user_data->getData("tok")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("tok").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-tiktok squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>  
                <?php if($STB_user_data->getData("youtube")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("youtube").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-youtube squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>     
                <?php if($STB_user_data->getData("pin")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("pin").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-pinterest squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>     
                <?php if($STB_user_data->getData("git")!=null){
                  echo'<div>
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'" href="'.$STB_user_data->getData("git").'" target=”_blank" ><i style="color:white;" class="fa-brands fa-github squirrly-strb-item social-item-black"></i></a>
                      </div>';
                }?>     
                           
               
            </div> 

            <?php if($STB_user_data->getData("img")!="empty"){
            echo ' 
            <div class="squirrly-strb-user-img" style="width:70px;height:70px;">
                <img class="hello" style="margin:auto;width:100%;height:100%;" src="'.$STB_user_data->getData("img") .'" />
            </div>';} ?>

            <div style="width:40%;position:relative;right:-5px;height:60px;justify-content: space-between;" class="squirrly-strb-headder" >
                <div class="strb-name" style="color:white;font-size:26px;margin-top:-4px;display:flex;align-items:center;"><?php echo get_user_meta($user_id,"first_name",true);?><span style="font-size:26px;margin-left:5px;text-transform:capitalize;"><?php echo get_user_meta($user_id,"last_name",true); ?></div>
                <div class="strb-job" style="color:white;font-size:18px;margin-top:-5px;"><?php $STB_user_data->echoData("companyslug")?><span style="font-size:19px;font-family:'Roboto';font-weight:600;text-transform: capitalize;color:white;"><?php $STB_user_data->echoData("job"); ?></span></div>
            </div>
        
      
        </div>
    </div>
</div>
</div>
</div>