|
Horario: de Lunes a Viernes de 10:00 a 14:00 y de 16:00 a 18:00
|
|
|
|
Misterios del Futuro® Gladiolo, 4 · 28039 Madrid ·España Tienda Online. Proveedor y Distribuidor de: Productos Esotéricos • Terapias Naturales • Feng Shui. Venta al por mayor y detalle. Servicios Integrales para el Bienestar Emocional. Noticias, Servicios gratuítos, Cursos, Tienda de Productos.
|
|
/**
* TODO LIST:
* Change Answers -> Results
* Is Right Answer (for choices), do not display this if it is not a true/false type test.
* Quiz - A Mambo Component
* @version 0.5b
* @package Quiz
* @ All rights reserved
* @copyright (C) 2004 by Cabbar Duzayak (dcabbar_at_yahoo_dot_com)
* @ Released under GNU/GPL License: http://www.gnu.org/copyleft/gpl.html
* @ Mambo Open Source is Free Software
**/
defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );
define("_MOS_QUIZ_VALID", 1);
global $database, $mosConfig_absolute_path, $my;
$basePath = $mosConfig_absolute_path . "/components/com_quiz/";
$baseAdminPath = $mosConfig_absolute_path . "/administrator/components/com_quiz/";
//---------------------------------
if (isset ($_POST['chqlang'])) {
if (!isset ($_COOKIE['quiz_lang'])) {
setcookie("quiz_lang", $_POST['myQLANG'], time()+2592000);
}
if (isset ($_COOKIE['quiz_lang'])) {
setcookie("quiz_lang", "", time()-2592000);
setcookie("quiz_lang", $_POST['myQLANG'], time()+2592000);
}
@header("Location: index.php?option=com_quiz&Itemid=".$Itemid);
}
require_once($baseAdminPath . "lang.quiz.php");
if (isset ($_COOKIE['quiz_lang'])) {
if (file_exists($basePath."languages/" . $_COOKIE['quiz_lang'] . ".php")) {
require_once($basePath."languages/" . $_COOKIE['quiz_lang'] . ".php");
$qlangset = 'ok';
}
}
if (!isset($qlangset)) {
if (file_exists($basePath."languages/" . $QLANG_FRONT . ".php")) {
require_once($basePath."languages/" . $QLANG_FRONT . ".php");
$qlangset = 'ok';
}
}
if (!isset($qlangset)) {
require_once($basePath."languages/english.php");
$qlangset = 'ok';
}
//------------------------------
require_once($baseAdminPath . "quiz.class.php");
require_once($baseAdminPath . "quiz.stat.php");
require_once($basePath . "ucommon.php");
require_once($basePath . "uquiz.class.php");
require_once($basePath . "quiz.config.php");
$task = getRequestParam("task");
$Itemid = getRequestParam("Itemid");
if ($Itemid < 1) {
fatalError("Invalid Itemid received!");
userJSWarning(_Q_TST_WRN_STAT . ":" . $database->stderr(), 0);
exit;
}
$quizParams = loadConfig($database, $Itemid);
if (!$task) { //SHOW FRONT PAGE
if (getRequestParam("catid")) {
$quizParams['catid'] = getRequestParam("catid");
}
require_once($basePath . "front.php");
require_once($basePath . "front.html.php");
showFrontPage($quizParams, $database, $Itemid);
return;
}
require_once($basePath . "test.php");
require_once($basePath . "test.html.php");
$extraInfo = substr($task, 13);
$extArr = split("_", $extraInfo);
if (isset($extArr[0])) {
$ext1 = $extArr[0];
$taskExtra1 = $extArr[0];
}
if (isset($extArr[1])) {
$ext2 = $extArr[1];
$taskExtra2 = $extArr[1];
}
$taskAction = substr($task, 0, 4);
$taskMain = substr($task, 5, 3);
$taskSub = substr($task, 9, 3);
if (($taskAction != "user") || ($taskMain != "tst")) {
return;
}
if ($taskSub == "shw") {
showTest($option, $database, $my, $Itemid);
} elseif ($taskSub == "stt") {
displayStats($option, $database, $Itemid);
} elseif ($taskSub == "top") {
HTMLQuizTest::showTopUsers ($option, $database, $tid);
}
function dumpRequest() {
foreach ($_REQUEST as $aa => $bb) {
echo "$aa::";
if (is_array($bb)) {
print_r($bb);
} else {
echo($bb);
}
echo "";
}
echo "
";
}
?> |
|
|
|
|
Horario de 10:00 a 14:00 h
|
|
Nuestra Comunidad
|
|
|
Consultas Profesionales
|
|
|
 |
|
|
|
|