[18] | 1 | <?php |
---|
| 2 | /*************************************************************************** |
---|
| 3 | * about.php * |
---|
| 4 | * ------------------ * |
---|
[57] | 5 | * application : PhpWebGallery 1.3 <http://phpwebgallery.net> * |
---|
| 6 | * author : Pierrick LE GALL <pierrick@z0rglub.com> * |
---|
[18] | 7 | * * |
---|
[57] | 8 | * $Id: about.php 57 2003-08-24 07:40:56Z z0rglub $ |
---|
| 9 | * * |
---|
[18] | 10 | ***************************************************************************/ |
---|
| 11 | |
---|
| 12 | /*************************************************************************** |
---|
| 13 | * * |
---|
| 14 | * This program is free software; you can redistribute it and/or modify * |
---|
| 15 | * it under the terms of the GNU General Public License as published by * |
---|
| 16 | * the Free Software Foundation; * |
---|
| 17 | * * |
---|
| 18 | ***************************************************************************/ |
---|
| 19 | |
---|
| 20 | //----------------------------------------------------------- personnal include |
---|
| 21 | include_once( './include/init.inc.php' ); |
---|
| 22 | //----------------------------------------------------- template initialization |
---|
| 23 | $vtp = new VTemplate; |
---|
| 24 | $handle = $vtp->Open( './template/'.$user['template'].'/about.vtp' ); |
---|
| 25 | initialize_template(); |
---|
| 26 | |
---|
| 27 | $tpl = array('about_page_title','about_title','about_message','about_return'); |
---|
| 28 | templatize_array( $tpl, 'lang', $handle ); |
---|
[27] | 29 | $vtp->setVar( $handle, 'user_template', $user['template'] ); |
---|
[18] | 30 | |
---|
| 31 | $url = './category.php?'.$_SERVER['QUERY_STRING']; |
---|
| 32 | $vtp->setVar( $handle, 'back_url', add_session_id( $url ) ); |
---|
| 33 | //----------------------------------------------------------- html code display |
---|
| 34 | $code = $vtp->Display( $handle, 0 ); |
---|
| 35 | echo $code; |
---|
| 36 | ?> |
---|