?? activity_list.php
字號:
<?
########################################
#OsoonCrm
#行動列表
########################################
include "include/db.inc.php";
include "include/check.inc.php";
include "include/header.inc.php";
// 翻頁
$tblname = $tbl_crm_activity;
$where = " ";
$url = "activity_list.php?";
$sql = "select count(*) from $tblname $where";
$res = mysql_query($sql);
$row = @mysql_fetch_array($res);
$total = $row[0];
include "include/function.inc.php";
pagelink($total, $url);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="90%">
<tr valign=top>
<td width="201">
<?
include "include/left.inc.php";
?>
</td>
<td>
<?
$limitstart = ($page-1)*$perpage;
$sql="select * from $tbl_crm_activity where ActivityExecuteID='$uid' order by ActivityID desc limit $limitstart,$perpage";
$res=mysql_query($sql);
?>
<br>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height=25>
<tr align="right">
<td>
<a href="activity_add.php">創建新行動</a>
|
<a href="activity_list.php">行動列表</a>
</td>
</tr>
</table>
<hr>
<table width=95% cellpadding="5" cellspacing="0" align=center border="1" bordercolor="#F5F1E9">
<tr bgcolor=#ede5d2>
<td>行動主題</td>
<td>行動地點</td>
<td>執行者</td>
<td>開始時間</td>
<td>完成時間</td>
<td>客戶名稱</td>
<td bgcolor="#ede5d2">操作</td>
</tr>
<? while($row=mysql_fetch_array($res)){?>
<tr>
<td><? echo $row[ActivityName]?></td>
<td><? echo $row[ActivityLocation]?></td>
<td><? echo $array_crm_id2user[$row[ActivityExecuteID]]?></td>
<td><? echo $row[BeginTime]?></td>
<td><? echo $row[EndTime]?></td>
<td><? echo $array_crm_id2account[$row[AccountID]]?></td>
<td><A HREF="activity_view.php?actid=<? echo $row[ActivityID]?>">詳細</A></td>
</tr>
<?}?>
</table>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height=25>
<tr align="right">
<td><? echo $pagelink; ?></td>
</tr>
</table>
</td>
</tr>
</table>
<?
include "include/footer.inc.php";
?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -