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


PHP Filter::dodate方法代码示例

本文整理汇总了PHP中Filter::dodate方法的典型用法代码示例。如果您正苦于以下问题:PHP Filter::dodate方法的具体用法?PHP Filter::dodate怎么用?PHP Filter::dodate使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在Filter的用法示例。


在下文中一共展示了Filter::dodate方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1:

<br />
        <?php 
    echo $usr->country;
    ?>
</p></td>
  </tr>
  <tr>
    <td valign="top" style="width:60%"><br /></td>
    <td valign="top" style="width:20%">Amount Due:<br />
      Due Date:</td>
    <td valign="top" style="width:20%"><?php 
    echo Registry::get("Core")->formatMoney($row->total);
    ?>
<br />
      <?php 
    echo Filter::dodate("short_date", $row->date);
    ?>
</td>
  </tr>
</table>
<div style="height:20px"></div>
<table class="inventory">
  <thead>
    <tr>
      <th><span>Invoice Items</span></th>
      <th><span>Total</span></th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><span><?php 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:print_pdf.tpl.php

示例2: cleanOut

if (!$user->logged_in) {
    ?>
          <a href="register.php"><?php 
    echo Core::$word->UA_REGISTER;
    ?>
</a>
          <?php 
}
?>
        </nav>
      </div>
    </div>
  </header>
  <?php 
if ($news and !$user->logged_in) {
    ?>
  <div class="columns">
    <div class="screen-60 tablet-90 phone-100 push-center">
      <div id="news"><?php 
    echo Filter::dodate("short_date", $news->created) . ' <strong>' . $news->title . '</strong>';
    ?>
 <?php 
    echo cleanOut($news->body);
    ?>
 </div>
    </div>
  </div>
  <?php 
}
?>
</div>
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:header.php

示例3: strtotime

        <td><a href="index.php?do=users&amp;action=edit&amp;id=<?php 
        echo $row->user_id;
        ?>
"><?php 
        echo $row->username;
        ?>
</a></td>
        <td><?php 
        echo $core->formatMoney($row->rate_amount);
        ?>
</td>
        <td data-sort-value="<?php 
        echo strtotime($row->created);
        ?>
"><?php 
        echo Filter::dodate("short_date", $row->created);
        ?>
</td>
        <td><?php 
        echo $row->pp;
        ?>
</td>
        <td><?php 
        if ($row->status == 1) {
            ?>
          <i class="circular inverted black icon check"></i>
          <?php 
        } else {
            ?>
          <i class="circular inverted black icon time"></i>
          <?php 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:transactions.php

示例4: strtotime

      <div class="wojo header"><img src="../uploads/<?php 
                echo $row->avatar ? $row->avatar : "blank.png";
                ?>
" alt="" class="wojo circular small image">
        <div class="item"><a href="index.php?do=users&amp;action=edit&amp;id=<?php 
                echo $row->id;
                ?>
"><?php 
                echo $row->name;
                ?>
 </a></div>
        <?php 
                echo Core::$word->UR_LASTLOGIN;
                ?>
: <?php 
                echo strtotime($row->lastlogin) === false ? "never" : Filter::dodate("long_date", $row->lastlogin);
                ?>
 </div>
      <div class="wojo project list">
        <div class="content">
          <div class="header"><?php 
                echo Core::$word->USERNAME;
                ?>
:</div>
          <div class="data"><?php 
                echo $row->username;
                ?>
</div>
        </div>
        <div class="content">
          <div class="header"><?php 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:users.php

示例5:

                    <input name="lastip" title="<?php 
echo Core::$word->UR_LASTLOGIN_IP;
?>
" type="text" disabled value="<?php 
echo $row->lastip;
?>
" readonly>
                  </div>
                </div>
                <div class="two fields">
                  <div class="field disabled">
                    <input name="created" type="text" title="<?php 
echo Core::$word->UR_DATE_REGGED;
?>
" disabled value="<?php 
echo Filter::dodate("long_date", $row->created);
?>
" readonly>
                  </div>
                  <div class="field">
                    <label><?php 
echo Core::$word->UR_IS_NEWSLETTER;
?>
</label>
                    <div class="inline-group">
                      <label class="radio">
                        <input type="radio" name="newsletter" value="1" <?php 
getChecked($row->newsletter, 1);
?>
>
                        <i></i><?php 
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:account.php

示例6: foreach

		<tr>
		  <td>TXN</td>
		  <td>' . Core::$word->MM_TTITLE . '</td>
		  <td>' . Core::$word->USERNAME . '</td>
		  <td>' . Core::$word->TX_AMOUNT . '</td>
		  <td>' . Core::$word->CREATED . '</td>
		  <td>' . Core::$word->TX_PP . '</td>
		  <td>IP</td>
		</tr>';
    foreach ($result as $v) {
        print '<tr>
			  <td>' . $v->txn_id . '</td>
			  <td>' . $v->title . '</td>
			  <td>' . $v->username . '</td>
			  <td>' . $v->rate_amount . '</td>
			  <td>' . Filter::dodate("long_date", $v->date) . '</td>
			  <td>' . $v->pp . '</td>
			  <td>' . $v->ip . '</td>
			</tr>';
    }
    print '</table>';
    exit;
}
/* == Page Builder == */
if (isset($_POST['processBuilder'])) {
    Membership::processBuilder();
}
/* == Restore SQL Backup == */
if (isset($_POST['restoreBackup'])) {
    require_once BASEPATH . "lib/class_dbtools.php";
    Registry::set('dbTools', new dbTools());
开发者ID:guyt101z,项目名称:MembershipMan,代码行数:31,代码来源:controller.php


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