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(); ?>


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 368

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 408

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 269

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 305

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


Warning: array_diff(): Argument #1 is not an array in /home/jimmyk2/public_html/forums/Sources/Security.php on line 795

Warning: in_array() expects parameter 2 to be array, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 798

Warning: implode(): Invalid arguments passed in /home/jimmyk2/public_html/forums/Sources/Security.php on line 815

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 821

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 828

Warning: array_diff(): Argument #1 is not an array in /home/jimmyk2/public_html/forums/Sources/Security.php on line 795

Warning: in_array() expects parameter 2 to be array, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 798

Warning: implode(): Invalid arguments passed in /home/jimmyk2/public_html/forums/Sources/Security.php on line 815

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 821

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 828

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 486

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 496

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 552

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 565

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 552

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 565

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


Warning: array_diff(): Argument #1 is not an array in /home/jimmyk2/public_html/forums/Sources/Security.php on line 795

Warning: in_array() expects parameter 2 to be array, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 798

Warning: implode(): Invalid arguments passed in /home/jimmyk2/public_html/forums/Sources/Security.php on line 815

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 821

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 828

Warning: array_diff(): Argument #1 is not an array in /home/jimmyk2/public_html/forums/Sources/Security.php on line 795

Warning: in_array() expects parameter 2 to be array, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 798

Warning: implode(): Invalid arguments passed in /home/jimmyk2/public_html/forums/Sources/Security.php on line 815

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 821

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 828

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 447

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 455

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


Warning: array_diff(): Argument #1 is not an array in /home/jimmyk2/public_html/forums/Sources/Security.php on line 795

Warning: in_array() expects parameter 2 to be array, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 798

Warning: implode(): Invalid arguments passed in /home/jimmyk2/public_html/forums/Sources/Security.php on line 815

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 821

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/Sources/Security.php on line 828

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



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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_row() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 628

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 629

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_row() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 634

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 635
:
:
:
:
:

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 668

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 701
0 , 0

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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 668

Warning: mysql_free_result() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 701
0 , 0

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

.

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


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


Warning: mysql_query() expects parameter 2 to be resource, boolean given in /home/jimmyk2/public_html/forums/Sources/Subs.php on line 321

Warning: mysql_num_rows() expects parameter 1 to be resource, null given in /home/jimmyk2/public_html/forums/SSI.php on line 1261