<?php
/* 
	############################[  <about> ] #######################
		S Name   ::       MMM Primadesain
		Update   ::       2013 © Primadesain.Com
		Author   ::       Agus Susanto S.kom
		Website  ::		  http://primadesain.com
		Contact  ::		  <primapc57@gmail.com> // +62 85228657360
	
	Primadesain melayani pembuatan website MLM dan Investasi
	( dengan sistem binary, trinary atau matrix dan matahari )
	juga menerima pembuatan website Iklan Baris, Website Profile,
	Reseller, Hyip, dll.
	############################[ </about> ] #######################
	*/
if(basename($_SERVER['SCRIPT_FILENAME'])==basename(__FILE__)){echo "<p align=center><br><br><br><br><br><br><font size=\"6\" color=\"#FF0000\">ILLEGAL ACCESS !!";echo "<meta http-equiv=\"refresh\" content=\"2; url=../index.php\">";exit();};echo '';;echo '<sectiony id="main" class="column">
';if($db->dataku("status",$user_session)==0||$db->dataku("blokir",$user_session)==1){echo "<div class='alert-box errors'><span>error : </span>Keanggotaan anda tidak aktif atau sedang di blokir!</div>";echo "<div align='center'><a href='javascript:history.go(-1)'><button class='primaback'>Back</button></a><br /></div>";}else{;echo '';if(isset($_GET['do'])&&$_GET['do']=="prov"){;echo '';$kodenya=$_GET['code'];$query33="SELECT * FROM konfirmasi WHERE kode='".mysql_real_escape_string($kodenya)."'";$result33=mysql_query($query33);$row33=mysql_fetch_array($result33);$kodeprocess=$row33['kode'];$username=$row33['user_tujuan'];$tgl=$row33['tgl'];$memo=$row33['catatan'];$stats=$row33['status'];$date_confirm=$row33['date_confirm'];$foto=$row33['foto'];$kode_contribute=$row33['kode_contribute'];$namanec=$db->dataku("nama",$username);$spne=$db->dataku("sponsor",$username);$kota=$db->dataku("kota",$username);$emaile=$db->dataku("email",$username);$hp=$db->dataku("hp",$username);$negara=$db->dataku("negara",$username);$bank=$db->dataku("bank",$username);$bank_acc=$db->dataku("bank_acc",$username);$ben_name=$db->dataku("ben_name",$username);$ben_country=$db->dataku("ben_country",$username);$swift_code=$db->dataku("swift_code",$username);$iban=$db->dataku("iban",$username);if($date_confirm=="0000-00-00 00:00:00"){$date_confirme="----";}else{$date_confirme=formatgl($date_confirm);}if($stats==0){$send="<span class='badge badge-important'>Wait Accept Confirm - $username</span>";}else if($stats==1){$send="<span class='badge badge-warning'>Wait Accept Confirm - $username</span>";}else if($stats==2){$send="<span class='badge badge-success'>Confirmation Accepted - $username - $date_confirme</span>";};echo '';$adafotone=$db->dataku("foto",$username);$dirfotone="./images/$adafotone";if(!empty($adafotone)&&(file_exists($dirfotone))){$gambarne="<a href='$dirfotone' class='highslide' onclick='return hs.expand(this)'><img src='../images/folder_image.png' style='vertical-align:middle'></a><div class='highslide-caption'><br><b>Profile</b><br>Username: $username<br>Name: $namanec<br>Sponsor: $spne<br>City: $kota<br>Country: $negara<br>Email: $emaile<br>Mobile: $hp<br><br><b>Bank Account</b><br>Bank Name: $bank<br>Bank Country: $ben_country<br>Acc Number: $bank_acc<br>Acc Holder: $ben_name<br>Swift Code: $swift_code<br>IBAN: $iban<br></div>";}else {$gambarne="<a href='../images/no-photo.png' class='highslide' onclick='return hs.expand(this)'><img src='../images/folder_image.png' style='vertical-align:middle'></a><div class='highslide-caption'><br><b>Profile</b><br>Username: $username<br>Name: $namanec<br>Sponsor: $spne<br>City: $kota<br>Country: $negara<br>Email: $emaile<br>Mobile: $hp<br><br><b>Bank Account</b><br>Bank Name: $bank<br>Bank Country: $ben_country<br>Acc Number: $bank_acc<br>Acc Holder: $ben_name<br>Swift Code: $swift_code<br>IBAN: $iban<br></div>";};echo '<article class="module width_full" style="width:450px">
			<header>
			  <h3 style="text-transform:uppercase;"><img src="../images/bullet_black.png" />&nbsp;&nbsp;';echo $gh_name;;echo ' CONFIRMATION</h3>
	</header>
				<div class="module_content" style="width:400px;overflow:visible;">
						<form name="" id="" method="post" action=""/>
						<fieldset>
							<label>Confirmation To :</label>
							<input type="text" id="" name="" value="';echo $namanec;;echo ' (';echo $username;;echo ')" style="width:328px;background-color:#E9E9E9"  readonly/>&nbsp;&nbsp;';echo $gambarne;;echo '									<input name="" type="hidden" id="" value="';echo $kodeprocess;;echo '">
						</fieldset>
					
						<fieldset>
						
							<label>Memo :</label>
							<textarea name="" rows="7" id="" style="width:390px" readonly="readonly" >';echo $memo;;echo '</textarea>
                              ';$adapict=$foto;$dirpict="../images/confirm/$adapict";$ukr2=getimagesize($dirpict);$w2=$ukr2[0];$h2=$ukr2[1];if($h2>120){$height="120px";}if(!empty($adapict)&&(file_exists($dirpict))){$picture="<a href='".$dirpict."' class='highslide' onclick='return hs.expand(this)'><button style='margin-left:10px; margin-bottom:5px;'>Image Attachment</button></a>";}else {$picture="<a href='../images/nomage.png' class='highslide' onclick='return hs.expand(this)'><button style='margin-left:10px; margin-bottom:5px;' disabled='disabled'>No Image Attachment</button></a>";};echo '						';echo $picture;;echo '						</fieldset>
						<fieldset >
							<label>Date :</label>
							  <input name="" id="" type="text" size="10" style="width:200px;" value="';echo formatgl($tgl);;echo '" readonly/> 
						</fieldset>
						<fieldset >
						<label>Status :</label>
							<div style="margin-left:10px;margin-bottom:5px;">';echo $send;;echo '</div>
						</fieldset>
						<div id=\'get_help_amount_errorloc\' style="font-family:Tahoma,Geneva,Arial,sans-serif;font-size:11px; line-height:130%; color:#BB0000" ></div>
						
						<div class="clear"></div>
				</div>
			
				</form>
			<footer>
			
				<div class="submit_link">
				<a  href="#" onClick="parent.$.fn.colorbox.close();"><button>Close</button></a>
				</div>
				
			</footer>
	  </article><!-- end of post new article -->
';}else if(isset($_GET['do'])&&$_GET['do']=="req"){;echo '';$kodenya=$_GET['code'];$query33="SELECT * FROM konfirmasi WHERE kode='".mysql_real_escape_string($kodenya)."'";$result33=mysql_query($query33);$row33=mysql_fetch_array($result33);$kodeprocess=$row33['kode'];$username=$row33['username'];$tgl=$row33['tgl'];$memo=$row33['catatan'];$foto=$row33['foto'];$kode_contribute=$row33['kode_contribute'];$stats=$row33['status'];$date_confirm=$row33['date_confirm'];$namanec=$db->dataku("nama",$username);$spne=$db->dataku("sponsor",$username);$kota=$db->dataku("kota",$username);$emaile=$db->dataku("email",$username);$hp=$db->dataku("hp",$username);$negara=$db->dataku("negara",$username);if($date_confirm=="0000-00-00 00:00:00"){$date_confirme="----";}else{$date_confirme=formatgl($date_confirm);}if($stats==0){$send="<span class='badge badge-important'>Wait Accept Confirm - $username</span>";}else if($stats==1){$send="<span class='badge badge-warning'>Wait Accept Confirm - $username</span>";}else if($stats==2){$send="<span class='badge badge-success'>Confirmation Accepted by you at $date_confirme</span>";};echo '';$adafotone=$db->dataku("foto",$username);$dirfotone="./images/$adafotone";if(!empty($adafotone)&&(file_exists($dirfotone))){$gambarne="<a href='$dirfotone' class='highslide' onclick='return hs.expand(this)'><img src='../images/folder_image.png' style='vertical-align:middle'></a><div class='highslide-caption'><br><b>Profile</b><br>Username: $username<br>Name: $namanec<br>Sponsor: $spne<br>City: $kota<br>Country: $negara<br>Email: $emaile<br>Mobile: $hp<br><br></div>";}else {$gambarne="<a href='../images/no-photo.png' class='highslide' onclick='return hs.expand(this)'><img src='../images/folder_image.png' style='vertical-align:middle'></a><div class='highslide-caption'><br><b>Profile</b><br>Username: $username<br>Name: $namanec<br>Sponsor: $spne<br>City: $kota<br>Country: $negara<br>Email: $emaile<br>Mobile: $hp<br><br></div>";};echo '<article class="module width_full" style="width:450px">
			<header>
			  <h3 style="text-transform:uppercase;"><img src="../images/bullet_black.png" />&nbsp;&nbsp;';echo $gh_name;;echo ' CONFIRMATION</h3>
	</header>
				<div class="module_content" style="width:400px;overflow:visible;">

						<form name="" id="" method="post" action=""/>
						<fieldset>
							<label>Member Transfer :</label>
							<input type="text" id="" name="" value="';echo $namanec;;echo ' (';echo $username;;echo ')" style="width:328px;background-color:#E9E9E9"  readonly/>&nbsp;&nbsp;';echo $gambarne;;echo '									<input name="" type="hidden" id="" value="';echo $kodeprocess;;echo '">
						</fieldset>
						
						<fieldset>
						
							<label>Memo :</label>
							<textarea name="" rows="7" id="" style="width:390px" readonly="readonly" >';echo $memo;;echo '</textarea>
                            ';$adapict=$foto;$dirpict="../images/confirm/$adapict";$ukr2=getimagesize($dirpict);$w2=$ukr2[0];$h2=$ukr2[1];if($h2>120){$height="120px";}if(!empty($adapict)&&(file_exists($dirpict))){$picture="<a href='".$dirpict."' class='highslide' onclick='return hs.expand(this)'><button style='margin-left:10px; margin-bottom:5px;'>Image Attachment</button></a>";}else {$picture="<a href='../images/nomage.png' class='highslide' onclick='return hs.expand(this)'><button style='margin-left:10px; margin-bottom:5px;' disabled='disabled'>No Image Attachment</button></a>";};echo '						';echo $picture;;echo '						</fieldset>
						<fieldset >
							<label>Date Sent :</label>
							  <input name="" id="" type="text" size="10" style="width:200px;" value="';echo formatgl($tgl);;echo '" readonly/>
						</fieldset>
						<fieldset >
						<label>Status :</label>
							<div style="margin-left:10px;margin-bottom:5px;">';echo $send;;echo '</div>
						</fieldset>
						<div class="clear"></div>
				</div>
			
				</form>
			<footer>
				<div class="submit_link">
				<a  href="#" onClick="parent.$.fn.colorbox.close();"><button>Close</button></a>
				</div>
				
			</footer>
	  </article><!-- end of post new article -->
	  
';}else {echo "<script>parent.jQuery.fancybox.close();</script>";exit;};echo '	  
';};echo '</sectiony>	  ';?>