March 3rd, 2005

This server is under maintenance.
Services would be available soon.

Sorry for inconveniences.

Oleg Lodygensky
.
add($subsection1_1); $subsection1_2 = new Subsection("new", "News", "./textes/news.html"); $section1->add($subsection1_2); $subsection1_3 = new Subsection("contact", "Contact", "./textes/contact.php"); $section1->add($subsection1_3); $subsection1_4 = new Subsection("doc", "Documentations", "./textes/docs.php"); $section1->add($subsection1_4); $phptmplSample->add($section1); $section2 = new Section("section2", "Working"); /* $subsection2_0 = new Subsection("demo", "Demo", "./demo/demoPovRay.php"); $section2->add ($subsection2_0); */ if (!isset ($V_Session)) { $subsection2_1 = new Subsection("login", "Log in", "./textes/login.php"); $section2->add($subsection2_1); $subsection2_5 = new Subsection("register", "Register", "./textes/register.php"); $section2->add($subsection2_5); } else { $subsection2_2 = new Subsection("logout", "Log out
", "./textes/logout.php"); $section2->add($subsection2_2); $subsection2_3 = new Subsection("submitTask", "Submit job", "./textes/submitTask.php"); $section2->add($subsection2_3); $subsection2_4 = new Subsection("downloadworker", "Download worker", "./textes/download_worker.php"); $section2->add($subsection2_4); $subsection2_6 = new Subsection("downloadclient", "Download client", "./textes/download_client.php"); $section2->add($subsection2_6); $subsection2_5 = new Subsection("bugReport", "Bug report", "./textes/bugreport.php"); $section2->add($subsection2_5); } if ((!isset ($V_Session)) && (substr($REMOTE_ADDR, 0, 7) == "134.158")) { $subsection2_4 = new Subsection("downloadworker", "Download worker", "./textes/download_worker.php"); $section2->add($subsection2_4); } $phptmplSample->add($section2); $section3 = new Section("section3", "Stats"); /* $subsection3_0 = new Subsection("ganglia", "Monitoring", "./textes/ganglia.php"); $section3->add($subsection3_0); */ $subsection3_1 = new Subsection("serverStats", "Server stats", "./textes/serverStats.php"); $section3->add($subsection3_1); $subsection3_2 = new Subsection("workerStats", "Workers stats", "./textes/workerStats.php"); $section3->add($subsection3_2); if (isset ($V_Session)) { if ($V_LName != "") $Titre = "$V_FName $V_LName stats"; else if (isset ($V_Login)) $Titre = "$V_Login stats"; else die ("Something wrong with this session !!"); $subsection3_2 = new Subsection("userStats", $Titre, "./textes/userStats.php"); $section3->add($subsection3_2); } $phptmplSample->add($section3); // Let's show ! $phptmplSample->toString(); ?>