1 <?php require(AT_INCLUDE_PATH.'header.inc.php'); ?>
2 <div class="column-login">
3 <div class="input-form">
4 <fieldset class="group_form"><legend class="group_form"><?php echo _AT('filter'); ?></legend>
5 <form method="get" action="<?php echo $_SERVER['PHP_SELF']; ?>">
8 <h3><?php echo _AT('results_found', $this->num_results); ?></h3>
11 <?php echo _AT('access'); ?><br />
12 <input type="radio" name="access" value="private" id="s1" <?php if ($_GET['access'] == 'private') { echo 'checked="checked"'; } ?> /><label for="s1"><?php echo _AT('private'); ?></label>
14 <input type="radio" name="access" value="protected" id="s2" <?php if ($_GET['access'] == 'protected') { echo 'checked="checked"'; } ?> /><label for="s2"><?php echo _AT('protected'); ?></label>
16 <input type="radio" name="access" value="public" id="s3" <?php if ($_GET['access'] == 'public') { echo 'checked="checked"'; } ?> /><label for="s3"><?php echo _AT('public'); ?></label>
18 <input type="radio" name="access" value="" id="s" <?php if ($_GET['access'] == '') { echo 'checked="checked"'; } ?> /><label for="s"><?php echo _AT('all'); ?></label>
21 <?php if ($this->has_categories): ?>
23 <label for="category"><?php echo _AT('category'); ?></label><br/>
24 <select name="category" id="category">
25 <option value="-1">- - - <?php echo _AT('cats_all'); ?> - - -</option>
26 <option value="0" <?php if ($_GET['category'] == 0) { echo 'selected="selected"'; } ?>>- - - <?php echo _AT('cats_uncategorized'); ?> - - -</option>
27 <?php echo $this->categories_select; ?>
33 <label for="search"><?php echo _AT('search'); ?> (<?php echo _AT('title').', '._AT('description'); ?>)</label><br />
35 <input type="text" name="search" id="search" size="30" value="<?php echo htmlspecialchars($_GET['search']); ?>" />
37 <?php echo _AT('search_match'); ?>:
38 <input type="radio" name="include" value="all" id="match_all" <?php echo $this->checked_include_all; ?> /><label for="match_all"><?php echo _AT('search_all_words'); ?></label>
39 <input type="radio" name="include" value="one" id="match_one" <?php echo $this->checked_include_one; ?> /><label for="match_one"><?php echo _AT('search_any_word'); ?></label>
42 <div class="row buttons">
43 <input type="submit" name="filter" value="<?php echo _AT('filter'); ?>"/>
44 <input type="submit" name="reset_filter" value="<?php echo _AT('reset_filter'); ?>"/>
52 <?php if (is_array($this->courses_rows)){ ?>
53 <?php foreach ($this->courses_rows as $row){ ?>
55 <ul class="fl-list-menu fl-list-thumbnails">
57 <h3 class="browse-courses"><a href="<?php echo url_rewrite('bounce.php?course='.$row['course_id'], true); ?>"><?php echo htmlentities($row['title'], ENT_QUOTES, 'UTF-8'); ?></a></h3>
59 <?php if ($row['description']): ?>
60 <span class="fl-link-summary" title="<?php echo htmlentities($row['description']);?>"><?php echo substr(nl2br(htmlentities($row['description'], ENT_QUOTES, 'UTF-8')),0,150);
61 if(strlen($row['description']) > 150){
66 <span class="fl-link-summary" title="<?php echo htmlentities($row['description']);?>"> </span>
72 <?php } // end foreach ?>
76 <?php require(AT_INCLUDE_PATH.'footer.inc.php'); ?>