Changeset 351 for trunk/about.php
- Timestamp:
- Feb 7, 2004, 12:50:26 PM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r345 r351 28 28 include('include/page_header.php'); 29 29 30 $ handle = $vtp->Open( './template/'.$user['template'].'/about.vtp');30 $template->set_filenames(array('about'=>'about.tpl')); 31 31 initialize_template(); 32 32 33 $tpl = array('about_title','about_message','about_return'); 34 templatize_array( $tpl, 'lang', $handle ); 35 $vtp->setVar( $handle, 'user_template', $user['template'] ); 33 $template->assign_vars(array( 34 'PAGE_TITLE' => $title, 35 'L_ABOUT' => $lang['about_message'], 36 'L_RETURN' => $lang['about_return'], 37 'U_RETURN' => add_session_id('./category.php?'.$_SERVER['QUERY_STRING']) 38 ) 39 ); 36 40 37 $url = './category.php?'.$_SERVER['QUERY_STRING']; 38 $vtp->setVar( $handle, 'back_url', add_session_id( $url ) ); 39 //----------------------------------------------------------- html code display 40 $code = $vtp->Display( $handle, 0 ); 41 echo $code; 41 $template->pparse('about'); 42 42 include('include/page_tail.php'); 43 43 ?>
Note: See TracChangeset
for help on using the changeset viewer.