  <?php
include_once('dashboard_tapal.php');
require_once('convert_marathi.php');
$id=$_GET['id'];
?>
<!DOCTYPE html>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tapal Admin System</title>
</head>
<body>
    <div class="rightpanel">
        <ul class="breadcrumbs">
            <li><a href="dashboard_tapal.php"><i class="iconfa-home"></i></a> <span class="separator"></span></li>
            <li><a href="dashboard_tapal.php">Tables</a> <span class="separator"></span></li>
            <li>जावक बारनिशी  </li>
        </ul>
        <div class="pageheader">
            <div class="pageicon"><span class="iconfa-table"></span></div>
            <div class="pagetitle">
                <h5>Tables</h5>
                <h1>जावक बारनिशी  </h1>
            </div>
        </div><!--pageheader-->
        <div class="maincontent">
            <div class="maincontentinner">
			<h4 class="widgettitle">जावक बारनिशी </h4>
			<?php
				$r = mysql_query("SELECT * FROM incoming_letters_transaction,dispatched_transaction WHERE incoming_letters_transaction.ltr_id='$id' AND dispatched_transaction.ltr_id=incoming_letters_transaction.ltr_id");
				$row = mysql_fetch_array($r);
				$ref_date = date('d-m-Y',strtotime($row['ref_dt']));
				$rec_date = date('d-m-Y',strtotime($row['receive_dt']));
				$path =$row['document'];
				echo"
					<center><u><b>Print Given Document</b></u></center><br>
						<table width='65%'>
							<tr>
								<td>आवक क्रमांक</td>
								<td>पत्र क्रमांक</td>
								<td>पत्र कोणास पाठविले</td>
							</tr>
							<tr>
								<td>".$row['outward_no']."</td>
								<td>".$row['ltr_inword_no ']."</td>
								<td>".$row['sender_name ']."</td>
							</tr>
						</table>
						<br><br>";
			
						include_once('footer.php');?>
			</div><!--maincontentinner-->
        </div><!--maincontent--> 
    </div><!--rightpanel-->
</div><!--mainwrapper-->
</body>
</html>
