<?php defined('ABSPATH') || die('Cheatin\' uh?');?>
<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="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css?family=Work+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface&display=swap" rel="stylesheet">

<div class="frontend-wrapper">
    <div class="scale-wrapper">
        <div class="modern-theme-wrapper-s19">
            <div class="wrapper-color-s19  business-edit-clr edit-clr" style="background-color:<?php $STB_user_theme->echoData("pnl_color")?>;">
                <div class="content-pannel-s19">
                 
                    <div style="height:100%;display:flex;flex-direction:column;gap:15px;align-items:center;justify-content:center;">
                        <?php if($STB_user_data->getData("img")!=="empty"){
                                echo '<div style="position:relative;">
                                        <img class="profile-img-s19"  src="'.$STB_user_data->getData("img") .'" />
                                        <i class="fa-solid fa-check" style="background-color:#1da1f2;height:30px;width:30px;display:flex;align-items:center;
                                            justify-content:center;color:white;border-radius:50%;position:absolute;top:0px;left:85px;font-size:20px;">
                                        </i>
                                    </div>';
                        }?>
                    
                        <div class="autor-name-s19 name-options" style="color:<?php $STB_user_theme->echoData("name-color")?>;font-size:<?php $STB_user_theme->echoData("name-size")?>px;">
                            <?php echo get_user_meta($user_id,"first_name",true);?>
                            <?php echo get_user_meta($user_id,"last_name",true); ?>
                        </div>

                        <div class="autor-subtitle-s19 subtitle-options" style="color:<?php $STB_user_theme->echoData("subtitle-color")?>;font-size:<?php $STB_user_theme->echoData("subtitle-size")?>px;">
                            <?php $STB_user_data->echoData("companyslug")?>
                            <?php $STB_user_data->echoData("job"); ?>
                        </div>
                        <div class="strb-social-icons-s19" style="">
                                <?php if($STB_user_data->getData("facebook")!=null){
                                        echo'<div class="squirrly-strb-item-socials-s19">
                                                <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-socials-s19">
                                                <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("insta")!=null){
                                        echo'<div class="squirrly-strb-item-socials-s19">
                                                <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 class="fa-brands fa-instagram"></i></a>
                                            </div>';
                                }?>
                                <?php if($STB_user_data->getData("twitter")!=null){
                                        echo'<div class="squirrly-strb-item-socials-s19">
                                                <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"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style=""><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"/></svg></a>
                                            </div>';
                                }?>
                                <?php if($STB_user_data->getData("tok")!=null){
                                        echo' <div class="squirrly-strb-item-socials-s19">
                                                <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>';
                                }?>
                                <?php if($STB_user_data->getData("youtube")!=null){
                                        echo' <div class="squirrly-strb-item-socials-s19">
                                                <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-socials-s19">
                                                <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-socials-s19">
                                                <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("git")!=null){
                                        echo' <div class="squirrly-strb-item-socials-s19">
                                                <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 class="fa-brands fa-github"></i></a>
                                            </div>';
                                }?>       
                        </div>
                    </div>
                <div>
            </div>
        </div>
    </div>
</div>
</div>
</div>

<style>
    .modern-theme-wrapper-s19{
        width:100%;
        height:550px;
    }
    .wrapper-color-s19{
        height:100%;
        box-shadow: 0 4px 30px rgba(0,0,0,0.1);
        border-radius:20px;
        background-color:#dbab9d;
        padding:40px;
    }
    .content-pannel-s19{
        width:100%;
        height:550px;
        display:flex;
        flex-direction:column;
        align-items:center;
    }
    .autor-name-s19{
        font-size:26px;
        color:#fbfdfa;
        text-align:center;
        font-weight:500;
        letter-spacing:5px;
    }
    .autor-subtitle-s19{
        font-size:19px;
        margin-top:-20px;
        font-weight:500;
        color:#fbfdfa;
    }
    .strb-social-icons-s19{
        gap:10px;
        margin-top:15px;
        display:flex;
        align-items:center;
        justify-content:center;
        border-radius:20px;
        padding-left:5px;
        padding-right:5px;
        background-color:#b8a3a1;
        box-shadow: 0 4px 30px rgba(0,0,0,0.2);
    }
   .squirrly-strb-item-socials-s19{
        padding:5px;
        border-radius:5px;
        height:30px;
        width:30px;
        display:flex;
        align-items:center;
        justify-content:center;
   }
   .squirrly-strb-item-socials-s19:hover{
        opacity:0.7;
        scale:1.2;
   }
   .squirrly-strb-item-socials-s19 a{
        text-decoration:none;
        color:white;
        display:flex;
        align-items:center;
        justify-content:center;
   }
   .squirrly-strb-item-socials-s19 i{
        font-size:22px;
        display:flex;
        align-items:center;
        justify-content:center;
   }
   .squirrly-strb-item-socials-s19 svg{
        width:20px;
        height:20px;  
        border-radius:2px;
   }
   .profile-img-s19{
        height:120px;
        width:120px;
        border-radius:50%;
    }
</style>


