DOC

Left

By Jay Cruz,2014-04-16 19:14
6 views 0
Left

    <%@ Page Language="C#" AutoEventWireup="true" CodeFile="left.aspx.cs" Inherits="left" %>

     <html>

    

     <head id="Head1" runat="server">

     <style type="text/css">

     .style2

     {

     width: 100%;

     height: 78%;

     }

     .style3

     {

     height: 44px;

     }

     style>

     head>

     <body background="images/无标标.bmp">

     <form id="Form1" runat="server">

     <asp:Panel ID="Panel1" runat="server" Height="10%" Width="100%" BackColor="White"

     Wrap="False" HorizontalAlign="Center" BackImageUrl="~/images/无标标.bmp">

     <asp:Image ID="Image2" runat="server" Height="100px" ImageAlign="Middle"

     ImageUrl="~/images/clip_image002.jpg" Width="100%" />

     asp:Panel>

     <div>

     <hr />

     div>

     <div style="background-color: #114F59; color: #FFFFFF; line-height: 25px;">

     <asp:Button ID="Button1" runat="server" Font-Bold="True" ForeColor="White"

     Text="Out" onclick="Button1_Click" BackColor="#114F59" BorderColor="Red"

     BorderStyle="Outset" />

     <asp:Label ID="Label12" runat="server" Font-Bold="True" Font-Size="Medium"

     Text="Label">asp:Label>

     <asp:Label ID="Label11" runat="server" Font-Names="Arial" Font-Size="Medium"

     ForeColor="White" style="text-align: right" Font-Bold="True"

     BackColor="#114F59">asp:Label>

     <script>

    document.write("") //标出标示标标日期的容器

    setInterval(function(){

    with(new Date)

    time.innerText=getYear()+"年"+((getMonth()+1)>=10?(getMonth()+1):("0"+(getMonth()+1)))+"月"+(getDate()>=10?getDate():("0"+getDate()))+"日 星期"+"日一二三四五六".charAt(getDay())+" "+(getHours()>=10?getHours():("0"+getHours()))+":"+(getMinutes()>=10?getMinutes():("0"+getMinutes()))

    +":"+(getSeconds()>=10?getSeconds():("0"+getSeconds()))

    //标置 id 标 time 的标象的文本标前日期标标 内当

    },1000) //每1000毫秒(1秒) 标行一次本段代标

    script>

     div>

    

    

    

    

     <asp:menu id="NavigationMenu"

     disappearafter="2000"

     staticdisplaylevels="2"

     staticsubmenuindent="10px"

     orientation="Horizontal"

     font-names="Verdana"

     target="_blank"

     runat="server" Font-Size="0.8em" Height="30px" Width="100%" ForeColor="#666666"

     Font-Bold="True" BackColor="#E3EAEB" DynamicHorizontalOffset="2">

     <StaticMenuStyle BackColor="#6699FF" BorderStyle="Solid" BorderWidth="1px"

     HorizontalPadding="0px" VerticalPadding="0px" />

     <StaticSelectedStyle BackColor="#1C5E55" />

     <staticmenuitemstyle backcolor="#009999"

     forecolor="black" BorderStyle="Groove" HorizontalPadding="5px"

     VerticalPadding="2px"/>

     <statichoverstyle backcolor="#666666" ForeColor="White"/>

     <DynamicMenuStyle BackColor="#E3EAEB" />

     <DynamicSelectedStyle BackColor="#1C5E55" />

     <dynamicmenuitemstyle backcolor="#66CCFF"

     forecolor="#FFFFEC" BorderStyle="Inset" BorderWidth="1px" Font-Size="Small"

     Width="100%" HorizontalPadding="5px" VerticalPadding="2px"/>

     <dynamichoverstyle backcolor="#666666"

     forecolor="White"/>

     <items>

     <asp:menuitem NavigateUrl="~/login.aspx" Selected="True">

     asp:menuitem>

     <asp:MenuItem NavigateUrl="http://dotnet.aspx.cc/ShowList.aspx?id=1" Text="菜标"

     ToolTip="功能标标" Value="菜标">

     <asp:MenuItem Text="标入标"

     Value="标标标入系标" Selectable="False">

     <asp:MenuItem NavigateUrl="~/Default.aspx" Text="标标LOSS标标" Value="标标LOSS标入">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/neweqp.aspx" Text="标标机?NEW?" Value="标标LOSS">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/tongji.aspx" Text="生标力标标" Value="生标力标入">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/tjdppm.aspx" Text="DPPM标标" Value="DPPM标入">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/wiptj.aspx" Text="WIP标标" Value="WIP标入">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/dps.aspx" Text="DPS/MPS标标" Value="DPS/MPS标标">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/ipqcjh.aspx" Text="IPQC稽核标标" Value="IPQC稽核标标">

     asp:MenuItem>

     asp:MenuItem>

     <asp:MenuItem Text="标标标" Value="标标系标" Selectable="False">

     <asp:MenuItem Text="标标标" Value="标量标标" NavigateUrl="~/EQP1.aspx">asp:MenuItem>

     <asp:MenuItem Text="标合LOSS标标" Value="LOSS标标"

    NavigateUrl="~/index.aspx">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/errorindex.aspx" Text="标标LOSS标标" Value="分标LOSS标标">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/ecsindex.aspx" Text="ECS" Value="ECS">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/indexwo.aspx" Text="WO PROGRESS"

     Value="WO PROGRESS">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/repair.aspx" Text="REPAIR CHART"

     Value="REPAIR CHART">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/scjd.aspx" Text="生标标度" Value="生标标度"></asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/mrcc.aspx" Text="每日生标标度" Value="每日生标标度">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/IPQC.aspx" Text="IPQC稽核" Value="IPQC稽核">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/chaxun.aspx" Text="站点标标" Value="站点标标">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/unit.aspx" Text="LEVEL-2 F/I 标标"

     Value="LEVEL-2 F/I 标标">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/fideft.aspx" Text="F/ILOSS" Value="F/ILOSS">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/kaoqin.aspx" Text="考勤" Value="考勤">asp:MenuItem>

     asp:MenuItem>

     <asp:MenuItem Text="标表标" Value="新建标" Selectable="False">

     <asp:MenuItem NavigateUrl="~/scl.aspx" Text="生标力分析" Value="生标力分析">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/dppm.aspx" Text="DPPM分析" Value="DPPM分析">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/wip.aspx" Text="WIP分析" Value="WIP分析">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/df.aspx" Text="Module Track list"

     Value="MODULE TRACK LIST">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/newchart.aspx" Text="Yield Chart"

     Value="Yield Chart">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/daily.aspx" Text="DPS/MPS" Value="DPS/MPS">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/FMA.aspx" Text="FMA CHART" Value="FMA CHART">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/FAIL.aspx" Text="重工回流率" Value="重工量率"></asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/sbei.aspx" Text="标标标表" Value="标标标表">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/loss.aspx" Text="LOSS RATIO" Value="LOSS RATIO">

     asp:MenuItem>

     <asp:MenuItem Text="F/I站点DPPM" Value="F/I站点良率">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/aoi.aspx" Text="Aoi Loss Ratio Chart"

     Value="Aoi Loss Ratio Chart">asp:MenuItem>

     asp:MenuItem>

     <asp:MenuItem Text="更新标" Value="CODE更新" Selectable="False">

     <asp:MenuItem NavigateUrl="~/sop.aspx" Text="ECS INPUT" Value="ECS INPUT">

     asp:MenuItem>

     asp:MenuItem>

     <asp:MenuItem Text="用标管理标" Value="新建标" Selectable="False">

     <asp:MenuItem Text="修改密标" Value="修改密标"

    NavigateUrl="~/changepw.aspx">asp:MenuItem>

     <asp:MenuItem Text="密标回" Value="密标回"

    NavigateUrl="~/jianshe.aspx">asp:MenuItem>

     <asp:MenuItem Text="标限管理" Value="标限管理"

    NavigateUrl="~/jianshe.aspx">asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/user.aspx" Text="添加新用标" Value="添加新用标">

     asp:MenuItem>

     <asp:MenuItem Text="新建标" Value="新建标">asp:MenuItem>

     asp:MenuItem>

     <asp:MenuItem Selectable="False" Text="其他标接" Value="其他标接">

     <asp:MenuItem NavigateUrl="~/OPL.aspx" Text="OPL系标" Value="OPL系标">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/biaodan.aspx" Text="标标性表标管理" Value="标标性表标管理">

     asp:MenuItem>

     <asp:MenuItem NavigateUrl="~/Qn.aspx" Text="FI Loss率" Value="新建标">

     asp:MenuItem>

     asp:MenuItem>

     asp:MenuItem>

     items>

     asp:menu>

     <table class="style2">

     <tr>

     <td rowspan="2">

      td>

     <td align="right">

     <br />

     td>

     tr>

     <tr>

     <td align="right">

      td>

     tr>

     <tr>

     <td>

      td>

     <td align="right">

      td>

     tr>

     <tr>

     <td>

      td>

     <td>

      td>

     tr>

     <tr>

     <td>

      td>

     <td>

      td>

     tr>

     <tr>

     <td>

      td>

     <td>

      td>

     tr>

     <tr>

     <td>

      td>

     <td>

      td>

     tr>

     <tr>

     <td>

      td>

     <td>

      td>

     tr>

     <tr>

     <td align="center" class="style3" colspan="2">

     Made by jx.gu for quality manufactured,There are problems please email

     to ID="LinkButton4" runat="server"

    onclick="LinkButton4_Click"> .asp:LinkButton>

     <br />

     only for cando to use(Version1.01)td>

     tr>

     table>

     form>

     body>

     html>

    using System;

    using System.Collections;

    using System.Configuration;using System.Data;

    using System.Linq;

    using System.Data.OleDb;

    using System.Web;

    using System.Web.Security;

    using System.Web.UI;

    using System.Web.UI.HtmlControls;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;

    using System.Xml.Linq;

    public partial class left : System.Web.UI.Page

    {

     Class1 comm = new Class1();

     protected void Page_Load(object sender, EventArgs e)

     {

     indexname();

     //this.Label12.Text = (string)Session["username"];

     Session.Timeout=60;

     if ((string)Session["Login"]=="OK")

     {

     }

     else

     {

     Response.Redirect("~/login.aspx");

     }

     //this.Label1.Text = DateTime.Now.ToShortTimeString();

     //this.Label2.Text = "目前在标人: " + Application["online_users"].ToString() + " 人";

     }

     protected void Button1_Click(object sender, EventArgs e)

     {

     // Session["username"] = "";

     //Session["Password"] = "";

     Session.RemoveAll();

     Response.Redirect("~/login.aspx");

     }

     protected void indexname()

     {

     OleDbConnection conn = comm.getconnection("db1");

     try

     {

     conn.Open();

     string mz = (string)Session["username"];

     string sql = "";

     sql = "select name from id1 where userid='" + mz + "'";

     OleDbCommand cmd = conn.CreateCommand(); //定标CMD?存标标程

     cmd.CommandText = sql;

     OleDbDataReader ds = cmd.ExecuteReader(); //标取据

     string newmz = "";

     while (ds.Read())

     {

     newmz = ds.GetValue(0).ToString();

     }

     this.Label12.Text = newmz;

     conn.Close();

     }

     catch (System.Exception)

     {

     conn.Close();

     }

     }

     protected void LinkButton1_Click(object sender, EventArgs e)

     {

     Response.Redirect("~/OPL.aspx");

     }

     protected void LinkButton2_Click(object sender, EventArgs e)

     {

     Response.Redirect("~/biaodan.aspx");

     }

     protected void LinkButton3_Click(object sender, EventArgs e)

     {

     Server.Transfer("kaoqin.aspx");

     }

     protected void LinkButton4_Click(object sender, EventArgs e)

     {

     Response.Redirect("~/GZDD.aspx");

     }

}

Report this document

For any questions or suggestions please email
cust-service@docsford.com