169); $_result['visibility'] = array(); $_initialvars = arrayExclude(get_defined_vars(), array("_*", "form_*", "s_*", "GLOBALS", "Link", "thisname")); } require('../main/base.events.php'); // isbasewindow: // On Open while( ($__action == "" or $__action == "executedonopen") and (empty($_x) or in('onopen', $_x)) ) { $__action = "executedonopen"; /** $__tempresult = sqlexec($Link, "select count(*) from reppanel where usuario = '" . mysql_escape($s_idusuario) . "'"); while( $__temprow = mysql_fetch_array($__tempresult)) { $cantpaneles = $__temprow[0]; } if( $cantpaneles == 0 ) { redirect("../mail/?messages=$messages&errors=$errors"); } **/ //redirect("../consorcios3/novedades.php"); // Si puso header location para ir a otra pagina cierra el script if( !isset($_x) and $__exiting ) { disconnectDb($Link); exit(0); } break; } // On Refresh do { if( has($_s, 'removepanel') ) { message("REMOVING PANEL $idpanel"); sqlexec($Link, "delete from reppanel where id = " . mysql_escape($idpanel) . ""); } // Si puso header location para ir a otra pagina cierra el script if( !isset($_x) and $__exiting ) { disconnectDb($Link); exit(0); } } while(false); // PHP Vars while( ($__action == "" or $__action == "executedonopen") and isset($_GET['_x']) and empty($_x) ) { $__row0 = array(); $__row0['__idpanel__1'] = $idpanel ; $_result['morevars'] = $__row0; break; } if( has($_x, 'pdf') or has($_x, 'pdfprint') or has($_x, 'pdfprint2') ) { require_once('../include/fpdfreport.php'); $_pdf = new PDF((isset($_orientation) ? $_orientation : 'P'),'pt', (isset($_size) ? $_size : 'A4' )); $_pdf->initialPage = ($_page != '' ? $_page : 1); //$_pdf->SetAutoPageBreak(true); $_pdf->title = ""; $_pdf->SetTopMargin(50); $_pdf->AliasNbPages(); $_pdf->AddPage(); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['contenido2'] = ($url != ""); } if( has($_x, 'pdf') or has($_x, 'pdfprint') or has($_x, 'pdfprint2') ) { $_pdf->Output(); } ?> '); //echo(''); echo(''); ?> class="popup" >