Location: PHPKode > projects > My Scrapbook > myscrapbook_3_1/singlepage.php
<? 
//-----------------------------------------------------------------
//MyScrapBook online book program by Eric Gerdes (Crafty Syntax . Com )
//-----------------------------------------------------------------
// Feel free to change this code to better fit your website. I am
// open for any suggestions on how to improve the program and 
// you can submit suggestions and/or bugs to:
// http://craftysyntax.com/myscrapbook/updates/
// if you like using this program and feel it is a good program 
// feel free to send a donation by going to:
// http://craftysyntax.com/myscrapbook/abouts.php
//-----------------------------------------------------------------
require "config.php";

if ($installed == false){ 
Header("Location: setup.php");
exit;	
}

?>
<html>
<head>
<title><?= $site_title ?></title>
</head>

<?
if($page == ""){ $page = 2; }

if ($page % 2 == 0){
if ($footer == ""){
?>
<frameset rows="27,*,29" border="0" frameborder="0" framespacing="0" spacing="0">
<? } else { ?>
<frameset rows="27,*,65" border="0" frameborder="0" framespacing="0" spacing="0">
<? } ?>
  <frameset cols="61,*,70" border="0" frameborder="0" framespacing="0" spacing="0">
    <frame src="1c.html" name="1c" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="1d.html" name="1d" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="1e.html" name="1e" scrolling="no" border="0" marginheight="0" marginwidth="0">
  </frameset>

  <frameset cols="61,*,70" border="0" frameborder="0" framespacing="0" spacing="0">
   <frame src="mid.html" name="ac" scrolling="no" border="0" marginheight="0" marginwidth="0">
   <frame src="<?= $html ?>?action=<?= $action ?>&section=<?echo "$section"?>&page=<?= $page ?>&viewis=<?= $viewis ?>&id=<?= $id ?>" name="ad" scrolling="AUTO" border="0" marginheight="0" marginwidth="0">
    <frame src="wordsright.html" name="ae" scrolling="no" border="0" marginheight="0" marginwidth="0">
  </frameset>
  <frameset cols="61,*,70" border="0" frameborder="0" framespacing="0" spacing="0">
<? if ($footer == ""){ ?>  
    <frame src="2k.html" name="2c" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2h.html" name="2d" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2i.html" name="2e" scrolling="no" border="0" marginheight="0" marginwidth="0">
<? } else { ?>
    <frame src="2c.html" name="2c" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="footer.php?section=<?echo "$section"?>&page=<?echo "$page"?>&openingpage=<?echo "$openingpage"?>&contentspage=<?= $contentspage ?>" name="2d" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2e.html" name="2e" scrolling="no" border="0" marginheight="0" marginwidth="0">
<? } ?>
  </frameset>

</frameset>
<? } else { 
if ($footer == ""){
?>
<frameset rows="27,*,29" border="0" frameborder="0" framespacing="0" spacing="0">
<? } else { ?>
<frameset rows="27,*,65" border="0" frameborder="0" framespacing="0" spacing="0">
<? } ?>
  <frameset cols="58,*,61" border="0" frameborder="0" framespacing="0" spacing="0">
    <frame src="1f.html" name="1a" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="1b.html" name="1b" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="1c.html" name="1c" scrolling="no" border="0" marginheight="0" marginwidth="0">
  </frameset>

  <frameset cols="58,*,61" border="0" frameborder="0" framespacing="0" spacing="0">
    <frame src="wordsleft2.html" name="aa" scrolling="no" border="0" marginheight="0" marginwidth="0">
   <frame src="<?= $html ?>?action=<?= $action ?>&section=<?echo "$section"?>&page=<?= $page ?>&viewis=<?= $viewis ?>&id=<?= $id ?>" name="ad" scrolling="AUTO" border="0" marginheight="0" marginwidth="0">
    <frame src="mid.html" name="ac" scrolling="no" border="0" marginheight="0" marginwidth="0">
 </frameset>

  <frameset cols="58,*,61" border="0" frameborder="0" framespacing="0" spacing="0">
<? if ($footer == ""){ ?>    
    <frame src="2j.html" name="2a" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2h.html" name="2b" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2k.html" name="2c" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <? } else { ?>
    <frame src="2f.html" name="2a" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="footer.php?section=<?echo "$section"?>&page=<?echo "$page"?>&openingpage=<?echo "$openingpage"?>&contentspage=<?= $contentspage ?>" name="2b" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <frame src="2c.html" name="2c" scrolling="no" border="0" marginheight="0" marginwidth="0">
    <? } ?>
  </frameset>

</frameset>
<? } ?>
Return current item: My Scrapbook