Exemple #1
0
        ?>
</td>
                                <td><?php 
        echo htmlentities($order->user_phone);
        ?>
</td>
                                <td><?php 
        echo htmlentities($order->user_comment);
        ?>
</td>
                                <td><?php 
        echo \App\Components\FunctionLibrary::getDate($order->date, true);
        ?>
</td>
                                <td><?php 
        echo \App\Components\FunctionLibrary::getStatus($order->status);
        ?>
</td>
                                <td><a href="/admin/order/view/<?php 
        echo (int) $order->id;
        ?>
"><i class="fa fa-eye"></i></a></td>
                                <td><a href="/admin/order/edit/<?php 
        echo (int) $order->id;
        ?>
"><i class="fa fa-edit"></i></a></td>
                                <td>
                                    <a href="/admin/order/delete/<?php 
        echo (int) $order->id;
        ?>
" onclick="return confirm('Вы уверены что хотите удалить заказ?')">
Exemple #2
0
            echo \App\Components\FunctionLibrary::getStatus($cnt);
            ?>
&nbsp;&nbsp;
                                    </option>
                                    <?php 
            continue;
            ?>
                                    <?php 
        }
        ?>
                                    <option value="<?php 
        echo $cnt;
        ?>
">
                                        &nbsp;&nbsp;<?php 
        echo \App\Components\FunctionLibrary::getStatus($cnt);
        ?>
&nbsp;&nbsp;
                                    </option>
                                <?php 
    }
    ?>
                            </select>&nbsp;&nbsp;
                            <input type="submit" name="submit" value="Выбрать" class="btn btn-default">
                        </form>
                    <?php 
}
?>
                    </div>
                </div>
            </div>