<% wShopNo = Request("wShopNo") sql = "" sql = sql & " select *, " sql = sql & " (select DanjiName from usedcar..tbl_danjiinfo where a.GovNo = GovNo and a.DanjiNo = DanjiNo) DanjiName, " sql = sql & " (select count(empno) from usedcar..tbl_employee where a.shopno = shopno and useyn = 'Y' and isnull(retireday,'') = '') EmpCnt, " sql = sql & " (select empno from usedcar..tbl_employee where a.shopno = shopno and position = '´ëÇ¥') EmpNo " sql = sql & " from usedcar..tbl_shopinfo a where ShopNo = '"&wShopNo&"' and State = '¿µ¾÷' " Set rs = dbcon.execute(sql) If rs.bof And rs.eof Then Else rsShopNo = rs("ShopNo") rsDanjiName = rs("DanjiName") rsShopName = rs("ShopName") rsZipAddr = rs("ZipAddr") rsCity = rs("City") rsAddr = rs("Addr") rsTel = rs("Tel") rsFax = rs("Fax") rsTopName = rs("TopName") rsEmpNo = rs("EmpNo") rsPermitNo = rs("PermitNo") rsWorkNo = rs("WorkNo") rsEmpCnt = rs("EmpCnt") If Len(rsEmpNo) = "1" Then strEmpNo = "000"&rsEmpNo ElseIf Len(rsEmpNo) = "2" Then strEmpNo = "00"&rsEmpNo ElseIf Len(rsEmpNo) = "3" Then strEmpNo = "0"&rsEmpNo Else strEmpNo = rsEmpNo End If End If rs.close '±¤°íÁßÀÎ ¸Å¹°´ë¼ö sql = "" sql = sql & " SELECT COUNT(DemoNo) DemoCnt From UsedCar..tbl_Car_DemoMaster " sql = sql & " Where DemoType = '±¤°íÁ¦½Ã' And DemoYN = 'Y' and ShopNo = '"&wShopNo&"' " Set rs = dbcon.execute(sql) If rs.bof And rs.eof Then rsDemoCnt = "0" Else rsDemoCnt = rs("DemoCnt") End If rs.close %> (»ç)Àü±¹ÀÚµ¿Â÷¸Å¸Å»ç¾÷Á¶ÇÕ¿¬ÇÕȸ

¸Å¸Å»ó»çÇöȲ

ȸ¿ø»ç Á¤º¸
Áö¿ª <%=rsCity%> ´ÜÁö¸í <%=rsDanjiName%>
»ó»ç¸í <%=rsShopName%> ´ëÇ¥¼º¸í <%=rsTopName%>
ÁÖ¼Ò <%=rsZipAddr%> <%=rsAddr%>
ÀüÈ­¹øÈ£ <%=rsTel%> Æѽº¹øÈ£ <%=rsFax%>
Çã°¡¹øÈ£ <%=rsPermitNo%> ´ëÇ¥ÇÚµåÆù 010-****-****
»ç¿ø¼ö <%=rsEmpCnt%>¸í ¸Å¹°¼ö <%=rsDemoCnt%>´ë