Example #1
0
			<th>
				<div align="center">
					<a href="javascript:;" onclick="<?php 
echo getSortLink('username', $sort, $direction);
?>
">
						Name<?php 
echo getSortArrow('username', $sort, $direction);
?>
					</a>
				</div>
			</th>
			<th>
				<div align="center">
					<a href="javascript:;" onclick="<?php 
echo getSortLink('email', $sort, $direction);
?>
">
						Email<?php 
echo getSortArrow('email', $sort, $direction);
?>
					</a>
				</div>
			</th>
			<th>
				<div align="center">
					Space
				</div>
			</th>
			<th>
				<div align="center">
				<div align="center">
					<a href="javascript:;" onclick="<?=getSortLink('id', $sort, $direction)?>">
						ID #<?=getSortArrow('id', $sort, $direction)?>
					</a>
				</div>
			</th>
			<th>
				<div align="center">
					<a href="javascript:;" onclick="<?=getSortLink('username', $sort, $direction)?>">
						Name<?=getSortArrow('username', $sort, $direction)?>
					</a>
				</div>
			</th>
			<th>
				<div align="center">
					<a href="javascript:;" onclick="<?=getSortLink('email', $sort, $direction)?>">
						Email<?=getSortArrow('email', $sort, $direction)?>
					</a>
				</div>
			</th>
			<th>
				<div align="center">
					Space
				</div>
			</th>
			<th>
				<div align="center">
					Actions
				</div>
			</th>
		</tr>
Example #3
0
?>
				</a>
			</th>
			<th>
				<a href="javascript:;" onclick="<?php 
echo getSortLink('size', $sort, $direction);
?>
">
					Size<?php 
echo getSortArrow('size', $sort, $direction);
?>
				</a>
			</th>
			<th>
				<a href="javascript:;" onclick="<?php 
echo getSortLink('time', $sort, $direction);
?>
">
					Date<?php 
echo getSortArrow('time', $sort, $direction);
?>
				</a>
			</th>
			<th>
				Actions
			</th>
		</tr>
		<?php 
foreach ($files->result() as $file) {
    $links = $this->files_db->getLinks('', $file);
    ?>