?? mana_ach.php
字號(hào):
<?php////////////////////////////////////////////////////////// Author by Shuweich// Date : 2007.07.27// 建站支持: http://www.shuweich.net// 作者: Shuweich// QQ: 1502384// ICQ: 190492112// MSN: shuweich@hotmail.com// E-mail: root@shuweich.net// E-mail: shuweich@163.com// CMS交流站點(diǎn): http://www.shuweich.net////////////////////////////////////////////////////////// 模塊管理 by market// For 系統(tǒng)管理員(站長(zhǎng)及經(jīng)理)////////////////////////////////////////////////////////include_once '../../mainfile.php';include_once '../../header.php';echo "<span style='font-size:18px;color:#8dff8d;'>業(yè)績(jī)查詢</span><br />\n";$que = "select a.store_id,b.user_name,a.user_id,a.rdate,a.ccust,a.grp_rs,a.yj,a.fd,a.glf,a.bh from ";$que .=$xoopsDB->prefix("market_achm")." a,".$xoopsDB->prefix("market_member");$que .=" b where a.shbz='1' and a.user_id=b.user_id ";$que .= " and a.user_id=".$xoopsUser->uid();$que .=" order by a.store_id,a.user_id,a.rdate";## echo $que."<hr />\n";$res = $xoopsDB->query($que);echo "<table border='0'>\n";echo "<tr><th>門店</th><th>日期</th><th>客流量</th><th>小組人數(shù)</th><th>業(yè)績(jī)</th><th>提成</th><th>撥管理費(fèi)</th></tr>";$xh=0;while ( $row = $xoopsDB->fetchrow($res) ) { echo "<tr "; if ($xh % 2 == 0) echo "class='odd'"; else echo "class='even'"; echo " >"; $xh++; echo "\n<td>$row[0]</td>"; ## 門店 echo "\n<td>$row[3]</td>"; ## 日期 echo "\n<td align='right'>$row[4]</td>"; ## 客流 echo "\n<td align='right'>$row[5]</td>"; ## 小組人數(shù) echo "\n<td align='right'>$row[6]</td>"; ## 業(yè)績(jī) echo "\n<td style='background-color:#ccccff;' align='right'>$row[7]</td>"; ## 提成 echo "\n<td style='background-color:#ccffcc;' align='right'>$row[8]</td>"; ## 下?lián)芄芾碣M(fèi) echo "</tr>\n";}echo "<tr><th>門店</th><th>日期</th><th>客流量</th><th>小組人數(shù)</th><th>業(yè)績(jī)</th><th>提成</th><th>撥管理費(fèi)</th></tr>";echo "</table>\n";include_once '../../footer.php';?>
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -