home *** CD-ROM | disk | FTP | other *** search
/ 202.53.64.216 / 202.53.64.216.tar / 202.53.64.216 / janahitha / Admin / AdsAdminViewHoardings.asp < prev    next >
Text File  |  2004-11-26  |  19KB  |  498 lines

  1. <%
  2.     if session("AdminLogin")="" then Response.Redirect "default.asp"
  3. %>
  4. <!-- #include file="AdsAdminConstants.asp" -->
  5. <!-- #include file="../AdsOpenConn.asp" -->
  6. <%
  7.     if Request.Form.Count=0 then
  8.         set objrs = server.CreateObject("adodb.recordset")
  9.         objrs.CursorLocation=3
  10. %>
  11. <html>
  12.     <head>
  13.         <title> <%=SiteName%> - Welcome </title>
  14.         <meta name="author" content="Jagadish">
  15.         <meta name="author" content="Gopi Tanguturi">        
  16.     </head>
  17.     <body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
  18.         <table cellpadding=0 cellspacing=0 border=0 width=780 height=450>
  19.         <tr height=1>
  20.             <td width="180" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  21.             <td width="210" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  22.             <td width="210" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  23.             <td width="180" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  24.         </tr>
  25.         <tr>
  26.             <td bgcolor="<%=LeftColor%>" colspan=2 valign=top > <font face="courier new" size=6 color="<%=SiteNameColor%>"> <b>   <%=SiteName%> </b> </font> </td>
  27.             <td bgcolor="<%=RightColor%>" colspan=2 align=right valign=top> <font face=verdana size=2> <a href="AdsAdminHome.asp"><font color="<%=TopLinksColor%>">Home</font></a>     <a href="AdsAdminHome.asp?lo"><font color="<%=TopLinksColor%>">Logout</font></a>   </font> </td>
  28.         </tr>
  29.         <tr>
  30.             <td bgcolor="<%=LeftColor%>">   </td>
  31.             <td colspan=2 align=center height=250 bgcolor="<%=OuterTblBGColor%>">
  32.                 <br>
  33.                 <form name="searchhoardingform" method=post action="<%=Request.ServerVariables("script_name")%>">
  34.                 <table cellpadding=0 cellspacing=0 border=0>
  35.                 <tr> <td bgcolor="<%=TblBorderColor%>">
  36.                 <table width="330" border=0 cellpadding=3 cellspacing=1>
  37.                 <tr bgcolor="<%=TblHeadBGColor%>">
  38.                     <th colspan=2>
  39.                         <font face=verdana color="<%=TblHeadFGColor%>"> View/Search Hoardings </font>
  40.                     </th>
  41.                 </tr>
  42.                 <tr bgcolor="<%=TblBGColor%>">
  43.                     <td> 
  44.                         <font face="verdana" size=2 color="<%=TblFGColor%>"> From Zone </font> 
  45.                     </td>
  46.                     <td>
  47.                         <select name="zoneid">
  48.                         <option value=""> Select Zone
  49.                         <%
  50.                             objrs.Open "select ZoneId, ZoneName from ZoneMaster where ZoneStatus=Yes order by ZoneName", con, 3, 3
  51.                             while not objrs.EOF
  52.                         %>
  53.                         <option value="<%=objrs("ZoneId")%>"> <%=objrs("ZoneName")%>
  54.                         <%
  55.                             objrs.MoveNext 
  56.                             wend
  57.                             objrs.Close 
  58.                         %>
  59.                         </select>
  60.                     </td>
  61.                 </tr>
  62.                 <tr bgcolor="<%=TblBGColor%>">
  63.                     <td> 
  64.                         <font face="verdana" size=2 color="<%=TblFGColor%>"> Hoarding Type </font> 
  65.                     </td>
  66.                     <td>
  67.                         <select name="htypeid">
  68.                         <option value=""> Select Hoarding Type
  69.                         <%
  70.                             objrs.Open "select HoardingTypeId, HoardingTypeName from HoardingTypeMaster where HoardingTypeStatus=Yes order by HoardingTypeName", con, 3, 3
  71.                             while not objrs.EOF
  72.                         %>
  73.                         <option value="<%=objrs("HoardingTypeId")%>"> <%=objrs("HoardingTypeName")%>
  74.                         <%
  75.                             objrs.MoveNext 
  76.                             wend
  77.                             objrs.Close 
  78.                         %>
  79.                         </select>
  80.                     </td>
  81.                 </tr>
  82.                     <!--            <tr bgcolor="<%=TblBGColor%>">
  83.                     <td> 
  84.                         <font face="verdana" size=2 color="<%=TblFGColor%>"> Hoarding Material </font> 
  85.                     </td>
  86.                     <td>
  87.                         <select name="hmat">
  88.                         <option value=""> Select Hoarding Material
  89.                         <%
  90.                             objrs.Open "select distinct HoardingMaterial from HoardingTypeMaster where HoardingTypeStatus=Yes order by HoardingMaterial", con, 3, 3
  91.                             while not objrs.EOF
  92.                         %>
  93.                         <option value="<%=objrs("HoardingMaterial")%>"> <%=objrs("HoardingMaterial")%>
  94.                         <%
  95.                             objrs.MoveNext 
  96.                             wend
  97.                             objrs.Close 
  98.                         %>
  99.                         </select>
  100.                     </td>
  101.                 </tr>-->
  102.                 <tr bgcolor="<%=TblBGColor%>">
  103.                     <td colspan=2 align=center>
  104.                         <font face=verdana size=2 color="<%=TblFGColor%>"> 
  105.                         <input type="radio" name="stat" checked value="all"> All Hoardings 
  106.                         <input type="radio" name="stat" value="free"> Only Free  
  107.                         </font>
  108.                     </td>
  109.                 </tr>
  110.                 <tr bgcolor="<%=TblHeadBGColor%>">
  111.                     <th colspan=2>
  112.                         <input type=submit value=" Show Results ">
  113.                     </th>
  114.                 </tr>
  115.                 </table>
  116.                 </td> </tr>
  117.                 </table>
  118.                 </form>
  119.             </td>
  120.             <td bgcolor="<%=RightColor%>">   </td>
  121.         </tr>
  122.         <tr>
  123.             <td colspan=2 bgcolor="<%=LeftColor%>">   </td>
  124.             <td colspan=2 bgcolor="<%=RightColor%>">   </td>
  125.         </tr>
  126.         </table>
  127.     </body>
  128. </html>
  129. <%
  130.         set objrs = nothing
  131.     else
  132.         if Request.Form("stat")<>"" then
  133.             zoneid = Request.Form("zoneid")
  134.             hoardingtypeid = Request.Form("htypeid")
  135.             hoardingsize = Request.Form("hsize")
  136.             hoardingmaterial = Request.Form("hmat")
  137.             NearByAreas = Request.Form("hres")            
  138.             hoardingdemography = Request.Form("hdem")            
  139.             hoardingtraffic = Request.Form("htra")            
  140.             stat = Request.Form("stat")
  141.             if Request.QueryString("pno")<>"" then
  142.                 pno = cint(Request.QueryString("pno"))
  143.             else
  144.                 pno = 1
  145.             end if
  146.             if pno<1 then pno = 1
  147.             'if hoardingsize<>"" then heightwidth = split(hoardingsize, "~")
  148.  
  149.             sql = "select a.HoardingId, a.Location, a.Direction, a.NearByAreas,a.PresentDisplay,a.demography,a.traffic,a.HoardingStatus, a.Status,a.bookingfromdate,a.todate, b.HoardingTypeName, c.ZoneName from HoardingMaster a, HoardingTypeMaster b, ZoneMaster c where a.HoardingTypeId=b.HoardingTypeId and a.ZoneId=c.ZoneId and a.Status=Yes"
  150.             url = Request.ServerVariables("script_name") + "?x=x"
  151.  
  152.             if zoneid<>"" then 
  153.                 sql = sql + " and a.ZoneId=" + zoneid
  154.                 url = url + "&zone=" + zoneid
  155.             end if
  156.             if Hoardingtypeid<>"" then 
  157.                 sql = sql + " and a.HoardingTypeId=" + Hoardingtypeid
  158.                 url = url + "&htypeid=" + Hoardingtypeid
  159.             end if
  160.             if status="occ" then 
  161.                 sql = sql + " and a.HoardingStatus=No"
  162.                 url = url + "&stat=" + stat
  163.             end if
  164.             if status="free" then 
  165.                 sql = sql + " and a.HoardingStatus=Yes"
  166.                 url = url + "&stat=" + stat
  167.             end if
  168.             if hoardingsize<>"" then 
  169.                 sql = sql + " and a.Hoardingarea=" + hsize 
  170.                 url = url + "&hsize=" + hoardingsize
  171.             end if
  172.             if hoardingmaterial<>"" then 
  173.                 sql = sql + " and b.HoardingMaterial='" + hoardingmaterial + "'"
  174.                 url = url + "&hmat=" + hoardingmaterial
  175.             end if
  176.             if hoardingNearByAreas<>"" then 
  177.                 sql = sql + " and a.HoardingNearByAreas='" + hoardingNearByAreas + "'"
  178.                 url = url + "&hres=" + hoardingNearByAreas
  179.             end if            
  180.             if hoardingdemography<>"" then 
  181.                 sql = sql + " and a.HoardingDemography='" + hoardingdemography + "'"
  182.                 url = url + "&hdem=" + hoardingdemography
  183.             end if            
  184.             if hoardingtraffic<>"" then 
  185.                 sql = sql + " and a.HoardingTraffic='" + hoardingtraffic + "'"
  186.                 url = url + "&htra=" + hoardingtraffic
  187.             end if            
  188.             set rs = server.CreateObject("adodb.recordset")
  189.             if msg="" then
  190.                 rs.CursorLocation=3
  191.                 rs.open sql, con, 3, 3
  192.                 if rs.RecordCount=0 then msg = "No Records Found"
  193.                 rs.Close 
  194.             end if
  195.             if msg<>"" then
  196. %>
  197. <html>
  198.     <head>
  199.         <title> <%=SiteName%> - Welcome </title>
  200.         <meta name="author" content="Jagadish">
  201.         <meta name="author" content="Gopi Tanguturi">
  202.     </head>
  203.     <body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
  204.         <table cellpadding=0 cellspacing=0 border=0 width=780 height=450>
  205.         <tr height=1>
  206.             <td width="100" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  207.             <td width="290" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  208.             <td width="290" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  209.             <td width="100" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  210.         </tr>
  211.         <tr>
  212.             <td bgcolor="<%=LeftColor%>" colspan=2 valign=top > <font face="courier new" size=6 color="<%=SiteNameColor%>"> <b>   <%=SiteName%> </b> </font> </td>
  213.             <td bgcolor="<%=RightColor%>" colspan=2 align=right valign=top> <font face=verdana size=2> <a href="AdsAdminHome.asp"><font color="<%=TopLinksColor%>">Home</font></a>     <a href="AdsAdminHome.asp?lo"><font color="<%=TopLinksColor%>">Logout</font></a>   </font> </td>
  214.         </tr>
  215.         <tr>
  216.             <td bgcolor="<%=LeftColor%>">   </td>
  217.             <td colspan=2 align=center height=200 bgcolor="<%=OuterTblBGColor%>">
  218.                 <table cellpadding=2 cellspacing=0 border=0>
  219.                 <tr> <td bgcolor="<%=OuterTblBorderColor%>">
  220.                 <table width="576" bgcolor=<%=OuterTblBGColor%> height=200 border=0 cellpadding=0 cellspacing=0>
  221.                 <tr>
  222.                     <th>
  223.                         <br>
  224.                         <font face=verdana size=2 color="<%=ErrMsgColor%>">
  225.                             <%=msg%> <br> <br>
  226.                             <a href="javascript:history.back();"><font color="<%=ErrMsgColor%>">Back</font></a>
  227.                         </font>
  228.                     </th>
  229.                 </tr>
  230.                 </table>
  231.                 </td> </tr>
  232.                 </table>
  233.             </td>
  234.             <td bgcolor="<%=RightColor%>">   </td>
  235.         </tr>
  236.         <tr>
  237.             <td colspan=2 bgcolor="<%=LeftColor%>">   </td>
  238.             <td colspan=2 bgcolor="<%=RightColor%>">   </td>
  239.         </tr>
  240.         </table>
  241.     </body>
  242. </html>
  243. <%            
  244.  
  245.             end if
  246. %>
  247. <html>
  248.     <head>
  249.         <title> <%=SiteName%> - Welcome </title>
  250.         <meta name="author" content="Jagadish">
  251.         <meta name="author" content="Gopi Tanguturi
  252.     </head>
  253.     <body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
  254.         <table cellpadding=0 cellspacing=0 border=0 width=780 height=450>
  255.         <tr height=1>
  256.             <td width="50" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  257.             <td width="340" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  258.             <td width="340" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  259.             <td width="50" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  260.         </tr>
  261.         <tr>
  262.             <td bgcolor="<%=LeftColor%>" colspan=2 valign=top > <font face="courier new" size=6 color="<%=SiteNameColor%>"> <b>   <%=SiteName%> </b> </font> </td>
  263.             <td bgcolor="<%=RightColor%>" colspan=2 align=right valign=top> <font face=verdana size=2> <a href="AdsAdminHome.asp"><font color="<%=TopLinksColor%>">Home</font></a>     <a href="AdsAdminHome.asp?lo"><font color="<%=TopLinksColor%>">Logout</font></a>   </font> </td>
  264.         </tr>
  265.         <tr>
  266.             <td bgcolor="<%=LeftColor%>">   </td>
  267.             <td colspan=2 align=center height=200 bgcolor="<%=OuterTblBGColor%>">
  268.                 <br>
  269.                 <form name="hoardingresultform" method=post action="<%=Request.ServerVariables("script_name")%>">
  270.                 <table cellpadding=0 cellspacing=0 border=0>
  271.                 <tr> <td bgcolor="<%=TblBorderColor%>">
  272.                 <table width="600" border=0 cellpadding=3 cellspacing=1>
  273.                 <tr bgcolor="<%=TblHeadBGColor%>">
  274.                     <th width="30">
  275.                         <font face=verdana size=2 color="<%=TblHeadFGColor%>"> SNo </font>
  276.                     </th>
  277.                     <th width="450">
  278.                         <font face=verdana size=2 color="<%=TblHeadFGColor%>"> Hoarding Details </font>
  279.                     </th>
  280.                     <th width="70">
  281.                         <font face=verdana size=2 color="<%=TblHeadFGColor%>"> Status </font>
  282.                     </th>
  283.                     
  284.                     <th width="50">
  285.                         <font face=verdana size=2 color="<%=TblHeadFGColor%>"> Delete </font>
  286.                     </th>
  287.                 </tr>
  288. <%            
  289.             rs.Open sql, con, 3, 3
  290.             sno = 0
  291.             while not rs.EOF
  292.                 sno = sno + 1
  293.                 if rs("HoardingStatus") then
  294.                     status = "Free"
  295.                 else
  296.                     status = "Occupied"
  297.                 end if
  298. %>
  299.                 <tr bgcolor="<%=TblBGColor%>">
  300.                     <td align=right>
  301.                         <font face=verdana size=2 color="<%=TblFGColor%>"> <%=sno%> </font>
  302.                         <input type=hidden name="ids" value="<%=rs("HoardingId")%>">
  303.                     </td>
  304.                     <td>
  305.                         <table width="100%" cellspacing=0 cellpadding=0 border=0>
  306.                         <tr>
  307.                             <td>
  308.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Type : </font>
  309.                             </td>
  310.                             <td >
  311.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("HoardingTypeName")%></font>
  312.                             </td>
  313.                             <td>
  314.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Traffic : </font>
  315.                             </td>
  316.                             <td >
  317.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("traffic")%></font>
  318.                             </td>                            
  319.                         </tr>
  320.                         <tr>
  321.                             <td width="15%">
  322.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Location : </font>
  323.                             </td>
  324.                             <td width="35%">
  325.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("Location")%></font>
  326.                             </td width="15%">
  327.                             <td>
  328.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Traffic Coming From</font>
  329.                             </td>
  330.                             <td width="35%">
  331.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("Direction")%></font>
  332.                             </td>
  333.                         </tr>                
  334.                         <tr>
  335.                             <td width="15%">
  336.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Near By Area</font>
  337.                             </td>
  338.                             <td width="35%">
  339.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("NearByAreas")%></font>
  340.                             </td width="15%">
  341.                             <td>
  342.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Demography : </font>
  343.                             </td>
  344.                             <td width="35%">
  345.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("Demography")%></font>
  346.                             </td></tr>
  347.                             <tr>
  348.                             <td width="15%">
  349.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> PresentDisplay</font>
  350.                             </td>
  351.                             <td width="35%">
  352.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("PresentDisplay")%></font>
  353.                             </td>
  354.                             
  355.             
  356.                         </tr>                                        
  357.                         <tr>
  358.                             <td>
  359.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Status : </font>
  360.                             </td>
  361.                             <td colspan=2>
  362.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=status%></font>
  363.                             </td>
  364.                             
  365.                         </tr>
  366.                         <% if not(status="Free") then%>
  367.                         <tr>
  368.                             <td>
  369.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> Booked From : </font>
  370.                             </td>
  371.                             <td colspan=2>
  372.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("bookingfromdate")%></font>
  373.                             </td>
  374.     
  375.                             <td>
  376.                                 <font face=verdana size=2 color="<%=TblFGColor%>"> To : </font>
  377.                             </td>
  378.         
  379.         
  380.                             <td colspan=2>
  381.                                 <font face="ms sans serif" size=1 color="<%=ContentColor%>"><%=rs("todate")%></font>
  382.                             </td>
  383.                             </tr>
  384.                             <%end if%>
  385.                             <tr><td></td><td></td><td></td>
  386.                             <td>
  387.                                 <font face="ms sans serif" size=1 color="<%=TblFGColor%>"> Id :  <%=rs("HoardingId")%>   <a href="AdsAdminHoardingDetails.asp?HId=<%=rs("HoardingId")%>" target="_new"><font color="<%=ContentColor%>">View Details</font></a> </font>
  388.                             </td>
  389.                         </tr>
  390.                         
  391.                         </table>    
  392.                     </td>
  393.                     <td align=center>
  394.                         <font face="ms sans serif" size=1 color="<%=TblFGColor%>">
  395.                         <input type="radio" name="status<%=rs("HoardingId")%>" value="1" <%if rs("Status") then%>checked<%end if%>> Active <br>
  396.                         <input type="radio" name="status<%=rs("HoardingId")%>" value="0" <%if not rs("Status") then%>checked<%end if%>> Inactive
  397.                         </font>
  398.                     </td>
  399.                     <td align=center>
  400.                         <input type=checkbox name="delete<%=rs("HoardingId")%>"> <br>
  401.                         <a href="AdsAdminUpdateHoarding.asp?HoardingId=<%=rs("HoardingId")%>"><font face="ms sans serif" size=1 color="<%=TblFGColor%>">Update</font></a>
  402.                     </td>
  403.                 </tr>
  404. <%                
  405.                 rs.MoveNext 
  406.             wend
  407.             rs.Close  
  408.             set rs = nothing
  409. %>
  410.                 <tr bgcolor=#FEFFE1>
  411.                     <th colspan=4>
  412.                         <input type=submit value=" Delete ">
  413.                     </th>
  414.                 </tr>
  415.                 </table>
  416.                 </td> </tr>
  417.                 </table>
  418.                 </form>
  419.             </td>
  420.             <td bgcolor="<%=RightColor%>">   </td>
  421.         </tr>
  422.         <tr>
  423.             <td colspan=2 bgcolor="<%=LeftColor%>">   </td>
  424.             <td colspan=2 bgcolor="<%=RightColor%>">   </td>
  425.         </tr>
  426.         </table>
  427.     </body>
  428. </html>
  429. <%            
  430.         else
  431.             ids = split(Request.Form("ids"), ", ")
  432.             for i = 0 to ubound(ids)
  433.                 sql = ""
  434.                 if Request.Form("delete" + ids(i))="on" then
  435.                     sql = "delete from HoardingMaster where HoardingId=" + ids(i)
  436.                 else
  437.                     if Request.Form("status" + ids(i))="0" then
  438.                         sql = "update HoardingMaster set Status=No where HoardingId=" + ids(i)
  439.                     else
  440.                         sql = "update HoardingMaster set Status=Yes where HoardingId=" + ids(i)
  441.                     end if
  442.                 end if
  443.                 if sql<>"" then
  444.                 'Response.Write sql
  445.                     con.execute sql
  446.                 end if
  447.             next
  448. %>
  449. <html>
  450.     <head>
  451.         <title> <%=SiteName%> - Welcome </title>
  452.         <meta name="author" content="Jagadish">
  453.     </head>
  454.     <body bottommargin=0 topmargin=0 leftmargin=0 rightmargin=0 marginheight=0 marginwidth=0 bgcolor=#ffffff>
  455.         <table cellpadding=0 cellspacing=0 border=0 width=780 height=450>
  456.         <tr height=1>
  457.             <td width="100" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  458.             <td width="290" bgcolor="<%=LeftColor%>"><font face=verdana size=1> </font></td>
  459.             <td width="290" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  460.             <td width="100" bgcolor="<%=RightColor%>"><font face=verdana size=1> </font></td>
  461.         </tr>
  462.         <tr>
  463.             <td bgcolor="<%=LeftColor%>" colspan=2 valign=top > <font face="courier new" size=6 color="<%=SiteNameColor%>"> <b>   <%=SiteName%> </b> </font> </td>
  464.             <td bgcolor="<%=RightColor%>" colspan=2 align=right valign=top> <font face=verdana size=2> <a href="AdsAdminHome.asp"><font color="<%=TopLinksColor%>">Home</font></a>     <a href="AdsAdminHome.asp?lo"><font color="<%=TopLinksColor%>">Logout</font></a>   </font> </td>
  465.         </tr>
  466.         <tr>
  467.             <td bgcolor="<%=LeftColor%>">   </td>
  468.             <td colspan=2 align=center height=100 bgcolor="<%=OuterTblBGColor%>">
  469.                 <table cellpadding=2 cellspacing=0 border=0>
  470.                 <tr> <td bgcolor="<%=OuterTblBorderColor%>">
  471.                 <table width="576" bgcolor="<%=OuterTblBGColor%>" height=100 border=0 cellpadding=0 cellspacing=0>
  472.                 <tr>
  473.                     <th>
  474.                         <br>
  475.                         <font face=verdana size=2 color="<%=MsgColor%>">
  476.                             Hoardings' Details Updated Successfully <br> <br>
  477.                             <a href="<%=Request.ServerVariables("script_name")%>"><font color="<%=MsgColor%>">Back</font></a>
  478.                         </font>
  479.                     </th>
  480.                 </tr>
  481.                 </table>
  482.                 </td> </tr>
  483.                 </table>
  484.             </td>
  485.             <td bgcolor="<%=RightColor%>">   </td>
  486.         </tr>
  487.         <tr>
  488.             <td colspan=2 bgcolor="<%=LeftColor%>">   </td>
  489.             <td colspan=2 bgcolor="<%=RightColor%>">   </td>
  490.         </tr>
  491.         </table>
  492.     </body>
  493. </html>
  494. <%            
  495.         end if
  496.     end if
  497. %>
  498. <!-- #include file="../AdsCloseConn.asp" -->