本文整理汇总了PHP中Filter::msgSingleAlert方法的典型用法代码示例。如果您正苦于以下问题:PHP Filter::msgSingleAlert方法的具体用法?PHP Filter::msgSingleAlert怎么用?PHP Filter::msgSingleAlert使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Filter
的用法示例。
在下文中一共展示了Filter::msgSingleAlert方法的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: foreach
echo Core::$word->VAT;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$countries) {
?>
<tr>
<td colspan="7"><?php
echo Filter::msgSingleAlert(Core::$word->CNT_NOCOUNTRY);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($countries as $row) {
?>
<tr>
<td><?php
echo $row->name;
?>
</td>
<td><small class="wojo label"><?php
示例2: foreach
echo Core::$word->TX_PP;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$transrow) {
?>
<tr>
<td colspan="7"><?php
echo Filter::msgSingleAlert(Core::$word->TX_NOTRANS);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($transrow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><?php
示例3: foreach
<div class="wojo basic segment">
<table class="wojo basic table">
<thead>
<tr>
<th>#</th>
<th>Gateway Name</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<?php
if (!$gaterow) {
?>
<tr>
<td colspan="3"><?php
echo Filter::msgSingleAlert(Core::$word->GW_NOGWY);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($gaterow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><?php
示例4: foreach
echo Core::$word->CREATED;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$discrow) {
?>
<tr>
<td colspan="5"><?php
echo Filter::msgSingleAlert(Core::$word->DC_NONDISC);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($discrow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><?php
示例5: foreach
echo Core::$word->CREATED;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$newsrow) {
?>
<tr>
<td colspan="4"><?php
echo Filter::msgSingleAlert(Core::$word->NM_NONEWS);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($newsrow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><?php
示例6: foreach
echo Core::$word->PUBLISHED;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$memrow) {
?>
<tr>
<td colspan="7"><?php
echo Filter::msgSingleAlert(Core::$word->MM_NOMEM);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($memrow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><?php
示例7: define
/**
* Controller
*
*/
define("_VALID_PHP", true);
require_once "../init.php";
if (!$user->logged_in) {
exit;
}
/* Proccess Cart */
if (isset($_POST['addtocart'])) {
$row = Core::getRowById(Membership::mTable, Filter::$id);
if ($row) {
$gaterows = Registry::get("Membership")->getGateways(true);
if ($row->trial && $user->trialUsed()) {
$json['message'] = Filter::msgSingleAlert(Core::$word->UA_TRIAL_USED, false);
print json_encode($json);
exit;
}
if ($row->price == 0) {
$data = array('membership_id' => $row->id, 'mem_expire' => $user->calculateDays($row->id), 'trial_used' => $row->trial == 1 ? 1 : 0);
$db->update(Users::uTable, $data, "id=" . $user->uid);
$json['message'] = Filter::msgSingleOk(Core::$word->UA_MEM_ACTIVE_OK . ' ' . $row->title, false);
print json_encode($json);
} else {
$recurring = $row->recurring == 1 ? Core::$word->YES : Core::$word->NO;
$db->delete(Content::crTable, "uid = " . $user->uid);
$tax = Core::calculateTax();
$data = array('uid' => $user->uid, 'mid' => $row->id, 'cid' => 0, 'coupon' => 0.0, 'originalprice' => $row->price, 'tax' => $tax, 'totaltax' => $row->price * $tax, 'total' => $row->price, 'totalprice' => $tax * $row->price + $row->price, 'created' => "NOW()");
$db->insert(Content::crTable, $data);
$cart = Core::getCart();
示例8: foreach
echo Core::$word->EXPIRE;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$userrow) {
?>
<tr>
<td colspan="7"><?php
echo Filter::msgSingleAlert(Core::$word->UR_NOUSER);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($userrow as $row) {
?>
<tr>
<td><small class="wojo label"><?php
echo $row->id;
?>
.</small></td>
<td><a href="index.php?do=newsletter&emailid=<?php
示例9: foreach
echo Core::$word->CF_SECTION;
?>
</th>
<th class="disabled"><?php
echo Core::$word->ACTIONS;
?>
</th>
</tr>
</thead>
<tbody>
<?php
if (!$fields) {
?>
<tr>
<td colspan="5"><?php
echo Filter::msgSingleAlert(Core::$word->CF_NOFIELDS);
?>
</td>
</tr>
<?php
} else {
?>
<?php
foreach ($fields as $row) {
?>
<tr id="node-<?php
echo $row->id;
?>
">
<td class="id-handle"><i class="icon reorder"></i></td>
<td><?php
示例10: elseif
<div id="wrap">
<div class="wojo-grid">
<div class="columns">
<div class="screen-60 tablet-90 phone-100 push-center">
<div class="wojo form">
<?php
if (!$core->reg_allowed) {
?>
<?php
echo Filter::msgSingleAlert(Core::$word->UA_NOMORE_REG);
?>
<?php
} elseif ($core->user_limit != 0 and $core->user_limit == countEntries(Users::uTable)) {
?>
<?php
echo Filter::msgSingleAlert(Core::$word->UA_MAX_LIMIT);
?>
<?php
} else {
?>
<h4><?php
echo Core::$word->UA_INFO4;
?>
</h4>
<form id="wojo_form" name="wojo_form" method="post">
<div class="field">
<input name="username" placeholder="<?php
echo Core::$word->USERNAME;
?>
" type="text">
</div>