HEX
Server: Apache
System: Linux linplesk41.pumo.com.tw 3.10.0-962.3.2.lve1.5.27.el7.x86_64 #1 SMP Sat Nov 30 02:18:52 EST 2019 x86_64
User: rajlaw (10192)
PHP: 7.4.24
Disabled: phpinfo,passthru,exec,shell_exec,system,popen,proc_open,proc_close,show_source,pcntl_exec,escapeshellcmd,proc_get_status,proc_nice,proc_terminate,escapeshellarg
Upload Files
File: /home/httpd/vhosts/rajlaw.com.tw/httpdocs/wp-content/themes/advokat/inc/header/preloader.php
<?php 
global $advokat_option;
$preloader_img = "";

if(!empty($advokat_option['show_preloader']))
  {
    $loading = $advokat_option['show_preloader'];
    if(!empty($advokat_option['preloader_img'])){
      $preloader_img = $advokat_option['preloader_img'];
    }
    if($loading == 1){
      if(empty($preloader_img['url'])):
      ?>  
        <div id="loading" class="loading">
            <div class="spinner">
                <div class="double-bounce1"></div>
                <div class="double-bounce2"></div>
          </div>
        </div>
      <?php else: ?>
        <div class="loading image-preloader">
          <div class="loading-text"><img src="<?php echo esc_url($preloader_img['url']);?>" alt="<?php echo esc_attr( get_bloginfo( 'name' ) ); ?>"></div>
        </div>    
      <?php endif; ?>
  <?php }
}?>

 <?php if(!empty($advokat_option['off_sticky'])):   
        $sticky = $advokat_option['off_sticky'];         
        if($sticky == 1):
         $sticky_menu ='menu-sticky';        
        endif;
       else:
       $sticky_menu ='';
      endif;


if( is_page() ){
 $post_meta_header = get_post_meta($post->ID, 'trans_header', true);  

     if($post_meta_header == 'Default Header'){       
        $header_style = 'default_header';             
     }
     else{
        $header_style = 'transparent_header';
    }
 }
 else{
    $header_style = 'transparent_header';
 }

 ?>