Esempio n. 1
0
<input type="text" class="text" size="55" name="q" value="<?php 
echo $q;
?>
" />
<span class="right"><input type="submit" tabindex="0" class="submit2" value="suchen"></button></span>
</form>
</div>
<br /><br />
<?php 
echo $p_content;
?>
<br /><br />
<?  
$pageurl="index.php?c=".$cat."&m=".$mod."&s=".$page."&q=".$q."";
$limit="10";
get_search($q);
?>
<br />
</div>

<div id="cont_box">
<a href="seite-eintragen/1.html" rel="nofollow"><img src="templates/<?php 
echo get_aktiv_layout_data(layout_path);
?>
images/addsite.jpg" border="0" alt="Seite Anmelden Webkatalog" /></a>
<br /><br />
</div>
<br /><br />
<div align="center">
<?php 
echo $banner_content;
Esempio n. 2
0
File: abs.php Progetto: kidaa/uw-web
// TODO:STORE Access by key for analytics?
$results = null;
$dbs_book_codes = array("GN", "EX", "LV", "NU", "DT", "JS", "JG", "RT", "S1", "S2", "K1", "K2", "R1", "R2", "ER", "NH", "ET", "JB", "PS", "PR", "EC", "SS", "IS", "JR", "LM", "EK", "DN", "HS", "JL", "AM", "OB", "JH", "MC", "NM", "HK", "ZP", "HG", "ZC", "ML", "MT", "MK", "LK", "JN", "AC", "RM", "C1", "C2", "GL", "EP", "PP", "CL", "H1", "H2", "T1", "T2", "TT", "PM", "HB", "JM", "P1", "P2", "J1", "J2", "J3", "JD", "RV");
$osis_book_codes = array("Gen", "Exod", "Lev", "Num", "Deut", "Josh", "Judg", "Ruth", "1Sam", "2Sam", "1Kgs", "2Kgs", "1Chr", "2Chr", "Ezra", "Neh", "Esth", "Job", "Ps", "Prov", "Eccl", "Song", "Isa", "Jer", "Lam", "Ezek", "Dan", "Hos", "Joel", "Amos", "Obad", "Jonah", "Mic", "Nah", "Hab", "Zeph", "Hag", "Zech", "Mal", "Matt", "Mark", "Luke", "John", "Acts", "Rom", "1Cor", "2Cor", "Gal", "Eph", "Phil", "Col", "1Thess", "2Thess", "1Tim", "2Tim", "Titus", "Phlm", "Heb", "Jas", "1Pet", "2Pet", "1John", "2John", "3John", "Jude", "Rev");
switch ($action) {
    case 'list':
        $results = get_list($_GET['force']);
        break;
    case 'books':
        $results = get_books($_GET['version']);
        break;
    case 'chapter':
        $results = get_chapter($_GET['version'], $_GET['sectionid'], $_GET['osis'], $_GET['chapter'], $_GET['dir'], $_GET['lang'], $_GET['lang3'], $_GET['previd'], $_GET['nextid'], $_GET['bookname']);
        break;
    case 'search':
        $results = get_search($_GET['version'], $_GET['text'], $_GET['divisions']);
        break;
}
function dbs_code_to_osis($dbs_book_code)
{
    global $dbs_book_codes;
    global $osis_book_codes;
    $dbs_index = array_search($dbs_book_code, $dbs_book_codes);
    $osis_book_code = $osis_book_codes[$dbs_index];
    return $osis_book_code;
}
function osis_code_to_dbs($osis_book_code)
{
    global $dbs_book_codes;
    global $osis_book_codes;
    $osis_index = array_search($osis_book_code, $osis_book_codes);
Esempio n. 3
0
<?php

include_once 'init.php';
get_header("搜索查看", "search");
$c = new curriculum();
$get = $c->get();
?>
<div id="title">
<h1><a href="./">网络课程</a></h1>
</div>
<?php 
get_search();
?>

<div id="info">
<ul class="left">
<?php 
echo $c->show_errors("\t<li>", "</li>");
?>
</ul>
<ul class="right link">
<li><a href="search.php">搜索课表</a></li>
<li><a href="today.php">今日课表</a></li>
<li><a href="week.php">本周课表</a></li>
</ul>
<ul class="right">
<li>专业:<span><?php 
echo $system->group['major'];
?>
</span></li>
<li>班级:<span><?php 
Esempio n. 4
0
				<li><a href="contact.html">Contact</a></li>
			</ul>
		</div>
		<div class="clear"> </div>
		</div>
		</div>
		<!----End-top-nav---->
		<!----End-Header---->
		    <div class="clear"> </div>
		    <div class="wrap">
		    <div class="content">
			<div class="content-grids">
		    <div class="error-page">
			<h4> Search Results</h4><br><br>
		    	<?php 
echo get_search();
?>
		    	<!----PASTE HERE---->
		    </div>
		    </div>
			</div>
		    <div class="clear"> </div>
		    </div>
		<div class="footer">
			<div class="wrap">
			<div class="section group">
				<div class="col_1_of_4 span_1_of_4">
					<h3>Our Info</h3>
					<p>The MobiStore is a vision to provide customers a one stop mobile solution shop that provides, multi brand handsets, accessories, connections etc all under one roof.</p>
				</div>
				<div class="col_1_of_4 span_1_of_4">
#
#
#
# admin-employee-rem.php :: Remove employees from db
##
require "settings.php";
if (isset($_POST["key"])) {
    switch ($_POST["key"]) {
        case "search":
            $OUTPUT = do_search();
            break;
        default:
            $OUTPUT = "Invalid use.";
    }
} else {
    $OUTPUT = get_search();
}
require "template.php";
##
# Functions
##
function get_search()
{
    $display = "\n\t\t\t<h2>Search for Training</h2>\n\t\t\t<table border=0 cellpadding='" . TMPL_tblCellPadding . "' cellspacing='" . TMPL_tblCellSpacing . "'>\n\t\t\t<form action='" . SELF . "' method=post>\n\t\t\t\t<input type=hidden name=key value='search'>\n\t\t\t\t<tr>\n\t\t\t\t\t<th>Search String</th>\n\t\t\t\t</tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><input type=text name=search_string size='50'></td>\n\t\t\t\t</tr>\n\t\t\t\t<tr><td><br></td></tr>\n\t\t\t\t<tr>\n\t\t\t\t\t<td><input type=submit value='Search'></td>\n\t\t\t\t</tr>\n\t\t\t</form>\n\t\t\t</table>\n\t\t";
    return $display;
}
function do_search()
{
    global $_POST;
    extract($_POST);
    db_connect();