HEX
Server: Apache
System: Linux pdx1-shared-a1-31 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: dh_5jabqq (6436002)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: /home/dh_5jabqq/bermudashipwreckarchive.com/wp-content/themes/loquet/includes/slider.php
<?php
/*======
*
* Carousel Control
*
======*/
if( !function_exists( 'loquet_carousel_control' ) ) {

	function loquet_carousel_control( $navigation = "true", $pagination = "true", $style = "style-1", $skin = "light", $position = "bottom" ) {

		/*====== Function Settings ======*/
		if( $navigation == "1" ) {

			$navigation = "true";

		}

		if( $pagination == "1" ) {

			$pagination = "true";

		}

		/*====== HTML Output ======*/
		$output = "";

		if( $navigation == "true" or $pagination == "true" ) {

			$output .= '<div class="gt-carousel-control gt-' . esc_attr( $style ) . ' gt-' . esc_attr( $skin ) . ' gt-position-' . esc_attr( $position ) . '">';

				if( $style == "style-1" ) {

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

					}

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

					if( $navigation == "true" ) {

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

				} elseif( $style == "style-2" ) {

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

					}

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

					if( $navigation == "true" ) {

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

				} elseif( $style == "style-3" ) {

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

				} elseif( $style == "style-4" ) {

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

				} elseif( $style == "style-5" ) {

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

				} elseif( $style == "style-6" ) {

					if( $navigation == "true" ) {

						$output .= '<div class="gt-carousel-navigation">';
							$output .= '<div class="gt-carousel-prev">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M8.69 38.96c.38.38 1 .38 1.38 0 .38-.38.38-1 0-1.38l-5.49-5.47 5.49-5.49c.38-.38.38-1 0-1.38-.38-.38-1-.38-1.38 0l-6.16 6.09-.01.01c-.38.38-.37.99.01 1.37l6.16 6.25zm52.67-7.83H3.21v1.94h58.15v-1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';

							$output .= '<div class="gt-carousel-next">';
								$output .= '<svg xmlns="https://www.w3.org/2000/svg" viewBox="0 0 64 64"><path d="M61.07 32.72c.38-.38.38-.99.01-1.37l-.01-.01-6.16-6.09c-.38-.38-1-.38-1.38 0-.38.38-.38 1 0 1.38l5.49 5.49-5.49 5.47c-.38.38-.38 1 0 1.38.38.38 1 .38 1.38 0l6.16-6.25zm-58.83.34h58.15v-1.94H2.24v1.94z" fill="#020203"></path></svg>';
							$output .= '</div>';
						$output .= '</div>';

					}

					if( $pagination == "true" ) {

						$output .= '<div class="gt-carousel-pagination"></div>';

					}

				}

			$output .= '</div>';

		}

		return $output;

	}

}