PageRenderTime 19ms CodeModel.GetById 12ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/beta/CRM/AccountsEditLogViewer.asp

http://github.com/khaneh/Orders
ASP | 132 lines | 126 code | 5 blank | 1 comment | 3 complexity | a4410bf73129985599af6953f9503032 MD5 | raw file
  1<%@LANGUAGE="VBSCRIPT" CODEPAGE="1256"%><%
  2'CRM (1)
  3PageTitle="�������"
  4SubmenuItem=1
  5if not Auth(1 , 1) then NotAllowdToViewThisPage()
  6%>
  7<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
  8<!--#include file="../config.asp" -->
  9<!--#include File="../include_farsiDateHandling.asp"-->
 10<!--#include File="../include_JS_InputMasks.asp"-->
 11<STYLE>
 12	.GetCustTbl {font-family:tahoma; background-color: #DDDDDD; width:630; direction: RTL; }
 13	.GetCustTbl td {padding:2; font-size: 9pt; height:25;}
 14	.GetCustInp { font-family:tahoma; font-size: 9pt;}
 15	.CusTableHeader {background-color: #33AACC; text-align: center; font-weight:bold;}
 16	.CustContactTable {font-family:tahoma; width:100%; border:1 solid black; direction: RTL; background-color:#CCCCCC;}
 17	.CustContactTable td {padding:5;}
 18	.CustTable1 {font-family:tahoma; width:100%; height:100%; border:2px solid black; direction: RTL; background-color:#CCCCCC; }
 19	.CustTable1 a {text-decoration:none;color:#000088}
 20	.CustTable1 a:hover {text-decoration:underline;}
 21	.CustTable2 {font-family:tahoma; border:none; direction: RTL; width:100%; height:100%;}
 22	.CustTable3 {font-family:tahoma; border:1px solid black; direction: RTL; background-color:black; }
 23	.CustTable3 td {padding:5px;}
 24	.CustTable4 {font-family:tahoma; direction: RTL; width:100%; height:100%; background-color:#C3DBEB;}
 25	.CustTableMenu {width:100%; border:none; direction: RTL;}
 26	.CustTableMenu td {border-bottom:1 solid black; height:25px; padding:5px;}
 27	.CustTableMenuSelected {background-color:#C3DBEB;}
 28	.CusTD1 {background-color: #CCCC66; text-align: left; font-weight:bold;}
 29	.CusTD2 {background-color: #DDDDDD; direction: LTR; text-align: right; font-size:9pt;}
 30</STYLE>
 31<%
 32AutoKey = clng(request("AutoKey"))
 33
 34set RS1=Conn.execute("SELECT AccountsEditLog.*, Users.RealName AS CSRName FROM AccountsEditLog LEFT OUTER JOIN  Users ON AccountsEditLog.CSR = Users.ID where AccountsEditLog.AutoKey = " & AutoKey )
 35
 36
 37
 38%>
 39<TABLE topmargin=0 leftmargin=0 width="100%">
 40<TR>
 41	<TD>
 42<table class="CustTable3" cellspacing='1' cellspacing='1'  width="100%">
 43<tr>
 44	<td class="CusTD1" width="80">����� ���� : </td>
 45	<td class="CusTD2"><span dir="RTL"><%=RS1("AccountTitle")%></span></td>
 46</tr> 
 47<tr>
 48	<td class="CusTD1">����� ���� :</td>
 49	<td class="CusTD2"><%=RS1("ID")%></td>
 50</tr>
 51<tr>
 52	<td class="CusTD1">��� ���� : </td>
 53<%		if RS1("IsPersonal") then %>
 54		<td class="CusTD2"><font color="Gray">���� ���� ���</font></td>
 55<%		else%>
 56		<td class="CusTD2"><%=RS1("CompanyName")%></td>
 57<%		end if%>
 58</tr>
 59<tr>
 60	<td class="CusTD1">����� ����� : </td>
 61	<td class="CusTD2"><%=RS1("CreatedDate")%></td>
 62</tr>
 63<tr>
 64	<td class="CusTD1">����� ������ : </td>
 65	<td class="CusTD2"><%=RS1("CSRName")%></td>
 66</tr>
 67<tr>
 68	<td class="CusTD1">����� ���� : </td>
 69	<td class="CusTD2"><%=Separate(RS1("ARBalance"))%></td>
 70</tr>
 71<tr>
 72	<td class="CusTD1">����� ����: </td>
 73	<td class="CusTD2"><%=Separate(RS1("APBalance"))%></td>
 74</tr>
 75<%if Auth("B" , 0) then %>
 76<tr>
 77	<td class="CusTD1">����� ����:</td>
 78	<td class="CusTD2"><%=Separate(RS1("AOBalance"))%></td>
 79</tr>
 80<%end if %>
 81<tr>
 82	<td class="CusTD1">��� ������ : </td>
 83	<td class="CusTD2"><%=RS1("CreditLimit")%></td>
 84</tr>
 85<tr>
 86	<td class="CusTD1" valign="top">���� ���� : </td>
 87	<td class="CusTD2"><TABLE class="CustContactTable">
 88		<TR>
 89			<TD><%=RS1("Dear1")%> - <%=RS1("FirstName1")%> - <%=RS1("LastName1")%></TD>
 90			<TD width="140" style="border-right:1 solid black;">���� : <%=RS1("Tel1")%></TD>
 91		</TR>
 92		<TR>
 93			<TD rowspan="2" valign="top">���� : <%=RS1("City1")%> - <%=RS1("Address1")%></TD>
 94			<TD style="border-right:1 solid black;">���� : <%=RS1("Fax1")%></TD>
 95		</TR>
 96		<TR>
 97			<TD style="border-right:1 solid black;">����� : <%=RS1("Email1")%></TD>
 98		</TR>
 99		<TR>
100			<TD>��: <%=RS1("PostCode1")%></TD>
101			<TD style="border-right:1 solid black;">������: <%=RS1("Mobile1")%></TD>
102		</TR>
103		</TABLE>
104	</td>
105</tr>
106<tr>
107	<td class="CusTD1" valign="top">���� ��� : </td>
108	<td class="CusTD2"><TABLE class="CustContactTable">
109		<TR>
110			<TD><%=RS1("Dear2")%> - <%=RS1("FirstName2")%> - <%=RS1("LastName2")%></TD>
111			<TD style="border-right:1 solid black;" width="140">���� : <%=RS1("Tel2")%></TD>
112		</TR>
113		<TR>
114			<TD rowspan="2" valign="top">���� : <%=RS1("City2")%> - <%=RS1("Address2")%></TD>
115			<TD style="border-right:1 solid black;">���� : <%=RS1("Fax2")%></TD>
116		</TR>
117		<TR>
118			<TD style="border-right:1 solid black;">����� : <%=RS1("Email2")%></TD>
119		</TR>
120		<TR>
121			<TD>��: <%=RS1("PostCode2")%></TD>
122			<TD style="border-right:1 solid black;">������: <%=RS1("Mobile2")%></TD>
123		</TR>
124		</TABLE>
125	</td>
126</tr>
127</table>
128	</TD>
129</TR>
130</TABLE>
131
132<!--#include file="tah.asp" -->