hey guys, ok i have my main layout set up and the area that i want to use the the changeing document i have used a content tag as so...


Code:
<?
if (file_exists($content)) {
include($content);
} else {?><?echo $content;?>
so on my main page i have set it up so that it displays this



Code:
align="left" valign="top"><h1 align="left"><img src="../images/runner.jpg" alt="runner" width="127" height="155" align="left"/></h1>
        <h1 align="center"> Welcome Back To RunnersElite!</h1>
     <center> <?
            include("include/adminerr.inc.php");
            if($auth[error]) { include("include/messages/index_unverified.inc.php"); }
            else { include("include/messages/index_verified.inc.php"); } ?></center>
      <a href="../register.php"><img align="left" src="../images/bemem.gif" alt="signup" width="280" height="250" border="0" /></a>
so as you see i have set the text to change depending if the user signs in or out

what i want to do now is get rid of the pictures and the sign up stuff on the page if a user signs in...

would i have to assign everything on the page with what if statement or could iasign it so that if a user is not logged in it shows one page as the index but if they are logged in it shows anouther index??

also how would i do either of these??

thank you