⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 account_view.php

📁 CRM 不仅仅是一个管理名词和管理概念
💻 PHP
📖 第 1 页 / 共 2 页
字号:
<?
	########################################
	#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>&nbsp; 
                    <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">&gt;&gt;基本信息</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">&nbsp; 
                    <? echo $array_crm_id2user[$row[1]] ?>
                  </td>
                    
                  <td class="LaltDetail" height="14">类型</td>
                    
                  <td height="14">&nbsp; 
                    <? echo $array_crm_account_type[3]?>
                  </td>
                  </tr>
                  <tr> 
                    <td class="LaltDetail">帐户名称</td>
                    <td>&nbsp; <? echo $row[2] ?></td>
                    <td>行业</td>
                    <td>&nbsp; <? echo $array_crm_account_industry[$row[5]]?></td>
                  </tr>
                  <tr> 
                    <td>编号</td>
                    <td>&nbsp; <? echo $row[4] ?></td>
                    <td>来源</td>
                    <td>&nbsp; <? echo $array_crm_source[$row[6]] ?></td>
                  </tr>
                  <tr> 
                    <td class="LaltDetail">地域 </td>
                    <td>&nbsp; <? echo $row[7] ?></td>
                    <td>年收入</td>
                    <td>&nbsp; <? echo $array_crm_account_year_revenue[$row[8]] ?></td>
                  </tr>
                  <tr> 
                    <td>电话</td>
                    <td>&nbsp; <? echo $row[9] ?></td>
                    <td>人员规模</td>
                    <td>&nbsp; <? echo $array_crm_account_human_scale[$row[10]] ?></td>
                  </tr>
                  <tr> 
                    <td>传真</td>
                    <td>&nbsp; <? echo $row[11] ?></td>
                    <td>关系等级</td>
                    <td>&nbsp; <? echo $array_crm_account_relationship[$row[12]] ?></td>
                  </tr>
                  <tr> 
                    <td>网址</td>
                    <td>&nbsp; <? echo $row[13] ?></td>
                    <td>主联系人</td>
                    <td>&nbsp; <? echo $row[14] ?></td>
                  </tr>
                  <tr> 
                    <td>信用度</td>
                    <td>&nbsp; <? echo $row[15] ?></td>
                    <td>税号</td>
                    <td>&nbsp; <? echo $row[16] ?></td>
                  </tr>
                </table>
                <div align="center"></div>
                <table class="DetailTable" cellspacing="1" cellpadding="0">
                  <tr> 
                    <td class="DTitle" colspan="4">&gt;&gt;企业信息<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">&nbsp; 
                    <? echo $row[17] ?>
                  </td>
                  <td title="(货币)" class="LDetail">销售额(人民币万元)</td>
                  <td class="RDetail">&nbsp; 
                    <? echo $row[18] ?>
                  </td>
                </tr>
                <tr> 
                  <td title="(整数)" class="LDetail">销售人员人数</td>
                  <td class="RDetail">&nbsp; 
                    <? echo $row[19] ?>
                  </td>
                  <td title="(整数)" class="LDetail">电脑数量</td>
                  <td class="RDetail">&nbsp; 
                    <? echo $row[20] ?>
                  </td>
                </tr>
                <tr>
                  <td title="(大文本)" class="LDetail">企业性质</td>
                  <td class="RDetail" colspan="3">
                    <? echo $array_crm_corp_kind[$row[21]];  ?>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -