SMF SSI.php Functions

Current Version: 1.1

This file is used to demonstrate the capabilities of SSI.php using PHP include functions.
The examples show the include tag, then the results of it. Examples are separated by horizontal rules.


To use SSI.php in your page add at the very top of your page before the <html> tag on line 1:
<?php require("SSI.php"); ?>


Recent Topics Function: <?php ssi_recentTopics(); ?>

[General Discussion] Badgers! by Windermere Lodge December 30, 2008, 03:45:23 PM
[Pictures of Limefitt] Snow at Limefitt Park by Windermere Lodge November 29, 2008, 05:39:38 PM
[Holidays at Limefitt] Best way to pay for camping by Windermere Lodge November 18, 2008, 11:05:04 PM
[Buying a lodge] Pre-owned lodges by Windermere Lodge October 19, 2008, 08:45:57 PM
[Pictures of Limefitt] Sunset by Windermere Lodge October 12, 2008, 09:00:15 PM

Recent Posts Function: <?php ssi_recentPosts(); ?>

[General Discussion] Badgers! by Windermere Lodge December 30, 2008, 03:45:23 PM
[Pictures of Limefitt] Snow at Limefitt Park by Windermere Lodge November 29, 2008, 05:39:38 PM
[Holidays at Limefitt] Re: Best way to pay for camping by Windermere Lodge November 18, 2008, 11:05:04 PM
[Buying a lodge] Re: Pre-owned lodges by Windermere Lodge October 19, 2008, 08:45:57 PM

Recent Poll Function: <?php ssi_recentPoll(); ?>


Top Boards Function: <?php ssi_topBoards(); ?>

Board Topics Posts
General Discussion New 11 36
Buying a lodge New 4 10
Pictures of Limefitt New 6 6
Things To Do And Places To Go New 4 4
Holidays at Limefitt New 2 3
Subletting a lodge New 1 1
Limefitt Park Owners New 1 1
Limefitt Park Information 0 0
Renting a Lodge 0 0

Top Topics by View Function: <?php ssi_topTopicsViews(); ?>

Views Replies
Joining the Owners' Board 1113 0
Pre-owned lodges 788 6
Welcome 720 10
Beware of ticks that carry "fatal" disease 607 3
Special Offer at The Mortal Man! 438 3
Outdoor Equipment Shops 393 4
Cumbria Tourism Awards 2008 386 3
Longmire Lodge - 3 bed lodge - Reduced for quick sale - now ony £125k 348 0
SLP acquired by White Ocean Leisure 346 1
What you need to know when buying a lodge at Limefitt 337 0

Top Topics by Replies Function: <?php ssi_topTopicsReplies(); ?>

Views Replies
Welcome 720 10
Pre-owned lodges 788 6
Outdoor Equipment Shops 393 4
Beware of ticks that carry "fatal" disease 607 3
Cumbria Tourism Awards 2008 386 3
Special Offer at The Mortal Man! 438 3
Best way to pay for camping 230 1
Red Squirrels at Limefitt! 213 1
SLP acquired by White Ocean Leisure 346 1
Joining the Owners' Board 1113 0

Top Poll Function: <?php ssi_topPoll(); ?>


Top Poster Function: <?php ssi_topPoster(); ?>

Windermere Lodge

Topic's Poll Function: <?php ssi_showPoll($topic); ?>


Latest Member Function: <?php ssi_latestMember(); ?>

Please welcome caitlin, our newest member.

Board Stats: <?php ssi_boardStats(); ?>

Total Members: 26
Total Posts: 602
Total Topics: 175
Total Categories: 2
Total Boards: 20

Who's Online Function: <?php ssi_whosOnline(); ?>

1 Guest, 0 Users

Log Online Presence + Who's Online Function: <?php ssi_logOnline(); ?>

1 Guest, 0 Users

Welcome Function: <?php ssi_welcome(); ?>

Welcome, Guest. Please login or register.

News Function: <?php ssi_news(); ?>

8 private lodges for rent now on www.limefitt.com/rent.htm

Board News Function: <?php ssi_boardNews(); ?>


Menubar Function: <?php ssi_menubar(); ?>

   Home   Help Search Calendar Login Register  

Quick Search Function: <?php ssi_quickSearch(); ?>


Login Function: <?php ssi_login(); ?>

 
 

Log Out Function: <?php ssi_logout(); ?>


Today's Birthdays Function: <?php ssi_todaysBirthdays(); ?>

Windermere Lodge (50)

Today's Holidays Function: <?php ssi_todaysHolidays(); ?>


Today's Events Function: <?php ssi_todaysEvents(); ?>


Today's Calendar Function: <?php ssi_todaysCalendar(); ?>

Upcoming Birthdays: Windermere Lodge (50)

Recent Calendar Events Function: <?php ssi_recentEvents(); ?>


Some notes on usage

All the functions have an output method parameter. This can either be "echo" (the default) or "array".
If it is "echo", the function will act normally - otherwise, it will return an array containing information about the requested task.
For example, it might return a list of topics for ssi_recentTopics.

This functionality can be used to allow you to present the information in any way you wish.


This page took 0.6737 seconds to load.
*ssi_examples.php last modified on 06/25/07