<?
define("URL_SITE",$StrMainSite);
define("URL_SITE_BASE",$StrMainSiteBase);
define("URL_ADMIN",$StrAdminStie);
define("DOC_ROOT_SITE", $_SERVER['DOCUMENT_ROOT'].'/');
/*define("URL_IMG", URL_SITE.'/img/');
define("URL_FOTOS", URL_SITE.'/fotos/');
define("URL_FOTOS_TEXTOS", URL_FOTOS.'textos/');
define("URL_FOTOS_LOJA", URL_FOTOS.'produtos/');
define("URL_FOTOS_DESTAQUES", URL_FOTOS.'destaques/');
define("URL_FOTOS_LINKS", URL_FOTOS.'links/');
define("URL_FOTOS_NOTICIAS", URL_FOTOS.'noticias/');
define("URL_FOTOS_CATALOGOS", URL_FOTOS.'catalogos/');
define("URL_FOTOS_PORTFOLIO", URL_FOTOS.'portfolio/');
define("URL_FOTOS_GALERIA", URL_FOTOS.'galeria/');
define("URL_FOTOS_TRAJES", URL_FOTOS.'trajes/');
define("FICH_XML_GALERIA", DOC_ROOT_SITE.'xml/playlist.xml');
define("MAX_CHARS_LISTA_BODY", 150);
define("MAX_CHARS_LISTA_DIR", 50);
define('MAX_REGS_P_PAGINA', 15);
define('MAX_REGS_P_PAGINA_GEST', 20);*/
define('END_EMAIL_ENCOMENDAS', 'filipe@viaoceanica.com');
define('END_EMAIL_CONTACTOS', 'reservas@hotelailha.com');
define('END_EMAIL_ASSISTENCIA', 'filipe@viaoceanica.com');
/*include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/mysql/beta/class.mysql.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/fotos/class.fotos.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/data/beta/class.data.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/paginacao/class.paginacao.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/userlogin/class.userlogin.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/class.query.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/class.email.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/api/class.text.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/scripts/smtp.php");
define ("SMARTY_DIR",$_SERVER['DOCUMENT_ROOT']."/inc/smarty/");
define ("TEMPLATES_PATH",$_SERVER['DOCUMENT_ROOT']."/inc/templates");
define ("TEMPLATES_C_PATH",$_SERVER['DOCUMENT_ROOT']."/inc/templates_c");
define ("CONFIGS_PATH",$_SERVER['DOCUMENT_ROOT']."/inc/configs");
define ("CACHE_PATH",$_SERVER['DOCUMENT_ROOT']."/inc/cache");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/smarty/Config_File.class.php");
include_once($_SERVER['DOCUMENT_ROOT']."/inc/smarty/Smarty.class.php");
$ObjMySQL = new Mysql("eduard@viaoceanica.com","http://www.viaoceanica.com",true,false);
$ObjMySQL->ConnectToServer($StrDBHost,$StrDBUsername,$StrDBPassword);
$ObjMySQL->SelectMyDataBase($StrDBName);
$ObjSmarty = new Smarty();
$ObjText = new TextConvert;
$ObjQuery = new Query;
$ObjFotos = new Photo;
$ObjData = new Date;
$ObjEmail = new Email;
$smtp=new smtp_class;
$smtp->host_name="localhost";
$smtp->host_port=25;
$smtp->ssl=0;
$smtp->localhost="localhost";
$smtp->direct_delivery=0;
$smtp->timeout=10;
$smtp->data_timeout=0;
$smtp->debug=1;
$smtp->html_debug=1;
$smtp->pop3_auth_host=$SiteSMTPAddress;
$smtp->user=$SiteSMTPEmail;
$smtp->realm="";
$smtp->password=$SiteSMTPEmailPassword;
$smtp->workstation="";
$smtp->authentication_mechanism="";*/
/**
* Retornar texto de campo bd ex. descricao, limpo de tags e truncado
*/
/*function configRetornarTextoBdTruncado($textoCompleto, $maxChars){
$textoCompleto=trim($textoCompleto);
$textoCompleto=substr(strip_tags($textoCompleto), 0, $maxChars);
$textoCompleto.=(strlen($textoCompleto)>=$maxChars) ? '(...)' : '';
return $textoCompleto;
}
*/
?>
Name Last modified Size Description