<?php
  
    session_start();
	include("../jdf.php");
	$pdate1=jdate("Y-m-d");
    include("../today_assets_date_plagin.php");
?>
<!DOCTYPE html>
 
<html xmlns="http://www.w3.org/1999/xhtml">
<title>لیست بانکهاو صندوقها</title>
<head> 
 <style>
a:link {
    text-decoration: none;
	color: #000;
}

 a:hover {
    color: red;
	text-decoration: underline;
}
a:active {
     
    color: #000;
}

@font-face {
	  font-family: 'hekmat';
	  src: url('../font/BHoma.ttf'); /* IE */
      src: local('BHoma-Bold'), url('../font/BHoma.ttf') format('truetype'); /* non-IE */
      font-weight:normal;
}
.font{
    color: #000;
    font-family: 'hekmat';  

}
@media print {

   .dontPrint {
       display:none;
    }

    }
	
	@media all{
.page-break{display:none;}
}
@media print{
.page-break{display:block;page-break-after:always;}
.dote img {visibility: visible;}
}
 
@page 
{
   size: auto;   /* auto is the initial value */
    margin: 3mm;  /* this affects the margin in the printer settings */
 }
  @media print {
    html, body {
        height: 99%;    
    }
}
</style>   
 <link rel="stylesheet" href="table_style/table_style7.css">
 
</head>
 <?php //include("r_c_d_s_p/back_print_save_refresh.php"); ?>

<body onkeydown = "onKeyDown()" onKeyPress="return disableEnterKey(event)">
 <form action = "" method = "POST">
<div id="wrap">
    
  
		<table border="0" align="center"   width="950px" dir="rtl" class="font">
		<tr>
			<th style="width:166px;text-align:right">
			   
		<tr>
			<th style="width:96px"></th>
			<th style="width:206px">لیست بانک وصندوقها<br><?php echo date("Y-M-d" ) ?></th>
			<th style="width:126px" > </th>
			 
		</tr>
		</table>
		<br>
		<br>
         <table id="box-table-a"   dir="rtl" align="center" >
		 <thead> 
<th scope="col">شماره</th>
 
 
<th scope="col">واحد پولی</th>


<th scope="col">مقدار</th>
 
 </td>
 </thead>
		    
	<?php  
	 /* 
	                        include('db.php');
				             
						 
						$bank_sql="SELECT  *  FROM    `assets` ";
						$bank_query= $db ->query($bank_sql);
				  
						  
                          while($nrow=$bank_query ->fetch_array()){
						    $ii++;
							
							$id = $nrow['id'];
							$currencies_id = $nrow['currencies_id'];
							$amount = $nrow['amount'];
							$all+=$dollarAmount = $nrow['dollarAmount'];
							 
							//=========find bank========================
							$find_currency_sql="SELECT  name  FROM `currencies`   WHERE  id='$currencies_id'  ";
							$find_currency_query= $db ->query($find_currency_sql);
							$find_currency_row=$find_currency_query ->fetch_array();
							$currency=$find_currency_row['name'];
							 
							
							//========================================== */
							
						       
									 
			echo '<tbody>
			<tr>
			<td>1</td>
			<td>یورو</td> 
			<td>'.number_format($today_finalAccount_euro).'</td>
			<tr>
			</tr>
			<tr>
			<td>2</td> 
			<td>دالر</td> 
			<td>'.number_format($today_finalAccount_dollar).'</td>
			</tr>
			<tr>
			<td>3</td> 
			<td>افغانی</td> 
			<td>'.number_format($today_finalAccount_AFN).'</td>
			</tr>
			
			<tr>
			<td>4</td> 
			<td>کالدار</td> 
			<td>'.number_format($today_finalAccount_pakistan).'</td>
			</tr>
			<tr>
			<td>5</td> 
			<td>تومان</td> 
			<td>'.number_format($today_finalAccount_toman).'</td>
			</tr>
			
			';	
              		 
				 	  //}
                
			 	 				  
						  
			 	   
    ?> 
	
</tr>		
 </tbody>
 </table>
  
</div>
 
   
  
 </body>
 </form>
 </html>  
  
 
 
  