view index.php.20140704 @ 3:f196939ccc03

error handle and alert feedback to user. If error occurs, user'll not be halted by the loading page and sections_revisions will recovery to previous version.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 26 Jan 2015 12:19:39 +0100
parents b12c99b7c3f0
children
line wrap: on
line source

<?php
	/*if (!empty($_SERVER['HTTPS']) && ('on' == $_SERVER['HTTPS'])) {
		$uri = 'https://';
	} else {
		$uri = 'http://';
	}
	$uri .= $_SERVER['HTTP_HOST'];
	header('Location: '.$uri.'/xampp/');
	exit;*/
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
                <link href="index.css" type="text/css" rel="stylesheet"/>
                <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js" type="text/javascript"></script>
                <script src="http://code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
        </head>
        <body>
		<div id='sysName'>Local Monographs</div>
		<div class='block'>
			<div class='title'>Tag</div>
			<div class='content'>
				<a class='entry' href='/interface/tagging_text.php?id=' target='_blank'>
					Tag a section 
					<div class='note'>(section id should be given in the url)</div>
				</a>
				<a class='entry' href='/interface/edit_taglist.php' target='_blank'>
					Edit the tag list
				</a>
				<a class='entry' href='/interface/edit_wordlist.php' target='_blank'>
					Edit the word list
				</a>
				<a class='entry related' href='/interface/' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
		<div class='block'>
			<div class='title'>Search</div>
			<div class='content'>
				<a class='entry' href='/interface/search.php' target='_blank'>
					Search for a keyword
				</a>
				<a class='entry related' href='/interface/' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
		<div class='block'>
			<div class='title'>Section Segmentation</div>
			<div class='content'>
				<a class='entry' href='/interface/check_sections.php' target='_blank'>
					Find miss-segmented sections
				</a>
				<a class='entry' href='/interface/check_sections_details.php?book_id=&count=' target='_blank'>
					Re-segment a section 
					<div class='note'>(book id and overlapping threshold should be given in the url)</div>
				</a>
				<a class='entry related' href='/interface/' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
		<div class='block'>
			<div class='title'>Book Information</div>
			<div class='content'>
				<a class='entry' href='/interface/insert_new_columns_into_books/data_from_sinica/' target='_blank'>
					Data from Sinica
				</a>
				<a class='entry related' href='/interface/insert_new_columns_into_books/' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
		<div class='block'>
			<div class='title'>GIS</div>
			<div class='content'>
				<a class='entry' href='/map/coordinates/get_coordinates_from_chgis.php' target='_blank'>
					Get coordinates from CHGIS
				</a>
				<a class='entry related' href='/map/coordinates' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
		<div class='block'>
			<div class='title'>Visualization</div>
			<div class='content'>
				<a class='entry' href='/map/loader.php' target='_blank'>
					Visualize data
				</a>
				<a class='entry related' href='/map/' target='_blank'>
					>> All related files
				</a>
			</div>
		</div>
	</body>
</html>