if ( !isset( $_COOKIE['itn_session'] ) ) { header( "Location: /signin.php" ); exit; } setcookie('itn_session', 'destroy session', time() - 3600, '/', '192.168.1.3', FALSE, TRUE); @require( ITN_INC_DIR . 'template.php' ); $tpl = new template(); $tpl_vars = array ( '{PAGE_TITLE}' => ': Thank You!','{META_REFRESH}' => "", '{HOME_TAB}' => '','{ARTICLES_TAB}' => '','{FEEDS_TAB}' => '','{MEMBERS_TAB}' => '','{SEARCH_TAB}' => '' ); $output = $tpl->compile_tpl( $tpl->load_tpl( 'header.tpl' ), $tpl_vars ) . "\n" . $tpl->load_tpl( 'body_signed_off.tpl' ); echo $output . "\n" . $tpl->load_tpl( 'footer.tpl' ); exit;