| Server IP : 127.0.0.1 / Your IP : 216.73.216.48 Web Server : Apache/2.4.58 (Win64) OpenSSL/3.1.3 PHP/8.2.12 System : Windows NT DESKTOP-3H4FHQJ 10.0 build 19045 (Windows 10) AMD64 User : win 10 ( 0) PHP Version : 8.2.12 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : D:/xamppkk/htdocs-coblaa/cb_image/ |
Upload File : |
<html>
<?php
session_start();
include('db.php');
if(isset($_SESSION['my_id']))
{
$my_id = $_SESSION['my_id'];
}
?>
<div style="display:none;" >
<?php
$user_ip = getenv('REMOTE_ADDR');
$geo = unserialize(file_get_contents("http://www.geoplugin.net/php.gp?ip=$user_ip"));
$city = $geo["geoplugin_city"];
$region = $geo["geoplugin_regionName"];
$country = $geo["geoplugin_countryName"];
/*echo"$user_ip";
echo "City: ".$city."<br>";
echo "Region: ".$region."<br>";
echo "Country: ".$country."<br>";
/*
geoplugin_request
geoplugin_status
geoplugin_credit
geoplugin_city
geoplugin_region
geoplugin_areaCode
geoplugin_dmaCode
geoplugin_countryCode
geoplugin_countryName
geoplugin_continentCode
geoplugin_latitude
geoplugin_longitude
geoplugin_regionCode
geoplugin_regionName
geoplugin_currencyCode
geoplugin_currencySymbol
geoplugin_currencySymbol_UTF8
geoplugin_currencyConverter
*/
?>
</div>
<head>
<link rel="icon" type="image/jpg" href="http://craneblue.com/cb_image/main_icon/coot_icon.png" />
<title>Transactions </title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!--link rel="icon" href="kvt_con/khalaf_log.jpg" type="image/ico"-->
<link rel="stylesheet" type="text/css" href="main_css/transaction.css" />
<script async src="https://securepubads.g.doubleclick.net/tag/js/gpt.js"></script>
<script>
window.googletag = window.googletag || {cmd: []};
googletag.cmd.push(function() {
googletag.defineSlot('/23019847102/sar_ad', [120, 30], 'div-gpt-ad-1721336139997-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
</head>
<input type="text" id="my_id" value="<?php echo"$my_id";?>" style="display:none;" />
<body>
<?php
if(!isset($_SESSION['my_id']))
{
echo"<script>window.open('login','_self')</script>";
}else{
?>
<div id="mdx" >
<div class="home_div" >
<img src="main_icon/back_btn.png"onClick="history.back();" class="back_img" />
<span id="user_name" class="user_name" >Tinimum</span>
</div><!--end of login_div-->
<div classk="main_continer" style="float:left;width:1583px;height:731px;" >
<!-- /23019847102/sar_ad -->
<div id='div-gpt-ad-1721336139997-0' style='min-width: 120px; min-height: 30px;'>
<script>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1721336139997-0'); });
</script>
</div>
</div>
<div class="main_continer" >
<div class="bal_div" >
<span class="bal_lebal" >TOTAL BALANCE</span>
<span class="bal_output" >UGX <span id="bnk_amt_output" ></span></span>
</div>
<button class="bal_btn" >Buy</button>
<button id="bal_btn" class="bal_btn" >Transfer</button>
<button id="bal_btn2" onClick="show_transfer()" class="bal_btn2" >Transfer</button>
</div><!--end of login_div-->
<span class="bal_tips" >The minimum transfer is Ugx 10000</span>
<span class="bal_tips" >Referral code:<span id="referral_code_output" style='font-weight:bold;color:#4BFAB2;' ></span></span>
<div id="transfer_div" class="transfer_div" >
<span id="transfer_title" class="transfer_title" >Transfer to CrinePay </span>
<span class="transfer_lebal" >Account</span>
<input id="transf_toacc" class="transfer_input" />
<span class="transfer_lebal" >Amount</span>
<input type="Number" id="transf_amt" class="transfer_input" />
<span id="transfer_lebal_pass" class="transfer_lebal_pass" >Password</span>
<input id="transf_pass" type="password" class="transfer_input_pass" />
<span id="error_output" class="error_output" ></span>
<button id="cancel_transf_btn" onClick="cancel_transf();" class="cancel_transf_btn" >Cancel</button>
<button id="done_transf_btn" onClick="done_transfer();" style="display:none;" class="fin_transf_btn" >Done</button>
<button id="fin_transf_btn" onClick="save_transfer();" class="fin_transf_btn" >Finish</button>
<button id="next_transf_btn" onClick="check_transfer();" class="next_transf_btn" >Next</button>
</div>
<!--div class="transfer_finish_div" >
<span class="transfer_title" >You are transfering </span>
<span class="transfer_lebal" >Account</span>
<input class="transfer_input" />
<span class="transfer_lebal" >Amount</span>
<input class="transfer_input" />
<span class="transfer_lebal" >Password</span>
<input class="transfer_input" />
<button class="next_transf_btn" >Finish</button>
</div-->
<div id="trans_history_div" class="trans_history_div" >
<span class="history_lebal" >DATE</span>
<span class="history_lebal" >TRANSACTION</span>
<span class="history_lebal" >AMOUNT</span>
<span id="history_output" ></span>
<!--span class="history_output" >Referral</span>
<span class="history_output" >250</span>
<span class="history_output" >27-06-2024</span>
<span class="history_output" >Deposit</span>
<span class="history_output" >150</span>
<span class="history_output" >27-06-2024</span>
<span class="history_output" >Transfer</span>
<span class="history_output" >5000</span-->
</div>
</div>
<?php } ?>
<script>
disp_emirc();
function disp_emirc()
{
my_id = document.getElementById('my_id').value;
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_emirc",false);
xmlhpttp.send(null);
document.getElementById('error_output').innerHTML =xmlhpttp.responseText;
baste = document.getElementById('cm_waste').value;
if(baste ==23){ window.open("crime", "_self"); }else{document.getElementById("mdx").style="display:block;"; }
}
disp_bnk_amt();
function disp_bnk_amt()
{
my_id = document.getElementById('my_id').value;
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_bnk_amt",false);
xmlhpttp.send(null);
document.getElementById('bnk_amt_output').innerHTML =xmlhpttp.responseText;
cur_spin_amt = document.getElementById('cur_spin_amt').value;
baste_chk = document.getElementById('cm_waste').value;
if(cur_spin_amt > 10000 ){
if(baste_chk ==33){
document.getElementById("bal_btn").style="display:none;";
document.getElementById("bal_btn2").style="display:block;";
}else{
document.getElementById("bal_btn").style="display:block;";
document.getElementById("bal_btn2").style="display:none;";
}
}else{
document.getElementById("bal_btn").style="display:block;";
document.getElementById("bal_btn2").style="display:none;";
}
disp_trans_history();
}
disp_user();
function disp_user()
{
my_id = document.getElementById('my_id').value;
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_user",false);
xmlhpttp.send(null);
document.getElementById('user_name').innerHTML =xmlhpttp.responseText;
}
disp_referral();
function disp_referral()
{
my_id = document.getElementById('my_id').value;
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_referral",false);
xmlhpttp.send(null);
document.getElementById('referral_code_output').innerHTML =xmlhpttp.responseText;
}
disp_trans_history();
function disp_trans_history()
{
my_id = document.getElementById('my_id').value;
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&status=disp_trans_history",false);
xmlhpttp.send(null);
document.getElementById('history_output').innerHTML =xmlhpttp.responseText;
document.getElementById('trans_history_div').style="display:block;";
}
function show_transfer()
{
document.getElementById('transfer_div').style="display:block;";
document.getElementById('trans_history_div').style="display:none;";
}
function check_transfer()
{
my_id = document.getElementById('my_id').value;
transf_toacc = document.getElementById('transf_toacc').value;
transf_amt = document.getElementById('transf_amt').value;
transf_pass = document.getElementById('transf_pass').value;
if(transf_toacc=="" || transf_amt==""){
document.getElementById('error_output').innerHTML="Fill all the fields";
document.getElementById('error_output').style="color:red;display:block";
}else{
if(transf_amt < 100 ){
document.getElementById('error_output').innerHTML="Minimum transfer of ugx 10000";
document.getElementById('error_output').style="color:red;display:block";
}else{
document.getElementById('error_output').style="display:none;";
document.getElementById('transfer_title').innerHTML="You are transfering";
document.getElementById('transfer_title').style="color:green;";
//document.getElementById('transf_amt').style="background:#ededed;";
//document.getElementById('transf_toacc').style="background:#ededed;";
document.getElementById('transf_toacc').disabled = true;
document.getElementById('transf_amt').disabled = true;
document.getElementById('transfer_lebal_pass').style="display:block;";
document.getElementById('transf_pass').style="display:block;";
document.getElementById('fin_transf_btn').style="display:block;";
document.getElementById('cancel_transf_btn').style="display:block;";
document.getElementById('next_transf_btn').style="display:none;";
}
}
}
function cancel_transf()
{
document.getElementById('transf_toacc').disabled = false;
document.getElementById('transf_amt').disabled = false;
document.getElementById('transfer_lebal_pass').style="display:none;";
document.getElementById('transf_pass').style="display:none;";
document.getElementById('fin_transf_btn').style="display:none;";
document.getElementById('cancel_transf_btn').style="display:none;";
document.getElementById('next_transf_btn').style="display:block;";
document.getElementById('error_output').style="display:none;";
document.getElementById('transf_pass').value="";
}
function save_transfer()
{
my_id = document.getElementById('my_id').value;
transf_toacc = document.getElementById('transf_toacc').value;
transf_amt = document.getElementById('transf_amt').value;
transf_pass = document.getElementById('transf_pass').value;
if(transf_pass==""){
document.getElementById('error_output').innerHTML="Enter your Password";
document.getElementById('error_output').style="color:red;display:block";
}else{
xmlhpttp = new XMLHttpRequest();
xmlhpttp.open("GET","auto_page.php?my_id="+my_id+"&&transf_toacc="+transf_toacc+"&&transf_amt="+transf_amt+"&&transf_pass="+transf_pass+"&&status=save_transfer",false);
xmlhpttp.send(null);
document.getElementById('error_output').innerHTML =xmlhpttp.responseText;
document.getElementById('error_output').style="color:green;display:block";
final_output = document.getElementById('final_output').value;
if(final_output==0){
document.getElementById('error_output').innerHTML="Check your password";
document.getElementById('error_output').style="color:red;display:block";
}else if(final_output==1){
document.getElementById('error_output').innerHTML=" Insufficient balance in your account";
document.getElementById('error_output').style="color:red;display:block";
}else{
document.getElementById('error_output').innerHTML="Your transfer was successful";
document.getElementById('error_output').style="color:green;display:block";
document.getElementById('transf_toacc').value="";
document.getElementById('transf_amt').value="";
document.getElementById('transf_pass').value="";
document.getElementById('cancel_transf_btn').style="display:none;";
document.getElementById('fin_transf_btn').style="display:none;";
document.getElementById('done_transf_btn').style="display:block;";
disp_bnk_amt();
}
}
}
function done_transfer()
{
document.getElementById('transfer_div').style="display:none;";
document.getElementById('trans_history_div').style="display:block;";
document.getElementById('transfer_title').innerHTML="Transfer to CrinePay";
document.getElementById('transfer_title').style="color:#000;";
document.getElementById('next_transf_btn').style="display:block;";
document.getElementById('done_transf_btn').style="display:none;";
document.getElementById('error_output').style="color:green;display:none";
document.getElementById('transfer_lebal_pass').style="display:none;";
document.getElementById('transf_pass').style="display:none;";
document.getElementById('transf_toacc').disabled = false;
document.getElementById('transf_amt').disabled = false;
}
</script>
</body>
</html>