|
Publicaciones del Fondo Indígena
. Ultimas publicaciones . Modulos de Capacitación . Desarrollo con Identidad . Memorias . Boletines . Gestiones . Otras Publicaciones Universidad Indígena Intercultural . Trabajos de Investigacion . Ultimos Trabajos . Buscar Tesis Operaciones . Busqueda por Titulo . Busqueda por Autor . Busqueda por Tematica . Busqueda por Area Administración Adminnistracion A|B|C|D|E| F|G|H|I|J|K|L|M|N|O|P|Q|R|S|T|U|V|X|Y|Z
-86400
// generalized version of cmd[]-c
// - fields and operators specifed
// - unlimited number of conditions
// - all default conditions from view definition are
// completely redefined by the specified ones
//optionaly set[] // setings to modify view behavior (can be combined with cmd)
// set[23]=listlen-20
// set[23]=mlx-EN-FR-DE
// - sets maximal number of viewed items in view 23 to 20
// - there can be more settings (future) - comma separated
//optionaly als[] // user alias - see slice.php3 for more details
// for more info see AA FAQ: http://apc-aa.sourceforge.net/faq/index.shtml#219
/**
* Handle with PHP magic quotes - quote the variables if quoting is set off
* @param mixed $value the variable or array to quote (add slashes)
* @return mixed the quoted variables (with added slashes)
*/
function AddslashesDeep($value) {
return is_array($value) ? array_map('AddslashesDeep', $value) : addslashes($value);
}
if (!get_magic_quotes_gpc()) {
// Overrides GPC variables
foreach ($_GET as $k => $v) {
$kk = AddslashesDeep($v);
}
foreach ($_POST as $k => $v) {
$kk = AddslashesDeep($v);
}
foreach ($_COOKIE as $k => $v) {
$kk = AddslashesDeep($v);
}
}
require_once "./include/config.php3";
require_once AA_INC_PATH."easy_scroller.php3";
require_once AA_INC_PATH."util.php3";
require_once AA_INC_PATH."item.php3";
require_once AA_INC_PATH."view.php3";
require_once AA_INC_PATH."discussion.php3";
require_once AA_INC_PATH."pagecache.php3";
require_once AA_INC_PATH."searchlib.php3";
$encap = true; // just for calling extsessi.php
require_once AA_INC_PATH."locsess.php3"; // DB_AA object definition
add_vars();
if (is_numeric($time_limit)) {
@set_time_limit((int)$time_limit);
}
if (isset($slice_id)) $p_slice_id= q_pack_id($slice_id);
$db = new DB_AA; // open BD
$db2 = new DB_AA; // open BD
if ($debug) huhl("Starting view");
// Need to be able to set content-type for RSS, cannot do it in the view
// because the cache wont reflect this
if ($contenttype) {
header("Content-type: $contenttype");
}
$text = GetView(ParseViewParameters());
if ($convertto OR $convertfrom) {
require_once AA_INC_PATH."convert_charset.class.php3";
$encoder = ConvertCharset::singleton();
$text = $encoder->Convert($text, $convertfrom, $convertto);
}
echo $text;
if ($debug) huhl("Completed view");
exit;
?>
|