<?php 
include '../../blocks/top-menu.php';
?>
            <?php 
include '../../blocks/side-menu.php';
?>
            
        </nav>


        <div id="page-wrapper">

            <div class="container-fluid">

            <?php 
$shop = getShopById($user["bicycle_outlet_id"]);
$shop = mysql_fetch_array($shop);
?>

                <!-- Page Heading -->
                <div class="row">
                    <div class="col-lg-12">
                        <h1 class="page-header">
                            Manage  Bicycle
                            <small><?php 
echo $shop["name"];
?>
</small>
                        </h1>

                        <div class="col-lg-12 no-padding">
                                <!-- Password -->
                                <div class="form-group">
                                    <label for="password">Password</label>

                                    <input readonly type="text" id="password" name="password" class="form-control" placeholder="Password" value="<?php 
echo $user['password'];
?>
" required>
                                </div>

                                <?php 
if ($user['bicycle_outlet_id'] != NULL) {
    ?>
                                    
                                    <?php 
    $shop = getShopById($user['bicycle_outlet_id']);
    ?>
                                    <?php 
    $shop = mysql_fetch_array($shop);
    ?>

                                    <!-- Bicycle Outlet Name -->
                                    <div class="form-group">
                                        <label for="shop-name">Shop Name</label>

                                        <input readonly type="text" class="form-control" value="<?php 
    echo $shop['name'];
    ?>
">
                                        
                                        <input type="hidden" id="bicycle-outlet-id" name="bicycle-outlet-id" class="form-control" value="<?php