<?php  require('cfg/res.php'); 
$adr_sql='select *from adrs00 where adrs_enti="'.$_SESSION['user_vcrx_id'].'"';
//echo $adr_sql;
$adr_res=mysql_query($adr_sql,$link_vcrx);
if(mysql_num_rows($adr_res)!=0){?>
<div class="c2">ELIJA DIRECCION A ENVIAR</div>
	<div id="con_dir">
	
	<?php
	while($adr_r=mysql_fetch_assoc($adr_res)){?>
	
		<div align="left" class="dper_lbl">EMAIL:</div>
		<div align="left" class="dper_txt"><?php echo $adr_r['adrs_email'];?></div>
	
	
		<div align="left" class="dper_lbl">CALLE1-CDLA-EDIF:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_calle1'];?></div>
	
	
		<div align="left" class="dper_lbl">CALLE2-MZ-PISO:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_calle2'];?></div>
	
	
		<div align="left" class="dper_lbl">NUM.VILLA-DPTO:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_callen'];?></div>
	
	
		<div align="left" class="dper_lbl">REFERENCIA:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_calle3'];?></div>
	
	
		<div align="left" class="dper_lbl">TELEFONO:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_tlfn'];?></div>
	
	
		<div align="left" class="dper_lbl">EXT:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_ext'];?></div>
	
	
		<div align="left" class="dper_lbl">CIUDAD:</div>
		<div align="left" class="dper_txt"><?php echo $adr_r['prvc_descri'].'/'.$adr_r['cdad_descri'];?></div>
	
	
		<div align="left" class="dper_lbl">CONTACTO:</div>
		<div align="left" class="dper_txt" ><?php echo $adr_r['adrs_contacto'];?></div>
	

		<div align="left"   style="height:45px;">
		<input  type="button" id="elegird_btn" value="Enviar esta direccion" onClick="_modifica('<?php echo $adr_r['adrs_codigo'];?>','','e');"  style="height:45px; width:100%; background:#09c; color:#FFF; border:none; font-weight:bolder; font-size:16px; cursor:pointer;">
        </div>
        <hr />
	
	
		<div style="height:45px;">&nbsp;</div>
<?php } ?>
	
	</div>

<?php } ?>