Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/balajimall.com/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/balajimall.com/added_carts.php

<?php
	require_once("lib/functions.php");	
	$db = new login_function();

	$current_session = session_id(); 
	
	$cart_count = $db->get_count_of_qunatity($current_session);
	
	if($cart_count=="")
	{
		$cart_count=0;
	}
	
	if($cart_count>0)
	{
?>
<script type="text/javascript">
$( document ).ready(function() {
    $("#close_cart_section").click(function(){
	    $("#cart_closed_panel").hide('slow');
	});
});	
</script>
<div class="carts_ss" id="cart_closed_panel">
<div class="prd_rec_new" id="div_prd_recommendation" style="background-color:#efefef;display: block;height:350px;border:0px solid #cdcdcd;">
<p class="f14 bold" style="padding-top:10px; border-bottom:1px solid #CCCCCC; padding-bottom:5px;"><img src="/images/close-i.png" id="close_cart_section" style="height:20px; cursor:pointer; margin-right:15px; float:right; widthy:20px;" />Your Cart Products</p>

<div class="prd_rec_mid_new alignL">
<div id="prd_rec_mid" class="div_recslide" style="top:0;left:0;margin:8px 0 0 0;">
<?php
$product_id = $db->fetch_all_temp_cart_data($current_session);
if(!empty($product_id))
{


$counter = 0;

foreach($product_id as $record)
{
$show_checkout_btn = 1;
$t_id		=	$product_id[$counter][0];
$s_id		=	$product_id[$counter][1];
$p_id		=	$product_id[$counter][2];
$qty		=	$product_id[$counter][3];
echo $p_id;
$cart_data 	= $db->get_all_product_info_display_cart($p_id);
$fetch_qty  = $db->fetch_total_qty($s_id,$p_id);
if(!empty($cart_data))
{
	echo 8787;
		$id				=	$cart_data[0];
		$category		=	$cart_data[1];
		$product_name	=	$cart_data[2];
		$tags			=	$cart_data[3];
		$description	=	$cart_data[4];
		$actual_price	=	$cart_data[5];
		$selling_price	=	$cart_data[6];
		$p_images		=	$db->fetch_product_images_by_product_id($id);
		
?>
	<div class="prd_rec_box_new alignL" style="background-color:#fff; border-bottom:1px solid #DFDFDF;">
		<div class="prd_rec_img alignC" style="height:80px;">
			<a href="product-display.php?tracking_id=<?php echo $id; ?>">
			<?php
				if($p_images != "")
				{
			?>
			<img src="/product/<?php echo $p_images; ?>" height="70" width="70"></a>
			<?php
				}
			else
				{
			?>
			<img src="/images/no-image.png" height="70" width="70">
			<?php
				}
			?>
			</div>
			<div class="prd_rec_title floatR">
			<p class="alignL" style="padding-top:25px;">
			<a href="product-display.php?tracking_id=<?php echo $id; ?>" >
			
			<?php 
				if(strlen($product_name) > 25)
				{
					echo substr($product_name,0,25)."...";
				}else
				{
					echo $product_name; 
				}
				?>
				</a></p>
			<p class="ropdown-data" style="color:green;">Rs. <?php echo $selling_price; ?></p>
			<p class="ropdown-data" style="color:green;">Qty - <?php echo $fetch_qty; ?></p>
			
<!--<a href="#" class="minus_button"> - </a>
<input type="hidden" style="width:50px" value="1" class="field" />
<input type="hidden" value=<?php echo $id; ?> class="val_id" />
<input type="hidden" value=<?php echo $selling_price; ?> class="val_price" />
<a href="#" class="plus_button">+</a>-->
			
		</div>
	</div>
<?php

}

$counter++;
}

}else
{
?>

<p>You have not added any products in cart.</p>
<?php
}
?>	
</div>
<div class="umaybar1"></div><div class="umaybar2"></div>
</div>
</div>


</div>
<?php
}
?>

EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4