home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2000 May
/
Chip_2000-05_cd1.bin
/
tema
/
SW602
/
Winbase
/
EShop_demo
/
PLOCHA_TOP.WWW
< prev
next >
Wrap
Text File
|
2000-03-16
|
6KB
|
131 lines
{$$3220259191 . }<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//CZ">
<html>
<head>
<meta http-equiv="CONTENT-TYPE" content="TEXT/HTML; CHARSET=WINDOWS-1250">
<title>602ESHOP</title>
<STYLE TYPE="text/css">
<!--
body { font-family: Arial CE, HelveticaE, Helvetica CE, Arial, Helvetica; }
.white { font-family: Arial CE, HelveticaE, Helvetica CE, Arial, Helvetica; font-size: 9pt; color: #FFFFFF }
.black { font-family: Arial CE, HelveticaE, Helvetica CE, Arial, Helvetica; font-size: 9pt; color: #000000 }
.orange { font-family: Arial CE, HelveticaE, Helvetica CE, Arial, Helvetica; font-size: 9pt; color: #ff8000; }
A { font-family: Arial CE, HelveticaE, Helvetica CE, Arial, Helvetica; font-size: 8pt; cursor: auto ; color: #FFFFFF; text-decoration: underline; text-indent: 2pt;}
-->
</STYLE>
</head>
<%WBC%>
ErrorTemplate: err.htw
BeginProgram: www_cenik
dealcena("%?jmeno%","%?heslo%");
EndProgram;
GetVariable: wdcena:=dcena
GetVariable: jmeno:=w_jmeno
GetVariable: heslo:=w_heslo
SQLStatement: top_zbozi [0+10]
+ SELECT Cenik.id_cenik, Cenik.PORADITOP, Cenik.PORADITOP, Cenik.anotace, Cenik.kod_zbozi, Cenik.htwtxt, Cenik.htwobr, Cenik.nazev_zbozi, cenik.jednotka, Cenik.pozn, cenik.novinka, cenik.sleva, cenik.skladem,
+ %wdcena% as cenam, ((Trunc((%wdcena%*(1.0+s_dph.procento/100.0))/S_TAB_ROUND.koef))*S_TAB_ROUND.koef) as cenamp
+ FROM CENIK, S_DPH , SYS_PAR , S_TAB_ROUND
+ WHERE Cenik.top=TRUE AND SYS_PAR.ROUND_IMP=S_TAB_ROUND.ID_ROUND
+ AND (s_dph.id_dph=cenik.dph) AND (s_dph.uc_rok=year(today))
+ ORDER BY Cenik.PORADITOP
<%/WBC%>
<body background="/catalog/back_bd2.gif" bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- <%if objednavka=-1%> onLoad="top.frames[1].location='<%wb_url%>/lista.wbc?jmeno=<%jmeno%>&heslo=<%heslo%>&cena=0.00&cenaDPH=0.00&objednavka=-1';top.frames[2].frames[0].location='<%wb_url%>/sidebar.htw?jmeno=<%jmeno%>&heslo=<%heslo%>&cena=0&cenaDPH=0&objednavka=-1'" <%endif%> -->
<%if top_zbozi.CurrentRecord > 0%>
<div align="CENTER" style="width: 580px;">
<table width="570" border="0" cellspacing="0" cellpadding="2">
<tr><td height=10 colspan=2 align="CENTER"><table border="0" cellspacing="0"
cellpadding="0"><tr><td align="CENTER"><img src="/catalog/toplist2.gif" width=85 height=20 border=0
alt="Toplist k:"></td><td bgcolor="#004080" class="white"> <strong> <%CURRENT_DATE%></strong> </td></tr></table><br></tr>
<tr>
<%begindetail top_zbozi%>
<td bgcolor="#FFFFFF">
<!-- udaje o top_zbozi -->
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td colspan="4" bgcolor="#000080" class="white">
<strong><% kod_zbozi %> - <% nazev_zbozi %> <br></strong>
</td>
</tr>
<tr><td colspan="4" bgcolor="#E6E6E6" class="black"> <% anotace %></td></tr>
<tr>
<td width="170" align="CENTER" valign="MIDDLE">
<% if htwobr=="" %><font size="-1">< obrßzek zbo₧φ nenφ k dispozici ></font>
<% else %><% if htwtxt<>"" %><a href="<%htwtxt%>" class="maly" TARGET="_blank"><% endif %><img src="<% htwobr %>" width=150 border=0 vspace=10 alt="Obrßzek"><% if htwtxt<>"" %></a><% endif %>
<% endif %>
<%if sleva%><img src="/catalog/slevac.gif"> <%endif%>
<%if novinka%><img src="/catalog/novinkab.gif"> <%endif%>
<%if skladem%><img src="/catalog/sklad.gif"><%endif%>
</td><td width="40"> </td>
<td width="360" colspan="2" align="RIGHT" class="black"><table border="0" width="100%"
cellspacing="0" cellpadding="2"><tr><td class="black"><% pozn %>
</td></tr></table></td></tr>
<tr><td colspan="2"><table border="0" cellspacing="0" cellpadding="0"><tr><td align="CENTER"><img src="/catalog/vezdph.gif"
width=94 height=20 border=0 alt="Cena bez DPH:"></td><td bgcolor="#004080"
class="white"> <strong> <% cenam;-102 %> KΦ </strong></td></tr></table></td>
<td><table border="0" cellspacing="0" cellpadding="0"><tr><td align="CENTER"><img src="/catalog/sdph.gif"
width=82 height=20 border=0 alt="Cena s DPH:"></td><td bgcolor="#004080"
class="white"> <strong> <% cenamp;-102 %> KΦ </strong>
</td></tr></table></td>
<form action="<% wb_url%>/kosikwbc.wbc">
<SPAN CLASS="black">
<INPUT type="hidden" NAME="wbegin" VALUE="<%id_cenik%>">
<INPUT type="hidden" NAME="wnext" VALUE="0">
<INPUT type="hidden" NAME="wbegin" VALUE="0">
<input type="hidden" name="jmeno" value="<% jmeno %>">
<input type="hidden" name="heslo" value="<% heslo %>">
<INPUT TYPE="hidden" NAME="cena" VALUE="<%cena;-102%>">
<INPUT TYPE="hidden" NAME="cenaDPH" VALUE="<%cenaDPH;-102%>">
<input type="hidden" name="objednavka" value="<%objednavka%>">
<INPUT type="hidden" NAME="W_check_kod" VALUE="">
<INPUT TYPE="hidden" NAME="check_kod" VALUE="">
<input type="hidden" name="wvyber" value="T">
<INPUT type="hidden" NAME="W_nazev" VALUE="">
<INPUT type="hidden" NAME="id_cenik" VALUE="<%id_cenik%>">
<td>
<table border="0" cellspacing="0" cellpadding="0" align="RIGHT">
<tr><td><img src="/catalog/dokose.gif" width=71 height=20 border=0 alt="Do koÜφku:"></td>
<td class="black"> <INPUT type="text" NAME="W_MNOZ" VALUE="1" MAXLENGTH=4 SIZE=2> <%jednotka%> </td>
<td><input type="Image" name="KOS" src="/catalog/kos.gif" border="0" vspace="0" hspace="0" title="P°idej do koÜe" onClick="top.frames[1].location='/catalog/wait2.htm';top.frames[2].frames[0].location='/catalog/wait1.htm'"></td>
</tr></table>
</td>
</td></tr>
</FORM>
</table>
</td>
</tr>
<tr><td> </td></tr>
<%if (currentRecord=2) OR (currentRecord=4) OR (currentRecord=6) OR (currentRecord=8) OR (currentRecord=10)%>
<!-- tady bude opacna tabulka -->
<%endif%>
<%enddetail%>
</table>
<%else%>
<img src="/catalog/uvod.gif" width=551 height=463 border=0 alt="">
<%endif%>
</div>
</body>
</html> <font color="#FFFFFF">