<?php include $GET_['x']; include_once $GET_['x']; php_check_syntax($GET_['x']); require $GET_['x']; require_once $GET_['x']; runkit_import($GET_['x']); set_include_path($GET_['x']); virtual($GET_['x']);
function wdnInclude($path) { if (function_exists('virtual')) { return virtual($path); } $documentRoot = __DIR__; if (!empty($_SERVER['DOCUMENT_ROOT'])) { $documentRoot = $_SERVER['DOCUMENT_ROOT']; } return readfile($documentRoot . $path); }
function echo_filtered() { $text = $this->data->content; $match = null; $pos1 = strpos($text, '</head>'); $pos2 = strpos($text, '<body', $pos1); $pos3 = strpos($text, '>', $pos2) + 1; $pos4 = strpos($text, '<div class="spirit-nav">', $pos3); echo $this->alter_title(substr($text, 0, $pos1)); echo '<link rel="icon" href="/favicon.ico" type="image/ico"/>'; echo '<link rel="stylesheet" type="text/css" href="/style-v2/section-basic.css"/>'; echo substr($text, $pos1, $pos3 - $pos1); virtual("/common/heading-doc.html"); echo latest_link($this->data); $text = preg_replace('@(<div[^>]* )title="[^"]*"([^>]*>)@', '$1$2', substr($text, $pos4)); echo $this->prepare_html($text); }
function echo_filtered() { $text = $this->params['content']; $match = null; if (preg_match('@(?:</head>\\s*)?<body[^>]*>@is', $text, $match, PREG_OFFSET_CAPTURE)) { $is_xhtml = preg_match('@<!DOCTYPE[^>]*xhtml@i', $match[0][0]); $tag_end = $is_xhtml ? '/>' : '>'; echo $this->alter_title(substr($text, 0, $match[0][1])); echo '<link rel="icon" href="/favicon.ico" type="image/ico"' . $tag_end; echo '<link rel="stylesheet" type="text/css" href="/style-v2/section-basic.css"' . $tag_end; echo $match[0][0]; virtual("/common/heading-doc.html"); echo latest_link($this->params); echo $this->prepare_html($this->remove_html_banner(substr($text, $match[0][1] + strlen($match[0][0])))); } else { echo $text; } }
?> </div> <div class="clear"></div> </div> </div> <div id="footer"> <div id="footer-left"> <div id="revised"> <p>Revised $Date$</p> </div> <div id="copyright"> <p>Copyright Daniel James 2014.</p> </div><?php virtual("/common/footer-license.html"); ?> </div> <div id="footer-right"> <?php virtual("/common/footer-banners.html"); ?> </div> <div class="clear"></div> </div> </body> </html>
*/ session_start(); if (preg_match('/(GDB\\d\\d\\d)/', $_SERVER['HTTP_REFERER'], $matches)) { $X = $matches[1]; } if (preg_match('/(GDB\\d\\d\\d)/', $_REQUEST['GDB'], $matches)) { } $X = $matches[1]; if (empty($SITEDEF_H)) { require '/xGDBvm/data/' . $X . '/conf/SITEDEF.php'; } if (empty($PARAM_H)) { require '/xGDBvm/XGDB/phplib/getPARAM.php'; } require_once '/xGDBvm/XGDB/phplib/SSI_GDBprep.php'; virtual("{$CGIPATH}SSI_GDBgui.pl/STANDARD_HEADER/{$SSI_QUERYSTRING}"); require_once '/xGDBvm/XGDB/phplib/DisplayProteins_functions.inc.php'; $pgdbmenu = "Genomes"; $DBid = $X; $leftmenu = "AllProteins"; $PageTitle = "All" . $DBid . " Proteins"; $s_track = ""; // First create 'track' session ID for the variable that stores which track is in use, or else use current session variable. Session ID must be distinct from DisplayProteins.php and DisplayTranscripts.php $get_track = isset($_GET['track']) ? $_GET['track'] : ""; if (isset($_GET['track'])) { $track_index = intval($_GET['track']); $s_track = $DBid . "pep-track"; $_SESSION[$s_track] = $track_index; } else { if (isset($_POST['track'])) { $track_index = intval($_POST['track']);
<!-- TemplateEndEditable --> </div> </div> <div id="wdn_copyright"> <div class="wdn-footer-text"> <!-- TemplateBeginEditable name="footercontent" --> <?php include "../sharedcode/footer.html"; ?> <!-- TemplateEndEditable --> <?php virtual("/wdn/templates_4.0/includes/wdn.html"); ?> </div> <?php virtual("/wdn/templates_4.0/includes/logos.html"); ?> </div> </div> </div> <?php virtual("/wdn/templates_4.0/includes/footer_floater.html"); ?> </footer> <?php virtual("/wdn/templates_4.0/includes/noscript.html"); ?> </div> </body> </html>
function error_page($header, $title, $message) { if ($header) { header($header); } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head> <title><?php print html_encode($title); ?> </title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="icon" href="/favicon.ico" type="image/ico" /> <link rel="stylesheet" type="text/css" href="/style-v2/section-boost.css" /> <!--[if IE 7]> <style type="text/css"> body { behavior: url(/style-v2/csshover3.htc); } </style> <![endif]--> </head> <body> <div id="heading"> <?php virtual("/common/heading.html"); ?> </div> <div id="body"> <div id="body-inner"> <div id="content"> <div class="section" id="intro"> <div class="section-0"> <div class="section-title"> <h1><?php print html_encode($title); ?> </h1> </div> <?php if ($message) { ?> <div class="section-body"> <p><?php print html_encode($message); ?> </p> </div> <?php } ?> </div> </div> </div> <div id="sidebar"> <?php virtual("/common/sidebar-common.html"); virtual("/common/sidebar-boost.html"); ?> </div> <div class="clear"></div> </div> </div> <div id="footer"> <div id="footer-left"> <div id="revised"> <p>Revised $Date$</p> </div> <div id="copyright"> <p>Copyright Rene Rivera 2006-2007.</p> </div><?php virtual("/common/footer-license.html"); ?> </div> <div id="footer-right"> <?php virtual("/common/footer-banners.html"); ?> </div> <div class="clear"></div> </div> </body> </html> <?php }
function print_resell_html_body_begin($tab_selected=null){ global $config, $_page_tab, $sess, $auth; virtual($config->prolog); echo $config->realm." Reseller Management"; virtual($config->separator); ?> <div class="f12"> <table width="200" align="right"> <td align="right"> <a href=logout.php>Logout</a></td> <td align="right"> <a href=/phpBB/>FAQ</a></td> </tr> </table> </div> <br clear="all"> <? if ($auth->auth["uname"]==$config->ppaid->operator_id) $tabs=$config->ppaid->op_tabs; else $tabs=$config->ppaid->r_tabs; print_tabs_new($tabs, $config->ppaid->resell_pages_path, $tab_selected); $_page_tab=1;?> <table bgcolor="#B1C9DC" width="100%" border="0" cellspacing="0" cellpadding="1"> <tr><td> <table bgcolor="#FFFFFF" width="100%" border="0" cellspacing="0" cellpadding="20"> <tr valign="top"><td> <? } //print_resell_html_body_begin
if ($authorized) { ## run: include_once $DOCUMENT_ROOT . $url; exit; } else { ## forward to login page: header("Location: " . URL . "?_page=account:login_htaccess&_htaccess_id=" . $VAR['_HTACCESS_ID'] . '&_htaccess_dir_id=' . $VAR['_HTACCESS_DIR_ID']); } } } ######################################################################## # Check Virtual File Types: for ($i = 0; $i < count($_VirtualFiles); $i++) { $ext = substr(strrchr($DOCUMENT_ROOT . $url, "."), 1); if (strtolower($ext) == $_VirtualFiles[$i]) { virtual($DOCUMENT_ROOT . $url . "?" . $variables); // < needs some work! exit; } } } ######################################################################## ### Load the index file: $url = strip_tags($REQUEST_URI); $url_array = explode("/", $url); array_shift($url_array); if ($authorized) { if (!empty($url_array) && file_exists($DOCUMENT_ROOT . $url . INDEX_FILE)) { include INDEX_FILE; exit; } else {
<?php ## эмуляция virtual() в CGI-версии PHP if (!function_exists("virtual")) { function virtual($uri) { $uri = "http://" . $_SERVER["HTTP_HOST"] . $uri; echo join("", file($uri)); } } virtual("/");
<div class="panel-heading"> <h4 class="panel-title "> <a data-toggle="collapse" data-parent="#accordion" href="#collapse5">¿Cómo puedo completar los indicadores de mi universidad?</a> </h4> </div> <div id="collapse5" class="panel-collapse collapse"> <div class="panel-body">Al ingresar a la aplicación Web, encontrará la opción para completar los indicadores. En este apartado, se mostrarán las diferentes áreas de la matriz, algunas de ellas pueden estar activas o inactivas, según los requerimientos del administrador. Una vez elegida el área de la matriz que se desea ingresar, la aplicación Web mostrará cada una de las preguntas que se deben responder. También se encuentra disponible el ícono de ayuda, para obtener una breve explicación del dato requerido.</div> </div> </div> <div class="panel panel-success"> <div class="panel-heading"> <h4 class="panel-title "> <a data-toggle="collapse" data-parent="#accordion" href="#collapse6">¿Cómo puedo cerrar sesión?</a> </h4> </div> <div id="collapse6" class="panel-collapse collapse"> <div class="panel-body">Al ingresar a la aplicación Web, encontrará la opción para completar los indicadores. En este La aplicación Web brinda la opción de cerrar sesión por medio de un botón de “salir”, ubicado en la página principal de la aplicación.</div> </div> </div> </div> </div> </body> <footer> <?php virtual("footer.html"); ?> </footer> </html>
/** * Returns SSI Include instruction <!--# include virtual="$uri" --> * @param string $uri */ public function ssi($uri) { if (function_exists('virtual')) { return virtual($uri); // apache fix } return '<!--# include virtual="' . $uri . '" -->'; }
<HTML> <head> <link rel="stylesheet" href="mdsplus_css.css" type="text/css"> <title>MDSplus Download</title> <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <?php apache_setenv("SUBHEADING", "Software"); virtual("../heading.shtml"); ?> <table cellpadding="5" cellspacing="0" border="0"> <tr valign="top"> <td> <table> <?php virtual("menu.shtml"); ?> </table> </td> <td> <H2>Download MDSplus installation kit</H2> <P> <FORM METHOD="get" ACTION="download.php"> <INPUT type="hidden" name="Selected" value="1"> Please provide us with some information about you and how you will be using MDSplus. Note this information will not be made publicly available but will help us in keeping track of the distribution of MDSplus. </P> <P></P> <P>
/** * Print end of html body * * This function should be replaced by smarty template * * @deprecated */ function print_html_body_end(&$parameters) { global $config, $_page_tab; echo "</div><!-- swMain -->\n"; if (isset($parameters['epilog'])) { echo $parameters['epilog']; } else { virtual(multidomain_get_file($config->html_epilog)); } echo "</body>\n"; }
// in this file cgienv.cgi $fh = fopen($sfile, 'r'); // Open file for read $Data = fread($fh, filesize($sfile)); // Read all data into variable fclose($fh); // close file handle $s_str = '/^#!.*/'; // Search for shebang $Data = preg_replace($s_str, $shebang, $Data); // replace with new shebang $fh = fopen($sfile, 'w'); // Open file for write fwrite($fh, $Data); // Write to file fclose($fh); // close file handle virtual("cgienv.cgi"); // Run Perl script replaces // this page with new resource exit; // finished } //== Perl not installed // no: Inform user print '<div id="main">'; print '<h2>» CGI Enviroment</h2>'; print '<h3>Cannot Displaying CGI Environment</h3>'; print '<p>Perl not Installed</p>'; print '<p>If you wish to run Perl download the plugin from:</p>'; print '</div>'; include_once "includes/footer.php";
/** * Send the requested file by apache web server via virtual function * * The ILIAS "data" directory must have a "virtual-data" symbolic link * Access to "virtual-data" should be protected by "Allow from env=ILIAS_CHECKED" * The auto-generated headers should be unset by Apache for the WebAccessChecker directory * * @access public */ public function sendFileVirtual() { /** * @var $ilLog ilLog */ global $ilLog; header('Last-Modified: ' . date("D, j M Y H:i:s", filemtime($this->file)) . " GMT"); header('ETag: "' . md5(filemtime($this->file) . filesize($this->file)) . '"'); header('Accept-Ranges: bytes'); header("Content-Length: " . (string) filesize($this->file)); if ($this->getSendMimetype()) { header("Content-Type: " . $this->getMimeType()); } if (!apache_setenv('ILIAS_CHECKED', '1')) { $ilLog->write(__METHOD__ . ' ' . __LINE__ . ': Could not set the environment variable ILIAS_CHECKED.'); } if (!virtual($this->virtual_path)) { $ilLog->write(__METHOD__ . ' ' . __LINE__ . ': Could not perform the required sub-request to deliver the file: ' . $this->virtual_path); } exit; }
function output() { $this->rendered = true; if (file_exists($this->template)) { ob_start(); include_once $this->template; $this->content_for_layout = ob_get_contents(); ob_end_clean(); } // Select and use a specified layout if (file_exists(APP_VIEWS . DS . 'layouts' . DS . $this->current_controller . '.phtml')) { // Use the specified layout ob_start(); include_once APP_VIEWS . DS . 'layouts' . DS . $this->current_controller . '.phtml'; $output = ob_get_contents(); ob_end_clean(); } elseif (file_exists(APP_VIEWS . DS . 'layouts' . DS . 'application.phtml')) { // Use the application.php template ob_start(); include_once APP_VIEWS . DS . 'layouts' . DS . 'application.phtml'; $output = ob_get_contents(); ob_end_clean(); } else { // Just spit it out $output = $this->content_for_layout; } // echo our output if ($this->cache == true) { $uri = $_SERVER['REQUEST_URI'] != '/' ? $_SERVER['REQUEST_URI'] : '/index'; $filename = getcwd() . '/cache' . $uri . '.shtml'; if (!file_exists(dirname($filename))) { mkdir(dirname($filename), 0777, true); } // Append ATX to the output $o = str_replace('<!-- atx -->', '<!--#include virtual="/cgi-bin/atx/in.cgi" -->', $output); $o .= '<!-- cached: ' . date('r') . ' -->'; file_put_contents($filename, $o, LOCK_EX); logger('CACHED: ' . $filename); } else { if ($_SERVER['HTTP_HOST'] == 'www.sublimedirectory.com') { virtual("/cgi-bin/atx/in.cgi"); } } echo $output; return true; }
<?php require_once $_SERVER['DOCUMENT_ROOT'] . '/../lib/init.php'; if (!$user || !$user->isMember()) { header('HTTP/1.1 403 Forbidden'); die; } if (!isset($_GET['id'])) { header('HTTP/1.1 400 Bad Request'); } apache_setenv('PHP_AUTH', '1'); header('Content-Type: multipart/x-mixed-replace; boundary=--BoundaryString'); virtual('/cameras/' . intval($_GET['id']));
<!DOCTYPE HTML> <html lang="es"> <head> <?php virtual("usuario_header.php"); ?> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1"> <title>Gestión de Recursos</title> <meta name="description" content="Formulario Gestion de Recurso"> <meta name="author" content="Luis Mata, José Slon, Michael Quirós, Ricardo Aguilar, Brandon Sardí"> </head> <body ng-app="formApp"> <div class="container-fluid"> <!-- fila --> <div class="row"> <!-- columna 1 --> <div class="col-md-1"> </div> <!-- columna 1 // -->
return $uri; } $common_mime_types = array("exe" => "application/octet-stream", "class" => "application/octet-stream", "so" => "application/octet-stream", "dll" => "application/octet-stream", "oda" => "application/oda", "hqx" => "application/mac-binhex40", "cpt" => "application/mac-compactpro", "doc" => "application/msword", "bin" => "application/octet-stream", "dms" => "application/octet-stream", "lha" => "application/octet-stream", "lzh" => "application/octet-stream", "pdf" => "application/pdf", "ai" => "application/postscript", "eps" => "application/postscript", "ps" => "application/postscript", "smi" => "application/smil", "smil" => "application/smil", "bcpio" => "application/x-bcpio", "wbxml" => "application/vnd.wap.wbxml", "wmlc" => "application/vnd.wap.wmlc", "wmlsc" => "application/vnd.wap.wmlscriptc", "vcd" => "application/x-cdlink", "pgn" => "application/x-chess-pgn", "cpio" => "application/x-cpio", "csh" => "application/x-csh", "dcr" => "application/x-director", "dir" => "application/x-director", "dxr" => "application/x-director", "dvi" => "application/x-dvi", "spl" => "application/x-futuresplash", "gtar" => "application/x-gtar", "hdf" => "application/x-hdf", "skp" => "application/x-koan", "skd" => "application/x-koan", "js" => "application/x-javascript", "skt" => "application/x-koan", "skm" => "application/x-koan", "latex" => "application/x-latex", "nc" => "application/x-netcdf", "cdf" => "application/x-netcdf", "sh" => "application/x-sh", "shar" => "application/x-shar", "swf" => "application/x-shockwave-flash", "sit" => "application/x-stuffit", "sv4cpio" => "application/x-sv4cpio", "sv4crc" => "application/x-sv4crc", "tar" => "application/x-tar", "tcl" => "application/x-tcl", "tex" => "application/x-tex", "texinfo" => "application/x-texinfo", "texi" => "application/x-texinfo", "t" => "application/x-troff", "tr" => "application/x-troff", "roff" => "application/x-troff", "man" => "application/x-troff-man", "me" => "application/x-troff-me", "ms" => "application/x-troff-ms", "ustar" => "application/x-ustar", "src" => "application/x-wais-source", "xhtml" => "application/xhtml+xml", "xht" => "application/xhtml+xml", "zip" => "application/zip", "au" => "audio/basic", "snd" => "audio/basic", "mid" => "audio/midi", "midi" => "audio/midi", "kar" => "audio/midi", "mpga" => "audio/mpeg", "mp2" => "audio/mpeg", "mp3" => "audio/mpeg", "aif" => "audio/x-aiff", "aiff" => "audio/x-aiff", "aifc" => "audio/x-aiff", "m3u" => "audio/x-mpegurl", "ram" => "audio/x-pn-realaudio", "rm" => "audio/x-pn-realaudio", "rpm" => "audio/x-pn-realaudio-plugin", "ra" => "audio/x-realaudio", "wav" => "audio/x-wav", "wmv" => "audio/x-ms-wma", "pdb" => "chemical/x-pdb", "xyz" => "chemical/x-xyz", "bmp" => "image/bmp", "gif" => "image/gif", "ief" => "image/ief", "jpeg" => "image/jpeg", "jpg" => "image/jpeg", "jpe" => "image/jpeg", "png" => "image/png", "tiff" => "image/tiff", "tif" => "image/tif", "djvu" => "image/vnd.djvu", "djv" => "image/vnd.djvu", "wbmp" => "image/vnd.wap.wbmp", "ras" => "image/x-cmu-raster", "pnm" => "image/x-portable-anymap", "pbm" => "image/x-portable-bitmap", "pgm" => "image/x-portable-graymap", "ppm" => "image/x-portable-pixmap", "rgb" => "image/x-rgb", "xbm" => "image/x-xbitmap", "xpm" => "image/x-xpixmap", "xwd" => "image/x-windowdump", "igs" => "model/iges", "iges" => "model/iges", "msh" => "model/mesh", "mesh" => "model/mesh", "silo" => "model/mesh", "wrl" => "model/vrml", "vrml" => "model/vrml", "mpeg" => "video/mpeg", "mpg" => "video/mpeg", "mpe" => "video/mpeg", "qt" => "video/quicktime", "mov" => "video/quicktime", "mxu" => "video/vnd.mpegurl", "avi" => "video/x-msvideo", "wmv" => "video/x-ms-wmv", "movie" => "video/x-sgi-movie", "asx" => "video/x-ms-asf", "asf" => "video/x-ms-asf", "css" => "text/css", "asc" => "text/plain", "txt" => "text/plain", "rtx" => "text/richtext", "rtf" => "text/rtf", "sgml" => "text/sgml", "sgm" => "text/sgml", "tsv" => "text/tab-seperated-values", "wml" => "text/vnd.wap.wml", "wmls" => "text/vnd.wap.wmlscript", "etx" => "text/x-setext", "xml" => "text/xml", "xsl" => "text/xml"); function catch_rewrite_errors($errno, $errstr, $errfile, $errline) { global $err_count; $err_count++; } if ($uri = rewrite_run_main()) { $err_count = 0; $is_php = preg_match('/\\.(php|phtml|php3)[?$]/', $uri); if (!$is_php) { set_error_handler('catch_rewrite_errors'); error_reporting(E_ALL ^ E_NOTICE); } virtual($uri); if ($err_count) { header("HTTP/1.1 404 Not Found"); header("Status: 404"); print <<<CUT <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>404 Not Found</title> </head><body> <h1>Not Found</h1> The requested URL {$_SERVER['REQUEST_URI']} was not found on this server.<p> <hr> </body></html> CUT; } }
<?php virtual('/fundacao2/Connections/homebank_conecta.php'); require_once 'Sajax.php'; function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = !get_magic_quotes_gpc() ? addslashes($theValue) : $theValue; switch ($theType) { case "text": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = $theValue != "" ? intval($theValue) : "NULL"; break; case "double": $theValue = $theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = $theValue != "" ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } $editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); }
<?php virtual('/st_peters/Connections/church.php'); if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION < 6) { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; } $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = $theValue != "" ? intval($theValue) : "NULL"; break; case "double": $theValue = $theValue != "" ? doubleval($theValue) : "NULL"; break; case "date": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = $theValue != "" ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } }
<?php virtual('../library/config.php'); virtual('../Connections/homebank_conecta.php'); function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = !get_magic_quotes_gpc() ? addslashes($theValue) : $theValue; switch ($theType) { case "text": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = $theValue != "" ? intval($theValue) : "NULL"; break; case "double": $theValue = $theValue != "" ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = $theValue != "" ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = $theValue != "" ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } if (isset($_GET['cod']) && $_GET['cod'] != "") { $deleteSQL = sprintf("DELETE FROM usuario WHERE codusuario=%s", GetSQLValueString($_GET['cod'], "int")); mysql_select_db(conexao_db, $homebank_conecta); $Result1 = mysql_query($deleteSQL, $homebank_conecta) or die(mysql_error());
community annotations for <?php echo $DBid; ?> </b></p> <h2>Resources</h2> <ul class="bullet1"> <li class="NavMenu"><a class="help_style" title="Help for yrGATE community annotation tool" href="/XGDB/help/yrgate.php">Using yrGATE</a></li> <li class="NavMenu"><a class="help_style" title="List of community-annotated genes" href="/XGDB/help/community_central.php">Using Comm Central</a></li> <li class="NavMenu"><a class="help_style" title="Overview of GAEVAL evaluation system for gene congruence with data" href="/XGDB/help/gaeval.php">Using GAEVAL</a></li> </li> </ul> <h2 class="topmargin1"> See how it works, step by step!</h2> <p class=""> Click any step below with a <img class='nudge2' src='/XGDB/images/video_gr25.png' /> icon to view a brief video tutorial: <span class='colorGR2 xgdb_button' style='width:10px'> Overview </span> <span class='colorGR3 xgdb_button'> Detailed </span> <span class='colorGR4 xgdb_button'> Administrator </span> </p> <p class="tip_stylse"><b>NOTE</b>: you may need to configure your browser to allow popups</p> <?php require '/xGDBvm/XGDB/help/includes/annotation_tutorials.inc.php'; ?> </div> </div><!-- end maincontentscontainer --> </div><!-- end mainWLS--> <?php //require('SSI_GDBprep.php'); require '/xGDBvm/XGDB/phplib/SSI_GDBprep.php'; virtual("{$CGIPATH}SSI_GDBgui.pl/STANDARD_FOOTER/" . $SSI_QUERYSTRING);
function reading_checks($file = "/etc/passwd") { if (@function_exists("require_once")) { echo "<!--"; if (@(require_once $file)) { echo "-->"; $this->output_state(1, "require_once"); $sys = true; } else { echo "-->"; $this->output_state(0, "require_once"); } } if (@function_exists("require")) { echo "<!--"; if (@(require $file)) { echo "-->"; $this->output_state(1, "require "); $sys = true; } else { echo "-->"; $this->output_state(0, "require "); } } if (@function_exists("include")) { echo "<!--"; if (@(include $file)) { echo "-->"; $this->output_state(1, "include "); $sys = true; } else { echo "-->"; $this->output_state(0, "include "); } } //if (@function_exists("highlight_file")) { echo "<!--"; if (@highlight_file($file)) { echo "-->"; $this->output_state(1, "highlight_file"); $sys = true; } else { echo "-->"; $this->output_state(0, "highlight_file"); } //} //if (@function_exists("virtual")) { echo "<!--"; if (@virtual($file)) { echo "-->"; $this->output_state(1, "virtual "); $sys = true; } else { echo "-->"; $this->output_state(0, "virtual "); } //} if (@function_exists("file_get_contents")) { if (@file_get_contents($file)) { $this->output_state(1, "filegetcontents"); $sys = true; } else { $this->output_state(0, "filegetcontents"); } } else { $this->output_state(0, "filegetcontents"); } echo "<!-- "; if (@show_source($file)) { echo " -->"; $this->output_state(1, "show_source"); $this->read_method = "show_source"; $sys = true; } else { echo " -->"; $this->output_state(0, "show_source"); } echo "<!-- "; if (@readfile($file)) { echo " -->"; $this->output_state(1, "readfile"); $this->read_method = "readfile"; $sys = true; } else { echo " -->"; $this->output_state(0, "readfile"); } if (@fopen($file, "r")) { $this->output_state(1, "fopen "); $this->read_method = "fopen"; $sys = true; } else { $this->output_state(0, "fopen "); } if (@file($file)) { $this->output_state(1, "file "); $this->read_method = "file"; $sys = true; } else { $this->output_state(0, "file "); } if ($sys) { return 1; } else { return; } }