$tile_type, 'tlsize' => $tile['tlsize'], 'tlstyle' => $tile_style, 'promimg' => $promoted_image, ] ); $tile_id = "previewdashtile"; $tile_width = getval("tlwidth", ($tile['tlsize'] === 'double' ? 515 : 250), true); $tile_height = getval("tlheight", 180, true); if (!is_numeric($tile_width) || !is_numeric($tile_height) || $tile_width <= 0 || $tile_height <= 0) { exit($lang["error-missingtileheightorwidth"]); } include "../../include/dash_tile_generation.php"; tile_select($tile_type, $tile_style, $tile, $tile_id, $tile_width, $tile_height); exit($lang["nodashtilefound"]);