"boxone", "boxtwo", "boxthree", "boxfour", "boxfive", "boxsix", "boxseven", "boxeight", "boxnine", "boxten"); $graphicname = array( 1=>"graphicone", "graphictwo", "graphicthree", "graphicfour", "graphicfive", "graphicsix", "graphicseven", "graphiceight", "graphicnine", "graphicten"); // Get Title if(file_exists("txtfiles/".$pagename."_title.txt")): if(!($meta_title = fopen("txtfiles/".$pagename."_title.txt","r"))): print("file could not be opened"); exit; endif; $title_txt = fgets($meta_title, 400);// read the first 400 characters of file. That should be more than enough. fclose($meta_title); else: $title_txt = ""; endif; // Get keywords if(file_exists("txtfiles/".$pagename."_keywords.txt")): if(!($meta_title = fopen("txtfiles/".$pagename."_keywords.txt","r"))): print("file could not be opened"); exit; endif; $keyword_txt = fgets($meta_title, 400);// read the first 400 characters of file. That should be more than enough. fclose($meta_title); else: $keyword_txt = ""; endif; // Get description if(file_exists("txtfiles/".$pagename."_description.txt")): if(!($meta_title = fopen("txtfiles/".$pagename."_description.txt","r"))): print("file could not be opened"); exit; endif; $description_txt = fgets($meta_title, 400);// read the first 400 characters of file. That should be more than enough. fclose($meta_title); else: $description_txt = ""; endif; // ************* END OF SELF DISCOVERY and variable setup. *************************** // ?> <?print("$title_txt");?> "> "> \n"); print(""); print(""); print("
"); print(""); endif; ?> "); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print("
"); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print("
"; elseif($line_under == "50"): $hr = "
"; elseif($line_under == "75"): $hr = "
"; elseif($line_under == "100"): $hr = "
"; else: $hr = ""; endif; endif; // end of fileexists print(""); if(file_exists($text_file)): if(!($text_area = fopen($text_file,"r"))): // open text file print("file could not be opened"); exit; endif; while(!feof($text_area)) // read the whole thing in. { $text_chunk = fgets($text_area, 60000); $text_block .= $text_chunk; } fclose($text_area); // close file. $text_block = stripslashes($text_block); $text_block = str_replace($return,"
\n", $text_block); // replace line returns with breaks for the page. endif; // end of fileexists if($siteadmin == $admin_name): // admin mode print(""); print(""); endif; print("$text_block"); if($siteadmin == $admin_name): // admin mode print(""); print(""); print(""); print("¶"); endif; print("
"); if($hr != ""): print("$hr"); $hr = ""; endif; // ****************** End of Text Block Display ********************************** ?>
"); print("
"); print(""); if($filename != ""): print(""); else: print(""); endif; print("\n"); print("
"); else: if($filename != ""): print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print("
"); print(""); print("
"); endif; endif; // ******************************** END Image display/change ******************************************** ?>"; elseif($line_under == "50"): $hr = "
"; elseif($line_under == "75"): $hr = "
"; elseif($line_under == "100"): $hr = "
"; else: $hr = ""; endif; endif; // end of fileexists print(""); if(file_exists($text_file)): if(!($text_area = fopen($text_file,"r"))): // open text file print("file could not be opened"); exit; endif; while(!feof($text_area)) // read the whole thing in. { $text_chunk = fgets($text_area, 60000); $text_block .= $text_chunk; } fclose($text_area); // close file. $text_block = stripslashes($text_block); $text_block = str_replace($return,"
\n", $text_block); // replace line returns with breaks for the page. endif; // end of fileexists if($siteadmin == $admin_name): // admin mode print(""); print(""); endif; print("$text_block"); if($siteadmin == $admin_name): // admin mode print(""); print(""); print(""); print("¶"); endif; print("
"); if($hr != ""): print("$hr"); $hr = ""; endif; // ****************** End of Text Block Display ********************************** ?>
"); print("
"); print(""); if($filename != ""): print(""); else: print(""); endif; print("\n"); print("
"); else: if($filename != ""): print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print("
"); print(""); print("
"); endif; endif; // ******************************** END Image display/change ******************************************** ?>"; elseif($line_under == "50"): $hr = "
"; elseif($line_under == "75"): $hr = "
"; elseif($line_under == "100"): $hr = "
"; else: $hr = ""; endif; endif; // end of fileexists print(""); if(file_exists($text_file)): if(!($text_area = fopen($text_file,"r"))): // open text file print("file could not be opened"); exit; endif; while(!feof($text_area)) // read the whole thing in. { $text_chunk = fgets($text_area, 60000); $text_block .= $text_chunk; } fclose($text_area); // close file. $text_block = stripslashes($text_block); $text_block = str_replace($return,"
\n", $text_block); // replace line returns with breaks for the page. endif; // end of fileexists if($siteadmin == $admin_name): // admin mode print(""); print(""); endif; print("$text_block"); if($siteadmin == $admin_name): // admin mode print(""); print(""); print(""); print("¶"); endif; print("
"); if($hr != ""): print("$hr"); $hr = ""; endif; // ****************** End of Text Block Display ********************************** ?>
"); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); if($filename != ""): print(""); else: print(""); endif; print("\n"); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); else: if($filename != ""): print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print(""); print("
"); print(""); print("
"); endif; endif; // ******************************** END Image display/change ******************************************** ?>"; elseif($line_under == "50"): $hr = "
"; elseif($line_under == "75"): $hr = "
"; elseif($line_under == "100"): $hr = "
"; else: $hr = ""; endif; endif; // end of fileexists print(""); if(file_exists($text_file)): if(!($text_area = fopen($text_file,"r"))): // open text file print("file could not be opened"); exit; endif; while(!feof($text_area)) // read the whole thing in. { $text_chunk = fgets($text_area, 60000); $text_block .= $text_chunk; } fclose($text_area); // close file. $text_block = stripslashes($text_block); $text_block = str_replace($return,"
\n", $text_block); // replace line returns with breaks for the page. endif; // end of fileexists if($siteadmin == $admin_name): // admin mode print(""); print(""); endif; print("$text_block"); if($siteadmin == $admin_name): // admin mode print(""); print(""); print(""); print("¶"); endif; print("
"); if($hr != ""): print("$hr"); $hr = ""; endif; // ****************** End of Text Block Display ********************************** ?>
"); if(file_exists($text_file)): if(!($text_area = fopen($text_file,"r"))): // open text file print("file could not be opened"); exit; endif; while(!feof($text_area)) // read the whole thing in. { $text_chunk = fgets($text_area, 60000); $text_block .= $text_chunk; } fclose($text_area); // close file. $text_block = stripslashes($text_block); $text_block = str_replace($return,"
\n", $text_block); // replace line returns with breaks for the page. endif; // end of fileexists if($siteadmin == $admin_name): // admin mode print(""); print(""); endif; print("$text_block"); if($siteadmin == $admin_name): // admin mode print(""); print("¶"); endif; print(""); // ****************** End of Text Block Display ********************************** ?>