home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 March / Chip_2000-03_cd.bin / tema / Unicorn / cenik / err.asp < prev    next >
Text File  |  2000-01-20  |  11KB  |  220 lines

  1. <%@ LANGUAGE="VBSCRIPT" %>
  2. <% Response.Buffer = TRUE %>
  3.  
  4. <!--#include file="ncd.inc"-->
  5. <%
  6.   dfl_shid=get_shid()
  7. %>
  8.  
  9.  
  10. <%
  11.  
  12. Function make_errref(ref)
  13.     if 0<inStr(1,ref,"javascript:") then
  14.         output=ref
  15.     else
  16.         output=make_mamref(ref)
  17.     end if
  18.     make_errref=output
  19. End Function
  20.  
  21.  
  22. Function get_shopper_info(dfl_shid)
  23.  
  24.   cmdTemp.CommandText = Replace(glb_query_map.retrieve_user_by_shid.SQLCommand,"?",dfl_shid)
  25.   Set User = Server.CreateObject("ADODB.Recordset")
  26.   User.Open cmdTemp, , adOpenForwardOnly, adLockReadOnly
  27.   Set shopper=Server.CreateObject("Commerce.Dictionary")
  28.   If not User.EOF Then
  29.     shopper.shid=User("M01SHID_").value
  30.     shopper.name=User("M01NAME_").value
  31.     shopper.email=User("M01EMAIL").value
  32.     shopper.pass=User("M01UNUMB").value
  33.     shopper.street=User("M01STRET").value
  34.     shopper.city=User("M01CITY_").value
  35.     shopper.pcode=User("M01PCODE").value
  36.     shopper.date=User("M01DATE_").value
  37.   End If
  38.   Set get_shopper_info=shopper
  39.   User.Close
  40.  
  41. End Function
  42.  
  43. set glb_err_obj=application("glb_err_obj")
  44. set shopper=get_shopper_info(dfl_shid)
  45.  
  46. %>
  47.  
  48.  
  49. <html>
  50.  
  51. <head>
  52. <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
  53. <title>Mamutφ nehoda</title>
  54. </head>
  55.  
  56. <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" bgcolor="#FFFFFF" background="images/mmt_back_line.gif" link="#000000">
  57.  
  58. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  59.   <tr>
  60.     <td width="470" valign="top" align="left" height="67" rowspan="2"><!--webbot bot="ImageMap" polygon="(360,47) (373,21) (430,2) (423,31) <%= make_mamref("upf.asp")%>" polygon="(271,50) (292,28) (368,23) (354,48) <%= make_mamref("hlp.asp")%>" polygon="(201,42) (222,21) (287,28) (267,49) <%= make_mamref("lst.asp")%>" polygon="(130,33) (151,12) (217,21) (195,41) <%= make_mamref("ssc.asp")%>" src="images/mmt_menu_left.gif" border="0" width="470" height="67" alt="v²b∞r" startspan --><MAP NAME="FrontPageMap"><AREA SHAPE="POLYGON" COORDS="360, 47, 373, 21, 430, 2, 423, 31" HREF="<%= make_mamref("upf.asp")%>"><AREA SHAPE="POLYGON" COORDS="271, 50, 292, 28, 368, 23, 354, 48" HREF="<%= make_mamref("hlp.asp")%>"><AREA SHAPE="POLYGON" COORDS="201, 42, 222, 21, 287, 28, 267, 49" HREF="<%= make_mamref("lst.asp")%>"><AREA SHAPE="POLYGON" COORDS="130, 33, 151, 12, 217, 21, 195, 41" HREF="<%= make_mamref("ssc.asp")%>"></MAP><a href="../_vti_bin/shtml.dll/cenik/err.asp/map"><img ismap usemap="#FrontPageMap" border="0" height="67" alt="v²b∞r" src="images/mmt_menu_left.gif" width="470"></a><!--webbot bot="ImageMap" endspan i-checksum="493" --> </td>
  61.     <td width="100%" valign="top" align="left" height="15"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  62.       <tr>
  63.         <td width="130" rowspan="4" valign="top" align="left"><img src="images/mmt_menu_up.gif" WIDTH="130" HEIGHT="15"> </td>
  64.         <td width="100%" bgcolor="#FFFF00"><img src="images/sys_nic.gif" width="1" height="5"> </td>
  65.       </tr>
  66.       <tr>
  67.         <td width="100%" bgcolor="#333333"><img src="images/sys_nic.gif" WIDTH="1" HEIGHT="1"> </td>
  68.       </tr>
  69.       <tr>
  70.         <td width="100%" bgcolor="#999999"><img src="images/sys_nic.gif" WIDTH="1" HEIGHT="1"> </td>
  71.       </tr>
  72.       <tr>
  73.         <td width="100%" height="8"> </td>
  74.       </tr>
  75.     </table>
  76.     </td>
  77.     <td width="10" valign="top" align="left" height="67" rowspan="2"><img src="images/mmt_menu_end.gif" WIDTH="10" HEIGHT="67"> </td>
  78.   </tr>
  79.   <tr>
  80.     <td width="100%" valign="top" align="left" height="52"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  81.       <tr>
  82.         <td width="100%"> </td>
  83.         <td width="38" height="52"><a href="<%= make_mamref("bsk.asp")%>"><img src="images/mmt_icon_nuse.gif" alt="n∙Üe" border="0" width="38" height="52"></a> </td>
  84.         <td width="54" height="52"><a href="<%= make_mamref("ppr.asp")%>"><img src="images/mmt_icon_pokladna.gif" alt="pokladna" border="0" width="54" height="52"></a> </td>
  85.         <td width="38" height="52"><a href="<%= make_mamref("home.asp")%>"><img src="images/mmt_icon_domu.gif" alt="dom∙" border="0" width="38" height="52"></a> </td>
  86.       </tr>
  87.     </table>
  88.     </td>
  89.   </tr>
  90. </table>
  91.  
  92. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  93.   <tr>
  94.     <td width="32" height="100%"><img src="images/sys_nic.gif" width="32" height="1"> </td>
  95.     <td width="10"><img src="images/sys_nic.gif" width="10" height="1"> </td>
  96.     <td width="100%" valign="top" align="center"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  97.       <tr>
  98.         <td width="100%"><img src="images/sys_nic.gif" width="1" height="10"> </td>
  99.       </tr>
  100.     </table>
  101.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  102.       <tr>
  103.         <td width="50%" align="left"> </td>
  104.         <td width="50%" align="right">    </td>
  105.       </tr>
  106.     </table>
  107.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  108.       <tr>
  109.         <td width="99%"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  110.           <tr>
  111.             <td rowspan="3"><img src="images/mmterr_error.gif" width="40" height="39"> </td>
  112.             <td width="100%" height="25" valign="middle"><big><font face="Arial">  Mamutφ
  113.             nehoda</font></big> </td>
  114.             <td width="2" rowspan="3"><img src="images/sys_line_right.gif" width="2" height="3"> </td>
  115.             <td width="10" rowspan="3"><img src="images/sys_nic.gif" width="10" height="3"> </td>
  116.           </tr>
  117.           <tr>
  118.             <td width="100%" bgcolor="#9900FF" height="3"><img src="images/sys_nic.gif" width="100%" height="3"> </td>
  119.           </tr>
  120.           <tr>
  121.             <td width="100%" height="25"> </td>
  122.           </tr>
  123.         </table>
  124.         </td>
  125.       </tr>
  126.     </table>
  127.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  128.       <tr>
  129.         <td width="50%" align="left"> </td>
  130.         <td width="50%" align="right"> </td>
  131.       </tr>
  132.     </table>
  133.     <table border="0" cellpadding="0" cellspacing="0" width="560">
  134.       <tr>
  135.         <td width="100%">  </td>
  136.       </tr>
  137.     </table>
  138.     <table border="0" cellpadding="0" cellspacing="0" width="560">
  139.       <tr>
  140.         <td width="90" height="25">  </td>
  141.         <td width="12" height="25" valign="top" align="left" bgcolor="#9900FF"><img src="images/sys_roh1-lh.gif" width="12" height="12"> </td>
  142.         <td width="356" rowspan="2" height="50" bgcolor="#9900FF" align="center"><font color="#FFFFFF" face="Arial">
  143.         <strong>U₧ivatel:
  144.         <% if isNull(shopper.shid) Then %>
  145.         neregistrovßn
  146.         <% Else %>
  147.         <%=shopper.name%>
  148.         <% End If%>
  149.         </strong></font> </td>
  150.         <td width="12" height="25" valign="top" align="right" bgcolor="#9900FF"><img src="images/sys_roh1-ph.gif" width="12" height="12"> </td>
  151.         <td width="90" height="25">  </td>
  152.       </tr>
  153.       <tr>
  154.         <td width="90" bgcolor="#CCCCFF" height="25" valign="top" align="left"><img src="images/sys_roh2-lh.gif" width="12" height="12"> </td>
  155.         <td width="12" bgcolor="#9900FF" height="25" valign="bottom" align="left"><img src="images/sys_roh1-ld.gif" width="12" height="12"> </td>
  156.         <td width="12" bgcolor="#9900FF" height="25" valign="bottom" align="right"><img src="images/sys_roh1-pd.gif" width="12" height="12"> </td>
  157.         <td width="90" bgcolor="#CCCCFF" height="25" valign="top" align="right"><img src="images/sys_roh2-ph.gif" border="0" width="12" height="12"> </td>
  158.       </tr>
  159.     </table>
  160.     <table border="0" cellpadding="0" cellspacing="0" width="560" bgcolor="#CCCCFF">
  161.       <tr>
  162.         <td width="80" align="center"><img src="images/mmterr_icona.gif" width="49" height="49"> </td>
  163.         <td width="380"><font face="Arial">  <u><br>
  164.         </u>MAMUT nem∙₧e pokraΦovat z tohoto d∙vodu:</font><p><font face="Arial">
  165.         <small><%=glb_err_obj("error" & Request.QueryString("err_number") & "str")%></small><br>
  166.           </font> </td>
  167.         <td width="100"><font face="Arial"><img src="images/sys_hugo3.gif" width="75" height="100"></font> </td>
  168.       </tr>
  169.     </table>
  170.     <table border="0" cellpadding="0" cellspacing="0" width="560">
  171.       <tr>
  172.         <td width="234" height="15" bgcolor="#CCCCFF" valign="bottom" align="left"><img src="images/sys_roh2-ld.gif" width="12" height="12"> </td>
  173.         <td width="91" rowspan="2" height="15"><a href="<%= make_errref(glb_err_obj("error" & Request.QueryString("err_number") & "act"))%>"><img src="images/sys_zpet.gif" width="91" height="30" border="0" alt="zp∞t"></a> </td>
  174.         <td width="235" height="15" bgcolor="#CCCCFF" valign="bottom" align="right"><img src="images/sys_roh2-pd.gif" width="12" height="12"> </td>
  175.       </tr>
  176.       <tr>
  177.         <td width="234" height="15"><img src="images/sys_nic.gif" width="1" height="15"> </td>
  178.         <td width="235" height="15"><img src="images/sys_nic.gif" width="1" height="15"> </td>
  179.       </tr>
  180.     </table>
  181.     <p>   </td>
  182.   </tr>
  183. </table>
  184.  
  185. <table border="0" cellpadding="0" cellspacing="0" width="100%">
  186.   <tr>
  187.     <td width="32" valign="middle" align="left"><img src="images/sys_nic.gif" width="32" height="1"> </td>
  188.     <td width="10" valign="top" align="left"><img src="images/sys_nic.gif" width="10" height="1"> </td>
  189.     <td width="100%" valign="bottom" align="left"><table border="0" cellpadding="0" cellspacing="0" width="100%">
  190.       <tr>
  191.         <td width="2" align="right"><img src="images/dtl/dtlleg_line_left.gif" width="2" height="3"> </td>
  192.         <td width="100%" bgcolor="#9900FF"><img src="images/sys_nic.gif" width="100%" height="3"> </td>
  193.         <td width="2"><img src="images/dtl/dtlleg_line_right.gif" width="2" height="3"> </td>
  194.         <td width="11"><img src="images/sys_nic.gif" width="11" height="1"> </td>
  195.       </tr>
  196.     </table>
  197.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  198.       <tr>
  199.         <td width="100%"><img src="images/sys_nic.gif" width="1%" height="3"> </td>
  200.       </tr>
  201.     </table>
  202.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  203.       <tr>
  204.         <td width="50%" valign="bottom" align="left"><a href="mailto:mamut@mamut.cz"><img src="images/mmt_email.gif" WIDTH="75" HEIGHT="21" hspace="3" border="0" alt="e-mail"></a> </td>
  205.         <td width="50%" valign="bottom" align="right"><img src="images/mmt_copyright.gif" WIDTH="137" HEIGHT="21" hspace="3"> </td>
  206.         <td width="11"><img src="images/sys_nic.gif" width="11" height="1"> </td>
  207.       </tr>
  208.     </table>
  209.     <table border="0" cellpadding="0" cellspacing="0" width="100%">
  210.       <tr>
  211.         <td width="100%"><img src="images/sys_nic.gif" width="1%" height="10"> </td>
  212.       </tr>
  213.     </table>
  214.     </td>
  215.   </tr>
  216. </table>
  217. </body>
  218. </html>
  219.  
  220.