ÿþ<%@ Page Language="VB" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <script runat="server"> Function Send_Email(ByVal sender As String, ByVal recepient As String, ByVal subject As String, ByVal message As String) As Boolean Send_Email(sender, recepient, subject, message, "Old website") End Function Function Send_Email(ByVal sender As String, ByVal recepient As String, ByVal subject As String, ByVal message As String, ByVal Email_WebSite As String) As Boolean sender = sender.Replace("'", ".").Replace("""", ".").Replace("[", ".").Replace("]", ".") recepient = recepient.Replace("'", ".").Replace("""", ".").Replace("[", ".").Replace("]", ".") subject = subject.Replace("'", ".").Replace("""", ".").Replace("[", ".").Replace("]", ".") message = message.Replace("'", ".").Replace("""", ".").Replace("[", ".").Replace("]", ".") Email_WebSite = Email_WebSite.Replace("'", ".").Replace("""", ".").Replace("[", ".").Replace("]", ".") Dim sel_str11 As String Dim Email As New System.Net.Mail.MailMessage(sender, recepient) Email.Subject = subject Email.Body = message Dim mailClient As New System.Net.Mail.SmtpClient() 'This object stores the authentication values Dim basicAuthenticationInfo As _ New System.Net.NetworkCredential("", "") 'Put your own, or your ISPs, mail server name onthis next line mailClient.Host = "" mailClient.Port = "" mailClient.UseDefaultCredentials = False mailClient.Credentials = basicAuthenticationInfo Try mailClient.Send(Email) Catch ex As Exception Return False End Try Return True End Function Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim Email_From As String = "info@hotelvillaviel.com" Dim Email_To As String = "e_gogova@abv.bg" Dim Email_Subject As String = "Reservation - BG - HotelVillaViel.com" Dim Email_Body As String = "" & _ "At " + DateTime.Now + " feedback was sent from the website form" & _ ". Below you will find the feedback message." & vbCrLf & vbCrLf & _ "---------------------------------------" & vbCrLf & vbCrLf & _ "<5: " & TB_Name.Text & vbCrLf & vbCrLf & _ "Email: " & TB_Email.Text & vbCrLf & vbCrLf & _ "4@5A: " & TB_Address.Text & vbCrLf & vbCrLf & _ ""5;5D>=: " & TB_Phone.Text & vbCrLf & vbCrLf & _ "J7@0AB=8: " & TB_Adults.Text & vbCrLf & vbCrLf & _ "5F0: " & TB_Childrents.Text & vbCrLf & vbCrLf & _ "@8AB830=5: " & DDL_arrival_day.SelectedValue.ToString & "." & DDL_arrival_month.SelectedValue.ToString & "." & DDL_arrival_year.SelectedValue.ToString & vbCrLf & vbCrLf & _ "0<8=020=5: " & DDL_departure_day.SelectedValue.ToString & "." & DDL_departure_month.SelectedValue.ToString & "." & DDL_departure_year.SelectedValue.ToString & vbCrLf & vbCrLf & _ "><5=B0@: " & TB_Comentar.Text & vbCrLf Send_Email(Email_From, Email_To, Email_Subject, Email_Body, Request.Url.Host.ToLower.Replace("www.", "")) Response.Redirect("thanks.html") End Sub Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Dim Email_From As String = "info@hotelvillaviel.com" Dim Email_To As String = "e_gogova@abv.bg" Dim Email_Subject As String = "Feedback - BG - HotelVillaViel.com" Dim Email_Body As String = "" & _ "At " + DateTime.Now + " feedback was sent from the website form" & _ ". Below you will find the feedback message." & vbCrLf & vbCrLf & _ "---------------------------------------" & vbCrLf & vbCrLf & _ "<5: " & TB_Name2.Text & vbCrLf & vbCrLf & _ "Email: " & TB_Email2.Text & vbCrLf & vbCrLf & _ "4@5A: " & TB_Address2.Text & vbCrLf & vbCrLf & _ ""5;5D>=: " & TB_Phone2.Text & vbCrLf & vbCrLf & _ "J?@>A: " & TB_Message.Text & vbCrLf Send_Email(Email_From, Email_To, Email_Subject, Email_Body, Request.Url.Host.ToLower.Replace("www.", "")) Response.Redirect("thanks.html") End Sub </script> <html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>hotelVillaViel.com - Hotel Plovdiv</title> <meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> <meta name="description" content="Hotel Viel - Hotel Plovdiv" /> <meta name="keywords" content="E>B5;, E>B5; ;>2482, ;>2482, E>B5; - ;>2482, " /> <meta name="robots" content="index,follow" /> <meta name="GOOGLEBOT" content="index,follow" /> <link href="style.css" rel="stylesheet" type="text/css" /> <script language="JavaScript" type="text/JavaScript"> function load_content () { if (parent.document.getElementById('main_div')) { parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML; } if (!parent.document.getElementById('main_div')) { window.location=('index.html') ; } } </script> </head> <body onload="load_content()"> <div id="inner_frame"> <form id="form1" runat="server" target="cont" > <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:345px; "> <tr> <td><img src="images/spacer.gif" width="5" height="1" alt="" /></td> <td height="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;"> <tr> <td> <table width="257px" cellpadding="0" cellspacing="0" border="0" style="height:100%;"> <tr><td><img src="images/t_rezervacii1.gif" alt="" /></td></tr> <tr><td height="100%"> <table cellpadding="0" cellspacing="0" border="0" style="width:100% ; height:100%; "> <tr bgcolor="#36482B"> <td><img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td height="100%" width="100%" style="padding-top:17px; "><img src="images/spacer.gif" width="1" height="256" align="right" alt="" style="margin:0px 0px 0px 24px;" /> >65 40 87?>;720B5 D>@<C;O@0 70 40 =0?@028B5 @575@20F8O. !;54 :0B> ?>;CG8< 70?8B20=5B> 2 @0<:8B5 =0 24 G0A0, I5 A5 A2J@65< A 20A 70 40 ?>B@J@48< @575@20F8OB0. <br /> <br /> <table cellpadding="0" cellspacing="0" border="0" class="cl_2_1"> <tr> <td width="100%" style="padding-top:2px;"> 20H5B> 8<5:</td> <td style="width: 149px"> <asp:TextBox ID="TB_Name" class="input_1" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;">e-mail:</td> <td style="width: 149px"> <asp:TextBox ID="TB_Email" class="input_1" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px; height: 26px;"> 04@5A:</td> <td style="height: 26px; width: 149px;"> <asp:TextBox ID="TB_Address" class="input_1" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;"> B5;5D>=:</td> <td style="width: 149px"> <asp:TextBox ID="TB_Phone" runat="server" class="input_1"></asp:TextBox></td> </tr> <tr> <td width="100%"style="padding-top:2px;"> 2J7@0AB=8:</td> <td style="width: 149px"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td> <asp:TextBox ID="TB_Adults" class="input_1_1" runat="server"></asp:TextBox></td> <td align="right" style="padding:2px 4px 0px 29px;"> 45F0:</td> <td align="right"> <asp:TextBox ID="TB_Childrents" class="input_1_2" runat="server"></asp:TextBox></td> </tr> </table> </td> </tr> <tr> <td width="100%"style="padding-top:2px;"> ?@8AB830=5:</td> <td style="width: 149px"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td> <asp:DropDownList ID="DDL_arrival_day" runat="server"> <asp:ListItem>01</asp:ListItem> <asp:ListItem>02</asp:ListItem> <asp:ListItem>03</asp:ListItem> <asp:ListItem>04</asp:ListItem> <asp:ListItem>05</asp:ListItem> <asp:ListItem>06</asp:ListItem> <asp:ListItem>07</asp:ListItem> <asp:ListItem>08</asp:ListItem> <asp:ListItem>09</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>11</asp:ListItem> <asp:ListItem>12</asp:ListItem> <asp:ListItem>13</asp:ListItem> <asp:ListItem>14</asp:ListItem> <asp:ListItem>15</asp:ListItem> <asp:ListItem>16</asp:ListItem> <asp:ListItem>17</asp:ListItem> <asp:ListItem>18</asp:ListItem> <asp:ListItem>19</asp:ListItem> <asp:ListItem>20</asp:ListItem> <asp:ListItem>21</asp:ListItem> <asp:ListItem>22</asp:ListItem> <asp:ListItem>23</asp:ListItem> <asp:ListItem>24</asp:ListItem> <asp:ListItem>25</asp:ListItem> <asp:ListItem>26</asp:ListItem> <asp:ListItem>27</asp:ListItem> <asp:ListItem>28</asp:ListItem> <asp:ListItem>29</asp:ListItem> <asp:ListItem>30</asp:ListItem> <asp:ListItem>31</asp:ListItem> </asp:DropDownList></td> <td width="100%" align="center"> <asp:DropDownList ID="DDL_arrival_month" runat="server"> <asp:ListItem>01</asp:ListItem> <asp:ListItem>02</asp:ListItem> <asp:ListItem>03</asp:ListItem> <asp:ListItem>04</asp:ListItem> <asp:ListItem>05</asp:ListItem> <asp:ListItem>06</asp:ListItem> <asp:ListItem>07</asp:ListItem> <asp:ListItem>08</asp:ListItem> <asp:ListItem>09</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>11</asp:ListItem> <asp:ListItem>12</asp:ListItem> </asp:DropDownList></td> <td> <asp:DropDownList style="width:50px" ID="DDL_arrival_year" runat="server"> <asp:ListItem>2006</asp:ListItem> <asp:ListItem>2007</asp:ListItem> <asp:ListItem>2008</asp:ListItem> <asp:ListItem>2009</asp:ListItem> <asp:ListItem>2010</asp:ListItem> </asp:DropDownList> </td> </tr> </table> </td> </tr> <tr> <td width="100%"style="padding-top:2px;" nowrap> 70<8=020=5:</td> <td style="width: 149px"> <table cellpadding="0" cellspacing="0" border="0" width="100%"> <tr> <td> <asp:DropDownList ID="DDL_departure_day" runat="server"> <asp:ListItem>01</asp:ListItem> <asp:ListItem>02</asp:ListItem> <asp:ListItem>03</asp:ListItem> <asp:ListItem>04</asp:ListItem> <asp:ListItem>05</asp:ListItem> <asp:ListItem>06</asp:ListItem> <asp:ListItem>07</asp:ListItem> <asp:ListItem>08</asp:ListItem> <asp:ListItem>09</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>11</asp:ListItem> <asp:ListItem>12</asp:ListItem> <asp:ListItem>13</asp:ListItem> <asp:ListItem>14</asp:ListItem> <asp:ListItem>15</asp:ListItem> <asp:ListItem>16</asp:ListItem> <asp:ListItem>17</asp:ListItem> <asp:ListItem>18</asp:ListItem> <asp:ListItem>19</asp:ListItem> <asp:ListItem>20</asp:ListItem> <asp:ListItem>21</asp:ListItem> <asp:ListItem>22</asp:ListItem> <asp:ListItem>23</asp:ListItem> <asp:ListItem>24</asp:ListItem> <asp:ListItem>25</asp:ListItem> <asp:ListItem>26</asp:ListItem> <asp:ListItem>27</asp:ListItem> <asp:ListItem>28</asp:ListItem> <asp:ListItem>29</asp:ListItem> <asp:ListItem>30</asp:ListItem> <asp:ListItem>31</asp:ListItem> </asp:DropDownList></td> <td width="100%" align="center"> <asp:DropDownList ID="DDL_departure_month" runat="server"> <asp:ListItem>01</asp:ListItem> <asp:ListItem>02</asp:ListItem> <asp:ListItem>03</asp:ListItem> <asp:ListItem>04</asp:ListItem> <asp:ListItem>05</asp:ListItem> <asp:ListItem>06</asp:ListItem> <asp:ListItem>07</asp:ListItem> <asp:ListItem>08</asp:ListItem> <asp:ListItem>09</asp:ListItem> <asp:ListItem>10</asp:ListItem> <asp:ListItem>11</asp:ListItem> <asp:ListItem>12</asp:ListItem> </asp:DropDownList></td> <td> <asp:DropDownList style="width:50px" ID="DDL_departure_year" runat="server"> <asp:ListItem>2006</asp:ListItem> <asp:ListItem>2007</asp:ListItem> <asp:ListItem>2008</asp:ListItem> <asp:ListItem>2009</asp:ListItem> <asp:ListItem>2010</asp:ListItem> </asp:DropDownList> </td> </tr> </table> </td> </tr> <tr> <td width="100%" style="padding-top:2px;"> :><5=B0@:</td> <td style="width: 149px"> <asp:TextBox ID="TB_Comentar" class="textarea_1" runat="server" TextMode="MultiLine"></asp:TextBox></td> </tr> <tr> <td width="100%" style="height:1px;"><img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td align="right" style="height:1px; width: 149px;"><div align="right" style="padding:5px 0px 0px 0px; "><img src="images/read.gif" align="middle" alt="" style="margin:0px 4px 0px 27px;"> <asp:Button ID="Button1" runat="server" Text="7?@0B8" OnClick="Button1_Click" Width="57px" />&nbsp;</div></td> </tr> </table> </td> <td><img src="images/spacer.gif" width="1" height="1" alt="" /></td> </tr> <tr> <td><img src="images/box_0_1_b_l.gif" alt="" /></td> <td style="background:url(images/box_0_1_bg_b.gif) left top repeat-x; "><img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td><img src="images/box_0_1_b_r.gif" alt="" /></td> </tr> </table> </td></tr> </table> </td> <td><img src="images/spacer.gif" width="7" height="1" alt="" /></td> <td> <table width="241px" cellpadding="0" cellspacing="0" border="0" style="height:100%;"> <tr><td><img src="images/t_vyprosi.gif" alt="" /></td></tr> <tr><td height="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;"> <tr bgcolor="#36482B"> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td width="100%" height="100%" style="padding:16px 0px 0px 0px; "> 0 2AO:0:28 2J?@>A8 <>65 40 87?>;720B5 D>@<C;O@0 >B4>;C. 0H8OB 5:8< A @04>AB I5 >B3>2>@8 =0 20H5B> 70?8B20=5. <br style=" line-height:1px;"><br style=" line-height:8px;"> <table cellpadding="0" cellspacing="0" border="0" class="cl_2_1"> <tr> <td width="100%" style="padding-top:2px;"> 20H5B> 8<5:</td> <td> <asp:TextBox ID="TB_Name2" class="input_2" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;">e-mail::</td> <td> <asp:TextBox ID="TB_Email2" class="input_2" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;"> 04@5A:</td> <td> <asp:TextBox ID="TB_Address2" class="input_2" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;"> B5;5D>=:</td> <td> <asp:TextBox ID="TB_Phone2" class="input_2" runat="server"></asp:TextBox></td> </tr> <tr> <td width="100%" style="padding-top:2px;"> 2J?@>A:</td> <td> <asp:TextBox ID="TB_Message" class="textarea_2" runat="server" TextMode="MultiLine"></asp:TextBox></td> </tr> <tr> <td width="100%" style="height:1px;"><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td align="right" style="height:1px;"><div align="right" style="padding:5px 0px 0px 0px; "><img src="images/read.gif" align="middle" alt="" style="margin:0px 4px 0px 27px;"><asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="87?@0B8" Width="57px" /></div></td> </tr> </table> </td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td><img src="images/box_0_1_b_l.gif" alt=""></td> <td class="bg_box_bottom"><img src="images/spacer.gif" width="4" height="1" alt=""></td> <td class="bg_box_bottom"><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td class="bg_box_bottom"><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td><img src="images/box_0_1_b_r.gif" alt=""></td> </tr> </table> </td></tr> </table> </td> <td><img src="images/spacer.gif" width="8" height="1" alt=""></td> <td style="padding:0px 2px 0px 0px; "> <table width="241px" cellpadding="0" cellspacing="0" border="0" style="height:100%;"> <tr><td><img src="images/t_vryzka.gif" alt=""></td></tr> <tr><td height="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:100%;"> <tr bgcolor="#36482B"> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> <td width="100%" height="100%" style="padding:18px 0px 0px 0px; "> <table border="0" width="160"> <tr><td colspan="2" style="height: 14px"><h3>%>B5; VillaViel</h3></td></tr> <tr><td colspan="2"> ;>2482, A. >9:>2> <br style=" line-height:1px;"> </td></tr> <tr> <td>"5;5D>=:</td> <td><strong>03108/2266</strong></td> </tr> <tr> <td> 5F5?F8O:</td> <td><strong>03108/2260</strong></td> </tr> <tr> <td></td> <td><strong>0888 020 888</strong></td> </tr> <tr> <td>E-mail:</td> <td><strong>info@HotelVillaViel.com</strong></td> </tr> </table><br style=" line-height:1px;"><br style=" line-height:11px;"> <br style=" line-height:8px;"> <strong>5AB>?>;>65=85:</strong><br> <br /> %>B5; VillaViel A5 =0<8@0 2 54=> >B =09 - 682>?8A=8B5 :JBG5B0 =0 >4>?8B5, =0 1100 <. =04<>@A:0 28A>G8=0, 0 A0<> =0 23 :<. >B 4@52=8O 3@04 ;>2482.&nbsp; <br /> <strong> <br /> 0@B0:</strong><br> <center> &nbsp;</center> <center> <a href="images/karta1.JPG" onclick="var theWindow = window.open(this.href, 'popupwindow','left = 100,top = 100,width=820,height=620,scrollbars=0,resizable=0'); theWindow.focus();return false;"><img alt="" src="images/karta.JPG" style="border-width: 0px;" /></a> </center> </td> <td><img src="images/spacer.gif" width="1" height="1" alt=""></td> </tr> <tr> <td><img src="images/box_0_1_b_l.gif" alt=""></td> <td class="bg_box_bottom"><img src="images/spacer.gif" width="6" height="1" alt="" /></td> <td class="bg_box_bottom"><img src="images/spacer.gif" width="1" height="1" alt="" /></td> <td><img src="images/box_0_1_b_r.gif" alt="" /></td> </tr> </table> </td></tr> </table> </td> </tr> </table> </td> <td style="width: 6px"><img src="images/spacer.gif" width="5" height="1" alt="" /></td> </tr> </table> </form> </div> </body> </html>