Example #1
0
    }
    ?>
                </select>
                <input class="form-control" id="address" name="address" placeholder="Nhập số nhà, tên đường để nhận hàng" type="text" value="<?php 
    if (isset($_SESSION['user']['address'])) {
        echo $_SESSION['user']['address'];
    }
    ?>
" required>
                <?php 
}
?>
                
                 <select class="form-control" style="width:48%;margin-right:10px;height:35px" id="delivery_date" name="delivery_date">
                    <?php 
$arrDate = $model->calDayDelivery();
foreach ($arrDate as $key => $d) {
    ?>
                    <option value="<?php 
    echo $key;
    ?>
"><?php 
    echo $d;
    ?>
</option>
                    <?php 
}
?>
                </select>
                <select class="form-control" style="width:48%;height:35px" name="delivery_hour">
                    <?php