| Server IP : 172.67.201.108 / Your IP : 216.73.217.62 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/home2/domains/siparentBAK/wp-content/plugins/event-test/includes/ |
Upload File : |
<?php
/**
* Global EventON templates
*/
class EVO_Temp{
// return the template HTML
function get($type){
ob_start();
switch($type){
case has_action("evo_temp_{$type}"):
do_action("evo_temp_{$type}");
break;
case 'event_top':
$structure = new EVO_Cal_Event_Structure();
echo $structure->_event_top_template();
break;
case 'event_card':
$structure = new EVO_Cal_Event_Structure();
echo $structure->_event_card_template();
break;
}
return ob_get_clean();
}
// @+ 2.8 beta
function get_init(){
return apply_filters('evo_init_templates',array(
//'eventtop'=> $this->get('event_top'),
//'eventcard'=> $this->get('event_card'),
));
}
}