$jourid = 6;
$key1=urlencode($_GET['key1']);
$key2=urlencode($_GET['key2']);
$key3=urlencode($_GET['key3']);
if (($_GET['key1'] || $_GET['key2'] || $_GET['key3']) && !$_GET['seq']) {
echo file_get_contents("http://www.cheric.org/research/tech/kiche/list.php?jourid=6&item1=".$_GET['item1']."&key1=".$key1."&link1=".$_GET['link1']."&item2=".$_GET['item2']."&key2=".$key2."&link2=".$_GET['link2']."&item3=".$_GET['item3']."&key3=".$key3."&syear=".$_GET['syear']."&eyear=".$_GET['eyear']."&sortby=".$_GET['sortby']."&start=".$_GET['start']);
} elseif ($_GET['seq']) {
echo file_get_contents("http://www.cheric.org/research/tech/kiche/view.php?jourid=6&seq=".$_GET['seq']."&item1=".$_GET['item1']."&key1=".$key1."&link1=".$_GET['link1']."&item2=".$_GET['item2']."&key2=".$key2."&link2=".$_GET['link2']."&item3=".$_GET['item3']."&key3=".$key3."&syear=".$_GET['syear']."&eyear=".$_GET['eyear']."&sortby=".$_GET['sortby']."&start=".$_GET['start']);
} elseif ($_GET['searchby'] == "volumes") {
echo file_get_contents("http://www.cheric.org/research/tech/kiche/volumes.php?jourid=6&seq=".$_GET['seq']."&item1=".$_GET['item1']."&key1=".$key1."&link1=".$_GET['link1']."&item2=".$_GET['item2']."&key2=".$key2."&link2=".$_GET['link2']."&item3=".$_GET['item3']."&key3=".$key3."&syear=".$_GET['syear']."&eyear=".$_GET['eyear']."&sortby=".$_GET['sortby']."&start=".$_GET['start']);
} elseif ($_GET['searchby'] == "years") {
echo file_get_contents("http://www.cheric.org/research/tech/kiche/years.php?jourid=6&seq=".$_GET['seq']."&item1=".$_GET['item1']."&key1=".$key1."&link1=".$_GET['link1']."&item2=".$_GET['item2']."&key2=".$key2."&link2=".$_GET['link2']."&item3=".$_GET['item3']."&key3=".$key3."&syear=".$_GET['syear']."&eyear=".$_GET['eyear']."&sortby=".$_GET['sortby']."&start=".$_GET['start']);
} elseif ($_GET['searchby'] == "toc") {
echo file_get_contents("http://www.cheric.org/research/tech/kiche/toc.php?jourid=6&vol=".$_GET['vol']."&num=".$_GET['num']."&key1=".$key1."&link1=".$_GET['link1']."&item2=".$_GET['item2']."&key2=".$key2."&link2=".$_GET['link2']."&item3=".$_GET['item3']."&key3=".$key3."&syear=".$_GET['syear']."&eyear=".$_GET['eyear']."&sortby=".$_GET['sortby']."&start=".$_GET['start']);
} elseif ($_GET['searchby'] == "sectionlist") {
include "./search/sectionlist.php";
} elseif ($_GET['searchby'] == "section") {
include "search/section.inc.php";
?>
=$section_arr[$_GET['num']]?>
echo file_get_contents("http://www.cheric.org/research/tech/kiche/section.php?jourid=6&num=".$_GET['num']."&vol=".$_GET['vol']);
} else {
include "./search/search.php";
}
?>