aboutsummaryrefslogtreecommitdiffstats
path: root/register.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--register.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/register.php b/register.php
index 0d32ca9db..5d32458b9 100644
--- a/register.php
+++ b/register.php
@@ -42,11 +42,14 @@ if ( isset( $_POST['submit'] ) )
}
}
//----------------------------------------------------- template initialization
-$vtp = new VTemplate;
+//
+// Start output of page
+//
+$title= $lang['register_page_title'];
+include('include/page_header.php');
+
$handle = $vtp->Open( './template/'.$user['template'].'/register.vtp' );
// language
-$vtp->setGlobalVar( $handle, 'register_page_title',
- $lang['register_page_title'] );
$vtp->setGlobalVar( $handle, 'register_title', $lang['register_title'] );
$vtp->setGlobalVar( $handle, 'ident_guest_visit',$lang['ident_guest_visit'] );
$vtp->setGlobalVar( $handle, 'submit', $lang['submit'] );
@@ -102,4 +105,5 @@ $vtp->closeSession( $handle, 'line' );
//----------------------------------------------------------- html code display
$code = $vtp->Display( $handle, 0 );
echo $code;
+include('include/page_tail.php');
?> \ No newline at end of file