<!DOCTYPE html>
<?php
require_once('connection/db.php');
require_once('convert_marathi.php');
// like i said, we must never forget to start the session
session_start();
// is the one accessing this page logged in or not?
if (!isset($_SESSION['logged_in'])|| $_SESSION['logged_in'] !== true)
{
		// not logged in, move to login page
		header('Location: index.php');
		exit;
}
$username = $_SESSION['User_Name'];
convert_marathi();
?>
<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>
<link rel="stylesheet" href="css/style.default.css" type="text/css" />
<link rel="stylesheet" href="css/bootstrap-fileupload.min.css" type="text/css" />
<link rel="stylesheet" href="css/bootstrap-timepicker.min.css" type="text/css" />
<link rel="stylesheet" href="css/responsive-tables.css">
<script type="text/javascript" src="js/jsapi.js"></script>
<script type="text/javascript" src="unicode.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.js"></script>
<script type="text/javascript" src="js/jquery-1.9.1.min.js"></script>
<script type="text/javascript" src="js/jquery-migrate-1.1.1.min.js"></script>
<script type="text/javascript" src="js/jquery-ui-1.9.2.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/bootstrap-fileupload.min.js"></script>
<script type="text/javascript" src="js/bootstrap-timepicker.min.js"></script>
<script type="text/javascript" src="js/jquery.uniform.min.js"></script>
<script type="text/javascript" src="js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="js/jquery.validate.min.js"></script>
<script type="text/javascript" src="js/jquery.tagsinput.min.js"></script>
<script type="text/javascript" src="js/jquery.autogrow-textarea.js"></script>
<script type="text/javascript" src="js/charCount.js"></script>
<script type="text/javascript" src="js/colorpicker.js"></script>
<script type="text/javascript" src="js/ui.spinner.min.js"></script>
<script type="text/javascript" src="js/chosen.jquery.min.js"></script>
<script type="text/javascript" src="js/jquery.cookie.js"></script>
<script type="text/javascript" src="js/modernizr.min.js"></script>
<script type="text/javascript" src="js/responsive-tables.js"></script>
<script type="text/javascript" src="js/custom.js"></script>
<script type="text/javascript" src="js/forms.js"></script>

<!-- Script required of tab functioning -->	 
<script type="text/javascript" src="prettify/prettify.js"></script>
<script type="text/javascript" src="js/elements.js"></script>
<script type="text/javascript">
    jQuery(document).ready(function(){
        // dynamic table
        jQuery('#dyntable').dataTable({
            "sPaginationType": "full_numbers",
            "aaSortingFixed": [[0,'asc']],
            "fnDrawCallback": function(oSettings) {
                jQuery.uniform.update();
            }
        });
        
        jQuery('#dyntable2').dataTable( {
            "bScrollInfinite": true,
            "bScrollCollapse": true,
            "sScrollY": "300px"
        });
        
    });
</script>
<script>
document.addEventListener("contextmenu", function(e){
    e.preventDefault();
}, false);
</script>
</head>

<body oncontextmenu="return false">
<div class="mainwrapper">
    <div class="header">
        <div class="logo">
            <div style="float:left;"><img src="images\t-soba.png" style="height:95px;width:95px;" alt="" /></div>
			<div style="float:right;margin-top:50px;margin-right:5px;"><font color="white" size="1px;">पोलीस अधिक्षक <br> कार्यालय,<br>जिल्हा रायगड</font></a></div>        </div>
        <div class="headerinner">
            <ul class="headmenu">
                
				
				
				
				
				
				<!-- -------------------------------------------------------------------------------------------
										End Of Notification Code
				--------------------------------------------------------------------------------------------- -->
                <li class="right">
                    <div class="userloggedinfo">
                        <img src="images/departments.jpg" alt="" />
                        <div class="userinfo" style="width:150px;">
                            <ul> 
                                <li><h5><?php echo "Welcome </h5><h4 style=font-weight:bold;>".$_SESSION['User_Name']."</h4>";?></li>
                                <li><a href="logout.php">Sign Out</a></li>
                            </ul>
                        </div>
                    </div>
                </li>
            </ul><!--headmenu-->
        </div>
    </div>
    <div class="leftpanel">  
        <div class="leftmenu">        
            <ul class="nav nav-tabs nav-stacked">
            	<li class="nav-header">Navigation</li>
				<li class="active"><a href="letterentry2.php"><span class="iconfa-envelope"></span>आवक बारनिशी</a></li>
				<li class="active"><a href="deskacceptletter.php"><span class="iconfa-laptop"></span>पत्र स्वीकार करा</a></li>
				<li class="active"><a href="performaction.php"><span class="iconfa-laptop"></span>संदर्भ लावा </a></li>
				<li class="active"><a href="desk_action_perform.php"><span class="iconfa-laptop"></span>कार्यवाही करा </a></li>
				<li class="active"><a href="sadhyasthiti_desk.php"><span class="iconfa-laptop"></span>कार्यविवरण नोंदवही / वर्कशिट </a></li>
				<li class="active"><a href="prakaran_nondwahi_desk.php"><span class="iconfa-laptop"></span>प्रकरण नोंदवही </a></li>
				<li class="active"><a href="await_register.php"><span class="iconfa-laptop"></span>Await Register</a></li>
               
				<li class="dropdown active"><a href="desk_accepted_rtn_table.php"><span class="iconfa-briefcase"></span>रिपोर्ट्स</a>
                	<ul>
                    	<li><a href="report_sandharbha.php">संदर्भप्रकारानुसार रिपोर्ट्स </a></li>
                        <li><a href="report_jatanprakar.php">जतन प्रकारानुसार  रिपोर्ट्स</a></li>
                    <!--    <li><a href="report_priority.php">प्राधान्यनुसार  रिपोर्ट्स</a></li> -->
						<li><a href="goshwara_desk.php">गोषवारा</a></li>
						
						<li><a href="freq_desk.php"> वारंवार येणारे पत्र  </a></li>
                    </ul>
                </li>
			
				<li class="active"><a href="rec_sort_jatanprakar.php?no=2"><span class="iconfa-laptop"></span>रेकॉर्ड सॉर्टिंग </a></li>
				
				<li class="active"><a href="desk_accepted_rtn_table.php"><span class="iconfa-pencil"></span>स्वीकृत पत्र परत पाठवा </a></li>
					<?php $q=mysql_query("select user_type from login where login_id='$username'") or die("".mysql_error());
					$qs=mysql_fetch_array($q);
					$v=$qs['user_type'];
					?>
				<li class="active"><a href="changeseq.php?no=<?php echo $v; ?>"><span class="iconfa-pencil"></span>सेक्युरिटी प्रश्न बदला </a></li>
                <li class="active"><a href="changepw.php?no=<?php echo $v; ?>"><span class="iconfa-pencil"></span>पासवर्ड बदला </a></li>
            </ul>
        </div><!--leftmenu-->
    </div><!-- leftpanel -->
</script>
</body>
</html>