if ( ( session_status() != "2" ) ) { session_start(); } include "includes/db.inc.php"; include "includes/functions.inc.php"; // Run the functions logIcon(); sesstimeout(); hits(); // Set database queries $query = @mysql_query("SELECT * FROM `members` WHERE `id` = '" . $_SESSION['usrid'] . "' AND `active` = '1'"); $row = mysql_fetch_array($query); if ( isset ( $_GET['limit'] ) && $_GET['limit'] != "" ) { $_SESSION['limit'] = $_GET['limit']; } elseif ( !isset ( $_SESSION['limit'] ) ) { $_SESSION['limit'] = "2"; } // Set icon for login/logout if ( isset ( $_SESSION['user_logged'] ) && $_SESSION['user_logged'] != "" ) { $loginLink = "logout.php"; $loginIcon = "fa fa-right-from-bracket fa-large"; $loginIconOver = "fa fa-hand-middle-finger fa-large"; $logAlt = "Logout"; } else { $loginLink = "login.php"; $loginIcon = "fa fa-user"; $loginIconOver = "fa fa-hand-middle-finger fa-large"; $logAlt = "Login"; } // Comments if ( isset ( $_POST['submitCmt'] ) && $_POST['submitCmt'] == "submit" ) { //@mysql_query(""); } // Get total Members $getmem = @mysql_query("SELECT * FROM `members` WHERE `active` = '1'") or die(mysql_error()); $ttlmem = mysql_num_rows($getmem); // Get Updates $getupdate = @mysql_query("SELECT * FROM `updates` ORDER BY `date` DESC LIMIT " . $_SESSION['limit']) or die(mysql_error()); //$update = mysql_fetch_array($getupdate); ?>
Updates |
How many to display? 3 - 5 - 10 - Clr |
while ( $update = @mysql_fetch_array($getupdate) ) {
// Get the body of the update, and remove the slashes added when created //
$body = stripslashes($update['body']);
?>
" . date('F jS, Y', strtotime($update['date'])); ?> echo $body; ?> Today's Thought
For: echo date('F jS, Y', strtotime($update['date'])); ?>: echo $update['footer']; ?>
|
Need to write a song about it!
Picture of me back in 2000 giving a lesson on sweep picking arpeggios!
I have used Ibanez Guitars exclusively since 1980! I've had other makes, but none have matched the Ibanez Brand!
MoreThis was THE most important person in my life!
She passed away on January 6, 2021, and I will never be whole again.
Yes. It's me. I dun went and shaved my nug. No special reason. Just bored one day and I have always wanted to shave it! So, I did!
© echo date('Y'); ?> kcjonez.com. All Rights Reserved.