当前位置: 首页>>代码示例>>PHP>>正文


PHP Filter::msgSingleAlert方法代码示例

本文整理汇总了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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:countries.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:transactions.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:gateways.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:coupons.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:news.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:memberships.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();
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:controller.php

示例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&amp;emailid=<?php 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:users.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 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:fields.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>
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:register.php


注:本文中的Filter::msgSingleAlert方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。