/home/nondinda/domains/nondindaengcity.go.th/public_html/webboard_Aoi/includes/ucp/ucp_confirm.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?php
/**
*
* @package VC
* @version $Id: ucp_confirm.php 9524 2009-06-02 14:12:23Z Kellanved $
* @copyright (c) 2005 2008 phpBB Group
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* @ignore
*/
if (!defined('IN_PHPBB'))
{
    exit;
}

/**
* ucp_confirm
* Visual confirmation
*
* Note to potential users of this code ...
*
* Remember this is released under the _GPL_ and is subject
* to that licence. Do not incorporate this within software
* released or distributed in any way under a licence other
* than the GPL. We will be watching ... ;)
*
* @package VC
*/
class ucp_confirm
{
    var 
$u_action;

    function 
main($id$mode)
    {
        global 
$db$user$phpbb_root_path$config$phpEx;

        include(
$phpbb_root_path 'includes/captcha/captcha_factory.' $phpEx);
        
$captcha phpbb_captcha_factory::get_instance($config['captcha_plugin']);
        
$captcha->init(request_var('type'0));
        
$captcha->execute();

        
garbage_collection();
        
exit_handler();
    }
}

?>