Beispiel #1
0
?>
                    <div class="col-md-8 col-sm-8 col-xs-12" style="padding: 0px 50px 0px;">
                        <table cellpadding="6" cellspacing="5" style="width:100%">
                            <tr>
                                <th></th>
                                <th></th>
                                <th>Jumlah & Waktu Pengiriman</th>
                                <th style="text-align:right">Sub-Total</th>
                                <th></th>
                            </tr>

                            <?php 
$i = 1;
?>
                            <?php 
foreach ($cart->contents() as $items) {
    ?>
                                <?php 
    echo Html::hiddenInput($i . '[rowid]', $items['rowid']);
    ?>
                                <tr>
                                    <td>
                                        <?php 
    echo Html::img(Yii::$app->urlManagerBackEnd->baseUrl . '/' . Html::encode($items['filename']), ['style' => 'width: 80%; height: 20%;']);
    ?>
                                    </td>
                                    <td width="23%">
                                        <?php 
    echo $items['name'];
    ?>
<br/>