12345678910111213 |
- <?php
- $query = mysqli_query($link, "select * from penalties");
- while ($res = mysqli_fetch_array($query)) {
- $accid = $res['account_id'];
- $task = $res['task_id'];
- $date = $res['created'];
- $acc = Account::Find($accid);
- if ($acc) {
- echo "Штраф: <b>$acc->name</b> [$acc->id] Задача: $task, создан $date<br>";
- }
- }
|