Exponential Basic 2.4.0.1 Exponential Basic CMS — PHP Class Reference

thanks.php
Go to the documentation of this file.
1 <?php
4 // include_once( "classes/INIFile.php" );
5 // include_once( "classes/eztemplate.php" );
6 // include_once( "ezsurvey/classes/ezsurvey.php" );
7
8 $ini =& eZINI::instance( 'site.ini' );
9 $Language = $ini->variable( "eZSurveyMain", "Language" );
10
11 $t = new eZTemplate( "kernel/ezsurvey/user/" . $ini->variable( "eZSurveyMain", "AdminTemplateDir" ),
12 "kernel/ezsurvey/user/intl", $Language, "thanks.php" );
13
14 $t->set_file( "thanks_tpl", "thanks.tpl" );
15 $t->setAllStrings();
16
17 $SurveyID = $url_array[4];
18
19 $survey = new eZSurvey( $SurveyID );
20
21 $t->set_var( "thanks_head", $survey->thankHead() );
22 $t->set_var( "thanks_body", $survey->thankBody() );
23
24 $t->pparse( "output", "thanks_tpl" );
25
26 ?>
eZSurvey
Definition: ezsurvey.php:8
eZTemplate
Definition: eztemplate.php:107
$url_array
$url_array
Definition: ezaddress/admin/datasupplier.php:34
$t
$t
Definition: thanks.php:11
$Language
$Language
Definition: thanks.php:9
$ini
$ini
Definition: thanks.php:8
$survey
$survey
Definition: thanks.php:19
$SurveyID
$SurveyID
Definition: thanks.php:17
Copyright © 1998 – 2026 7x. All rights reserved. Licensed under the GNU GPLv2+.