Files
wavelog/application/views/notes/main.php

22 lines
520 B
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<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 dont 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 cant lose them!</p>";
}
?>
</div>