本文整理汇总了PHP中Errors::show方法的典型用法代码示例。如果您正苦于以下问题:PHP Errors::show方法的具体用法?PHP Errors::show怎么用?PHP Errors::show使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Errors
的用法示例。
在下文中一共展示了Errors::show方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
" />
<?php
Errors::show("PROJECT_NAME");
?>
</td>
</tr>
<!-- Field end -->
<tr>
<td width="194" align="left" valign="top" class="smalltdrow1"><?php
Language::show("PROJECT.FATHER_ID.LABEL");
?>
</td>
<td align="left" class="smalltdrow2">
<?php
echo $select;
Errors::show("FATHER_ID");
?>
</td>
</tr>
<!-- Field end -->
<tr>
<td height="25" align="center" valign="center" class="tdblue" colspan="2">
<!-- action blocks start -->
<input type="submit" value="<?php
Language::show("COMMON.SAVE.LABEL");
?>
" class="submit" />
<input type="button" onclick="location.href='<?php
echo zee::url(project, "list");
?>
示例2:
?>
</td>
</tr>
<!-- Field end -->
<tr>
<td width="194" align="left" valign="top" class="smalltdrow1"><?php
Language::show("AREA.AREA_NAME.LABEL");
?>
</td>
<td align="left" class="smalltdrow2">
<input type="text" class="textinput" name="area_area_name" value="<?php
echo $outAreaUpdateValue->area_name;
?>
" />
<?php
Errors::show("AREA_NAME");
?>
</td>
</tr>
<!-- Field end -->
<!-- fields end -->
<tr>
<td height="25" align="center" valign="center" class="tdblue" colspan="2">
<!-- action blocks start -->
<input type="submit" value="<?php
Language::show("COMMON.SAVE.LABEL");
?>
" class="submit" />
<input type="button" onclick="location.href='<?php
echo zee::url(area, "list");
示例3: foreach
<p><span class="left">' . Language::get("ORDERS.CONTACT_STATUS.LABEL") . '</span>
<select name="orders_contact_status">
<option value="' . Value::CONTACT_STATUS_NOT_CONTACT . '" ' . ($outOrdersUpdateValue->contact_status == Value::CONTACT_STATUS_NOT_CONTACT ? 'selected="selected"' : '') . '>未联系</option>
<option value="' . Value::CONTACT_STATUS_CONTACTED . '" ' . ($outOrdersUpdateValue->contact_status == Value::CONTACT_STATUS_CONTACTED ? 'selected="selected"' : '') . '>已联系</option>
<option value="' . Value::CONTACT_STATUS_CANNOT_CONTACT . '" ' . ($outOrdersUpdateValue->contact_status == Value::CONTACT_STATUS_CANNOT_CONTACT ? 'selected="selected"' : '') . '>无法联系</option>
</select>
</p>
<p id="timearea0">
<span class="left">' . Language::get("ORDERS.CONTACT_TIME.LABEL") . '</span><span id="timearea"><input type="text" class="textinput" name="orders_contact_time" value="' . $outOrdersUpdateValue->contact_time . '" onClick="WdatePicker()"/>' . Errors::show("CONTACT_TIME") . '</span>
</p>
<p>
<span class="left">' . Language::get("ORDERS.OPERATE_TIME.LABEL") . '</span><span><input type="text" class="textinput" name="orders_operate_time" value="' . $outOrdersUpdateValue->operate_time . '" onClick="WdatePicker()"/>' . Errors::show("OPERATE_TIME") . '</span>
</p>
<p>
<span class="left">' . Language::get("ORDERS.OPERATE_PRICE.LABEL") . '</span><input type="text" class="textinput" name="orders_operate_price" value="' . $outOrdersUpdateValue->operate_price . '" />' . Errors::show("OPERATE_PRICE") . '元
</p>
<p>
<span class="left">' . Language::get("ORDERS.INFO.LABEL") . '</span>
' . $outOrdersUpdateValue->info . '
</p>
<ul class="comm">';
if (count($outMessageValue) > 0) {
foreach ($outMessageValue as $outMessage) {
if (count($outUserList) > 0) {
foreach ($outUserList as $outUser) {
if ($outMessage->user_id == $outUser->user_id) {
$user_name = $outUser->realname;
break;
}
}
示例4:
<div class="header"></div>
<p><?php
Errors::show('login');
?>
</p>
<div class="wrap">
<div class="leftbox">
<div id="logo"><img src="images/logo.gif"></div>
<div id="keyword"><img src="images/keyword.gif"><span>华美派单系统</span></div>
</div>
<div class="rightbox">
<div id="loginMsg"></div>
<form id="Login" method="post" action="index.php?module=user&action=loginSubmit">
<p><label for="username">用户名:</label><input type="text" value="" class="hasborder" id="username" name="username"></p>
<p><label for="password">密 码:</label><input type="password" class="hasborder" name="password" id="password"></p>
<p class="checkbox"><input type="checkbox" value="1" name="rember"> 自动登录</p>
<p class="checkbox"><input onclick="this.submit;" type="image" src="images/login-btn.gif" id="btnLogin"></p>
</form>
</div><span class="clear"></span>
</div>