<table> <?php $count_myt = 1; foreach ($my_t as $one) { ?> <tr> <td> <?php echo $count_myt; $count_myt++; ?> . </td> <td> <?php echo Html::a(T::name($one['id']), '/' . $one['id']); ?> </td> </tr> <?php } ?> </table> <?php } else { ?> <span class="grey">Созданные Вами турниры не найдены.</span> <?php } ?> </div>
<td>Турнир</td> <td>Сезон</td> <td>Тип сетки</td> <td>Создатель</td> <td>Посл.изменение</td> </thead> <?php foreach (array_reverse($season) as $one) { ?> <tr> <td><?php echo $one->id; ?> </td> <td><?php echo T::name($one->t_id, 1); ?> </td> <td><?php echo HTML::encode($one->name); ?> </td> <td><?php echo Season::nets(1, $one->net_type); ?> </td> <td><?php echo User::name($one->admin_id); ?> </td> <td><?php
<th>хосты</th> <th>хиты</th> </tr> </thead> <tbody> <?php foreach ($seasons as $item) { ?> <tr> <td><?php echo $item['id']; ?> </td> <td><?php echo Html::a(T::name($item['t_id']), '/t/view/' . $item['t_id']); ?> </td> <td><?php echo Html::encode($item['name']); ?> </td> <td><?php echo date("D.m.y H:i", $item['time_update']); ?> </td> <td><?php echo $redis->get('visitors_uni:id:' . $item['t_id']); ?> </td> <td><?php