Subversion Repositories DevTools

Rev

Rev 119 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 119 Rev 129
Line 1... Line 1...
1
<%@LANGUAGE="VBSCRIPT"%>
1
<%@LANGUAGE="VBSCRIPT"%>
2
<%
2
<%
3
Option explicit
3
Option explicit
4
Response.Expires = 0	' always load the page, dont store
4
Response.Expires = 0   ' always load the page, dont store
5
%>
5
%>
6
<%
6
<%
7
'=====================================================
7
'=====================================================
8
'					MEMO Note
8
'               MEMO Note
9
'=====================================================
9
'=====================================================
10
%>
10
%>
11
<!--#include file="common/conf.asp"-->
11
<!--#include file="common/conf.asp"-->
12
<!--#include file="common/globals.asp"-->
12
<!--#include file="common/globals.asp"-->
13
<!--#include file="common/qstr.asp"-->
13
<!--#include file="common/qstr.asp"-->
Line 27... Line 27...
27
'------------ Variable Init -------------------
27
'------------ Variable Init -------------------
28
'----------------------------------------------
28
'----------------------------------------------
29
%>
29
%>
30
<%
30
<%
31
Function Insert_Memo_Message( SSmsg, SSexpdate )
31
Function Insert_Memo_Message( SSmsg, SSexpdate )
32
	Dim SEQ_msg_id
32
   Dim SEQ_msg_id
33
	SEQ_msg_id = Get_From_DUAL("SEQ_MSG_ID.nextval")
33
   SEQ_msg_id = Get_From_DUAL("SEQ_MSG_ID.nextval")
-
 
34
 
-
 
35
   objEH.TryORA ( OraSession )
34
	OraSession.BeginTrans
36
   On Error Resume Next
-
 
37
 
35
	OraDatabase.ExecuteSQL _
38
   OraDatabase.ExecuteSQL _
36
		" INSERT INTO message_board (msg_id, msg_details, submition_date, expiry_date)"&_
39
      " INSERT INTO message_board (msg_id, msg_details, submition_date, expiry_date)"&_
37
		" VALUES ("& SEQ_msg_id &", '"& SSmsg &"', "& ORA_SYSDATE &","& TO_ORADATE( SSexpdate ) &")"
40
      " VALUES ("& SEQ_msg_id &", '"& SSmsg &"', "& ORA_SYSDATE &","& TO_ORADATE( SSexpdate ) &")"
-
 
41
 
38
  	OraSession.CommitTrans
42
   objEH.CatchORA ( OraSession )
39
End Function
43
End Function
40
%>
44
%>
41
<%
45
<%
42
'Process submition
46
'Process submition
43
If CBool(QStrPar("action")) Then
47
If CBool(QStrPar("action")) Then
44
		Call Insert_Memo_Message ( QStrPar("FRmsg"), QStrPar("FRexpdate") )
48
      Call Insert_Memo_Message ( QStrPar("FRmsg"), QStrPar("FRexpdate") )
45
		%>
49
      %>
46
		<script language="JavaScript" type="text/javascript">
50
      <script language="JavaScript" type="text/javascript">
47
		opener.location='index.asp?refresh=true<%=QSTR%>';
51
      opener.location='index.asp?refresh=true<%=QSTR%>';
48
		</script>		
52
      </script>
49
		<%
53
      <%
50
		Call CloseWindow
54
      Call CloseWindow
51
End If
55
End If
52
%>
56
%>
53
<html>
57
<html>
54
<head>
58
<head>
55
<title>Release Manager</title>
59
<title>Release Manager</title>
Line 61... Line 65...
61
<script language="JavaScript" src="images/calendar.js"></script>
65
<script language="JavaScript" src="images/calendar.js"></script>
62
</head>
66
</head>
63
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
67
<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0" onload="self.focus();document.memo.FRmsg.focus();">
64
<form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
68
<form name="memo" method="post" action="<%=scriptName%>?done=done<%=QSTR_All%>" onSubmit="return check();">
65
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
69
  <table width="100%" border="0" cellspacing="0" cellpadding="2" height="100%">
66
    <tr> 
70
    <tr>
67
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td>
71
      <td background="images/lbox_bg_orange.gif" width="1%" height="1%"><img src="images/h_trsp_dot.gif" width="22" height="1"></td>
68
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;ADD Memo</td>
72
      <td background="images/lbox_bg_blue.gif" nowrap width="50%" class="wform_ttl">&nbsp;ADD Memo</td>
69
      <td background="images/lbox_bg_blue.gif" align="right" width="50%"> 
73
      <td background="images/lbox_bg_blue.gif" align="right" width="50%">
70
        <input type="submit" name="btn" value="   ADD   " class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRexpdate','Expiry Date','R','FRmsg','Message details','R');return document.MM_returnValue">
74
        <input type="submit" name="btn" value="   ADD   " class="form_btn_comp" onClick="clickedButton=true;MM_validateForm('FRexpdate','Expiry Date','R','FRmsg','Message details','R');return document.MM_returnValue">
71
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
75
        <input type="reset" name="btn" value="Cancel" class="form_btn_comp" onclick="self.close()">
72
      </td>
76
      </td>
73
      <td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap> 
77
      <td background="images/lbox_bg_blue.gif" align="right" width="1%%" nowrap>
74
        <img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
78
        <img src="images/h_trsp_dot.gif" width="5" height="22"> </td>
75
    </tr>
79
    </tr>
76
    <tr> 
80
    <tr>
77
      <td height="100%" width="1%">&nbsp;</td>
81
      <td height="100%" width="1%">&nbsp;</td>
78
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif"> 
82
      <td valign="top" nowrap colspan="3" class="wform_ttl" background="images/bg_form_lightgray.gif">
79
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
83
        <table width="100%" border="0" cellspacing="1" cellpadding="2">
80
          <tr> 
84
          <tr>
81
            <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
85
            <td width="1%"><img src="images/h_trsp_dot.gif" width="10" height="30"></td>
82
            <td width="1%" nowrap class="form_group" valign="bottom"></td>
86
            <td width="1%" nowrap class="form_group" valign="bottom"></td>
83
            <td nowrap width="100%">&nbsp; </td>
87
            <td nowrap width="100%">&nbsp; </td>
84
          </tr>
88
          </tr>
85
          <tr> 
89
          <tr>
86
            <td width="1%">&nbsp;</td>
90
            <td width="1%">&nbsp;</td>
87
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Expiry Date </td>
91
            <td width="1%" nowrap class="form_field" background="images/bg_form_lightbluedark.gif">Expiry Date </td>
88
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt"> 
92
            <td nowrap width="100%" background="images/bg_form_lightbluedark.gif" class="form_txt">
89
              <input type="text" name="FRexpdate" maxlength="10" size="10" class="form_item" value="<%=EuroDate(Date+7)%>">
93
              <input type="text" name="FRexpdate" maxlength="10" size="10" class="form_item" value="<%=EuroDate(Date+7)%>">
90
              <A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('memo.FRexpdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a> 
94
              <A onmouseover="window.status='Select a date';return true;" onmouseout="window.status='';return true;" href="javascript:show_calendar('memo.FRexpdate',null,null,null);"><img src="images/i_calendar.gif" width="16" height="16" border="0"></a>
91
            </td>
95
            </td>
92
          </tr>
96
          </tr>
93
          <tr> 
97
          <tr>
94
            <td width="1%">&nbsp;</td>
98
            <td width="1%">&nbsp;</td>
95
            <td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top"> 
99
            <td colspan="2" nowrap class="form_field" background="images/bg_form_lightbluedark.gif" valign="top">
96
              <textarea name="FRmsg" cols="40" rows="10" class="form_item"></textarea>
100
              <textarea name="FRmsg" cols="40" rows="10" class="form_item"></textarea>
97
              <input type="hidden" name="action" value="true">
101
              <input type="hidden" name="action" value="true">
98
            </td>
102
            </td>
99
          </tr>
103
          </tr>
100
          <tr> 
104
          <tr>
101
            <td width="1%">&nbsp;</td>
105
            <td width="1%">&nbsp;</td>
102
            <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
106
            <td width="1%" nowrap class="form_field"><img src="images/h_trsp_dot.gif" width="100" height="10"></td>
103
            <td nowrap width="100%"> 
107
            <td nowrap width="100%">
104
              <p>&nbsp;</p>
108
              <p>&nbsp;</p>
105
            </td>
109
            </td>
106
          </tr>
110
          </tr>
107
        </table>
111
        </table>
108
      </td>
112
      </td>
Line 116... Line 120...
116
</body>
120
</body>
117
</html>
121
</html>
118
 
122
 
119
 
123
 
120
<!-- DESTRUCTOR ------->
124
<!-- DESTRUCTOR ------->
121
<!--#include file="common/destructor.asp"-->
-
 
122
125
<!--#include file="common/destructor.asp"-->
-
 
126