###################################################################
# #
# LATINO CENTER S.L. #
# #
###################################################################
# #
# Author: Wilton Jose Ariza Florez #
# Email: wiltonariza@latinocenter.es #
# Web: http://www.latinocenter.es #
# Filename: database.php function cgi advanced #
# Details: The main cgi search database php advanced system #
# Release: Version 1.0.0 #
# #
###################################################################
# Please not delete copyright by wjaf 20-10-2004 spain #
###################################################################
function LINKWRITEG_EXPECTED($textt)
{
echo "$textt";
}
function LINKWRITEB_EXPECTED($text)
{
echo "$text";
}
function LINKWRITEC_EXPECTED($texts)
{
echo "$texts";
}
function LINKGLOBALS_EXPECTED()
{
include ("includes_stockqueral/config_stockqueral.php");
include ("includes_stockqueral/functions_stockqueral.php");
}
$LINK_EXPECTED = ('config_stockqueral.php');
function SET_GLOBALS($VAR_EXPECTED_GLOBAL)
{
$_GET[$VAR_EXPECTED_GLOBAL];
}
define('RESULTI_EXPECTED','Identificador: ');
define('RESULTCH_EXPECTED','Modelo: ');
define('RESULTR_EXPECTED','Modelo: ');
define('LINKWRITE_EXPECTED','indexs_s.php?storage_did?name=');
define('RESULTY_EXPECTED','POblación: ');
define('RESULTP_EXPECTED','Precio: ');
define('RESULTO_EXPECTED','Caracteríticas: ');
define('RESULTF_EXPECTED','Fotografía: ');
define('RESULTCC_EXPECTED','Cancelar');
define('RESULTTO_EXPECTED','Nombre del Producto');
define('RESULTAC_EXPECTED','Accion a realizar');
define('RESULTSS_EXPECTED','Seguro desea borrar el registro ');
define('RESULT_NOT_RESULT','No se obtuvieron resultados');
define('RESULT_DEL_LIST','DELETE FROM position_stockqueral WHERE stockqueral_did=');
define('EXPECTED_RELATIONS_LIST','SELECT * FROM position_stockqueral ORDER BY stockqueral_did ASC LIMIT 0,10');
function REGISTER_GLOBALS()
{
if (!ini_get("register_globals"))
{
$EXPECTED_DATABASE = phpversion();
$EXPECTED_DATABASE = explode(".", $EXPECTED_DATABASE);
$CONECTION_STOCKQUERAL = "$EXPECTED_DATABASE[0]$EXPECTED_DATABASE[1]";
if ($_POST >= 41)
{
$PHP_SELF = $_SERVER['PHP_SELF'];
import_request_variables('GPC');
}
}
}
function CONECTION_STOCKQUERAL()
{
global $EXPECTED_HOSTNAME,$ADVANCED_USERNAME,$ADVANCED_PASSWORD,$EXPECTED_DATABASE;
$EXPECTED_RELATIONS = mysql_connect($EXPECTED_HOSTNAME, $ADVANCED_USERNAME, $ADVANCED_PASSWORD) or DIE(mysql_error());
mysql_select_db($EXPECTED_DATABASE, $EXPECTED_RELATIONS);
return $EXPECTED_RELATIONS;
}
/*
define('RESULTI_EXPECTED','Identificador: ');
define('RESULTCH_EXPECTED','Referencia: ');
define('RESULTR_EXPECTED','Localidad: ');
define('LINKWRITE_EXPECTED','obras.php?storage_did?name=');
define('RESULTY_EXPECTED','Antiguedad: ');
define('RESULTP_EXPECTED','Precio: ');
define('RESULTO_EXPECTED','Caracteríticas: ');
define('RESULTF_EXPECTED','Fotografía: ');
define('RESULTCC_EXPECTED','Cancelar');
define('RESULTTO_EXPECTED','Tipo de Obra');
define('RESULTAC_EXPECTED','Accin a realizar');
define('RESULTSS_EXPECTED','Seguro desea borrar el registro de la obra ');
define('RESULT_NOT_RESULT','no se obtuvieron resultados');
define('RESULT_DEL_LIST','DELETE FROM position_stockqueral WHERE stockqueral_did=');
define('EXPECTED_RELATIONS_LIST','SELECT * FROM position_stockqueral ORDER BY stockqueral_did ASC LIMIT 0,10');
*/
?>
|