SlanginBeef.com – index.php


<?php # index.php
// This is the main page for the site.

// Include the configuration file:
require ('includes/config.inc.php'); 

// Set the page title and include the HTML header:
$page_title = 'Slangin\' Beef!';
include ('includes/header.html');

// Welcome the user (by name if they are logged in):
echo '<h1>Welcome';
if (isset($_SESSION['screen_name'])) {
    echo ", {$_SESSION['screen_name']}";
} 

echo '!</h1>';

BUG1(); //#### DEBUGGING ####


echo '<p>
    <b>Just changed the DNS. looks like it takes 48 hours to fully implement... 
    Meaning this this .com will show on some browsers but not all until about Teusday.</b><br><br>
    
    Just a heads up, this site is in bata testing currently on v.0.2.4.0. Meaning every 
        thing is working but you my encounter an error.<br>
        Please, you are encuraged to start logging your stats, and if 
        you run across an error, please notify me via the 
        <a href="contact_me.php" title="Year Stats">Contact Me</a> link.<br>
        Also your suggestion on ways to improve this site are most 
        wanted as long as it is spesific to the \'MEAT MAN\' in one way 
        or another. There are still many things that are on the todo 
        list and this site will be continuly updated.</p>
    ';

if (isset($_SESSION['screen_name'])) {
    if ($_SESSION['user_level'] < 4) {
        echo '
            <h2>To get started posing your stats, you must first update your 
                information found in the <a href="profile.php" title="Your Profile">Profile</a> link.</h2>
            ';
    }
    
}  else {
    echo '
        <h2>The first step to get started posing your stats, <br>you must first 
            <a href="register.php" title="Register for the Site">Register</a> 
            and <a href="login.php" title="Login">Login</a>.</h2>
        ';
}

echo '
    <br>
    <p>Stay tooned for upcomeing updats...</span></pre>
&nbsp;
<pre><span style="font-size: 10pt;">
    <br><br><br>
    ';
echo '
    <img src="" name="Rotating" id="Rotating1" width=70% height="auto">
    <br>
    ';
// <img src="" name="Rotating" id="Rotating2" width=70%  height=auto> 

?>
<script language="JavaScript">
var ImageArr1 = new Array("images/week_view.PNG","images/person_view.PNG","images/add_view.PNG");
var ImageHolder1 = document.getElementById('Rotating1');
/*
var ImageArr2 = new Array("images/add_view.PNG","images/week_view.PNG","images/person_view.PNG");
var ImageHolder2 = document.getElementById('Rotating2');
*/
function RotateImages(whichHolder,Start)
{
var a = eval("ImageArr"+whichHolder);
var b = eval("ImageHolder"+whichHolder);
if(Start>=a.length)
Start=0;
b.src = a[Start];
window.setTimeout("RotateImages("+whichHolder+","+(Start+1)+")",8000);
}

RotateImages(1,0);
//RotateImages(2,0);

</script> 











<?php 
include ('includes/footer.html'); 
?>