<%@ Control Language="C#" AutoEventWireup="true" CodeFile="left.ascx.cs" Inherits="controls_left" %>

<script type="text/javascript"><!--//--><![CDATA[//><!--
function menuFix() {
var sfEls = document.getElementById("nav").getElementsByTagName("li");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseDown=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onMouseUp=function() {
this.className+=(this.className.length>0? " ": "") + "sfhover";
}
sfEls[i].onmouseout=function() {
this.className=this.className.replace(new RegExp("( ?|^)sfhover\\b"), 

"");
}
}
}
window.onload=menuFix;

//--><!]]></script>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td><table cellspacing="0" cellpadding="0" width="410" align="center" border="0">
                <tbody>
                  <tr>
                    <td class="navi" align="middle" colspan="3" height="25"><%=bookname_show() %></td>
                  </tr>

                  <tr>
                    <td height="100" colspan="3" valign="bottom"><table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td valign="top" style="padding-bottom:5px; padding-left:3px"  class="navi1">
                          <div class="navi1" style="height:96px; word-spacing:break-all;overflow:auto">
                          <%=gonggao_show() %>
                          </div>
                          </td>
                        </tr>
                      </table>
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td style="height: 20px"><%if (Session["profile"].ToString() != "" && Session["ad"].ToString() != "" && Session["pw"].ToString() != "" && Session["profile"].ToString() != "前台管理员")
                            { %>
                                <a href="cusfiles.aspx" target="showup">个人资料</a> |&nbsp;
                              <%} %>
                                <font class="navi"><%=customer()%><%=profiles()%></font> [&nbsp;<a href="cuslogin.aspx" target="showup">登录</a> | <a href="cusreg.aspx" target="showup">注册</a>
                              <%if (Session["profile"] != "" && Session["ad"] != "" && Session["pw"] != "") 
                                                                                                                                                                                            {%>
                              |
                              <asp:LinkButton ID="leave" runat="server" OnClick="leave_Click" CausesValidation="False">注销</asp:LinkButton>
                              <%} %>
                              ]
                              <% if (Session["profile"].ToString() == "前台管理员")
                             {%>
                              <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click" CausesValidation="False">清空缓存</asp:LinkButton>
                              <% }%></td>
                          </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="3"></td>
                  </tr>
                </tbody>
              </table>
                <table style="WORD-BREAK: break-all" cellspacing="0" cellpadding="0" width="410" align="center" border="0">
                  <tbody>
                    <tr>
                      <td width="58"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <td ><div id="menu">
                                <ul id="nav">
                                  <li><a class="bi" href="msg.aspx" target="showup">留言本<span style="background-color:#FF3300">留言本</span></a></li>
                                  <li><a class="bi" href="#">日志栏<span style="background-color:#3366FF">日志栏</span></a>
                                      <%=dairy_class() %>
                                  </li>
                                  <li><a class="bi" href="#">贴图区<span style="background-color:#FF3366">贴图区</span></a>
                                      <%=pic_class() %>
                                  </li>
                                  <li><a class="bi" href="msg.aspx" target="showup">许愿树<span style="background-color:#336600">许愿树</span></a></li>
								  <li><a class="bi" href="msg.aspx" target="showup">关于我<span style="background-color:#FF6600">关于我</span></a>
								      <ul>
								      <li><a href="#" target="_blank">留言本说明</a></li>
								      <li><a href="http://www.worm128.com.cn/design/" target="_blank">个人作品</a></li>
								      </ul>
								  </li>
                                </ul>
                              <div id="navbar"></div>
                            </div></td>
                          </tr>
                        </table>
                          <table cellspacing="1" cellpadding="0" bgcolor="#000000" border="0">
                            <tbody>
                              <tr>
                                <td><img height="305" src="skin/629000cn_r01/cover7.jpg" width="395" /></td>
                              </tr>
                            </tbody>
                        </table></td>
                    </tr>
                    <tr>
                      <td valign="top" height="93"><table width="100%" border="0" cellspacing="0" cellpadding="0" style="margin-top:8px;">
                          <tr>
                            <td class="navi" style="height:10px">在线人数：<%=Application["total"]%> </td>
                          </tr>
                          <tr>
                            <td valign="top"  class="navi" style="height:10px"> 在线IP：
                                <div class="navi" style="padding-top:2px; height:30px; word-spacing:break-all;overflow:auto">
                                  <asp:Label ID="ip" runat="server" Text=""></asp:Label>
                                  <%=getip()%></div></td>
                          </tr>
                      </table></td>
                    </tr>
                  </tbody>
                </table></td>
            </tr>
          </table>
          </td>
        </tr>
</table>