<?php 
	/*
		UserPie Version: 1.0
		http://userpie.com
		

	*/
	require_once("models/config.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Ingram Connect | <?php echo $websiteName; ?> </title>
<?php require_once("head_inc.php"); ?>



</head>
<body>
<?php require_once("navbar.php"); ?>
	<div id="content">
		<div class="container">
			<div class="row-fluid">
				<div class="span3" id="navbar">
					<h1>DigiByte</h1>
					<p>Bienvenido <strong><?php echo $loggedInUser->display_username; ?></strong></p>
					<nav>
						<ul class="nav nav-pills nav-stacked">
							<li><a href="userpage.php">Inventario</a></li>
							<li class="active"><a href="userpage-sucursales.php">Sucursales</a></li>
							<li><a href="userpage-categorias.php">Categorias</a></li>
							<li><a href="userpage-marcas.php">Marcas</a></li>
							<li><a href="userpage-ordenes.php">Ordenes</a></li>
						</ul>
					</nav>
				</div>
				<div class="span9">
	
				        <p align="right">descargar<a target="_blank" class="btn btn-default" href="http://tiendaonline.im/retailer/api/sucursales"><i class="icon-download-alt"></i>  .json</a></p>

<?php
					
					echo "<table class=\"table\">
					<caption>Sucursales</caption>
					<thead>
						<tr>
							<th>ID</th>
							<th>SUCURSAL</th>
						</tr>
					</thead>
					<tbody>
					<tr>
						<td>10</td>
						<td>México D.F.</td>
					</tr>
					<tr>
						<td>20</td>
						<td>Puebla</td>
					</tr>
					<tr>
						<td>30</td>
						<td>Mérida</td>
					</tr>
					<tr>
						<td>40</td>
						<td>Monterrey</td>
					</tr>
					<tr>
						<td>50</td>
						<td>León</td>
					</tr>
					<tr>
						<td>55</td>
						<td>Querétaro</td>
					</tr>
					<tr>
						<td>60</td>
						<td>Tijuana</td>
					</tr>
					<tr>
						<td>80</td>
						<td>Guadalajara</td>
					</tr>


					";

					echo "</tbody></table>";

	        ?>  			        
				</div>
			</div>			
		</div>
	</div>
</body>
</html>


