本文整理汇总了PHP中FORM::text方法的典型用法代码示例。如果您正苦于以下问题:PHP FORM::text方法的具体用法?PHP FORM::text怎么用?PHP FORM::text使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类FORM
的用法示例。
在下文中一共展示了FORM::text方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: DISTINCT
}
// 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> </td></tr>" . "<tr><td> </td><td colspan='2'>" . FORM::text("fulltext", $fulltext, "", 70) . "</td></tr>" . "<tr><td colspan='2' class='presssearchtitle'>Zeige alle Einträge</td><td> </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> </td></tr>" . "\t<td> </td><td>" . FORM::select("sites[]", $PS->get_all(1), $sites, 6) . "</td></tr>" . "<tr><td> </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) {
示例2: e
<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();
?>