Файловый менеджер - Редактировать - /home/digitalm/dolcelava/wp-content/plugins/-nd-shortcodes/shortcodes/custom/countdown/layout/layout-2.php
Назад
<?php $nd_options_script = ' jQuery(document).ready(function() { //START counter jQuery(function ($) { //variables var nd_options_end_date = "'.$nd_options_date.'"; var nd_options_width = "'.$nd_options_width.'"; //insert the class nd_options_display_none in the var if you wnat to hide the visualization var nd_options_display_years = "'.$nd_options_display_years.'"; var nd_options_display_days = "'.$nd_options_display_days.'"; var nd_options_display_hours = "'.$nd_options_display_hours.'"; var nd_options_display_minutes = "'.$nd_options_display_minutes.'"; var nd_options_display_seconds = "'.$nd_options_display_seconds.'"; //call $(".nd_options_countdown").countdown({ date: nd_options_end_date, render: function(data) { $(this.el).html("<div class=\" '.$nd_options_class.' nd_options_section nd_options_text_align_center \"><!--***START 1***--><div style=\" background-color: '.$nd_options_years_bg_color.'; \" class=\" nd_options_width_100_percentage_iphone_port "+ nd_options_width +" "+ nd_options_display_years +" \"><h1 style=\" color: '.$nd_options_number_color.' \" class=\" nd_options_margin_0 nd_options_margin_top_40 nd_options_margin_bottom_10 nd_options_font_size_45 nd_options_padding_0 \">"+ this.leadingZeros(data.years, 2) +"</h1><h2 style=\" color: '.$nd_options_years_color.'; \" class=\" nd_options_margin_0 nd_options_margin_bottom_40 nd_options_display_inline_block nd_options_padding_0 \" >'.$nd_options_text_years.'</h2></div><!--***START 2***--><div style=\" background-color: '.$nd_options_days_bg_color.'; \" class=\" nd_options_width_100_percentage_iphone_port "+ nd_options_width +" "+ nd_options_display_days +" \"><h1 style=\" color: '.$nd_options_number_color.' \" class=\" nd_options_margin_0 nd_options_margin_top_40 nd_options_margin_bottom_10 nd_options_font_size_45 nd_options_padding_0 \">"+ this.leadingZeros(data.days, 3) +"</h1><h2 style=\" color: '.$nd_options_days_color.'; background-color: '.$nd_options_days_bg_color.' \" class=\" nd_options_margin_0 nd_options_margin_bottom_40 nd_options_display_inline_block nd_options_padding_0 \" >'.$nd_options_text_days.'</h2></div><!--***START 3***--><div style=\" background-color: '.$nd_options_hours_bg_color.'; \" class=\" nd_options_width_100_percentage_iphone_port "+ nd_options_width +" "+ nd_options_display_hours +" \"><h1 style=\" color: '.$nd_options_number_color.' \" class=\" nd_options_margin_0 nd_options_margin_top_40 nd_options_margin_bottom_10 nd_options_font_size_45 nd_options_padding_0 \">"+ this.leadingZeros(data.hours, 2) +"</h1><h2 style=\" color: '.$nd_options_hours_color.'; background-color: '.$nd_options_hours_bg_color.' \" class=\" nd_options_margin_0 nd_options_margin_bottom_40 nd_options_display_inline_block nd_options_padding_0 \" >'.$nd_options_text_hours.'</h2></div><!--***START 4***--><div style=\" background-color: '.$nd_options_minutes_bg_color.'; \" class=\" nd_options_width_100_percentage_iphone_port "+ nd_options_width +" "+ nd_options_display_minutes +" \"><h1 style=\" color: '.$nd_options_number_color.' \" class=\" nd_options_margin_0 nd_options_margin_top_40 nd_options_margin_bottom_10 nd_options_font_size_45 nd_options_padding_0 \">"+ this.leadingZeros(data.min, 2) +"</h1><h2 style=\" color: '.$nd_options_minutes_color.'; background-color: '.$nd_options_minutes_bg_color.' \" class=\" nd_options_margin_0 nd_options_margin_bottom_40 nd_options_display_inline_block nd_options_padding_0 \" >'.$nd_options_text_minutes.'</h2></div><!--***START 5***--><div style=\" background-color: '.$nd_options_seconds_bg_color.'; \" class=\" nd_options_width_100_percentage_iphone_port "+ nd_options_width +" "+ nd_options_display_seconds +" \"><h1 style=\" color: '.$nd_options_number_color.' \" class=\" nd_options_margin_0 nd_options_margin_top_40 nd_options_margin_bottom_10 nd_options_font_size_45 nd_options_padding_0 \">"+ this.leadingZeros(data.sec, 2) +"</h1><h2 style=\" color: '.$nd_options_seconds_color.'; background-color: '.$nd_options_seconds_bg_color.' \" class=\" nd_options_margin_0 nd_options_margin_bottom_40 nd_options_display_inline_block nd_options_padding_0 \" >'.$nd_options_text_seconds.'</h2></div></div>"); } }); }); //END counter }); '; wp_add_inline_script('nd_options_countdown_plugin',$nd_options_script); $str .='';
| ver. 1.4 |
Github
|
.
| PHP 8.3.23 | Генерация страницы: 0.04 |
proxy
|
phpinfo
|
Настройка