コード例 #1
0
ファイル: products.php プロジェクト: devhook/shop
</span>
			</td>

			<td class="text-right">
				<span class="label label-<?php 
        echo $row->price ? 'default' : 'warning';
        ?>
"><?php 
        echo price($row->price);
        ?>
</span>
			</td>

			<td nowrap="nowrap">
				<?php 
        echo AdminUI::actions(array_except($row->rowActions(), 'remove'));
        ?>
			</td>
		</tr>
	<?php 
    }
    ?>
	</tbody>
	</table>

	<?php 
    echo $data->links();
} else {
    ?>

	<div class="alert alert-info text-center"><i class="icon-gears icon-3x"></i><br>Нет записей</div>
コード例 #2
0
ファイル: categories.php プロジェクト: devhook/shop
			<td nowrap="nowrap">
				<div class="btn-group">
					<a href="" class="btn btn-xs btn-info"><i class="icon-dropbox icon-large"></i> Товары</a>
					<a href="" class="btn btn-xs btn-info disabled"><?php 
        echo $row->total_allowed;
        ?>
</a>
					<a href="" class="btn btn-xs btn-info disabled"><?php 
        echo $row->total;
        ?>
</a>
				</div>
			</td>
			<td nowrap="nowrap">
				<?php 
        echo AdminUI::actions($row->rowActions());
        ?>
			</td>
		</tr>
	<?php 
    }
    ?>
	</tbody>
	</table>

<?php 
} else {
    ?>

	<div class="alert alert-info text-center"><i class="icon-gears icon-3x"></i><br>Нет записей</div>