示例#1
0
    }
    // Suche itself
    $sql = "SELECT DISTINCT(e.id), title, filename, date, link FROM press_entries AS e " . $join . " " . $where;
    $res = $SQL->select($sql);
}
// head
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n" . "<html>" . "\t<head>" . "\t\t<title>Suche Pressesystem</title>\n" . "\t\t<meta name=\"author\" content=\"Christoph Becker\" >" . "\t\t<meta name=\"keywords\" content=\"Pressesystem Suche Uni Rostock Fakultät für Informatik und Elektrotechnik\" >" . "\t\t<meta http-equiv=\"content-type\" content=\"text/html; charset=ISO-8859-1\" >" . "\t\t<meta http-equiv=\"Content-Style-Type\" content=\"text/css\" >" . "\t\t<style>" . "\t\t\t.presstitle{ font-family:Verdana,Geneva,sans;" . "\t\t\t\t\t\t font-size:14pt;" . "\t\t\t\t\t\t color:black; " . "\t\t\t}" . "\t\t\ttd {font-family:Verdana,Geneva,sans;" . "\t\t\t\t\t\tfont-size:10pt;" . "\t\t\t\t\t\tcolor:black;" . "\t\t\t\t\t\tmargin-top:10pt;" . "\t\t\t\t\t\t" . "\t\t\t}" . "\t\t\ttd.presssearchtitle {" . "\t\t\t\t\tfont-weight: bold;" . "\t\t\t}" . "\t\t\ta.presslink:hover {" . "\t\t\t\t\tcolor:red;\t" . "\t\t\t}" . "\t\t</style>" . "\t\t" . "\t</head>" . "\t<body link=\"#090851\" text=\"#000000\" bgcolor=\"#ffffff\">";
// content
if ($search_debug == true) {
    echo "<pre>Sites_selected: ";
    var_export($sites);
    echo "\nSQL: {$sql} \n Results:\n";
    var_export($res);
    echo "\n<hr noshade=noshade />";
}
echo "<div class='presstitle'>Suche</div>" . "<form name=\"sform\" method=\"POST\" action =\"" . $abs_path . "\">" . "<table>" . "<tr><td colspan='2' class='presssearchtitle'>Volltextsuche</td><td>&nbsp;</td></tr>" . "<tr><td>&nbsp;</td><td colspan='2'>" . FORM::text("fulltext", $fulltext, "", 70) . "</td></tr>" . "<tr><td colspan='2' class='presssearchtitle'>Zeige alle Einträge</td><td>&nbsp;</td></tr>" . "<tr><td align='right'><table><tr><td>" . FORM::radio("range", "before", "", $range) . "vor</td>" . "<td rowspan='2'>" . FORM::text("date", $date, "", 10) . "</td></tr>" . "<tr><td>" . FORM::radio("range", "after", "", $range) . "nach </td></tr>" . "</table></td>" . "<td colspan='2'>" . "<b>oder</b> " . FORM::radio("range", "all", "", $range) . "egal, wann sie erstellt wurden</td>" . "<tr><td valign='top'  class='presssearchtitle' colspan='2'>Suche auf bestimmte Institute beschränken</td><td>&nbsp;</td></tr>" . "\t<td>&nbsp;</td><td>" . FORM::select("sites[]", $PS->get_all(1), $sites, 6) . "</td></tr>" . "<tr><td>&nbsp;</td><td colspan='2'>" . FORM::submit("send", "suche!") . "</td></tr> " . "</table>" . "</form>" . "\t\t</div>";
// footer
echo "\t</body>" . "</html>";
// close debug
require "init.php";
//----
function set_date($d, $dateform = "german")
{
    //$ret = $d;
    //$dateform	=	"german"; 		// what do i suppose, which form i got
    $buffer = $d;
    // save for error_msg
    $preset_year = strftime("%Y");
    // with current year
    $d = trim($d);
    if (strlen($d) < 3) {
						<label class="" for="amount">Monto<abbr title="required" class="required">*</abbr>
						</label>
						<?php 
echo FORM::text('amount');
?>

					</p>
					<label class="" for="date">Fecha<abbr title="required" class="required">*</abbr>
					</label>
					<div id="datepicker" data-date="12/03/2012"></div>
					<input type="hidden" id="my_hidden_input">
					<p id="note" class="form-row form-row-wide address-field update_totals_on_change validate-required woocommerce-validated">
						<label class="" for="billing_country">Nota
						</label>
						<?php 
echo FORM::text('note');
?>

					</p>
				</div>
				<button class="btn btn-success">Registrar pago</button>
				<a class="btn btn-primary" href="<?php 
echo e(route('profile'));
?>
">Volver</a>
			</div>
		</div>
		<?php 
echo Form::close();
?>