'; $es .= '
'; if( $es_desc != "" ) { $es .= '
'.$es_desc.'
'; } if( $es_name == "YES" ) { $es .= '
'; $es .= '
'; $es .= ''; $es .= '
'; } $es .= '
'; $es .= '
'; $es .= ''; $es .= '
'; $es .= '
'; $es .= ''; $es .= '
'; $es .= '
'; if( $es_name != "YES" ) { $es .= ''; } $es .= ''; $es .= '
'; $es .= ''; return $es; } } function es_shortcode( $atts ) { if ( ! is_array( $atts ) ) { return ''; } $es_name = isset($atts['namefield']) ? $atts['namefield'] : 'YES'; $es_desc = isset($atts['desc']) ? $atts['desc'] : ''; $es_group = isset($atts['group']) ? $atts['group'] : ''; $arr = array(); $arr["es_title"] = ""; $arr["es_desc"] = $es_desc; $arr["es_name"] = $es_name; $arr["es_group"] = $es_group; return es_cls_widget::load_subscription($arr); } function es_subbox( $namefield = "YES", $desc = "", $group = "" ) { $arr = array(); $arr["es_title"] = ""; $arr["es_desc"] = $desc; $arr["es_name"] = $namefield; $arr["es_group"] = $group; echo es_cls_widget::load_subscription($arr); }