define_templates( array("page" => "../templates/author_info_forgotpassw1.html")); if (isset($_POST["author_alert"])) { $info_alert = $_POST["author_alert"]; } else { $info_alert = " "; } $tpl->assign("TPL_ALERT", $info_alert); //============== title-web ==============// $my_db_type = "My_SQL"; $my_connection = my_connect($my_db_type); $my_query = "SELECT * FROM info_web"; $my_result = my_query ( $my_db_type, $my_connection, $my_query); if (my_num_rows ( $my_db_type, $my_result) >= 0) { while($row = my_fetch_row($my_db_type, $my_result)) { $info_vision_conference = $row["vision_conference"]; $info_title = $row["title"]; $info_title1 = $row["title1"]; $info_title2 = $row["title2"]; $info_link_web = $row["link_web"]; } } $tpl->assign(array( "TPL_VISION" => $info_vision_conference, "TPL_TITLE" => $info_title, "TPL_TITLE1" => $info_title1, "TPL_TITLE2" => $info_title2, "TPL_LINK_WEB" => $info_link_web )); $tpl->parse("page"); header("Expires: Mon, 26 Jul 1990 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: post-check=0, pre-check=0, false"); header("Pragma: no-cache"); $tpl->DPrint("page"); ?>