<?php include getcwd() . "/core/nocsrf.php"; $tpl = new bQuickTpl(); include getcwd() . "/modules/site/common.php"; //--get page information--// $page_id = $params[1]; $page_info = page_info($database, $page_id); $tpl->page_info = $page_info[0]; // Send SEO Data if (!$page_info[0]['seo_title']) { $tpl->page_title = $page_info[0]['page_title']; } else { $tpl->page_title = $page_info[0]['seo_title']; } if (!$page_info[0]['seo_description']) { $tpl->page_description = site_seo_description; } else { $tpl->page_description = $page_info[0]['seo_description']; } if (!$page_info[0]['seo_keywords']) { $tpl->keywords = site_seo_keywords; } else { $tpl->keywords = $page_info[0]['seo_keywords']; } if (!$page_info[0]['page_image']) { $tpl->page_image = main_url . website_logo; } else { $tpl->page_image = main_url . $page_info[0]['page_image']; } // $tpl->page_image = main_url.website_logo;
$array = ["0" => "/Endoscopy_intro.html", "1" => '/Endoscopy_0.html', "2" => '/Endoscopy_1.html', "3" => '/Endoscopy_2.html', "4" => '/Endoscopy_3.html', "5" => '/Endoscopy_4.html', "6" => '/Endoscopy_5.html', "7" => '/Endoscopy_6.html', "8" => '/Endoscopy_7.html', "9" => '/Endoscopy_8.html', "10" => '/Endoscopy_9.html', "11" => '/Endoscopy_10.html', "12" => '/Endoscopy_11.html', "13" => '/Endoscopy_end.html']; $array_reverse = ["/Endoscopy_intro.html" => '0', '/Endoscopy_0.html' => '1', '/Endoscopy_1.html' => '2', '/Endoscopy_2.html' => '3', '/Endoscopy_3.html' => '4', '/Endoscopy_4.html' => '5', '/Endoscopy_5.html' => '6', '/Endoscopy_6.html' => '7', '/Endoscopy_7.html' => '8', '/Endoscopy_8.html' => '9', '/Endoscopy_9.html' => '10', '/Endoscopy_10.html' => '11', '/Endoscopy_11.html' => '12', '/Endoscopy_end.html' => '13']; global $array; global $array_reverse; //$array_num = read_from_txt(); //global $array_num; /*if(button_press_y_n() == 1){ $array_num++; write_to_txt(); page_info($array_num); }elseif(button_press_y_n() == -1){ $array_num-- ; write_to_txt(); page_info($array_num); }else{ }*/ ?> <input type="button" name="button1" onclick="document.write(' <?php page_info(0); ?> ' ) value="Session 1">