$intro=$_COOKIE['intro']; if(!isset($intro)){setcookie('intro', 0, 0, '/', '',0);} $format=$_COOKIE['format']; if(!isset($format)){setcookie('format', 0, 0, '/', '',0);} $list=$_COOKIE['list']; if(!isset($list)){setcookie('list', 0, 0, '/', '',0);} $tables=$_COOKIE['tables']; if(!isset($tables)){setcookie('tables', 0, 0, '/', '',0);} $images=$_COOKIE['images']; if(!isset($images)){setcookie('images', 0, 0, '/', '',0);} $links=$_COOKIE['links']; if(!isset($links)){setcookie('links', 0, 0, '/', '',0);} $frames=$_COOKIE['frames']; if(!isset($frames)){setcookie('frames', 0, 0, '/', '',0);} $forms=$_COOKIE['forms']; if(!isset($forms)){setcookie('forms', 0, 0, '/', '',0);} $media=$_COOKIE['media']; if(!isset($forms)){setcookie('media', 0, 0, '/', '',0);} $introduccion=$_GET['introduccion']; $formato=$_GET['formato']; $listas=$_GET['listas']; $tablas=$_GET['tablas']; $imagenes=$_GET['imagenes']; $enlaces=$_GET['enlaces']; $marcos=$_GET['marcos']; $formularios=$_GET['formularios']; $multimedia=$_GET['multimedia']; //---------------------------------------------------------- if(isset($introduccion)) { if ($introduccion==0) { setcookie('intro', 1, 0, '/', '',0); $_COOKIE['intro']=1; }else{ setcookie('intro', 0, 0, '/', '',0); $_COOKIE['intro']=0; } } if($_COOKIE['intro']==0) { $introduccion_img="img/+.gif"; }else{ $introduccion_img="img/-.gif"; } //------------------------------------------------------------ if(isset($formato)) { if ($formato==0) { setcookie('format', 1, 0, '/', '',0); $_COOKIE['format']=1; }else{ setcookie('format', 0, 0, '/', '',0); $_COOKIE['format']=0; } } if($_COOKIE['format']==0) { $formato_img="img/+.gif"; }else{ $formato_img="img/-.gif"; } //-------------------------------------------------------- if (isset($listas)) { if ($listas==0) { setcookie('list', 1, 0, '/', '',0); $_COOKIE['list']=1; } else { setcookie('list', 0, 0, '/', '',0); $_COOKIE['list']=0; } } if($_COOKIE['list']==0) { $listas_img="img/+.gif"; }else{ $listas_img="img/-.gif"; } //----------------------------------------------------------- if (isset($tablas)) { if ($tablas==0) { setcookie('tables', 1, 0, '/', '',0); $_COOKIE['tables']=1; } else { setcookie('tables', 0, 0, '/', '',0); $_COOKIE['tables']=0; } } if($_COOKIE['tables']==0) { $tablas_img="img/+.gif"; }else{ $tablas_img="img/-.gif"; } //--------------------------------------------------------------------------------- if (isset($imagenes)) { if ($imagenes==0) { setcookie('images', 1, 0, '/', '',0); $_COOKIE['images']=1; } else { setcookie('images', 0, 0, '/', '',0); $_COOKIE['images']=0; } } if($_COOKIE['images']==0) { $imagenes_img="img/+.gif"; }else{ $imagenes_img="img/-.gif"; } //--------------------------------------------------------------------- if (isset($enlaces)) { if ($enlaces==0) { setcookie('links', 1, 0, '/', '',0); $_COOKIE['links']=1; } else { setcookie('links', 0, 0, '/', '',0); $_COOKIE['links']=0; } } if($_COOKIE['links']==0) { $enlaces_img="img/+.gif"; }else{ $enlaces_img="img/-.gif"; } //---------------------------------------------------------------- if (isset($marcos)) { if ($marcos==0) { setcookie('frames', 1, 0, '/', '',0); $_COOKIE['frames']=1; } else { setcookie('frames', 0, 0, '/', '',0); $_COOKIE['frames']=0; } } if($_COOKIE['frames']==0) { $marcos_img="img/+.gif"; }else{ $marcos_img="img/-.gif"; } //------------------------------------------------------------------- if (isset($formularios)) { if ($formularios==0) { setcookie('forms', 1, 0, '/', '',0); $_COOKIE['forms']=1; } else { setcookie('forms', 0, 0, '/', '',0); $_COOKIE['forms']=0; } } if($_COOKIE['forms']==0) { $formularios_img="img/+.gif"; }else{ $formularios_img="img/-.gif"; } //-------------------------------------------------- if (isset($multimedia)) { if ($multimedia==0) { setcookie('media', 1, 0, '/', '',0); $_COOKIE['media']=1; } else { setcookie('media', 0, 0, '/', '',0); $_COOKIE['media']=0; } } if($_COOKIE['media']==0) { $multimedia_img="img/+.gif"; }else{ $multimedia_img="img/-.gif"; } ?>