Esempio n. 1
0
        ?>
">
          <?php 
        echo $i + 1;
        ?>
        </a>
      </li>
    <?php 
    }
    ?>
    <?php 
    if ($page < $total_pages - 1) {
        ?>
    <li class="next">
      <a href="<?php 
        echo project_search_path(array("q" => $this->q, "p" => $page + 1));
        ?>
">
        <img src="/img/pager/next.png">
      </a>
    </li>
    <?php 
    }
    ?>
  </ul>
</div>
<?php 
}
?>

Esempio n. 2
0
        ?>
">
          <?php 
        echo $i + 1;
        ?>
        </a>
      </li>
    <?php 
    }
    ?>
    <?php 
    if ($page < $total_pages - 1) {
        ?>
    <li class="next">
      <a href="<?php 
        echo project_search_path(array("q" => urlencode($this->q), "p" => $page + 1));
        ?>
">
        <img src="/img/pager/next.png">
      </a>
    </li>
    <?php 
    }
    ?>
  </ul>
</div>
<?php 
}
?>

Esempio n. 3
0
<h3>Search for projects.</h3>
<?php 
echo form_tag(project_search_path(), "GET");
echo text_field_tag("q", "q", false, array("placeholder" => "Enter your search here (i.e: project name, part of description, language)...", "value" => $this->q));
echo submit("Search", array("class" => "btn btn-primary btn-large"));
echo form_end_tag();