<?php
$varTitulo = "LISTADO DE VENDEDORES";
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
	<head>
		<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
		<link rel="shortcut icon" type="image/ico" href="../images/login/logo_sisgesint_32x32.png" />
		<TITLE><?php echo $varTitulo?></TITLE>
		<style type="text/css" title="currentStyle">
			@import "../css/demo_page.css";
			@import "../css/demo_table_jui.css";
			@import "../css/themes/redmond/jquery-ui-1.8.4.custom.css";
		</style>
		<script type="text/javascript" language="javascript" src="../js/jquery-1.7.1.js"></script>
		<script type="text/javascript" language="javascript" src="../js/jquery.dataTables.js"></script>
		<script type="text/javascript">
			$(document).ready(function() {
				oTable = $('#example').dataTable({
					"bJQueryUI": true,
					"iSortingCols":"2",
					"sPaginationType": "full_numbers",
					"iDisplayLength": 15,
    				"aLengthMenu": [[15, 20, 30, 50, 100, -1], [15, 20, 30, 50, 100, "Todos"]],					
					"bProcessing": true,
					"bServerSide": true,
					"sAjaxSource": "../data_vendedor.php?cod="+document.getElementById('cod').value+"&nom="+document.getElementById('nom').value
				});
			} );
		</script>
	</head>
	<body id="dt_example">
<script type="text/javascript" src="../js/funciones.js"></script>
<script type="text/javascript" src="../js/wz_tooltip.js"></script>
<script type="text/javascript" src="../js/tip_balloon.js"></script>
<input id="cod" type="hidden" value="<?php echo $_GET["cod"];?>" name="cod" >
<input id="nom" type="hidden" value="<?php echo $_GET["nom"];?>" name="nom" >
<table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
	<thead>
		<tr>
			<th width="30">OPT</th>
            <th width="50">CVEN</th>
			<th>VENDEDOR</th>
			<th>DIRECCION</th>
			<th>DNI</th>
            <th>ESTADO</th>
		</tr>
	</thead>
	<tbody>
		<tr>
			<td colspan="5" class="dataTables_empty">CARGANDO DATOS DEL SERVIDOR</td>
		</tr>
	</tbody>
</table>
</body>
</html>