search.php 1.2 KB

123456789101112131415161718192021222324
  1. <div class="search clearfix">
  2. <h3>
  3. <img style="margin: 0 5px 0 0; vertical-align: middle; height: 16px" width="16" height="16" alt="Search" src="<?php echo $view->get('assets')->getUrl('bundles/webprofiler/images/search.png') ?>" />
  4. Search
  5. </h3>
  6. <form action="<?php echo $view->get('router')->generate('_profiler_search') ?>" method="get">
  7. <label for="ip">IP</label>
  8. <input type="text" name="ip" id="ip" value="<?php echo $ip ?>" />
  9. <div class="clearfix"></div>
  10. <label for="url">URL</label>
  11. <input type="text" name="url" id="url" value="<?php echo $url ?>" />
  12. <div class="clearfix"></div>
  13. <label for="token">Token</label>
  14. <input type="text" name="token" id="token" />
  15. <div class="clearfix"></div>
  16. <label for="limit">Limit</label>
  17. <select name="limit" id="limit">
  18. <?php foreach (array(10, 50, 100) as $l): ?>
  19. <option<?php echo $l == $limit ? ' selected="selected"' : '' ?>><?php echo $l ?></option>
  20. <?php endforeach; ?>
  21. </select>
  22. <input class="submit" type="submit" value="update" /><br />
  23. </form>
  24. </div>