22 行
无行尾
520 B
PHP
22 行
无行尾
520 B
PHP
<h2>Note</h2>
|
|
<div class="wrap_content note">
|
|
|
|
<?php
|
|
|
|
if ($notes->num_rows() > 0)
|
|
{
|
|
echo "<ul class=\"notes_list\">";
|
|
foreach ($notes->result() as $row)
|
|
{
|
|
echo "<li>";
|
|
echo "<a href=\"".site_url()."/notes/view/".$row->id."\">".$row->title."</a>";
|
|
echo "</li>";
|
|
}
|
|
echo "</ul>";
|
|
} else {
|
|
echo "<p>You don’t currently have any notes, these are a fantastic way of storing data like ATU settings, beacons and general station notes and its better than paper as you can’t lose them!</p>";
|
|
}
|
|
|
|
?>
|
|
|
|
</div>
|