<?php
/*
 * (c) Kogao Software
 */
class payment extends Init
{
    public static function getPayPal( $request, $config_controller ){
        
        self::dbconnect($config_controller);
        
        $get = self::db()->query('
            SELECT    '.htmlspecialchars($request).'
            FROM    pp
            WHERE    id = "1"
        ');
        
        $get->execute();
        
        $row = $get->fetch( PDO::FETCH_ASSOC );
        
        return $row[$request];
        
        $get->closeCursor();
        
        self::dbclose();
            
    }
}
?>