?? account_view.php
字號:
<?
########################################
#OsoonCrm
#客戶列表
########################################
include "include/check.inc.php";
include "include/db.inc.php";
include "include/header.inc.php";
include "include/array.inc.php";
$sql="select * from crm_account where AccountID='$viewid' order by AccountID";
$res=mysql_query($sql);
$row=mysql_fetch_row($res);
?>
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="90%">
<tr valign=top>
<td width="201">
<?
include "include/left.inc.php";
?>
</td>
<td align=center>
<?
$sql="select * from $tbl_crm_contact order by ContactID";
$res=mysql_query($sql);
?>
<table width="95%" border="0" cellspacing="0" cellpadding="0" height=25>
<tr align="right">
<td> <a href="account_add.php">添加客戶</a> | <a href="account_list.php">客戶列表</a>
</td>
</tr>
</table>
<hr>
<table width="95%" border="0" align="center">
<tr>
<td height="975">
<div style="DISPLAY: none"> </div>
<table class="DetailTable" cellspacing="0" cellpadding="5" border="1" bordercolor="#F5F1E9">
<tr class="DTitle">
<td colspan="2" bgcolor="#ede5d2"><span id="Account_New1_lblStatus" style="font-weight:bold;">帳戶信息</span>
<span id="Account_New1_lblAccountNameCopy" style="font-weight:bold;"></span></td>
</tr>
<tr>
<td class="DTitleHL1" colspan="2"><font face="宋體"></font></td>
</tr>
<tr>
<td class="DTitleHL2" colspan="2"> <a id="Account_New1_lnkBasicInfo" style="CURSOR:hand" class="tabmore" onClick="JScript:ShowBasicInfo();document.images('MoreInfoList').src=src='../Resources/list2.gif';document.images('BasicInfoList').src=src='../Resources/list.gif'" onMouseOver="JScript:this.style.color = 'Blue'" onMouseOut="JScript:this.style.color = '#930000'"></a>
<a id="Account_New1_lnkMore" style="CURSOR:hand" class="tabmore" onMouseOver="JScript:this.style.color = 'Blue'" onMouseOut="JScript:this.style.color = '#930000'" onClick="JScript:ShowMoreClick()"></a>
</td>
</tr>
</table>
<table class="DetailTable" cellspacing="1" cellpadding="0" width="416">
<tr class="DTitle">
<td width="86">
<div align="center">>>基本信息</div>
</td>
<td align="right" colspan="2">
<div align="center">
<?
if ($row[1]==$G_uid)
{
?>
<input type="button" value="編輯" onClick="javascript:document.location='account_edit.php?AccountID=<? echo $row[0] ?>'"; name="button2">
<?
}
?>
<input type="button" value="復制" onClick="javascript:document.location='account_copy.php?AccountID=<? echo $row[0] ?>'"; name="button5">
<?
if ($row[1]==$G_uid)
{
?>
<input type=button value="刪除" style="width:60" onclick="javascript:cfmop('account_del.php?AccountID=<? echo $row[0] ?>','注意:是否真的刪除這個客戶?');">
<?
}
?>
<?
if ($row[1]==$G_uid)
{
if ($row[23]!=1)
{
?>
<input type=button value="共享" style="width:60" onclick="javascript:cfmop('account_share.php?AccountID=<? echo $row[0] ?>','注意:是否真的共享這個客戶,共享后其他用戶都可以查看到該客戶信息?');">
<?
}
else
{
?>
<input type=button value="取消共享" style="width:60" onclick="javascript:cfmop('account_share_del.php?AccountID=<? echo $row[0] ?>','注意:是否真的取消共享這個客戶?');">
<?
}
}
?>
<input type="button" value="返回客戶列表" onClick="javascript:document.location='account_list.php'"; name="button">
</div>
</td>
</tr>
<tr>
<td class="HL" colspan="2" height="2"> </td>
</tr>
</table>
<table class="DetailTable" cellspacing="0" cellpadding="5" border="1" bordercolor="#F5F1E9" width="95%">
<colgroup> <col class="LDetail"> <col class="RDetail"> <col class="LDetail">
<col class="RDetail"> </colgroup>
<tr bgcolor="#ede5d2">
<td height="14">帳戶擁有者</td>
<td height="14">
<? echo $array_crm_id2user[$row[1]] ?>
</td>
<td class="LaltDetail" height="14">類型</td>
<td height="14">
<? echo $array_crm_account_type[3]?>
</td>
</tr>
<tr>
<td class="LaltDetail">帳戶名稱</td>
<td> <? echo $row[2] ?></td>
<td>行業(yè)</td>
<td> <? echo $array_crm_account_industry[$row[5]]?></td>
</tr>
<tr>
<td>編號</td>
<td> <? echo $row[4] ?></td>
<td>來源</td>
<td> <? echo $array_crm_source[$row[6]] ?></td>
</tr>
<tr>
<td class="LaltDetail">地域 </td>
<td> <? echo $row[7] ?></td>
<td>年收入</td>
<td> <? echo $array_crm_account_year_revenue[$row[8]] ?></td>
</tr>
<tr>
<td>電話</td>
<td> <? echo $row[9] ?></td>
<td>人員規(guī)模</td>
<td> <? echo $array_crm_account_human_scale[$row[10]] ?></td>
</tr>
<tr>
<td>傳真</td>
<td> <? echo $row[11] ?></td>
<td>關系等級</td>
<td> <? echo $array_crm_account_relationship[$row[12]] ?></td>
</tr>
<tr>
<td>網(wǎng)址</td>
<td> <? echo $row[13] ?></td>
<td>主聯(lián)系人</td>
<td> <? echo $row[14] ?></td>
</tr>
<tr>
<td>信用度</td>
<td> <? echo $row[15] ?></td>
<td>稅號</td>
<td> <? echo $row[16] ?></td>
</tr>
</table>
<div align="center"></div>
<table class="DetailTable" cellspacing="1" cellpadding="0">
<tr>
<td class="DTitle" colspan="4">>>企業(yè)信息<a name="PostBackByCountry"></a></td>
</tr>
<tr>
<td class="HL" colspan="4"></td>
</tr>
</table>
<table id="Account_New1_ucCustomizeFields_tblCustomize" class="DetailTable" cellspacing="0" cellpadding="5" border="1" bordercolor="#F5F1E9" width="95%">
<tr bgcolor="#ede5d2">
<td title="(貨幣)" class="LDetail">固定資產(人民幣萬元)</td>
<td class="RDetail">
<? echo $row[17] ?>
</td>
<td title="(貨幣)" class="LDetail">銷售額(人民幣萬元)</td>
<td class="RDetail">
<? echo $row[18] ?>
</td>
</tr>
<tr>
<td title="(整數(shù))" class="LDetail">銷售人員人數(shù)</td>
<td class="RDetail">
<? echo $row[19] ?>
</td>
<td title="(整數(shù))" class="LDetail">電腦數(shù)量</td>
<td class="RDetail">
<? echo $row[20] ?>
</td>
</tr>
<tr>
<td title="(大文本)" class="LDetail">企業(yè)性質</td>
<td class="RDetail" colspan="3">
<? echo $array_crm_corp_kind[$row[21]]; ?>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -