<?php
 
session_start();
include("DMMYSQLG.php");
if($_POST['tip_ven']==""){
	echo '<meta content="0; url=DG20000_PR.php" HTTP-EQUIV="REFRESH">';
	exit();
}
//if($_SESSION['tipven']==""){
	@$dt_tipven=mysqli_fetch_array(mysqli_query($con ,"SELECT * from dgtipven where tip_ven='".$_POST['tip_ven']."'"));
	$_SESSION['tipven'] = $_POST['tip_ven'];
	$_SESSION['al']=$dt_tipven['almacen'];
	$_SESSION['tipven1'] = 1;
	$_SESSION['tipven2'] = "";
	$_SESSION['opeven'] = 1;
	$_SESSION['repmen1'] = "";
	$_SESSION['repmen2'] = "";
//}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin t&iacute;tulo</title>
</head>

<!--<frameset rows="*" cols="155,*" framespacing="0" frameborder="no" border="0">
  <frame src="DG20000_PR1.php" name="leftFrame" scrolling="No" noresize="noresize" id="leftFrame" title="leftFrame" />
  <frame src="DG20000_PR3.php" name="centro" id="centro" title="mainFrame" />
</frameset>
<noframes>-->
<body>
	<meta content="0; url=MENU_ADM.php"  HTTP-EQUIV="REFRESH">
</body>
</noframes>
</html>
