HEX
Server: Apache
System: Linux srv-plesk28.ps.kz 5.14.0-284.18.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jun 29 17:06:27 EDT 2023 x86_64
User: greencl1 (10085)
PHP: 8.1.33
Disabled: apache_setenv,dl,eval,exec,openlog,passthru,pcntl_exec,pcntl_fork,popen,posix_getpwuid,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec,socket_create,socket_create_listen,socket_create_pair,syslog,system,socket_listen,stream_socket_server
Upload Files
File: /var/www/vhosts/greenclinic.kz/newsite/wp-content/themes/green-clinic/blocks/block_photo_text.php
<?php 
  $where_photo = get_sub_field('photo_left_right');
  $content_color = get_sub_field('content_bg_color');
  $btn = get_sub_field('btn');
  $btn_link = get_sub_field('btn_link');
  
?>

  <div class="container">
  <div class="expo-card"> 
      
          <div class="expo-card-wrapper expo-card-left " style="background:url('<?php the_sub_field('image') ?>'); no-repeat"></div>
          <div class="expo-card-wrapper expo-card-right wow animate__animated animate__fadeInLeft" data-wow-delay="0.8s" style="background-color:<?php echo $content_color ?>">  
            <?php echo the_sub_field('content'); ?>
            <?php if($btn):?>
            <a href="<?php echo $btn_link ?>" class="old__card-button pointer">
            <span><?php echo $btn ?></span>
            <svg width="24" height="25" viewBox="0 0 24 25" fill="none" xmlns="http://www.w3.org/2000/svg">
              <path d="M18 12.5L18.3536 12.1464L18.7071 12.5L18.3536 12.8536L18 12.5ZM6 13C5.72386 13 5.5 12.7761 5.5 12.5C5.5 12.2239 5.72386 12 6 12V13ZM14.3536 8.14645L18.3536 12.1464L17.6464 12.8536L13.6464 8.85355L14.3536 8.14645ZM18.3536 12.8536L14.3536 16.8536L13.6464 16.1464L17.6464 12.1464L18.3536 12.8536ZM18 13H6V12H18V13Z" fill="#262626"></path>
            </svg>
            </a>
            
            <?php endif; ?>
          </div>
      
      
  </div>
  </div> 
   

<script>

</script>