"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("Log Off "); print(" • "); print("Refresh "); print(" • "); print("Meta Tags
"); print(""); endif; ?>
"); 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 ********************************** ?>
"); 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("\n"); print("¶\n"); endif; print(""); // ****************** 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(""); print("¶"); endif; print(""); // ****************** 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(""); print(""); print("\n"); print("¶\n"); endif; print(""); // ****************** End of Text Block Display ********************************** ?>