@@ 272-279 (lines=8) @@ | ||
269 | <ul class="give-alert-addon-list"> |
|
270 | <?php |
|
271 | $is_first = true; |
|
272 | foreach ( $addon_to_display as $banner ) { |
|
273 | ?> |
|
274 | <li class="give-tab-list<?php echo ( true === $is_first ) ? ' active' : ''; ?>" id="give-addon-<?php echo esc_attr( basename( $banner['file'], '.php' ) ); ?>"> |
|
275 | <a href="#"><?php echo esc_html( $banner['name'] ); ?></a> |
|
276 | </li> |
|
277 | <?php |
|
278 | $is_first = false; |
|
279 | } |
|
280 | $is_first = true; |
|
281 | ?> |
|
282 | </ul> |
|
@@ 285-293 (lines=9) @@ | ||
282 | </ul> |
|
283 | </div> |
|
284 | <div class="give-right-side-block"> |
|
285 | <?php foreach ( $addon_to_display as $banner ) : ?> |
|
286 | <div class="give-tab-details <?php echo ( true === $is_first ) ? ' active' : ''; ?> " id="give-addon-<?php echo esc_attr( basename( $banner['file'], '.php' ) ); ?>"> |
|
287 | <?php |
|
288 | // Render single add banner. |
|
289 | $this->render_single_addon_banner( $banner, false ); |
|
290 | $is_first = false; |
|
291 | ?> |
|
292 | </div> |
|
293 | <?php endforeach; ?> |
|
294 | </div> |
|
295 | </div> |
|
296 | <?php |