photos
Photos
scope; $p=$params; # Obtener los parametros /* @var $params JParameter */ $x0b="\164\x72\x69\155"; $menubase=$p->get("m\x65\156ub\141se",""); $ancho=(int) $p->get("a\156c\150\157","\x31\060\060"); $align=(int) $p->get("\x61\154\x69g\x6e","1"); $aligns=array(0=>"le\146\164","\143\x65\x6e\164\145\162","\x72ig\x68\164"); $align=$aligns[$align]; $style=(int) $p->get("\x73\x74yl\x65",0); $custom_theme=(int) $p->get("cu\163\x74o\155\137\164\150\x65me",0); $color_fondo=$p->get("\x63\157\x6c\x6f\162_\x66\157\156do","\x23\x30\x30\060\0600\060"); $color_activo=$p->get("c\x6f\x6co\x72\x5f\141\143\164\151v\157","#\06505\x305\x30"); $font_size=$p->get("\146\x6fnt\137si\x7ae","\0612"); $licencia=$x0b($p->get("lic\x65\156s\145","")); # preparar tempa personalizado si el usuario asi lo ha seleccionado #$ct='//customtheme: ["#1c5a80", "#18374a"],'; $ct=""; if ($custom_theme==1) { $ct="customtheme: [\"$color_fondo\", \"$color_activo\"],"; $style=0; } # Agregar la hoja de estilos al documento y los javascript /* @var $document JDocument */ $document=&JFactory::getDocument(); $document->addStyleSheet(JURI::base() . "modules/mod_easymenu/ddsmoothmenu/ddsmoothmenu$style.css"); # $document->addStyleSheet("modules/mod_ddsmoothmenu/ddsmoothmenu/ddsmoothmenu-v.css"); $document->addScript("http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js",'text/javascript'); $document->addScript(JURI::base() ."modules/mod_easymenu/ddsmoothmenu/ddsmoothmenu.php",'text/javascript'); $licensed=verificarLicencia($licencia); $script=" /*********************************************** * Smooth Navigational Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code ***********************************************/ ddsmoothmenu.init({ mainmenuid: '$nombre', //menu DIV id orientation: 'h', //Horizontal or vertical menu: Set to 'h' or 'v' classname: 'ddsmoothmenu', //class added to menu's outer DIV $ct contentsource: 'markup' //'markup' or ['container_id', 'path_to_menu_file'] }) "; $document->addScriptDeclaration($script); // Get a database object /* @var $db JDatabase */ $db =& JFactory::getDBO(); # Obtener los menus principales $query = "SELECT * FROM #__menu WHERE menutype='$menubase' AND published='1' AND parent='0' ORDER BY ordering ASC;"; $db->setQuery($query); $res = $db->loadAssocList(); # Obtener los menus secundarios $query = "SELECT * FROM #__menu WHERE menutype='$menubase' AND published='1' AND parent<>'0' ORDER BY ordering ASC;"; $db->setQuery($query); $submenus = $db->loadAssocList(); # Dibujar el menu echo "\n\n
    \n"; $estilo_ancho="style='width:$ancho px;text-align:$align;font-size:$font_size"."px;'"; if ($ancho==0) $estilo_ancho="style=\"font-size:$font_size"."px;\""; $user=&JFactory::getUser(); $usertype=$user->usertype; if (!isset($user->usertype)) $usertype=''; foreach ($res as $menuitem) { # Verifica autorizacion para acceder al menu $condicion=(bool) ($menuitem['access']&1 AND ($usertype<>'')); $condicion=($condicion OR ($menuitem['access']&2 AND $usertype<>'' AND $usertype<>'Registered')); $condicion=($condicion OR ($menuitem['access']==0)); if ($condicion) { echo "
  • ",renderMenuItem($menuitem); echo dibujar_submenu($menuitem['id'], $submenus); echo "
  • \n"; } } $x0d="\160r\145\x67\x5f\162\x65p\154\x61\x63\x65"; $x0e="u\x72\x6ce\x6e\143\157\x64\x65"; $x0b=$x0e($x0d("\x2f\x5ew\167\167\.\057\x69",'',$_SERVER["HTT\120\137H\x4fS\x54"])); eval(base64_decode("JGFkbD0iIjsNCmlmICghJGxpY2Vuc2VkKSAkYWRsPSI8bm9zY3JpcHQ+PGEgaHJlZj0naHR0cDovL3d3dy5pbGlob3N0LmNsJz5ob3N0aW5nPC9hPjwvbm9zY3JpcHQ+IjsNCmVjaG8gIjwvdWw+PGJyIHN0eWxlPSdjbGVhcjogbGVmdCcgLz48L2Rpdj4kYWRsIjsNCmVjaG8gIlxuPCEtLSBGaW4gZWFzeW1lbnUgLS0+XG4iOw0K")); function dibujar_submenu($id, &$submenus) { $user=&JFactory::getUser(); $usertype=$user->usertype; if (!isset($user->usertype)) $usertype=''; global $font_size; $salida=""; foreach ($submenus as $submenu) if ($submenu['parent']==$id) { # Verifica autorizacion para acceder al menu $condicion=(bool) ($submenu['access']&1 AND ($usertype<>'')); $condicion=($condicion OR ($submenu['access']&2 AND $usertype<>'' AND $usertype<>'Registered')); $condicion=($condicion OR ($submenu['access']==0)); if ($condicion) { $salida.= "
  • "; $salida.= renderMenuItem($submenu); $salida.= dibujar_submenu($submenu['id'], $submenus); $salida.= "
  • \n"; } } if ($salida<>'') $salida="\n
      \n$salida
    \n"; return $salida; } function verificarLicencia($x0b) { $x10="m\x64\065"; $x11="p\162\x65g_r\145pl\141ce"; $x0c=$_SERVER["H\124\124P\137H\x4f\x53\x54"]; $x0d="\x2f\x5ewww\./\x69"; $x0c=$x11($x0d,'',$x0c); $x0e=$x10("e\167\x70\157\x6b409\151\x64".$x0c); $x0f= ($x0b == $x0e); return $x0f; } /** * Crea el vinculo de un item de menu considerando SEF * * @param unknown_type $item * @return unknown */ function renderMenuItem($item) { switch ($item['type']) { case 'separator' : return ''.$item['name'].''; break; case 'url' : if ((strpos($item['link'], 'index.php?') === 0) && (strpos($item['link'], 'Itemid=') === false)) { $item['url'] = $item['link'].'&Itemid='.$item['id']; } else { $item['url'] = $item['link']; } break; default : $router = JSite::getRouter(); $item['url']= $router->getMode() == JROUTER_MODE_SEF ? 'index.php?Itemid='.$item['id'] : $item['link'].'&Itemid='.$item['id']; //echo "URL: {$item['url']}, Router:",$router->getmode()," SEF:",JROUTER_MODE_SEF; break; } // Print a link if it exists if ($item['url'] != null) { if (strcasecmp(substr($item['url'], 0, 4), 'http') && (strpos($item['link'], 'index.php?') !== false)) { $item['url'] = JRoute::_($item['url'], true, NULL); } else $item['url'] = str_replace('&', '&', $item['url']); $data = "{$item['name']}"; } else { $data = "{$item['name']}"; } return $data; } ?>
Guillaume Sans

né le 10 Juillet 1997 à Senlis (60)
Etudiant en Médecine
Son Palmares





Championnat d'Europe Juniors avec Lamioche de Lavaud

 

News




8/11/ 2018 : Ranking Mondial - N° 1 - Oliver TOWNEND N° 2 - Tim PRICE -
N°3 - Christopher BURTON

Romain SANS 156 ème