Subversion Repositories DevTools

Rev

Rev 1283 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
3938 dpurdie 1
<%' Highlight Development System: Green for Development, Red for Live Database
2
If (IsEmpty(Application("LiveSystem"))) Then
3
    Dim DevStyle, DevExtraText
4
    DevExtraText = ""
5
    If OraDatabase.DatabaseName = "RELEASEM" Then
6
        DevStyle = "background-color:red;"
7
        DevExtraText = " Live Database"
8
    Else
9
        DevStyle = "background-color:#66CC00;"
10
    End If
11
%>
12
<div id="Layer2" style="position:absolute; left:0; top:0; width:100%; z-index:1;font-family: tahoma,sans-serif;">
13
    <center style="<%=DevStyle%>;">Development WebServer:<%=request.servervariables("server_name")%> Database:<%=OraDatabase.DatabaseName%><%=DevExtraText%></center>
14
</div>
15
<%End If%>
13 rsolanki 16
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
17
  <tr>
18
    <td width="1%" background="images/bg_lite_blue.gif"><img src="images/p_header.gif" width="552" height="45"></td>
19
    <td width="100%" background="images/bg_lite_blue.gif">&nbsp;</td>
20
    <td width="1%" rowspan="2" valign="bottom" background="images/bg_lite_blue.gif"><a href="Default.asp"><img src="images/dm_logo.gif" alt="Home" title="Home" width="241" height="69" border="0"></a></td>
21
  </tr>
22
  <tr>
23
    <td background="images/p_header_bottom.gif"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
24
		<%If objAccessControl.UserLogedIn Then%>
25
        <tr>
3938 dpurdie 26
          <div id="Layer1" style="position:absolute; left:2; top:2; width:1px; height:1px; z-index:2"><a href="_Logout.asp"><img src="images/i_logout.gif" width="14" height="14" border="0" alt="Logout from <%=objAccessControl.UserName%>" title="Logout from <%=objAccessControl.UserName%>"></a></div>
13 rsolanki 27
		  <!--
28
          <td width="1%"><a href="CommingSoon.asp"><img src="icons/ni_new_product.gif" title="New product has arrived." width="18" height="18" hspace="2" border="0"></a></td>
29
          <td width="1"><a href="CommingSoon.asp"><img src="icons/ni_notifier.gif" title="Email notification." width="18" height="18" hspace="2" border="0"></a></td>
30
		  -->
31
 
32
          <td width="1" align="right"><img src="icons/ni_bar.gif" width="16" height="24"></td>
33
          <td width="100%" bgcolor="#FFFFFF">&nbsp;</td>
34
        </tr>
35
		<%Else%>
36
		<tr>
37
          <td width="1" align="right"><img src="icons/ni_bar.gif" width="16" height="24"></td>
38
          <td width="100%" bgcolor="#FFFFFF">&nbsp;</td>
39
        </tr>
40
		<%End If%>
41
    </table></td>
42
    <td align="right" bgcolor="#FFFFFF"><%=ProgressBar()%></td>
43
  </tr>
44
</table>