403Webshell
Server IP : 77.68.64.21  /  Your IP : 216.73.216.102
Web Server : Apache
System : Linux hp3-wp-1011378.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els9.x86_64 #1 SMP Fri Jul 10 17:06:31 UTC 2026 x86_64
User : csh2668128 ( 2112425)
PHP Version : 8.1.34
Disable Function : shell_exec,exec,system,popen,set_time_limit
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/cwd/wp-content/themes/holsworthyschool/template-parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/themes/holsworthyschool/template-parts/latestproducts.php
<?php
/**
 * The template used for displaying page content
 */
?>

<div id='recentproducts'>
	<h2>Featured Projects</h2>
	<?php
	$args = array(
	'post_type' => 'product',
	'stock' => 1,
	'posts_per_page' => 3,
	'orderby' =>'date',
	'order' => 'DESC' );
	$loop = new WP_Query( $args );

	print "<div class='container'>";
		print "<ul class='row'>";
		while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
				<li class="col-md-4 col-6">
					<a id="id-<?php the_id(); ?>" href="<?php the_permalink(); ?>" title="<?php the_title(); ?>">
						<?php if (has_post_thumbnail( $loop->post->ID )) echo get_the_post_thumbnail($loop->post->ID, 'shop_catalog'); else echo '<img src="'.woocommerce_placeholder_img_src().'" alt="My Image Placeholder" width="65px" height="115px" />'; ?>
						<h3><?php the_title(); ?></h3>
						<span class="price"><?php echo $product->get_price_html(); ?></span>
					</a>
				<?php woocommerce_template_loop_add_to_cart( $loop->post, $product ); ?>
				</li>
			<?php endwhile; ?>
		</ul>
	</div>
	<?php wp_reset_query(); ?>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit