| Server IP : 62.72.47.131 / Your IP : 216.73.217.34 Web Server : Apache/2.4.66 (Debian) System : Linux 975cdb959a49 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : ( 501) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/html/wp-content/themes/medicate/template-parts/header/ |
Upload File : |
<?php
$pqf_options = get_option('pqf_options');
$row = "row no-gutters";
$soc_align = "";
$con_align = "";
if(function_exists('get_field') && get_field('field_QnF1Ebs') != 'inherit')
{
$key = get_field('key_pjrosw')['top_header_options'];
if($key == 'social-right')
{
$row = "row flex-row-reverse";
$soc_align = "text-right";
$con_align = "";
}
if($key == 'social-left')
{
$row = "row";
$soc_align = "";
$con_align = "text-right";
}
}
else if(isset($pqf_options['pt_top_header_layout']))
{
if($pqf_options['pt_top_header_layout'] == 'social-right')
{
$row = "row flex-row-reverse";
$soc_align = "text-right";
$con_align = "";
}
if($pqf_options['pt_top_header_layout'] == 'social-left')
{
$row = "row";
$soc_align = "";
$con_align = "text-right";
}
}
?>
<div class="<?php echo esc_attr($row); ?>">
<div class="col-md-6 <?php echo esc_attr($soc_align); ?>">
<div class="pt-header-social <?php echo esc_attr($soc_align); ?>">
<ul>
<?php
foreach ($pqf_options['social'] as $key => $value) {
if(!empty($value))
{
?>
<li><a href="<?php echo esc_url($value); ?>"><i class="fab <?php echo esc_attr($key); ?>"></i></a></li>
<?php } } ?>
</ul>
</div>
</div>
<div class="col-md-6">
<div class="pt-header-contact <?php echo esc_attr($con_align); ?>">
<ul>
<?php
if(!empty($pqf_options['phone']))
{
?>
<li>
<a href="tel:<?php echo str_replace(str_split('(),-" '), '',$pqf_options['phone']); ?>"><i class="fas fa-phone"></i>
<span><?php echo esc_html($pqf_options['phone']); ?></span>
</a>
</li>
<?php } ?>
<?php
if(!empty($pqf_options['email']))
{
?>
<li>
<a href="mailto:<?php echo esc_html($pqf_options['email']); ?>"><i class="fas fa-envelope"></i><span><?php echo esc_html($pqf_options['email']); ?></span></a>
</li>
<?php } ?>
</ul>
</div>
</div>
</div>