ssi_examples.shtml 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  3. <head>
  4. <title> &lt;&lt; :: SMF SSI.php 2.1 Alpha 1 :: &gt;&gt; </title>
  5. </head>
  6. <body style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;">
  7. <h1>SMF SSI.php Functions</h1>
  8. Current Version 2.1 Alpha 1<br />
  9. <br />
  10. This file is used to demonstrate the capabilities of SSI.php using SHTML include functions.<br />
  11. The examples the include tag, then the results of it. Examples are separated by horizontal rules.<br />
  12. <hr />
  13. <h3>Recent Topics Function: &lt;!--#include virtual="./SSI.php?ssi_function=recentTopics" --&gt;</h3>
  14. <!--#include virtual="./SSI.php?ssi_function=recentTopics" -->
  15. <hr />
  16. <h3>Recent Posts Function: &lt;!--#include virtual="./SSI.php?ssi_function=recentPosts" --&gt;</h3>
  17. <!--#include virtual="./SSI.php?ssi_function=recentPosts" -->
  18. <hr />
  19. <h3>Recent Poll Function: &lt;!--#include virtual="./SSI.php?ssi_function=recentPoll" --&gt;</h3>
  20. <!--#include virtual="./SSI.php?ssi_function=recentPoll" -->
  21. <hr />
  22. <h3>Top Boards Function: &lt;!--#include virtual="./SSI.php?ssi_function=topBoards" --&gt;</h3>
  23. <!--#include virtual="./SSI.php?ssi_function=topBoards" -->
  24. <hr />
  25. <h3>Top Topics by View Function: &lt;!--#include virtual="./SSI.php?ssi_function=topTopicsViews" --&gt;</h3>
  26. <!--#include virtual="./SSI.php?ssi_function=topTopicsViews" -->
  27. <hr />
  28. <h3>Top Topics by Replies Function: &lt;!--#include virtual="./SSI.php?ssi_function=topTopicsReplies" --&gt;</h3>
  29. <!--#include virtual="./SSI.php?ssi_function=topTopicsReplies" -->
  30. <hr />
  31. <h3>Top Poll Function: &lt;!--#include virtual="./SSI.php?ssi_function=topPoll" --&gt;</h3>
  32. <!--#include virtual="./SSI.php?ssi_function=topPoll" -->
  33. <hr />
  34. <h3>Top Poster Function: &lt;!--#include virtual="./SSI.php?ssi_function=topPoster" --&gt;</h3>
  35. <!--#include virtual="./SSI.php?ssi_function=topPoster" -->
  36. <hr />
  37. <h3>Topic's Poll Function: &lt;!--#include virtual="./SSI.php?ssi_function=showPoll;ssi_topic=##" --&gt;</h3>
  38. <!--#include virtual="./SSI.php?ssi_function=showPoll;ssi_topic=1" -->
  39. <hr />
  40. <h3>Latest Member Function: &lt;!--#include virtual="./SSI.php?ssi_function=latestMember" --&gt;</h3>
  41. <!--#include virtual="./SSI.php?ssi_function=latestMember" -->
  42. <hr />
  43. <h3>Random Member Function: &lt;!--#include virtual="./SSI.php?ssi_function=randomMember" --&gt;</h3>
  44. <!--#include virtual="./SSI.php?ssi_function=randomMember" -->
  45. <hr />
  46. <h3>Board Stats: &lt;!--#include virtual="./SSI.php?ssi_function=boardStats" --&gt;</h3>
  47. <!--#include virtual="./SSI.php?ssi_function=boardStats" -->
  48. <hr />
  49. <h3>Who's Online Function: &lt;!--#include virtual="./SSI.php?ssi_function=whosOnline" --&gt;</h3>
  50. <!--#include virtual="./SSI.php?ssi_function=whosOnline" -->
  51. <hr />
  52. <h3>Log Online Presence + Who's Online Function: &lt;!--#include virtual="./SSI.php?ssi_function=logOnline" --&gt;</h3>
  53. <!--#include virtual="./SSI.php?ssi_function=logOnline" -->
  54. <hr />
  55. <h3>Welcome Function: &lt;!--#include virtual="./SSI.php?ssi_function=welcome" --&gt;</h3>
  56. <!--#include virtual="./SSI.php?ssi_function=welcome" -->
  57. <hr />
  58. <h3>News Function: &lt;!--#include virtual="./SSI.php?ssi_function=news" --&gt;</h3>
  59. <!--#include virtual="./SSI.php?ssi_function=news" -->
  60. <hr />
  61. <h3>Board News Function: &lt;!--#include virtual="./SSI.php?ssi_function=boardNews" --&gt;</h3>
  62. <!--#include virtual="./SSI.php?ssi_function=boardNews" -->
  63. <hr />
  64. <h3>Menubar Function: &lt;!--#include virtual="./SSI.php?ssi_function=menubar" --&gt;</h3>
  65. <!--#include virtual="./SSI.php?ssi_function=menubar" -->
  66. <hr />
  67. <h3>Quick Search Function: &lt;!--#include virtual="./SSI.php?ssi_function=quickSearch" --&gt;</h3>
  68. <!--#include virtual="./SSI.php?ssi_function=quickSearch" -->
  69. <hr />
  70. <h3>Login Function: &lt;!--#include virtual="./SSI.php?ssi_function=login" --&gt;</h3>
  71. <!--#include virtual="./SSI.php?ssi_function=login" -->
  72. <hr />
  73. <h3>Log Out Function: &lt;!--#include virtual="./SSI.php?ssi_function=logout" --&gt;</h3>
  74. <!--#include virtual="./SSI.php?ssi_function=logout" -->
  75. <hr />
  76. <h3>Today's Birthdays Function: &lt;!--#include virtual="./SSI.php?ssi_function=todaysBirthdays" --&gt;</h3>
  77. <!--#include virtual="./SSI.php?ssi_function=todaysBirthdays" -->
  78. <hr />
  79. <h3>Today's Holidays Function: &lt;!--#include virtual="./SSI.php?ssi_function=todaysHolidays" --&gt;</h3>
  80. <!--#include virtual="./SSI.php?ssi_function=todaysHolidays" -->
  81. <hr />
  82. <h3>Today's Events Function: &lt;!--#include virtual="./SSI.php?ssi_function=todaysEvents" --&gt;</h3>
  83. <!--#include virtual="./SSI.php?ssi_function=todaysEvents" -->
  84. <hr />
  85. <h3>Today's Calendar Function: &lt;!--#include virtual="./SSI.php?ssi_function=todaysCalendar" --&gt;</h3>
  86. <!--#include virtual="./SSI.php?ssi_function=todaysCalendar" -->
  87. <hr />
  88. <h3>Recent Calendar Events Function: &lt;!--#include virtual="./SSI.php?ssi_function=recentEvents" --&gt;</h3>
  89. <!--#include virtual="./SSI.php?ssi_function=recentEvents" -->
  90. <hr />
  91. <h3>Recent Attachments Function &lt;!--#include virtual="./SSI.php?ssi_function=recentAttachments" --&gt;</h3>
  92. <!--#include virtual="./SSI.php?ssi_function=recentAttachments" -->
  93. <hr />
  94. <br />
  95. <br />
  96. <span style="font-size: smaller;">
  97. <a href="http://www.simplemachines.org/" title="Simple Machines Forum" target="_blank" class="new_win">SMF &copy; 2011, Simple Machines</a>
  98. </span>
  99. <br />
  100. <br />
  101. <span style="font-size: smaller; color: #CCCCCC;">
  102. *ssi_examples.shtml last modified on <!--#config timefmt="%m/%d/%y" --><!--#echo var="LAST_MODIFIED" -->
  103. </span>
  104. </body>
  105. </html>