index.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?php
  2. // Sloodle Browser website
  3. require_once('config.php');
  4. $CFG->curpage = 'home';
  5. $CFG->pagetitle = 'Sloodle Browser :: Home';
  6. // Define a numeric array of screenshots.
  7. // Each value is a numeric array containing {thumbnailurl, mainimageurl, caption}
  8. $screenshots = array();
  9. $screenshots[] = array('screenshots/tn_google_search.png', 'screenshots/google_search.png', 'Entering a Google search');
  10. $screenshots[] = array('screenshots/tn_google_results.png', 'screenshots/google_results.png', 'Browsing the Google search results');
  11. $screenshots[] = array('screenshots/tn_sloodle_homepage.png', 'screenshots/sloodle_homepage.png', 'Viewing the Sloodle homepage');
  12. print_header();
  13. ?>
  14. <!-- MAIN PAGE CONTENT -->
  15. <?php start_page_content(); ?>
  16. <?php start_page_entry('Welcome!'); ?>
  17. <p>
  18. The Sloodle Browser is a <a href="http://www.secondlife.com" title="Official Second Life website">Second Life</a> &reg;
  19. tool which allows several avatars to collaboratively browse and interact with websites from within the virtual world.
  20. </p>
  21. <p>
  22. It does this by displaying the webpages on the surface of a prim, and providing a virtual mouse pointer (called the "VMouse")
  23. which users can drag and click to interact with the browser. The mouse also acts as a virtual pointer, helping focus attention
  24. during discussions and presentations.
  25. </p>
  26. <p style="font-weight:bold; font-size:80%;">
  27. The Sloodle Browser is free and open source, released under the
  28. <a href="http://www.gnu.org/copyleft/gpl.html" title="Click for more information about the license we work with">GNU General Public License</a>.
  29. </p>
  30. <?php end_page_entry(); ?>
  31. <?php start_page_entry('Instructions'); ?>
  32. <p>
  33. To drag the virtual mouse, you have to hold down the Ctrl key on the keyboard, then click and hold your left
  34. mouse button on the arrow pointer, and move your mouse around. If the pointer disappears, then let go of the mouse and Ctrl key,
  35. and it will soon re-appear. To click the virtual mouse, simply click on the red button attached to the pointer.
  36. </p>
  37. <p>
  38. Data entry occurs using ordinary text chat:
  39. URLs to visit can be specified on channel 2, and form data can be specified on channel 3.
  40. </p>
  41. <?php end_page_entry(); ?>
  42. <?php start_page_entry('Screenshots'); ?>
  43. <p>
  44. Click on the thumbnail images below to view them full-size.
  45. </p>
  46. <table border="0">
  47. <tr>
  48. <?php
  49. foreach ($screenshots as $s) {
  50. echo "<td style=\"text-align:center;\"><a href=\"{$s[1]}\" title=\"{$s[2]} (click to view full-size)\"><img src=\"{$s[0]}\" style=\"margin-left:auto; margin-right:auto;\" /></a></td>\n";
  51. }
  52. ?>
  53. </tr>
  54. <tr>
  55. <?php
  56. foreach ($screenshots as $s) {
  57. echo "<td style=\"text-align:center;\"><a href=\"{$s[1]}\" title=\"Click to view image full-size\">{$s[2]}</a></td>\n";
  58. }
  59. ?>
  60. </tr>
  61. </table>
  62. <?php end_page_entry(); ?>
  63. <?php end_page_content(); ?>
  64. <!-- END MAIN PAGE CONTENT -->
  65. <?php include_once($CFG->dirroot.'/sidebar.php'); ?>
  66. <?php print_footer(); ?>