ICFT 2013 17th UK meeting on Integrable Models, Conformal Field Theory and related Topics
University of Hertfordshire, April 12 - 13, 2013
"); $fp = fopen("meniu.txt", "r"); // menu items are written in this file if(!$fp) { echo "Error opening file meniu.txt"; } else { while(!feof($fp)) $buf .= fread($fp,4096); } $meniu_array = explode("\n", $buf); unset($buf); $i = 0; echo(""); foreach($meniu_array as $meniu_item) { $meniu_item_name = explode(":", $meniu_item); print(''.$meniu_item_name[0].''); echo("    "); } print("
"); } // *********************************************************************************************** function Display() { switch($this->m_active) // chooses which txt file with html code to display in the main body { case "1": $fp = fopen("db/about.txt", "r"); break; case "2": $fp = fopen("db/arrangements.txt", "r"); break; case "3": $fp = fopen("db/programme.txt", "r"); break; case "4": $fp = fopen("db/participants.txt", "r"); break; case "5": $fp = fopen("db/registration.txt", "r"); break; default: $fp = fopen("db/about.txt", "r"); break; } if(!$fp) { echo "Error opening file!"; } else { if($this->m_active == "3") // specific details for programme part { while(!feof($fp)) $buf .= fread($fp,4096); $text_about_all=explode("{}", $buf); $text_about=explode("\n", $text_about_all[$this->lang+0]); unset($buf); unset($text_about_all); print("
"); foreach($text_about as $text_line) { print($text_line); } print("
"); } else // standard display { while(!feof($fp)) $buf .= fread($fp,4096); $text_about_all=explode("{}", $buf); $text_about=explode("\n", $text_about_all[$this->lang+0]); unset($buf); unset($text_about_all); print("
"); foreach($text_about as $text_line) { print($text_line."
"); } print("
"); } } } // *********************************************************************************************** // IndexBody: displays the body part of the webpage function IndexBody() { // some background setup echo("
"); $this->Display(); // // very bottom of the page print ("
Last updated 2012.04.17 ICFT2013  
"); } }; // ************************************************************************************************************* // Main program $Homepage = new THomepage; $Homepage->m_active=$m_active; // variable that comes from web-line and tells which window to display $Homepage->IndexTop(); // displays top-part of the webpage $Homepage->IndexBody(); // displays the body of the webpage ?>