Example #1
0
">下一页</a></button>
</div>			
    <table class="table">
      <thead>
        <tr>
		  <th>申请时间</th>
		  <th>用户ID</th>  
		  <th>支付宝</th>
		  <th>提现金额</th>
		  <th>状态</th>
        </tr>
      </thead>
      <tbody>
<?php 
$row = $mysql->query("select * from `txdata` where `state`=1 order by `id` desc");
$row_tx = page_array(50, $page, $row, 0);
foreach ($row_tx as $v_tx) {
    $time = date("Y-m-d H:i", $v_tx['time']);
    print <<<table
        <tr>
\t\t  <td>{$time}</td>
\t\t  <td>{$v_tx['uid']}</td>
\t\t  <td>{$v_tx['alipay']}</td>
\t\t  <td>{$v_tx['money']}</td>
\t\t  <td>
\t\t\t<font color=green>已经支付</font>
\t\t  </td>
        </tr>
table;
}
?>
Example #2
0
?>
" class="btn">下一页</a></button>
</div>
    <table class="table">
      <thead>
        <tr>
          <th>#</th>
          <th>手机号</th>
		  <th><a href="?do=money">总收益</a></th>
		  <th>注册时间</th>
		  <th>操作</th>
        </tr>
      </thead>
      <tbody>
<?php 
$row_user = page_array(30, $page, $row, 0);
foreach ($row_user as $v_user) {
    $time = date("Y-m-d H:i:s", $v_user['time']);
    if ($v_user['phone'] == '') {
        $_phone = '<font color=grey>微信用户</font>';
    } else {
        $_phone = $v_user['phone'];
    }
    print <<<table
        <tr>
          <td><a href="refererlist.php?uid={$v_user['id']}" title="查看分享记录">{$v_user['id']}</a></td>
          <td>{$_phone}</td>
\t\t  <td>{$v_user['money']}</td>
\t\t  <td>{$time}</td>
\t\t  <td>
\t\t\t<a class="btn btn-primary" href="edit_user.php?uid={$v_user['id']}" title="编辑"><i class="icon-edit"></i></a>
Example #3
0
">下一页</a></button>
	</div>
    <table class="table">
	<form class="navbar-search pull-left" action="all_article.php" method="post">
      <thead>
        <tr>
		<th></th>
          <th>发布日期</th>
		  <th>分类</th>
          <th>标题(<a href="?order=pv">pv</a>)</th>
		  <th>操作</th>
        </tr>
      </thead>
      <tbody>
<?php 
$row_article = page_array(50, $page, $row, 0);
foreach ($row_article as $v_article) {
    $pic = str_replace('[weixin]', 'http://img01.store.sogou.com/net/a/04/link?appid=100520031&w=500&h=400&url=', $v_article['pic']);
    if ($v_article['top'] == 1) {
        $top = "<font color=red>[置顶]</font>";
    } else {
        $top = '';
    }
    print <<<table
        <tr>
\t\t  <td><input type="checkbox" name="checkbox[]" value="{$v_article['id']}"> </td>
          <td>{$v_article['day']}</td>
\t\t  <td>{$v_article['type']}</td>
          <td>{$top} <a href="{$site}/detail.php?aid={$v_article['id']}" target="_blank">{$v_article['title']}</a>({$v_article['pv']})</td>
\t\t  <td>
\t\t\t<font color=grey>¥{$v_article['money']}</font>