Ejemplo n.º 1
0
<?php

require_once 'include/general.inc';
require_once 'include/config.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - License and download');
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('license');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
Ejemplo n.º 2
0
<?php

require_once 'include/config.inc';
require_once 'include/general.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'Database of Orthologous Promoters - Main Page');
$html .= head_end();
$html .= body_start('Database of Orthologous Promoters');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('main_overview');
$html .= texts('main_sections');
$html .= form_dbselect($address);
$html .= texts('main_fordoops');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
Ejemplo n.º 3
0
<?php

require_once 'include/general.inc';
require_once 'include/text.inc';
require_once 'include/doops_config.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - Database Creation');
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('doopsc');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
Ejemplo n.º 4
0
login_processing();
login_processing2();
/*If the authentication method isn't set to Moodle
* the code in the required file below is simply skipped
*/
require_once dirname(__FILE__) . "/moodle_restrictions.php";
recycle_bin();
/*
 * Output the main page, including the user's and blank templates
 */
?>
<!DOCTYPE html>
<html>
<head>
    <?php 
head_start();
?>
    <!--

    HTML to use to set up the template management page

    Version 1.0

    -->

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title><?php 
echo apply_filters("head_title", $xerte_toolkits_site->site_title);
?>
</title>
    <link rel="stylesheet" href="editor/css/jquery-ui.css">
Ejemplo n.º 5
0
<?php

require_once 'include/general.inc';
require_once 'include/config.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'Database of Orthologous Promoters - Database creation');
$html .= head_end();
$html .= body_start('Database of Orthologous Promoters');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('creation');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
Ejemplo n.º 6
0
$clean_database = clean($database, '8');
$valid_version = valid($clean_version, 'ver', $chordate_versions);
$valid_database = valid($clean_database, 'db', $database_types);
if (!$valid_version) {
    $code = variable_error($address, 'version');
    die("{$code}");
}
if (!$valid_database) {
    $code = variable_error($address, 'database');
    die("{$code}");
}
//end of variable checking
//HTML
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - Chordate Search Page');
$html .= doops_head_js_search($address, 'chordate', $version);
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_db($address, 'chordate', 'Chordates', $clean_version);
$html .= link_end();
$html .= main_start();
$html .= content_header('Mofext Search');
$html .= content_start();
if ($clean_pattern_m) {
    $html .= mofext_form($address, 'chordate', $clean_version, $clean_pattern_m);
} else {
    $html .= mofext_form($address, 'chordate', $clean_version);
}
Ejemplo n.º 7
0
<?php

require_once 'include/general.inc';
require_once 'include/config.inc';
require_once 'include/text.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'Database of Orthologous Promoters - License and download');
$html .= head_end();
$html .= body_start('Database of Orthologous Promoters');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('license');
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;
Ejemplo n.º 8
0
$clean_database = clean($database, '8');
$valid_version = valid($clean_version, 'ver', $chordate_versions);
$valid_database = valid($clean_database, 'db', $database_types);
if (!$valid_version) {
    $code = variable_error($address, 'version');
    die("{$code}");
}
if (!$valid_database) {
    $code = variable_error($address, 'database');
    die("{$code}");
}
//end of variable checking
//generate HTML code
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'Database of Orthologous Promoters - Chordate Search Page');
$html .= head_js_search($address, 'chordate', $clean_version);
$html .= head_end();
$html .= body_start('Database of Orthologous Promoters');
$html .= link_start();
$html .= link_general($address);
$html .= link_db($address, 'chordate', 'Chordates', $clean_version);
$html .= link_end();
$html .= main_start();
$html .= content_header('Chordate Search Page');
$html .= content_start();
$html .= search_form($address, 'chordate', $clean_version);
$html .= content_end();
/*$html .= content_start();
	$html .= search_form_blat($address,'chordate',$clean_version);
	$html .= content_end();*/
Ejemplo n.º 9
0
$clean_database = clean($database, '8');
$valid_version = valid($clean_version, 'ver', $plant_versions);
$valid_database = valid($clean_database, 'db', $database_types);
if (!$valid_version) {
    $code = variable_error($address, 'version');
    die("{$code}");
}
if (!$valid_database) {
    $code = variable_error($address, 'database');
    die("{$code}");
}
//end of variable checking
//HTML
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - Plant Search Page');
$html .= doops_head_js_search($address, 'plant', $version);
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_db($address, 'plant', 'Plants', $clean_version);
$html .= link_end();
$html .= main_start();
$html .= content_header('Mofext Search');
$html .= content_start();
if ($clean_pattern_m) {
    $html .= mofext_form($address, 'plant', $clean_version, $clean_pattern_m);
} else {
    $html .= mofext_form($address, 'plant', $clean_version);
}
Ejemplo n.º 10
0
<?php

require_once 'include/general.inc';
require_once 'include/text.inc';
require_once 'include/doops_config.inc';
$html = xml_def();
$html .= doctype_def();
$html .= head_start($address, 'DoOPSearch Web Server - Main Page');
$html .= head_end();
$html .= body_start('DoOPSearch Web Server');
$html .= link_start();
$html .= link_general($address);
$html .= link_end();
$html .= main_start();
$html .= content_start();
$html .= texts('main_overview_doops');
$html .= texts('main_sections');
$html .= form_dbselect($address);
$html .= content_end();
$html .= main_end();
$html .= body_end();
echo $html;