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/big_btns.php
<?php  
  
  
  $list = get_sub_field('list');
  $title =   get_sub_field('title');
  
     
?>

    <div class="container">
        <div class="booking-wrapper visible-animation">
            <h1 class="pmsp__title title"><?php echo esc_html($title); ?></h1>
            <div class="booking">
            <?php foreach($list as $list_item): ?>
                <?php $link = $list_item["link"]; $targetttt = $list_item["target"];?>
                
            <div class="booking__item">
            <?php if($link): ?><a href="<?php echo $link ?>" target="<?php echo $targetttt[0]; ?>"><?php endif ?>
                <div>
                <h3><?php echo $list_item["title"] ?></h3>
                <?php echo $list_item["sub_text"] ?>
                </div>
                <div>
                <?php if($link): ?><svg
                    width="24"
                    height="24"
                    viewBox="0 0 24 24"
                    fill="none"
                    xmlns="http://www.w3.org/2000/svg"
                >
                    <path
                    d="M18 12L18.3536 11.6464L18.7071 12L18.3536 12.3536L18 12ZM6 12.5C5.72386 12.5 5.5 12.2761 5.5 12C5.5 11.7239 5.72386 11.5 6 11.5V12.5ZM14.3536 7.64645L18.3536 11.6464L17.6464 12.3536L13.6464 8.35355L14.3536 7.64645ZM18.3536 12.3536L14.3536 16.3536L13.6464 15.6464L17.6464 11.6464L18.3536 12.3536ZM18 12.5H6V11.5H18V12.5Z"
                    fill="#FFCA79"
                    />
                </svg><?php endif ?>
                </div>
                <?php if($link): ?></a><?php endif ?> 
            </div>
            <?php endforeach; ?>
            </div>  
        </div> 
        </div>
    </div>