<%@ Page Language="VB" ContentType="text/html" ResponseEncoding="gb2312" Inherits="b2bNet.user_user_notepad_list" %>
<%On Error Resume Next%>
<script type="Text/JavaScript" language="JavaScript">
	function Check()  {
	 if(document.addnotepad.title.value=="" ){
		 alert("请填写事件标题！");
		 document.addnotepad.title.focus();
	 return false;
	 }
	 if(document.addnotepad.selectclass.value=="" ){
		 alert("事件类型不能为空，请选择一个！");
		 document.addnotepad.selectclass.focus();
	 return false;
	 }
	 if(document.addnotepad.info.value=="" ){
		 alert("请填写事件内容！");
		 document.addnotepad.info.focus();
	 return false;
	 }
	 if(document.addnotepad.remindtime.value=="" ){
		 alert("事件提醒时间不能为空，填写格式为：年-月-日 时-分-秒 如：2005-7-25 11:51:01");
		 document.addnotepad.remindtime.focus();
	 return false;
	 }
}
//提示信息
function Working(URL,Msg){
	if(confirm(Msg)){
		window.location=URL;
	}
}

</script>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><head><title>会员中心</title>
<link href="<%=AppConst.SiteUrl%>/<%=AppConst.Skinpath%>/style.css" rel="stylesheet" type="text/css" />
<meta http-equiv=Content-Type content="text/html; charset=gb2312" />
</head>
<body>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td><table style="width:700" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td style="width:100"><div align="center"><a href="user_Friend_List.aspx"><img src="images/Friends_001.gif" width="50" height="48" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_Friend_add.aspx"><img src="images/Friends_002.gif" width="50" height="48" border="0" /></a><a href="User_guest_company.aspx"></a></div></td>
        <td style="width:100"><div align="center"><a href="user_notepad_list.aspx"><img height="48" src="images/j_position_supply.gif" width="50" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="user_Friend_address.aspx"><img height="48" src="images/m_draft.gif" width="50" border="0" /></a></div></td>
        <td style="width:100"><div align="center"><a href="User_system_main.aspx"><img height="48" src="images/guestbook_06.gif" width="50" border="0" /></a></div></td>
      </tr>
      <tr>
        <td style="width:100"><div align="center"><strong>我的商业伙伴</strong></div></td>
        <td style="width:100"><div align="center"><strong>添加商业伙伴</strong></div></td>
        <td style="width:100"><div align="center"><strong>我的记事本</strong></div></td>
        <td style="width:100"><div align="center"><strong>我的通讯录</strong></div></td>
        <td style="width:100"><div align="center"><strong>返回用户中心</strong></div></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>我的记事本</strong></span></strong></td>
    <td class="bottom"><div align="right">注：有<img src="images/notice_icon.gif" width="15" height="13" />为提醒事件，有<img src="images/board_icon.gif" />为该提醒事件已到时间或过期您还没有查看。</div></td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
          <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008">
          <%If Rs.EOF Then%><tr><td align=center><font color='#ff0000'>您还没有添加记录信息......</font></td></tr><%End If%>
          <%Dim i = 0 : Do While Not Rs.EOF And i < Rs.PageSize%>
          <table style="background-color:<%="#ffffff,#f5f5f5".Split(",")(i Mod 2)%>; width:100%"  border="0" cellpadding="0" cellspacing="0"  >
            <tr>
              <td style="height:21; width:2%"><div align="center"><img src="images/JT_2.gif" width="8" height="8" /> </div></td>
              <td style="width:61%"><a href="user_notepad_detail.aspx?id=<%=rs("id").Value%>"><%=left(rs("title").Value,28)%></a><a href="javascript:Working('User_notepad_list.aspx?send=Del&id=<%=Rs("ID").Value%>','您确定要删除这条信息吗，这将是不可撤消的？')" ><font color="#ff0000">删除</font></a></td>
              <td style="width:100" align="right">
                  <%If Not IsTrue(rs("readcheck").Value) AndAlso IsTrue(Rs("remind").Value) Then%>
                  <%If Now <= Rs("remindtime").Value Then%><img src="images/notice_icon.gif" width="15" height="13" /><%Else%><img src="images/board_icon.gif" width="20" height="20" /><%End if%>
                  <%End If%>
              </td>
              <td style="width:7%"><font color="#ff0000">[<%=rs("class").Value%>]</font></td>
              <td style="width:20%"><%=rs("datatime").Value%></td>
            </tr>
          </table>
          <%  i = i + 1 : Rs.MoveNext() : Loop%>
          <table style="width:100%" border="0" cellpadding="3" cellspacing="0">
            <tbody>
              <tr style="background-color:#EFEFEF">
                <td style="background-color:#F6F6F6; height:18" align="middle"><%=Pagination(rs.pagecount,IsNull(Request("page"),1),rs.recordcount,rs.pagesize,"")%></td>
              </tr>
            </tbody>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table style="width:100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table style="width:100%; height:24" cellspacing="0" cellpadding="0"  border="0">
  <tr>
    <td style="background-color:#FFF1EB; height:24; width:142" align="center" valign="bottom" class="TDBG1"><strong><span #invalid_attr_id="none"><strong>撰写记事本</strong></span></strong></td>
    <td class="bottom"><div align="right">注：有<img src="images/notice_icon.gif" width="15" height="13" />为提醒事件，有<img src="images/board_icon.gif" />为该提醒事件已到时间或过期您还没有查看。</div></td>
  </tr>
</table>
<table style="width:100%"  border="0" cellpadding="0" cellspacing="0" class="topnone">
  <tr>
    <td style="background-color:#FFFFFF"><table style="width:100%; height:50" bordercolor="#FFF1EB" cellspacing="0" cellpadding="4" align="center" border="6">
      <tr>
        <td style="height:50" valign="middle" bordercolor="#EDD6CA" class="0008"><table style="width:100%"  border="0" cellpadding="0" cellspacing="0">
                                    <form action="" method="POST" name="addnotepad" onsubmit="return Check()">
                                      <tr>
                                        <td style="height:25; width:119"><div align="right">标题：&nbsp;</div></td>
                                        <td style="height:25"><input name="title" type="text" id="title" size="30" />
                                            <select name="selectclass" id="selectclass">
                                              <option selected>=类型=</option>
                                              <option value="会议">会 议</option>
                                              <option value="工作">工 作</option>
                                              <option value="约会">约 会</option>
                                              <option value="其他">其 他</option>
                                            </select>
                                            <span class="style1">*</span></td>
                                      </tr>
                                      <tr>
                                        <td style="height:12; width:119"><div align="right">信息：&nbsp;</div></td>
                                        <td style="height:12; width:445"><textarea name="info" cols="50" rows="6" id="info"></textarea>
                                            <span class="style1">*</span></td>
                                      </tr>
                                      <tr>
                                        <td style="height:12; width:119"><div align="right">是否提醒我：&nbsp;</div></td>
                                        <td style="height:25"><input name="aa" type="radio" value="0" onclick="document.all.remindtime.style.visibility='hidden'" checked="checked" />
                                  否
                                    <input type="radio" name="aa" value="1" onclick="document.all.remindtime.style.visibility='visible'" />
                                  是
                                  <input name="remindtime" type="text" id="remindtime" style="visibility:hidden" value="<%=now%>" size="17" />
                                        </td>
                                      </tr>
                                      <tr>
                                        <td style="height:35; width:119">&nbsp;</td>
                                        <td style="height:35"><input type="submit" name="Submit" value="提交" />
                                            <input type="reset" name="Submit" value="重置" />
                                            <input type="hidden" name="addnotepad" value="ok" />
                                        </td>
                                      </tr>
                                    </form>
                                </table></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
<%Page_Loaded()%>
</html>
