2003-05-26 21:24:08 +02:00
|
|
|
<?php
|
|
|
|
/***************************************************************************
|
|
|
|
* about.php *
|
|
|
|
* ------------------ *
|
2003-08-24 09:40:56 +02:00
|
|
|
* application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
|
|
|
|
* author : Pierrick LE GALL <pierrick@z0rglub.com> *
|
|
|
|
* *
|
|
|
|
* $Id$
|
2003-05-26 21:24:08 +02:00
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
/***************************************************************************
|
|
|
|
* *
|
|
|
|
* This program is free software; you can redistribute it and/or modify *
|
|
|
|
* it under the terms of the GNU General Public License as published by *
|
|
|
|
* the Free Software Foundation; *
|
|
|
|
* *
|
|
|
|
***************************************************************************/
|
|
|
|
|
|
|
|
//----------------------------------------------------------- personnal include
|
|
|
|
include_once( './include/init.inc.php' );
|
|
|
|
//----------------------------------------------------- template initialization
|
|
|
|
$vtp = new VTemplate;
|
|
|
|
$handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' );
|
|
|
|
initialize_template();
|
|
|
|
|
|
|
|
$tpl = array('about_page_title','about_title','about_message','about_return');
|
|
|
|
templatize_array( $tpl, 'lang', $handle );
|
2003-07-21 21:59:57 +02:00
|
|
|
$vtp->setVar( $handle, 'user_template', $user['template'] );
|
2003-05-26 21:24:08 +02:00
|
|
|
|
|
|
|
$url = './category.php?'.$_SERVER['QUERY_STRING'];
|
|
|
|
$vtp->setVar( $handle, 'back_url', add_session_id( $url ) );
|
|
|
|
//----------------------------------------------------------- html code display
|
|
|
|
$code = $vtp->Display( $handle, 0 );
|
|
|
|
echo $code;
|
|
|
|
?>
|