PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/veezar.kerihosting.com/wp-content/plugins/multi-rating/templates/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : /home/trave494/veezar.kerihosting.com/wp-content/plugins/multi-rating/templates/rating-form.php

<div class="rating-form <?php echo esc_attr( $class ); ?>">
	<form id="rating-form-<?php echo $post_id; ?>-<?php echo MR_Rating_Form::$sequence; ?>" action="#">
		<?php
		if ( ! empty( $title ) ) {
			
			$before_title = apply_filters( 'mr_rating_form_before_title', $before_title, $post_id );
			$after_title = apply_filters( 'mr_rating_form_after_title', $after_title, $post_id );
			
			echo "$before_title" . esc_html( $title ) . "$after_title";
		}
	
		do_action( 'mr_rating_form_before_rating_items', $post_id, $rating_items );
		
		/**
		 * Rating Items
		 */
		foreach ( (array) $rating_items as $rating_item ) {
			
			$rating_item_id = $rating_item['rating_item_id'];
			$element_id = 'rating-item-' . $rating_item_id . '-' . MR_Rating_Form::$sequence ;
			$description = $rating_item['description'];
			$rating_item_type = $rating_item['type'];
			$max_option_value =  $rating_item['max_option_value'];
			$default_option_value = $rating_item['default_option_value'];
			$required = $rating_item['required'];
			
			mr_get_template_part( 'rating-form', 'rating-item', true, array(
				'rating_item_id' => $rating_item_id,
				'element_id' => $element_id,
				'description' => $description,
				'max_option_value' => $max_option_value,
				'default_option_value' => $default_option_value,
				'class' => null,
				'style' => null,
				'icon_classes' => $icon_classes,
				'use_custom_star_images' => $use_custom_star_images,
				'element_id' => $element_id,
				'rating_item_type' => $rating_item_type,
				'required' => $required
			) );
			
			?>
			<!-- hidden field to get rating item id -->
			<input type="hidden" value="<?php echo $rating_item_id; ?>" class="rating-item-<?php echo $post_id; ?>-<?php echo MR_Rating_Form::$sequence; ?>" id="hidden-rating-item-id-<?php echo $rating_item_id; ?>" />
			<?php
		}
		
		do_action( 'mr_rating_form_before_buttons' );
		
		?>
		<div class="wp-block-button">
			<input type="submit" class="wp-block-button__link save-rating" id="saveBtn-<?php echo $post_id; ?>-<?php echo MR_Rating_Form::$sequence; ?>" value="<?php echo esc_attr( $submit_button_text ); ?>"></input>
		</div>
		<input type="hidden" name="sequence" value="<?php echo MR_Rating_Form::$sequence; ?>" />
		
		<?php 
		do_action( 'mr_rating_form_after_buttons' );
		?>
	</form>
</div>