viewpage.php?page_id=1 * [box_link_class] => btn btn-sm btn-default * [box_link_margin_top] => 15 * [box_link_margin_bottom] => 20 * ) */ // Box Style $box_style = !empty($boxData['box_icon_margin_top']) ? "margin-top: ".$boxData['box_icon_margin_top']."px; " : ""; $box_style .= !empty($boxData['box_icon_margin_bottom']) ? "margin-bottom:".$boxData['box_icon_margin_bottom']."px; " : ""; $icon_size = (!empty($boxData['box_icon_size'])) ? $boxData['box_icon_size'] : 30; $stacked_size = (!empty($boxData['box_stacked_icon_size'])) ? $boxData['box_stacked_icon_size'] : 60; $icon_style = 'font-size: '.$icon_size.'px;'; $icon_style .= ($boxData['box_icon_color'] ? "color: ".$boxData['box_icon_color'] : ""); $stacked_icon_style = 'font-size: '.$stacked_size.'px;'; $stacked_icon_style .= ($boxData['box_stacked_icon_color'] ? "color: ".$boxData['box_stacked_icon_color'] : ""); $box_link = ""; if (!empty($boxData['box_link'])) { $box_link_class = (!empty($boxData['box_link_class']) ? "class='".$boxData['box_link_class']."' " : ""); $box_margin = ''; $box_margin .= (!empty($boxData['box_link_margin_top']) ? "margin-top: ".$boxData['box_link_margin_top']."px;" : ""); $box_margin .= (!empty($boxData['box_link_margin_bottom']) ? "margin-bottom: ".$boxData['box_link_margin_bottom']."px;" : ""); $box_margin .= (!empty($box_margin)) ? "style='$box_margin'" : ""; $box_link = "".$widget_locale['FBW_0300'].""; } $icon = ''; switch ($boxData['box_icon_type']) { case '1': // Icon Image $icon = "".$boxData["; break; default: if (!empty($boxData['box_stacked_icon_class'])) { $icon .= "\n"; } $icon .= ""; if (!empty($boxData['box_stacked_icon_class'])) { $icon .= ""; $icon .= ""; } break; } ob_start(); ?>
">
>