sinanuzun Yeni Üye
Kayıt Tarihi: 09-Ocak-2011 Gönderilenler: 1
|
Gönderen: 09-Ocak-2011 Saat 21:03 | Kayıtlı IP
|
|
|
Arkadaşlar elimde bir alışveriş sitesi scpriti var ama siparişi maile göndermiyor cdonts bileşenine ayarlı ama benim sitem aspemail bileşenine ayarlamam gerek halledemedim lütfen yardım edin işte dosyalar
Config.asp //////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// /////////////////////////////////////////////// <%
'# Wählen Sie bitte die Komponente, mit der Mails verschickt werden sollen '# choose your mailcomponent '# jmail or cdonts
mail_component = "cdonts"'# Ihre Maildaten / Your Account
mail_host = "webmail.efestech.com" mail_sender = "bilgi@efestech.com" mail_subject = "Yeni Sipariş" mail_empfaenger = "bilgi@efestech.com"
'# MailText: With this text a order mail starts, the rest will be added.
mailText = "Yeni bir sipariş var hadi hayırlısı..."
'# Wählen Sie die Felder, die bei einer BestellMail benutzt werden '# choose the fields you want to use for a order-mail
m_name = true m_country = true m_city = true m_street = true m_phone = true m_mailadress = true m_card_type = false m_card_number = false m_card_expiration_date = false m_comment = true
'# Banner URL '# Um das Logo zu ändern, Laden Sie ein Bild in den Pics Ordner und geben Sie hier den Bildnamen ein: '# To change the Banner, just upload another picture in the pics folder, an put the name here:
banner = "banner.gif"
'# FARBEN / COLORS
color1 = "#FF9933" color2 = "#ffffff" color3 = "#666699" color4 = "#ffffff"
'### NAVIGATION / MENUE
'# Produkte / Products / TOP n_produkte = "Ürün Kategorileri"
'# Warenkorb / Basket / TOP n_basket = "Alışveriş Sepeti"
'# Warenkorb / Basket / SUB n_basket1 = "Sepetinizdeki Ürün Miktarı"
'# Warenkorb leer / basket empty n_basket2 = "Alışveriş Sepetiniz Boş"
'# Info / TOP n_info = "Danışma Bölümü"
'# Info / SUB n_info1 = "Nasıl Alışveriş Yapabilirim?"
'### SHOP
'# Produkt in den Warenkorb legen / Add produkt s_add_product = "<img src='images/Buton_SepeteEkle.gif' border='0'"
'# Kein Produkt in dieser Rubrik / no product in this menue s_no_product = "Bu kategori altında satılan ürün bulunmamaktadır"
'### WARENKORB / ORDER SITE
'# BestellFormular Überschrift / orderform title l_title = "SİPARİŞ FORMU"
'# TEXT über dem BestellMail / TEXT below the order form (HTML is allowed) l_text = "Mağazamızdan alışveriş yaptığınız için teşekkür ederiz.<br>En kısa sürede Satış Departmanımız sizinle irtibata geçecektir.<br>Lütfen Tüm bölümleri doldurunuz."
'# Felder im Warenkorb / fields in basket-list
'# Anzahl / items l_list1 = "Miktarı"
'# Artikelnummer / number l_list2 = "Ürün Kodu"
'# Artikelbezeichnung / productname l_list3 = "Ürün Cinsi"
'# Einzelpreis / Price (per Item) l_list4 = "Birim Fiyatı"
'# Gesamtpreis / price l_list5 = "Toplam Fiyat"
'# gesamtpreis der Bestellung / All in all price l_list6 = "Alışveriş Toplamı (KDV Dahil)"
'# Währung / money l_list7 = " YTL"
'### Feldbeschreibungen Bestell Mail/ Fieldnames order mail '# Name l_name = "Adınız & Soyadınız"
'# Land / country l_country = "Ülke"
'# Stadt / city l_city = "Şehir"
'# Strasse / street l_street = "Adres"
'# Telefon / phone l_phone = "Telefon No"
'# Mail l_mailadress = "Mail"
'# Kreditkarten Art / card type l_card_type = "Kredi Kartı Tipi"
'# Kreditkarten Nummer / card Number l_card_number = "Kredi Kartı Numarası"
'# Kreditkarte Ablaufdatum / card expiration date l_card_expiration_date = "Ablaufdatum"
'# Kommentar / comment l_comment = "Diyecekleriniz"
'# Bestellung absenden Button / send order button l_button ="Gönder"
'# Text der nach dem Abschicken der Bestellung erscheint / oder bei einem Fehler '# Text that will be showed after a order was sent / or if there is an error l_sendtext = "<center> <p><b>Siparişiniz alınmıştır...<br></b>Siparişinizin onaylanması için aşağıdaki hesaba ödeme Yapınız..<br><br><b>HESAP BİLGİLERİMİZ</b><br>Garanti Bankası Kuşadası şb(307)<br>Hes.No:<b>6686177</b><br> Volkan Ergençiçeği.</p>" l_nosendtext = "Lütfen formu eksiksiz doldurunuz!<br><br>"
'### Titel & Text der Startseite / Title and text for the front page '# hier können Sie einen Willkommenstext, Ihre Adresse oder ähnliche Informationen einfügen. (HTML ist erlaubt!) '# Here you can add a welcome message and other things (HTML is allowed).
start_title = "Sanal Mağazamıza Hoşgeldiniz" start_body = "<br>İstediğiniz bilgiye ulaşamadıysanız lütfen bize <a href='http://www.kusadasinet.net/message.asp '>MESAJ HEDEFE</a> servisimiz aracılığı ile ulaşın.<br>Unutmayınız ki mesaj yoluyla bizlere iletilen destek talepleriniz konunun yetkilisine direk ulaştığından<br> telefon aracılığıyla ilettiğiniz taleplerden daha süratli değerlendirilmekte ve yanıtlanmaktadır.<br>Hizmet kalitemizi artırmak ve efestech.com servislerini daha faydalı kılmak için <br>alışverişlerinizle ilgili öneri, istek ve şikayetlerinizi <br>değerlendirmek bizim için çok önemli...<br><br><b>AlışVeriş sepetiniz</b><br><br>EfesTECH.com'da yaptığınız alışveriş sırasında seçtiğiniz ürünleri sakladığınız bölümdür.<br> Alınan ürünlere ve ödemelere ilişkin tüm bilgiler ödeme aşamasında topluca değerlendirilmek üzere buraya kaydedilir.<br> Alışveriş arabanızı herhangi bir süpermarketten tanıdığınız geleneksel alışveriş arabasına benzetebilirsiniz. <br><br>İyi Alışverişler<br>EfesTECHNOLOGY<br><br>< br><center><img src='images/efestech.jpg'><br><br><br>& lt;br>Çok yakında Kredi kartı ile satışlarımız başlayacaktır..<br><br><br><br><b r><br><img src='pics/alt.gif'>"
'### Titel & Text der Info Rubrik / Title and text for the info side '# hier können Sie spezielle Informationen, Ihre Adresse oder ähnliche Informationen einfügen. (HTML ist erlaubt!) '# Here you can add spezial information, your adress and other things (HTML is allowed).
info_title = "Nasıl Alışveriş Yapabilirim" info_body = "Sol tarafta bulunan kategorilerden istediğiniz ürünleri Sepetinize ekleyiniz...<br>Sipariş Formunu Eksiksiz doldurarak siparişinizi veriniz<br><br>Ödemeniz hesabımıza geçtikten hemen sonra <br>Ürünler adresinize teslim edilecektir"
%>
//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////////////////
Bu da Send. asp
<!-- #include file="rehber.asp" --> <!-- #include file="config.asp" --> <!-- #include file="umbruch.asp" --> <!-- #include file="top.asp" --> <% r = request.querystring("r") if len(r)<1 then r=-1 s = request.querystring("s") if len(s)<1 then s = 0 s=s*10
dim rubriken(100,4)
set db = Server.CreateObject("ADODB.Connection") connect="Driver={Microsoft Access Driver (*.mdb)}; DBQ="& server.mappath("habervt.mdb") db.Open connect
sql = "select rubrik, id, parent, rank from rubriken order by rank" set rs = db.Execute(sql) while not rs.eof if i<100 then rubriken(i,0) = rs("rubrik") rubriken(i,1) = rs("parent") rubriken(i,2) = rs("id") rubriken(i,3) = rs("rank") end if i=i+1 rs.movenext wend arrayLaenge=i-1
Function show_search(parent1, ebene) if parent1 <> vbNullString then for t = 0 to arrayLaenge if rubriken(t,1) = parent1 then
platzhalter="" for x= 0 to ebene platzhalter = platzhalter & " " next
if ebene = 0 then zusatz = "<b>" zusatz1 = "</b>" end if response.write( platzhalter & "<a class='text' href='defaultx.asp?r="&rubriken(t,2)&"'>" & zusatz & rubriken(t,0) & zusatz1 & "</a><br>" & chr(13)) parent2 = rubriken(t,2) ebene1 = ebene +1 show_search parent2, ebene1 end if next end if end function
sqlZusatz="" Function show_c(parent3) for t = 0 to arrayLaenge if cint(rubriken(t,1)) = cint(parent3) then parent4 = rubriken(t,2) sqlZusatz = sqlZusatz & " or rubrik = " & parent4 show_c parent4 end if next end function
show_c r %> <link href="styles.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- .style1 {color: #FF9900} .style2 {color: #009900} .style3 {color: #006699; font-weight:normal} .footer a { font-size: 10px; font-weight: normal; color: #006699; } .style4 {color: #FFFFFF} --> </style> </head> <body> <center> <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="table_br" height="190" style="border-collapse: collapse" bordercolor="#111111" width="778"> <!--DWLayoutTable--> <tr> <td rowspan="7" valign="top" height="1" width="14"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="14" height="756"> </td> </tr> <tr> <td height="1"><img src="images/spacer.gif" alt="" width="14" height="1" /></td> </tr> </table></td> <td colspan="4" valign="top" height="14" width="762"> </td> </tr> <tr> <td valign="top" height="1" width="202"> <table width="100%" border="0" cellpadding="0" cellspacing="0" height="88"> <!--DWLayoutTable--> <tr> <td width="202" height="26" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile"> <!--DWLayoutTable--> <tr> <td width="24" height="26" valign="top"><img src="images/left.gif" width="24" height="26" /></td> <td width="156" valign="top" class="heading"> Üye Girişi </td> <td width="17" valign="top"><img src="images/right.gif" width="22" height="26" /></td> </tr> </table></td> </tr> <tr> <td height="43" valign="top" class="box"> <br /> <table width="100%" style="padding:10" height="13"> <tr> <td width="90%" rowspan="2" height="9"> <p align="center"><!-- #include file="panel.asp" --> </td> </tr> <tr> </form> </tr> </table> </td> </tr> <tr> <td height="19" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile"> <!--DWLayoutTable--> <tr> <td width="21" height="19" valign="top"><img src="images/left_bot.gif" width="27" height="19" /></td> <td width="175" valign="top" class="tile_bot"><div align="right"><img src="images/right_bot.gif" width="22" height="19" /></div></td> </tr> </table></td> </tr> </table></td> <td rowspan="6" valign="top" height="1" width="11"> <table width="10" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="11" height="718"> </td> </tr> <tr> <td height="1" width="11"><img src="images/spacer.gif" alt="" width="11" height="1" /></td> </tr> </table></td> <td rowspan="3" valign="top" height="1" width="535"><table width="100%" border="0" cellpadding="0" cellspacing="0"> <!--DWLayoutTable--> <tr> <td width="535" height="26" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile" style="border-collapse: collapse" bordercolor="#111111"> <!--DWLayoutTable--> <tr> <td width="24" height="26" valign="top"><img src="images/left.gif" width="24" height="26" /></td> <td width="489" valign="top" class="heading"> Efestech Alışveriş </td> <td width="12" valign="top"><img src="images/right.gif" width="22" height="26" /></td> </tr> </table> <p align="center"></td> </tr> </table> <div align="center"> <center> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" id="AutoNumber1" width="487"> <tr> <td width="487" height="120" valign="top"><%=lsn(14)%></td> </tr> </table> </center> </div> </td> <td valign="top" height="1" width="14"> </td> </tr> <tr> <td valign="top" height="1" width="202"> </td> </tr> <tr> <td rowspan="4" valign="top" height="240" width="202"> <table width="100%" border="0" cellpadding="0" cellspacing="0" height="84"> <!--DWLayoutTable--> <tr> <td width="202" height="26" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile"> <!--DWLayoutTable--> <tr> <td width="24" height="26" valign="top"><img src="images/left.gif" width="24" height="26" /></td> <td width="156" valign="top" class="heading"> Kategoriler </td> <td width="17" valign="top"><img src="images/right.gif" width="22" height="26" /></td> </tr> </table></td> </tr> <tr> <td height="42" valign="top" class="box2" align="left" ><table class="category" width="200" border="0" cellspacing="10" align="left"> <tr> <td> </a><%show_search 0,0%></td> </tr> </table></td> </tr> <tr> <td height="19" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile_bot"> <!--DWLayoutTable--> <tr> <td width="26" height="19" valign="top"><img src="images/left_bot.gif" width="27" height="19" /></td> <td width="175" valign="top"><div align="right"><img src="images/right_bot.gif" width="22" height="19" /></div><div align="right"> </div></td> </tr> </table></td> </tr> <tr> <td width="202" height="26" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile"> <!--DWLayoutTable--> <tr> <td width="24" height="26" valign="top"><img src="images/left.gif" width="24" height="26" /></td> <td width="156" valign="top" class="heading"> Sepet </td> <td width="17" valign="top"><img src="images/right.gif" width="22" height="26" /></td> </tr> </table></td> </tr> <tr> <td height="42" valign="top" class="box2" align="left" ><table class="category" width="200" border="0" cellspacing="10" align="left"> <tr> <td><%if (session("items"))>-1 then %><a class="text" href="sepet.asp"><%=n_basket1%> <p align="center"> <img border="0" src="images/sepet.gif"></a> <%else%> <%=n_basket2%> <%end if%></td> </tr> </table></td> </tr> <tr> <td height="19" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="0" class="tile_bot"> <!--DWLayoutTable--> <tr> <td width="26" height="19" valign="top"><img src="images/left_bot.gif" width="27" height="19" /></td> <td width="175" valign="top"><div align="right"><img src="images/right_bot.gif" width="22" height="19" /></div></td> </tr> </table></td> </tr> <tr> <td height="1"></td> </tr> </table></td> </tr> <tr> <td valign="top" colspan="2" height="419" width="549"> <% ok = 0 if m_name = true then orderPerson = OrderPerson & l_name & ": " & checkField(request.form("m_name")) & chr(10) & chr(13) if m_city = true then orderPerson = OrderPerson & l_city & ": " & checkField(request.form("m_city")) & chr(10) & chr(13) if m_street = true then orderPerson = OrderPerson & l_street & ": " & checkField(request.form("m_street"))& chr(10) & chr(13) if m_country = true then orderPerson = OrderPerson & l_country & ": " & checkField(request.form("m_country"))& chr(10) & chr(13) if m_phone = true then orderPerson = OrderPerson & l_phone & ": " & checkField(request.form("m_phone"))& chr(10) & chr(13) if m_mailadress = true then orderPerson = OrderPerson & l_mailadress & ": " & checkField(request.form("m_mailadress"))& chr(10) & chr(13) if m_card_type = true then orderPerson = OrderPerson & l_card_type & ": " & checkField(request.form("m_card_type"))& chr(10) & chr(13) if m_card_number = true then orderPerson = OrderPerson & l_card_number & ": " & checkField(request.form("m_card_number"))& chr(10) & chr(13) if m_card_expiration_date = true then orderPerson = OrderPerson & l_card_expiration_date & ": " & checkField(request.form("m_card_expiration_date"))& chr(10) & chr(13) if m_comment = true then orderPerson = OrderPerson & l_comment & ": " & checkField(request.form("m_comment"))& chr(10) & chr(13)
if ok = 0 then warenkorb = session("warenkorb") if isArray(warenkorb) then i = session("items") mailText = mailText & chr(13) & chr(10) & chr(13) & chr(10) mailText = mailText & orderPerson & chr(13) & chr(10) mailtext = mailText & "----------------------------------------" & chr(13) & chr(10) for t = o to i if (warenkorb(t,0)) <> "" then gesamt_artikel = + warenkorb(t,0) * warenkorb(t,2) gesamt = FormatNumber(gesamt + gesamt_artikel,2,,-2) mailText = mailText & l_list1 & " : " & warenkorb(t,0) & chr(13)& chr(10) mailText = mailText & l_list2 & " : " & warenkorb(t,3) & chr(13)& chr(10) mailText = mailText & l_list3 & " : " & warenkorb(t,4) & chr(13)& chr(10) mailText = mailText & l_list4 & " : " & FormatNumber(warenkorb(t,2),2,,-2) & chr(13)& chr(10) mailtext = mailtext & l_list5 & " : " & FormatNumber(gesamt_artikel,2,,-2)& chr(13) & chr(10) mailtext = mailText & "----------------------------------------" & chr(13) & chr(10) end if next mailtext = mailText & "========================================" & chr(13) & chr(10) mailtext = mailtext & l_list6 & " : " & FormatNumber(gesamt,2,,-2)
if mail_component = "jmail" then Set JMail = Server.CreateObject("JMail.SMTPMail") JMail.ServerAddress = mail_host & ":25" JMail.Sender = mail_sender JMail.Subject = mail_subject JMail.addrecipient mail_empfaenger JMail.Body = mailText JMail.AddHeader "Originating-IP", Request.ServerVariables("REMOTE_ADDR") JMail.Execute Set JMail = nothing session.abandon else Set Mailer = CreateObject("CDONTS.NewMail") Mailer.MailFormat = 0 Mailer.BodyFormat = 1 Mailer.From = mail_sender Mailer.To = mail_empfaenger Mailer.Subject = mail_subject Mailer.Body = mailText Mailer.Send Set Mailer= Nothing end ifend if end if %> <table width="100" border="0" cellpadding="0" cellspacing = "0" bgcolor="#000000"> <tr><td bgcolor="#FFFFFF"> <div align="center"> <center> <table border="0" cellpadding="2" cellspacing="0" width="538" class="text" style="border-collapse: collapse" bordercolor="#111111"> <tr bgcolor="<%=color2%>"> <td width="534" align="center" height="51"><font color="#FF0000" size="4"><b>Tebrikler..!!</b></font>< ;/td> </tr>
<tr bgcolor="<%=color2%>"> <td width="534" align="left" height="84"> <%if ok = 0 then %><b><font size="4" color="#C32231"> <%=l_sendtext%> <%else%> <%=l_nosendtext%> </font></b><b><font size="4" color="#C32231"> <br></font></b><center><a class="text" href="javascript:history.go(-1);"><b> <font size="4" color="#C32231">Geri</font></b></a>< /center> <%end if%></td> </tr>
</table> </center> </div> </td></tr></table> </td> </tr> </table> </td> </tr> </table>
<br> <center> </center> <% rs.close db.close set rs = nothing set db = nothing Erase rubriken %><br> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="68%" id="AutoNumber2" height="58"> <tr> <td width="46%" height="26" background="images/tile.gif"> <b>::</b& gt; <%=lsn(33)%></td> <td width="7%" rowspan="2" height="58"> </td> <td width="47%" height="26" background="images/tile.gif"> <b>::</b& gt; <%=lsn(6)%></td> </tr> <tr> <td width="46%" height="32" valign="top"><%=lsn(2)%></td> <td width="47%" height="32" valign="top"><%=lsn(7)%></td> </tr> </table> <p><br></td> </tr> <tr> <td height="20" valign="top" width="536"> <table width="788" border="0" cellpadding="0" cellspacing="0" class="tile_bot"> <!--DWLayoutTable--> <tr> <td width="46" height="19" valign="top"><img src="images/left_bot.gif" width="27" height="19" /></td> <td width="836"> </td> <td width="21" valign="top"><img src="images/right_bot.gif" width="22" height="19" /></td> </tr>
<tr> <td height="1" width="46"><img src="images/spacer.gif" alt="" width="27" height="1" /></td> <td width="836"></td> <td width="21"></td> </tr> </table></td> <td height="20" width="15"></td> </tr> <tr> <td height="12" class="trans" width="536"><a href="http://frexy.com" title="Frexy Design Studios">www.frexy.com</a></td> <td height="12" width="15"></td> </tr>
<tr> <td height="1" width="14"></td> <td height="1" width="202"></td> <td height="1" width="11"></td> <td height="1" width="536"></td> <td height="1" width="15"></td> </tr> <tr> <td height="33" colspan="5" valign="top" width="778"><table width="778" border="0" cellpadding="0" cellspacing="0" class="footer">
<tr> <!-- Copyright notice, do not remove this --> <td width="20%" height="33" valign="middle"><div align="left"><img src="images/logo.gif" alt="Frexy Studios" width="33" height="30" border="0" align="left" longdesc="http://frexy.com" /> <a title="Frexy Design Studios" target="_blank" href="http://www.efestech.com/"><span class="style3">Designed by</span><br /> <span class="style1">EfesTECH</span></a></div> ;</td><!-- End of copyright notice --> <td width="80%" height="33"><div align="right"><a href="#">Anasayfa </a>| <a href="#"> Ürünler</a> | <a href="#">Hakkımızda</a> | <a href="#">S.S.S</a> | <a href="javascript:void window.open('iletisim.asp','','width=355,height=450,scrollba rs=0')">Mesaj</a> | <a href="#">Sepet </a>| <a href="#">Ödeme</a> |<a href="register.asp"> Kayıt</a> </div></td> </tr> </table></td> </tr> </table> </center> <map name="Map" id="Map"> <area href="members/register.asp" shape="rect" coords="644, 108, 754, 173"> <area href="javascript:void window.open('iletisim.asp','','width=355,height=450,scrollba rs=0')" shape="rect" coords="515, 108, 625, 168"> <area href="sepet.asp" shape="rect" coords="550, 4, 648, 31"> <area href="http://www.efestech.com/" shape="rect" coords="6, 10, 276, 69"> </map> </body> </html>
//////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////// //////////////////////////////////
|