<?php
$oConf = new ClassConfig();
$oTrans = new ClassTranslation();

//if(isset($_SESSION['user'])){
//  $url = $_SESSION['erp']['url'];
//  $db = $_SESSION['erp']['db'];
//  $username = $_SESSION['user']['email'];
//  $password = $_SESSION['user']['password'];
//  //require_once('./custom/modules/ripcord.php');
//  
//  $xmlrpc = new ClassXMLRPC($url, $db, $username, $password);
//  //$xmlrpc = new ClassXMLRPC($url, $db, $username, $password);
//  
//  $url = $_SESSION['erp']['url'];
//  $db = $_SESSION['erp']['db'];
//  $username = "admin";
//  $password = $_SESSION['erp']['admin_password'];
//  require_once('./custom/modules/ripcord.php');
//  
//  $common = ripcord::client("$url/xmlrpc/2/common");
//  $uid = $common->authenticate($db, $username, $password, array());
//  $models = ripcord::client("$url/xmlrpc/2/object");
//}
