Location: PHPKode > projects > OPACIAL > opacial_v1-2/cloud.php
<html>
		<head>
		<title>OPACIAL - Library & Information Service, Panteion University</title>
	  <META HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
	  <LINK REL='StyleSheet' HREF='style_opac.css' TYPE='text/css'>
	</head>
	<body>
		
<?php
/* 
 * OPACIAL - v1.2
 * Copyright 2008 Library & Inormation Service, Panteion University
 * Analysis/Development: Dimitris Gavrilis (hide@address.com)
 * Licensed under the Academic Free License version 3.0
*/

require_once "config.php";
require_once "lib/Z3950.inc";
require_once "lib/Social.inc";
require_once "lib/Pandemos.inc";
echo "<script src=\"ajax.js\" type=\"text/javascript\"></script>";

error_reporting(0);

$catalog 	= 1;
if(isset($_GET[catalog])) $catalog = $_GET[catalog];
if(isset($_POST[catalog])) $catalog = $_POST[catalog];

$search_field	= 1;
if(isset($_GET[search_field])) $search_field = $_GET[search_field];
if(isset($_POST[search_field])) $search_field = $_POST[search_field];

$search_field2	= 1;
if(isset($_GET[search_field2])) $search_field2 = $_GET[search_field2];
if(isset($_POST[search_field2])) $search_field2 = $_POST[search_field2];

$search_field3	= 1;
if(isset($_GET[search_field3])) $search_field3 = $_GET[search_field3];
if(isset($_POST[search_field3])) $search_field3 = $_POST[search_field3];

$view 		= 1;
if(isset($_GET[view])) $view = $_GET[view];
if(isset($_POST[view])) $view = $_POST[view];

$language = "el";
if(isset($_GET[language])) $language = $_GET[language];
if(isset($_POST[language])) $language = $_POST[language];

$numhits 		= 10;
if(isset($_GET[numhits])) $numhits = $_GET[numhits];
if(isset($_POST[numhits])) $numhits = $_POST[numhits];

$query = "";
if(isset($_GET[query])) $query = $_GET[query];
if(isset($_POST[query])) $query = $_POST[query];

$query2 = "";
if(isset($_GET[query2])) $query2 = $_GET[query2];
if(isset($_POST[query2])) $query2 = $_POST[query2];

$query3 = "";
if(isset($_GET[query3])) $query3 = $_GET[query3];
if(isset($_POST[query3])) $query3 = $_POST[query3];

$bool_field1 = "";
if(isset($_GET[bool_field1])) $bool_field1 = $_GET[bool_field1];
if(isset($_POST[bool_field1])) $bool_field1 = $_POST[bool_field1];

$bool_field2 = "";
if(isset($_GET[bool_field2])) $bool_field2 = $_GET[bool_field2];
if(isset($_POST[bool_field2])) $bool_field2 = $_POST[bool_field2];

$page 		= 1;
if(isset($_GET[page])) $page = $_GET[page];
if(isset($_POST[page])) $page = $_POST[page];

$op		 		= "";
if(isset($_GET[op])) $op = $_GET[op];
if(isset($_POST[op])) $op = $_POST[op];

$db				= dbConnect($db_host,3306,$db_user,$db_pass,$db_name);
$z 				= yazConnect($db,$catalog);

if($language=="en") require_once "language/lang-en.php";
else require_once "language/lang-el.php";


if($language=="en") $back_img="back_eng.png";
else $back_img="back_gr.png";


echo "<table border=0 cellpadding=0 cellspacing=0 width=650 align=center><tr><td align=right valign=top><a href='index.php?language=$language'><img src='images/logo_sopac.png' border=0></a></td></tr></table>";

	// **********************************************************************
	echo "<table border=0 cellpadding=0 cellspacing=8 width=650 align=center style='border-top: 4px solid #000000; border-bottom: 4px solid #CC3333; border-left: 1px solid #000000; border-right: 1px solid #000000;  background-image: url(images/details_back.png); background-repeat: repeat;'>";
	echo "<tr><td valign=top align=left width=300 colspan=2>&nbsp;&nbsp;"
			."<font class='BoxTagsTitle'>"._INDEX_TAG_CLOUD_."</font>"
			."</td><td valign=top align=right><font class='BoxTagsTitle'>"._CLOUD_SEARCH_.":</font> <form name=tags style='display:inline;'><input type=text size=20 id=q name=q value='$q' onKeyUp=\"GetResults(document.getElementById('q').value); document.getElementById('NoAjax').style.display='none';\"></form>&nbsp;&nbsp;</td></tr>";
	echo "<tr><td valign=top align=justify width=300 colspan=3>";
	// **********************************************************************
	
  echo "<hr width='592'>";
  echo "<div id='resultsCloud' class='boxAjax'>";
  
  echo "</div>";

  echo "<div id='NoAjax' class='boxNoAjax'>";
  include('get_cloud.php');
  echo "</div>";
	echo "<hr width='592'>";


	// **********************************************************************
	echo "</td></tr>";
	echo "<tr><td valign=top align=right width=300 colspan=3 style=''>";
	echo "<a href='cloud.php?catalog=$catalog'><a href='index.php?language=$language' style='text-decoration: none;'><img src='images/$back_img' border=0 alt='"._INDEX_HOME_."'></a>";
	echo "&nbsp;&nbsp;</td></tr>";
	echo "</table>";
	// **********************************************************************


?>

	</body>
</html>
Return current item: OPACIAL