1103); $_result['visibility'] = array(); $_initialvars = arrayExclude(get_defined_vars(), array("_*", "form_*", "s_*", "GLOBALS", "Link", "thisname")); } // isbasewindow: // On Open while( ($__action == "" or $__action == "executedonopen") and empty($_x) ) { $__action = "executedonopen"; /** if( $indice == "" ) { if( $s_idusuario != "" ) { $__tempresult = sqlexec($Link, "select indice from manual where licencia = '" . mysql_escape($s_licencia) . "' or licencia = '' or licencia is null order by indice limit 1"); while( $__temprow = mysql_fetch_array($__tempresult)) { $indice = $__temprow[0]; } } else { $indice = "E"; } } if( $q != '' ) { $__tempresult = sqlexec($Link, "select indice from manual where (titulo like '%" . mysql_escape($q) . "%' or contenido like '%" . mysql_escape($q) . "%') and (licencia = '" . mysql_escape($s_licencia) . "' or licencia = '' or licencia is null) order by indice limit 1"); while( $__temprow = mysql_fetch_array($__tempresult)) { $indice = $__temprow[0]; } } **/ $idmanual = ''; if( $q2 != '' ) $q = $q2; $__tempresult = sqlexec($Link, "select id, titulo, link, contenido, capitulo, archivos, mostrararchivos from manual where (licencia = '" . mysql_escape($s_licencia) . "' or licencia = '' or licencia is null) and id = '" . mysql_escape($id) . "'"); while( $__temprow = mysql_fetch_array($__tempresult)) { $idmanual = $__temprow[0]; $titulo1 = $__temprow[1]; $src = $__temprow[2]; $contenido = $__temprow[3]; $capitulo1 = $__temprow[4]; $archivos = $__temprow[5]; $mostrararchivos = $__temprow[6]; } // 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 { // Toma proyecto desde el URL que viene por rewrite global $proyecto; $proyecto = getProyecto(); //$sproyecto = $s_proyecto; //print("ONREFRESH --- rproyecto: [" . $_REQUEST['proyecto'] . "] proyecto: [$proyecto] s_proyecto: [$s_proyecto]
"); //print("base4onopen."); // 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['__barranav1__1'] = (!isset($_popup)) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__sinnombre_10022__1'] = (can('include/log')) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__sinnombre_10022__2'] = in(getfilename($_SERVER['SCRIPT_NAME']), array('propietarios')) ? 'active' : '' ; $__row0['__sinnombre_1002__1'] = (1==0) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__sinnombre_1002__2'] = in(getfilename($_SERVER['SCRIPT_NAME']), array('propietarios')) ? 'active' : '' ; $__row0['__botonconfigurar__1'] = (can('ayuda/manual')) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__sinnombre_1003__1'] = (can('manualonline')) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__sinnombre_1006__1'] = (!isset($_popup)) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__unnamed6__1'] = $row['capitulotitulo'] ; $__row0['__unnamed6__2'] = $row['id'] ; $__row0['__unnamed6__3'] = $row['titulo'] ; $__row0['__contenido__1'] = ($idmanual != '' and $q == '') ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__contenido__2'] = $titulo1 ; $__row0['__contenido__3'] = $contenido ; $__row0['__contenido__4'] = showgalleryhtml($archivos, false, 'archivos', '../files/ayuda/manual/') ; $__row0['__editarentrada__1'] = (can('ayuda/manual')) ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__home__1'] = ($idmanual == '' and $q == '') ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__home__2'] = $s_nombre ; $__row0['__home__3'] = $s_contacto ; $__row0['__home__4'] = $s_email ; $__row0['__home__5'] = $s_nombre ; $__row0['__home__6'] = COMPANY ; $__row0['__home__7'] = $s_email ; $__row0['__home__8'] = $s_nombre ; $__row0['__home__9'] = $s_perfil ; $__row0['__home__10'] = COMPANY ; $__row0['__home__11'] = $s_email ; $__row0['__home__12'] = $row['capitulotitulo'] ; $__row0['__home__13'] = $cants[$icap] ; $__row0['__home__14'] = $row['id'] ; $__row0['__home__15'] = $row['titulo'] ; $__row0['__resultado__1'] = ($q != '') ? 'display: inline !important;' : 'display: none !important;' ; $__row0['__resultado__2'] = $q ; $__row0['__unnamed3__1'] = $q ; $__row0['__unnamed__1'] = $s_nombre ; $__row0['__unnamed__2'] = $s_empresa ; $__row0['__unnamed__3'] = $s_email ; $__row0['__unnamed__4'] = $s_nombreproyecto ; $__row0['__unnamed__5'] = $s_perfil ; $__row0['__unnamed__6'] = $s_nombre ; $__row0['__unnamed__7'] = $s_perfil ; $__row0['__unnamed__8'] = $s_empresa ; $__row0['__unnamed__9'] = $s_email ; $_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']['barranav1'] = (!isset($_popup)); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['sinnombre_10022'] = (can('include/log')); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['sinnombre_1002'] = (1==0); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['botonconfigurar'] = (can('ayuda/manual')); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['sinnombre_1003'] = (can('manualonline')); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['sinnombre_1006'] = (!isset($_popup)); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['contenido'] = ($idmanual != '' and $q == ''); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['editarentrada'] = (can('ayuda/manual')); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['home'] = ($idmanual == '' and $q == ''); } if( isset($_GET['_x']) and empty($_x) ) { $_result['visibility']['resultado'] = ($q != ''); } if( has($_x, 'pdf') or has($_x, 'pdfprint') or has($_x, 'pdfprint2') ) { $_pdf->Output(); } ?> '); //echo(''); echo(''); ?> class="popup" >