Dashboard
PHP:
8.3.33
OS:
Linux
User:
ajstan55
/
/
home3
/
ajstan55
/
public_html
/
mechanicreviews.org
/
old_site
π€ Upload
π New File
π New Folder
Close
Editing: ReviewDetails.asp
<% If Session("LoggedIn") = False then 'response.redirect("http://www.mechanic-review.com/Register.php") end if%> <%'Set objCDOMessage = Server.CreateObject("CDONTS.NewMail") 'This create's the Mail Object ' objCDOMessage.From = "webmaster@mechanic-review.com" ' the address listed as "From" ' objCDOMessage.To = "webmaster@mechanic-review.com" ' the address listed as "To" ' objCDOMessage.Subject = "A new visitor has visited mechanic-review.com/ReviewDetails.php Shop_Id=" & Request("Shop_Id") ' specify the subject header ' objCDOMessage.Body = "Visitor Details " & vbcrlf & vbcrlf &_ ' "IP: " & Request.ServerVariables("REMOTE_ADDR") & vbcrlf &_ ' "Referer: " & Request.ServerVariables("HTTP_REFERER") & vbcrlf &_ ' "Visit Time: " & Date & " " & Time ' objCDOMessage.Send %> <!--#include file="includes/adovbs.inc"--> <% strpage = "ReviewDetails" SQL = "Select * From MechanicReviews WHERE AutoNumber=" & Request("Shop_Id") & "" %> <!--#include file="includes/DBConnection.php"--> <% Shop_Name = Recordset("Shop_Name") Shop_City = Recordset("Shop_City") Shop_State = Recordset("Shop_State") %> <!--#include file="includes/Header.php"--> <!--#include file="includes/RightAds.php"--> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><img border="0" src="images/left1.gif" width="245" height="42"></td> <td><img border="0" src="images/left2.gif" width="245" height="42"></td> </tr> <tr> <td background="images/fon_left.gif" colspan="1" style="padding-left: 26; padding-right: 18" valign="top"> <b><%=Recordset("Shop_Name")%> of <%=Recordset("Shop_City")%>, <%=Recordset("Shop_State")%> Review .</b><br><br><br> </td> <td style="padding-left: 18; padding-right: 26" background="images/fon_r1.gif" valign="top"> Shop/Garage Phone: <%=Recordset("Shop_Phone")%><br> Address: <%=Recordset("Shop_Address1")%><br> <%=Recordset("Shop_Address2")%> </td> </tr> </table> <table cellpadding="0" height="325" cellspacing="0"><tr> <td valign="top" colspan="2" style="padding-left: 26; padding-right: 18" valign="top"> <br> <b>This Reviewer's Overall Rating:</b><br> <% if Recordset("Shop_Reviewer_Rating") = "Poor" then%> <img src="images/Graystar.jpg"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"> <% end if %> <% if Recordset("Shop_Reviewer_Rating") = "Fair" then%> <img src="images/star.gif"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"> <% end if %> <% if Recordset("Shop_Reviewer_Rating") = "Good" then%> <img src="images/star.gif"><img src="images/star.gif"><img src="images/star.gif"><img src="images/Graystar.jpg"><img src="images/Graystar.jpg"> <% end if %> <% if Recordset("Shop_Reviewer_Rating") = "Excellent" then%> <img src="images/star.gif"><img src="images/star.gif"><img src="images/star.gif"><img src="images/star.gif"><img src="images/star.gif"> <% end if %> <%=Recordset("Shop_Reviewer_Rating")%> <br><br> <b>His/Her Personal Review:</b><br> <%=Recordset("Shop_Review")%> <br> <br> <% if len(Recordset("Shop_URL")) > 0 then%> <b>Shop/Garage Website:</b><br> <a href="<%=Recordset("Shop_URL")%>" target="_blank" ><%=Recordset("Shop_URL")%></a> <br> <br> <% end if %> <% if len(Recordset("Shop_Car_Types")) > 0 then%> <b>Types of Cars Serviced:</b><br> <%=Recordset("Shop_Car_Types")%> <br> <br> <% end if%> <% if len(Recordset("Shop_Service_Types")) > 0 then%> <b>Types of Repair Services Provided:</b><br> <%=Recordset("Shop_Service_Types")%> <br> <br> <% end if%> <% if len(Recordset("Reviewer_FirstName")) > 0 then%> <b>Reviewer's Name:</b> <%=Recordset("Reviewer_FirstName")%>, <%=Recordset("Reviewer_LastName")%><br><br> <% end if %> <% if len(Recordset("Reviewer_Email")) > 0 then%> <b>Reviewer's E-mail:</b> <%=Recordset("Reviewer_Email")%><br><br> <% end if %> <% if len(Recordset("Reviewer_Phone")) > 0 then%> <b>Reviewer's Phone:</b> <%=Recordset("Reviewer_Phone")%><br><br> <% end if %> <% if len(Recordset("Review_Date")) > 0 then%> <b>Review Date:</b> <%=Recordset("Review_Date")%><br><br> <% end if %> <br><br> <a href="javascript: history.go(-1)"><- Go Back to Listing</a> <br><br> <br> <br> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> </td> </tr> </table> <table cellpadding="0" height="150" cellspacing="20"> <tr> <td valign="top"> </td> </tr> </table> <!--#include file="includes/Footer.php"-->
Save
Cancel