Example #1
0
File: 404.php Project: boost01/caan
function corzoogle_box()
{
    global $cz_location, $cz_img_location, $insert_no_ext, $message_4;
    $insert_no_ext = strip_stuff($insert_no_ext);
    echo '
<div class="centered">
	<div class="small-space">&nbsp;</div>
	<h4>', $message_4, '</h4>

	<a href="http://corz.org/corzoogle.php" onclick="window.open(this.href); return false;" title="corzoogle locates!
(opens in a new window - Apple-click (Shift|Ctrl-click on peecees) for a new tab instead)">
	<img src="', $cz_img_location, '" alt="corzoogle locates!" /></a><br /> 
	<br />
	<form method="get" action="', $cz_location, '">
		<div class="form">
			<input type="text" name="q" size="21" maxlength="256" value="', $insert_no_ext, '" />
			&nbsp;
			<input type="submit" value="do it!" />
		</div>
	</form>
</div>';
}
function corzoogle_box()
{
    global $active_errors, $insert_no_ext;
    $insert_no_ext = strip_stuff(urldecode($insert_no_ext));
    echo '
<h4>', $active_errors['message_do_a_search'], '</h4>

<div class="centered">
	<a href="http://corz.org/corzoogle/" onclick="window.open(this.href); return false;" title="corzoogle locates! (opens in a new window - Apple|Ctrl|whatever-click for a new tab instead)">
	<img src="', $active_errors['cz_img_location'], '" alt="corzoogle locates!" /></a><br />
	<br />
	<form method="get" action="', $active_errors['cz_location'], '">
	<div class="form">
		<input type="text" name="q" size="21" maxlength="256" value="', stripslashes($insert_no_ext), '" />
		&nbsp;
		<input type="submit" value="do it!" />
	</div>
	</form>
	<div class="small-space">&nbsp;</div>
</div>';
}