<?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 href="https://fonts.googleapis.com/css?family=Gothic+A1" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Source+Sans" 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;height:500px;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")?>)"  src="<?php echo $backgroundImg; ?>">
    </div>
   
        <div class="squirrly-strb-innerContainer" style="width:300px;height:213px;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="border-radius:0px;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")?>;"></div>

        <div class="squirrly-strb-data" style="min-width:250px;margin-top:5px;">
          
        <?php if($STB_user_data->getData("img")!="empty"){
            echo ' 
            <div class="squirrly-strb-user-img" style="margin-left:6px;width:70px;height:70px;">
                  <img style="height:100%;width:100%;margin:auto;" src="'.$STB_user_data->getData("img") .'" />
            </div>';} ?>
      
            <div class="" style="width:220px;">
                <div class="strb-name" style="font-family:'Gothic A1';font-size:24px;font-weight:600;overflow:hidden;display: flex;align-items: center;"><?php echo get_user_meta($user_id,"first_name",true);?><span style="font-size:24px;margin-left:5px;text-transform:capitalize;"><?php echo get_user_meta($user_id,"last_name",true); ?></div>
                <div class="strb-job" style="font-size:19px;"><?php $STB_user_data->echoData("companyslug")?><span style="font-family:'Source Sans';font-weight:600;text-transform: capitalize;font-size:20px;"><?php $STB_user_data->echoData("job"); ?></span></div>
            </div> 
            
        </div>    

        <div class="" style="line-height:16px;font-size:12px;color:white;z-index:20;margin-right:25px;width:250px;max-height:190px;overflow:hidden;margin-top:10px;">
            <?php echo get_user_meta($user_id,"description",true); ?> 
        </div>
            
        <div class="squirrly-strb-social-wrap-dinamic" style="width:85%;margin-left:65px;margin-top:19px;">
            <?php if($STB_user_data->getData("facebook")!=null){
                  echo'<div class="squirrly-strb-item-social item-two" style="background-color:#4267b2;">
                        <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  class="fa-brands fa-facebook"></i></a>
                      </div>';
            }?>
             <?php if($STB_user_data->getData("linked")!=null){
                  echo'<div class="squirrly-strb-item-social item-two" style="background-color:#0077B5">
                        <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 class="fa-brands fa-linkedin"></i></a>
                  </div>';
            }?>
            <?php if($STB_user_data->getData("twitter")!=null){
                  echo'<div class="squirrly-strb-item-social item-two" style="background-color:#1da1f2;" >
                        <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 class="fa-brands fa-twitter"></i></a>
                       </div>';
            }?>
            <?php if($STB_user_data->getData("git")!=null){
                  echo' <div class="squirrly-strb-item-social item-two" style="background-color:black;">
                        <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 class="fa-brands fa-github"></i></a>
                        </div>';
            }?>
            <?php if($STB_user_data->getData("insta")!=null){
                  echo'<div class="squirrly-strb-item-social item-two" style="background-color:#e1306c;">
                        <a rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'"  href="'. $STB_user_data->getData("instagram").'" target=”_blank"><i class="fa-brands fa-instagram"></i></a>
                       </div>';
            }?>
            <?php if($STB_user_data->getData("youtube")!=null){
                  echo' <div class="squirrly-strb-item-social item-two" style="background-color:red;">
                        <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 class="fa-brands fa-youtube"></i></a>
                        </div>';
            }?>
            <?php if($STB_user_data->getData("pin")!=null){
                  echo' <div class="squirrly-strb-item-social item-two" style="background-color:red;">
                        <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 class="fa-brands fa-pinterest"></i></a>
                        </div>';
            }?>
            <?php if($STB_user_data->getData("email")!=null){
                  echo' <div class="squirrly-strb-item-social item-two" style="background-color:#1da1f2;">
                        <a  rel="'. $STB_user_data->getData("nofollow").' '. $STB_user_data->getData("noopener").' '. $STB_user_data->getData("noreferrer").'"  href="'.$STB_user_data->getData("email").'" target=”_blank"><i class="fa-brands fa-google"></i></a>
                        </div>';
            }?>
            <?php if($STB_user_data->getData("tok")!=null){
                  echo' <div class="squirrly-strb-item-social item-two" style="background-color:#171515;">
                        <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 class="fa-brands fa-tiktok"></i></a>
                        </div>';
            }?> 
    </div>          
</div>
</div>
</div>          
</div>


