최초커밋
This commit is contained in:
900
project/project_stat.asp
Normal file
900
project/project_stat.asp
Normal file
@@ -0,0 +1,900 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<!-- #include file = "../include/top_menu.asp" -->
|
||||
<OBJECT RUNAT=Server PROGID=ADODB.Recordset id=Rs></OBJECT>
|
||||
|
||||
<%'####################################################
|
||||
'<27><>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD><D0BC><EFBFBD> <20><>ü, <20>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD>,
|
||||
' => <20><><EFBFBD><EFBFBD><E2B5B5> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD>̰<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD>̰<EFBFBD><CCB0><EFBFBD>
|
||||
|
||||
|
||||
'<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> : chk_admin = "field"
|
||||
' => <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20>ڱ<EFBFBD> <20>ڽ<EFBFBD><DABD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD>̱<EFBFBD>
|
||||
' => <20>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Էµ<D4B7> <20><><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD>̱<EFBFBD>
|
||||
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD> : chk_admin = "etc_buser1"
|
||||
' => <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20>ڱ<EFBFBD> <20>ڽ<EFBFBD><DABD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD>̱<EFBFBD>
|
||||
' => <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><>ü <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD>̱<EFBFBD>
|
||||
|
||||
|
||||
'<27><>Ÿ<EFBFBD>μ<EFBFBD>(<28>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>) : chk_admin = "etc_buser2"
|
||||
' => <20>ƹ<EFBFBD><C6B9>͵<EFBFBD> <20>Ⱥ<EFBFBD><C8BA><EFBFBD>(<28><>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
|
||||
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ǹ̴<C7B9> <20><><EFBFBD>ó<EFBFBD>¥<EFBFBD><C2A5><EFBFBD><EFBFBD><EFBFBD>̰<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ǹ̴<C7B9> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>¥<EFBFBD><C2A5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
||||
|
||||
'####################################################
|
||||
''2006<30><36> 11<31><31> 1<><31> <20>߰<EFBFBD><DFB0><EFBFBD>
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ٰ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ٸ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD>ý<EFBFBD>
|
||||
'<27><><EFBFBD><EFBFBD> ȭ<><C8AD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD> url_posi <20>߰<EFBFBD><DFB0><EFBFBD> <20><>)
|
||||
'####################################################
|
||||
'ȫ<><C8AB><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD> <20><>ƾ <20><><EFBFBD><EFBFBD>
|
||||
'<27>ֳ<EFBFBD><D6B3>ϸ<EFBFBD> fgi<67><69><EFBFBD><EFBFBD><EFBFBD><EFBFBD> and substring(p_sn,5,3) <> '000')<29><> <20>ɸ<EFBFBD><C9B8>
|
||||
%>
|
||||
<%
|
||||
'Response.Cookies("krc_username")
|
||||
'Response.Write "'"
|
||||
'Response.Write "<font color=red style='FONT-FAMILY: <20><><EFBFBD><EFBFBD>ü;font-size:12px;FONT-WEIGHT: bold;'><3E><>ġ : <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ => <20><><EFBFBD><EFBFBD> <20><>Ȳ</font>"
|
||||
|
||||
call Time_Check(Session("Login_Check"))
|
||||
|
||||
'Response.Expires = 0
|
||||
'Response.Buffer = false
|
||||
|
||||
|
||||
|
||||
Dim Sql
|
||||
dim i, j
|
||||
dim u_name
|
||||
dim ConDate
|
||||
dim chk_admin
|
||||
dim sc_year
|
||||
dim sc_month
|
||||
dim sc_team
|
||||
dim sc_name
|
||||
dim krc_team()
|
||||
dim krc_team_cnt
|
||||
dim prj_search_cnt
|
||||
dim tmpstr
|
||||
dim method
|
||||
dim db_p_dp() 'dp <20>迭<EFBFBD><E8BFAD> <20><><EFBFBD><EFBFBD>
|
||||
dim prj_dp '<27><><EFBFBD><EFBFBD>dp
|
||||
dim line_cnt
|
||||
dim dp_rank(3) '<27><><EFBFBD><EFBFBD> <20><><EFBFBD>̵<EFBFBD>
|
||||
dim db_p_sv() 'sv <20>迭<EFBFBD><E8BFAD> <20><><EFBFBD><EFBFBD>
|
||||
dim prj_sv '<27><><EFBFBD><EFBFBD>sv
|
||||
dim max_width
|
||||
dim sample_cnt '<27><><EFBFBD>ü<EFBFBD>
|
||||
dim sv_rank(3) '<27>ǻ<EFBFBD> <20><><EFBFBD>̵<EFBFBD>
|
||||
dim db_p_research() '<27><><EFBFBD><EFBFBD> <20>迭<EFBFBD><E8BFAD> <20><><EFBFBD><EFBFBD>
|
||||
|
||||
|
||||
dp_rank(0) = ""
|
||||
dp_rank(1) = "<22><>"
|
||||
dp_rank(2) = "<22><>"
|
||||
dp_rank(3) = "<22><>"
|
||||
|
||||
sv_rank(0) = ""
|
||||
sv_rank(1) = "<22><>"
|
||||
sv_rank(2) = "<22><>"
|
||||
sv_rank(3) = "<22><>"
|
||||
|
||||
sc_year = Request.QueryString("sc_year")
|
||||
sc_month = Request.QueryString("sc_month")
|
||||
sc_team = Request.QueryString("sc_team")
|
||||
sc_name = Request.QueryString("sc_name")
|
||||
|
||||
if sc_year = "" then
|
||||
sc_year = year(date)
|
||||
end if
|
||||
|
||||
if sc_month = "" then
|
||||
sc_month = month(date)
|
||||
end if
|
||||
|
||||
if sc_team = "" then
|
||||
sc_team="0"
|
||||
end if
|
||||
|
||||
sql = "select * from depart where ((d_code >0 and d_code < 11) or (d_code >= 20 and d_code <=60)) and d_yes_no = 'y' order by d_code"
|
||||
Rs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
krc_team_cnt = Rs.recordcount
|
||||
redim krc_team(krc_team_cnt,2)
|
||||
krc_team_cnt = 0
|
||||
do while not Rs.eof
|
||||
krc_team_cnt = krc_team_cnt + 1
|
||||
krc_team(krc_team_cnt,1) = rs("d_code")
|
||||
krc_team(krc_team_cnt,2) = rs("d_name")
|
||||
Rs.movenext
|
||||
loop
|
||||
Rs.close
|
||||
|
||||
|
||||
''/=========================
|
||||
''/===========================
|
||||
''<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
''<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(<28>μ<EFBFBD>:12), <20><><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD><D0BC><EFBFBD>(<28>μ<EFBFBD>:11), <20>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>μ<EFBFBD>:13),<2C>ӿ<EFBFBD>(<28>μ<EFBFBD> 0<><30> <20>ӿ<EFBFBD>)
|
||||
''2011<31><31> 1<><31> 7<>Ϸ<EFBFBD> <20>ٽ<EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(<28>μ<EFBFBD>:12), <20><><EFBFBD><EFBFBD><EFBFBD>ý<EFBFBD><C3BD>ۺ<EFBFBD>(17). <20>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28>μ<EFBFBD>:18),<2C>ӿ<EFBFBD>(<28>μ<EFBFBD> 0<><30> <20>ӿ<EFBFBD>)
|
||||
if ( Session("Depart_Code") = "12" and Session("admin_Code") = "1") or Session("Depart_Code") = "17" or Session("Depart_Code") = "18" or Session("Depart_Code") = "0" then
|
||||
chk_admin="admin"
|
||||
max_width = 1000
|
||||
elseif Session("Depart_Code") = "12" then '<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
chk_admin="field"
|
||||
max_width = 870
|
||||
elseif cint(Session("Depart_Code")) <= 10 or (cint(Session("Depart_Code")) >= 20 and cint(Session("Depart_Code")) <=60) then '<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>
|
||||
chk_admin = "etc_buser1"
|
||||
max_width = 870
|
||||
else '<27>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
chk_admin = "etc_buser2"
|
||||
end if
|
||||
|
||||
|
||||
|
||||
max_width = 1050
|
||||
''/=========================
|
||||
''/===========================
|
||||
|
||||
ConDate=year(date) & "-" & zeroFormat(month(date),2) & "-" & zeroFormat(day(date),2)
|
||||
Sql = "select p_name from person where p_no ='" & Session("user_number") & "'"
|
||||
Rs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
u_name = Rs.fields("p_name")
|
||||
Rs.close
|
||||
|
||||
''/===========================
|
||||
''/===========================
|
||||
|
||||
'p_job_part => 0:<3A>ӿ<EFBFBD>, 1:<3A><><EFBFBD><EFBFBD>, 2:<3A><><EFBFBD><EFBFBD>, 3:s/v, 4:<3A><><EFBFBD><EFBFBD>, 5:<3A>ڵ<EFBFBD>, 6:<3A><>ġ, 7:dp, 8:it, 9:ȸ<><C8B8>, 99:<3A><>Ÿ
|
||||
''/===========================
|
||||
'Person <20><><EFBFBD>̺<EFBFBD><CCBA><EFBFBD><EFBFBD><EFBFBD> DP <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
sql = "SELECT * "
|
||||
sql = sql & "FROM Person "
|
||||
sql = sql & "WHERE (p_depart='17' AND p_resign='0' and p_job_part = '07')" '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> dp
|
||||
sql = sql & "OR (p_depart='88' AND p_resign='0') " '<27><>Ÿ
|
||||
sql = sql & "order by p_order "
|
||||
adoRs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
redim db_p_dp(adoRs.recordcount,3)
|
||||
i=0
|
||||
db_p_dp(i,1) = "0"
|
||||
db_p_dp(i,2) = "= <20><><EFBFBD><EFBFBD> ="
|
||||
do until adoRs.eof
|
||||
i=i+1
|
||||
db_p_dp(i,1) = trim(adoRs("p_no"))
|
||||
db_p_dp(i,2) = trim(adoRs("p_name"))
|
||||
adoRs.movenext
|
||||
loop
|
||||
adoRs.close
|
||||
|
||||
''/===========================
|
||||
'Person <20><><EFBFBD>̺<EFBFBD><CCBA><EFBFBD><EFBFBD><EFBFBD> sv <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
sql = "select * from person "
|
||||
sql = sql & "where ( p_depart='12' AND p_resign='0')" 'svand p_job_part = '03'
|
||||
sql = sql & " OR (p_depart='88' AND p_resign='0') " '<27><>Ÿ
|
||||
sql = sql & " order by p_order "
|
||||
|
||||
adoRs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
redim db_p_sv(adoRs.recordcount,3)
|
||||
i=0
|
||||
db_p_sv(i,1) = "0"
|
||||
db_p_sv(i,2) = "= <20><><EFBFBD><EFBFBD> ="
|
||||
do until adoRs.eof
|
||||
i=i+1
|
||||
db_p_sv(i,1) = trim(adoRs("p_no"))
|
||||
db_p_sv(i,2) = trim(adoRs("p_name"))
|
||||
adoRs.movenext
|
||||
loop
|
||||
adoRs.close
|
||||
|
||||
|
||||
''/===========================
|
||||
'Person <20><><EFBFBD>̺<EFBFBD><CCBA><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)
|
||||
sql = "select * from person "
|
||||
sql = sql & "where ((p_depart <='10' or (p_depart >= 20 and p_depart <= 95)) and p_job_part = '01')" '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
sql = sql & " OR (p_depart='88' ) " '<27><>Ÿ
|
||||
sql = sql & " order by p_order "
|
||||
|
||||
adoRs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
redim db_p_research(adoRs.recordcount,3)
|
||||
i=0
|
||||
db_p_research(i,1) = "0"
|
||||
db_p_research(i,2) = "= <20><><EFBFBD><EFBFBD> ="
|
||||
do until adoRs.eof
|
||||
i=i+1
|
||||
db_p_research(i,1) = trim(adoRs("p_no"))
|
||||
db_p_research(i,2) = trim(adoRs("p_name"))
|
||||
adoRs.movenext
|
||||
loop
|
||||
adoRs.close
|
||||
|
||||
%>
|
||||
|
||||
<script language=javascript>
|
||||
function help_open()
|
||||
{
|
||||
var width_size = screen.width - 600;
|
||||
var height_size= screen.height;
|
||||
window.open ("/help/project_stat_help.htm", "", "left=" + width_size + " top=5 width=600 height=500 scrollbars=yes statbar=no" );
|
||||
}
|
||||
function go_search(goPageNum)
|
||||
{
|
||||
var sc_year = document.frm_new_main.sc_year.value;
|
||||
var sc_month = document.frm_new_main.sc_month.value;
|
||||
var sc_team = document.frm_new_main.sc_team.value;
|
||||
var sc_name = document.frm_new_main.sc_name.value;
|
||||
var url;
|
||||
// var sc_method = document.frm_new_main.sc_method.value;
|
||||
|
||||
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> document.frm_new_main.action="new_main.asp?sc_year="+sc_year+"&sc_month="+sc_month+"&sc_team="+sc_team+"&sc_name="+sc_name+"&sc_method="+sc_method+"&curpage="+goPageNum;
|
||||
url = "project_stat.asp?sc_year="+sc_year+"&sc_month="+sc_month+"&sc_team="+sc_team+"&sc_name="+sc_name+"&curpage="+goPageNum;
|
||||
document.frm_new_main.action=url;
|
||||
document.frm_new_main.submit();
|
||||
// window.open('project_stat.asp?' + url,'_self')
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
function Change_DP(p_sn, line_cnt)
|
||||
{
|
||||
//<2F><><EFBFBD><EFBFBD> dp<64><70> <20><><EFBFBD>̵<EFBFBD><CCB5><EFBFBD> <20><><EFBFBD>ÿ<EFBFBD> <20>ٲٱ⸦ <20><>
|
||||
var x;
|
||||
var dp = document.all.prj_dp[line_cnt-1].value;
|
||||
var dp_rank = document.all.prj_dp_rank[line_cnt-1].value;
|
||||
|
||||
x = window.showModalDialog('project_dpSave.asp?C_dp='+dp+'&p_sn='+p_sn+'&c_dp_rank='+dp_rank,window,"dialogTop:middle;dialogLeft:middle;dialogWidth:550px;dialogHeight:600px;scroll:1;center:1;");
|
||||
if (x!="")
|
||||
{
|
||||
//window.location.reload();
|
||||
document.frm_new_main.prj_dp[line_cnt-1].value = x;
|
||||
alert ("DP <20><> <20><><EFBFBD>̵<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
||||
}
|
||||
else
|
||||
{
|
||||
alert ("DP <20><> <20><><EFBFBD>̵<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function Change_Sv(p_sn, line_cnt)
|
||||
{
|
||||
//<2F><><EFBFBD><EFBFBD> sv<73><76> <20>ٲٱ⸦ <20><>
|
||||
var x;
|
||||
// var sv = document.all.sel_prj_sv[line_cnt-1].value;
|
||||
var sv_rank = document.all.prj_sv_rank[line_cnt-1].value;
|
||||
|
||||
// x = window.showModalDialog('project_svSave.asp?C_sv='+sv+'&p_sn='+p_sn,window,"dialogTop:middle;dialogLeft:middle;dialogWidth:550px;dialogHeight:600px;scroll:1;center:1;");
|
||||
x = window.showModalDialog('project_svSave.asp?p_sn='+p_sn+'&c_sv_rank='+sv_rank,window,"dialogTop:middle;dialogLeft:middle;dialogWidth:550px;dialogHeight:600px;scroll:1;center:1;");
|
||||
if (x!="")
|
||||
{
|
||||
//window.location.reload();
|
||||
// document.frm_new_main.sel_prj_sv[line_cnt-1].value = x;
|
||||
alert ("<22>ǻ<EFBFBD> <20><><EFBFBD>̵<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
||||
}
|
||||
else
|
||||
{
|
||||
alert ("<22>ǻ<EFBFBD> <20><><EFBFBD>̵<EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
function openit(p_sn,sc_year,sc_month,sc_team,sc_name) {
|
||||
var url = 'project_list2_dep.asp?p_sn=' + p_sn + '&teamname=' + sc_team;
|
||||
var tmp_width = 850;
|
||||
var tmp_height = 800;
|
||||
window.open(url,'','left=0,top=0,width='+tmp_width+',height='+tmp_height+',scrollbars=yes,resizable=yes')
|
||||
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
<SCRIPT LANGUAGE="JavaScript" SRC="/js/common.js"></SCRIPT>
|
||||
|
||||
<form method='post' name='frm_new_main'>
|
||||
<td width="100%" valign="top">
|
||||
<%''//================================
|
||||
''//================================
|
||||
'<27>ݹ<EFBFBD><DDB9><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>
|
||||
sql =""
|
||||
line_cnt=0
|
||||
' if chk_admin = "admin" then
|
||||
%>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<!-- Ȯ<><C8AE> -->
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" style="padding:20;">
|
||||
<div id="popdiv_obj1" style="position:absolute; background-color:FFFFDD;color:black;border-color:black;border-width:20; display:none; left:25px; top:100px; z-index:10" onmouseover="overdiv=20;" onmouseout="overdiv=0;setTimeout('hideLayer()',1000)">asdf</div>
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
<font class="brown"><3E><> <20><><EFBFBD><EFBFBD> <20>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><>ȸ <20><> <20>˻<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϼ<EFBFBD><CFBC><EFBFBD>.</font>
|
||||
</font>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="padding:5 0 0 0">
|
||||
<table width="100%" height="37" cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td bgcolor="#DFDFDF" style="padding:0 0 0 10">
|
||||
<09><EFBFBD><E2B5B5>:
|
||||
<SELECT name=sc_year>
|
||||
<%for i=cint(year(date)) to 2009 step -1 %>
|
||||
<OPTION value='<%=i%>'
|
||||
<%if cint(i) = cint(sc_year) then%>
|
||||
selected
|
||||
<%end if%>
|
||||
><%=i%></OPTION>
|
||||
<%next%>
|
||||
</SELECT>
|
||||
|
||||
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ۿ<EFBFBD>:
|
||||
<SELECT name=sc_month>
|
||||
<OPTION value='0'><3E><>ü</OPTION>
|
||||
<% for i=1 to 12%>
|
||||
<OPTION value='<%=zeroFormat(i,2)%>'
|
||||
<%if cint(i) = cint(sc_month) then%>
|
||||
selected
|
||||
<%end if%>
|
||||
><%=i%><3E><></OPTION>
|
||||
<%next%>
|
||||
</SELECT>
|
||||
|
||||
<09><><EFBFBD>κ<EFBFBD>:
|
||||
<SELECT name=sc_team>
|
||||
<OPTION value='0'><3E><>ü</OPTION>
|
||||
<%for i=1 to krc_team_cnt%>
|
||||
<OPTION value='<%=krc_team(i,1)%>'
|
||||
<%if cint(sc_team) = cint(krc_team(i,1)) then%>
|
||||
selected
|
||||
<%end if%>
|
||||
><%=krc_team(i,2)%></OPTION>
|
||||
<%next%>
|
||||
</SELECT>
|
||||
|
||||
<09><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> :
|
||||
<input type=text name=sc_name maxlength=20 size=20 style='ime-mode:inactive;' value = '<%=sc_name%>'>
|
||||
|
||||
<img src='/images/common/btn_smallsrch.gif' style='cursor:pointer' onclick='go_search("1");' title ='ã<><C3A3>' align="absmiddle">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<%'end if' if chk_admin = "admin" then
|
||||
|
||||
|
||||
sql = "SELECT a.*, "
|
||||
sql = sql & " b.p_order AS p_order "
|
||||
sql = sql & "FROM dbo.project a LEFT OUTER JOIN "
|
||||
|
||||
if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then
|
||||
sql = sql & " dbo.person b ON a.p_dper = b.p_no "
|
||||
elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then
|
||||
sql = sql & " dbo.person b ON a.p_sv = b.p_no "
|
||||
else
|
||||
sql = "select * from project as a "
|
||||
end if
|
||||
|
||||
sql = sql & "where p_field_end < '" & ConDate & "'" ' and substring(p_field_end,1,7) = '" & mid(condate,1,7) & "'"
|
||||
' sql = sql & " and substring(p_sn,5,3) <> '000' " 'ȫ<><C8AB><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD>
|
||||
if sc_month <> "0" and sc_month <> "" then
|
||||
'<27><><EFBFBD><EFBFBD>
|
||||
'2005-09-27 <20>ʵ彺ŸƮ <20><>¥<EFBFBD><C2A5> <20><><EFBFBD><EFBFBD> <20>˻<EFBFBD><CBBB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(p_field_st)
|
||||
sql = sql & " and substring(p_field_end,1,4) = '" & zeroformat(sc_year,4) & "'" '<27>⺰
|
||||
sql = sql & " and substring(p_field_end,6,2) = '" & zeroformat(sc_month,2) & "'" '<27><><EFBFBD><EFBFBD>
|
||||
else
|
||||
sql = sql & " and substring(p_field_end,1,4) = '" & zeroformat(sc_year,4) & "'" '<27>⺰
|
||||
end if
|
||||
if sc_team <> "0" and sc_team <> "" then
|
||||
sql = sql & " and a.p_depart_dep='" & sc_team & "'" '<27><><EFBFBD><EFBFBD>
|
||||
end if
|
||||
if sc_name <> "" then
|
||||
sql = sql & " and a.p_subject like '%" & sc_name & "%'" '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD≯<EFBFBD><CCB8><EFBFBD>
|
||||
end if
|
||||
''<27>α<EFBFBD><CEB1><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ں<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>..
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ش<EFBFBD> <20>μ<EFBFBD><CEBC><EFBFBD> <20><>ü<EFBFBD><C3BC> <20><>
|
||||
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڱ<EFBFBD> <20>ڽ<EFBFBD><DABD><EFBFBD> <20><EFBFBD>
|
||||
'<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD><D0BC><EFBFBD> <20><><EFBFBD><EFBFBD>/<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
'<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڱ<EFBFBD> <20>ڽ<EFBFBD><DABD><EFBFBD> <20><EFBFBD>
|
||||
'
|
||||
if chk_admin = "etc_buser1" then '<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>
|
||||
sql = sql & " and substring(p_sn,5,1) = '" & cint(Session("Depart_Code")) & "' " '<27>ڱ<EFBFBD> <20>μ<EFBFBD><CEBC><EFBFBD>
|
||||
if Session("admin_Code") <> "True" then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ƴϸ<C6B4> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ڽ<EFBFBD><DABD><EFBFBD> <20≯<EFBFBD><CCB8><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ
|
||||
sql = sql & "and ("
|
||||
sql = sql & "p_rsch_1 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_2 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_3 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_4 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_5 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_6 = '" & Session("user_number") & "' "
|
||||
sql = sql & ") "
|
||||
end if
|
||||
elseif chk_admin = "field" then '<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD>
|
||||
end if
|
||||
|
||||
sql = sql & " and (substring(p_sn,1,2) <> '08') "
|
||||
|
||||
if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then
|
||||
sql = sql & " order by p_order, p_field_end, p_subject"' p_dper,p_name, p_field_end"
|
||||
elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then
|
||||
sql = sql & " order by p_sv, p_field_end"
|
||||
else
|
||||
sql = sql & " order by p_subject "
|
||||
end if
|
||||
Rs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
prj_search_cnt = Rs.recordcount
|
||||
|
||||
tmpstr= sc_year & "<22><> "
|
||||
if cint(sc_month) > 0 then
|
||||
tmpstr = tmpstr & sc_month & "<22><> "
|
||||
end if
|
||||
if cint(sc_team) > 0 then
|
||||
for i = 1 to krc_team_cnt
|
||||
if cint(krc_team(i,1)) = cint(sc_team) then
|
||||
tmpstr = tmpstr & krc_team(i,2)
|
||||
exit for
|
||||
end if
|
||||
next
|
||||
end if
|
||||
%>
|
||||
<table width="100%" cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr>
|
||||
<td> <font color=#000069><3E><> <%=Response.Write (u_name)%><3E><> <%=condate%> <20><> <20><><EFBFBD><EFBFBD> <font size=3 color=red><b>(<28><><EFBFBD><EFBFBD>:<%=tmpstr%>)</b></font> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.(<%=prj_search_cnt%><3E><>)
|
||||
</font></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="13" bgcolor="#d5d5d5" height="1"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div style="overflow-x:hidden;overflow-y:scroll;height:37px;100%;border:none;">
|
||||
<table width="100%" cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<tr >
|
||||
<td align=center width='10%' ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE></td>
|
||||
<td align=center width='20%' ><3E><><EFBFBD>系<EFBFBD><E7B3BB></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD>ü<EFBFBD></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD>翬<EFBFBD><E7BFAC></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD><EFBFBD>SV</td>
|
||||
<td align=center width='10%' ><3E>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='10%' ><3E>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='10%' ><3E><>ġ<EFBFBD><C4A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='5%' ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><br><3E><><EFBFBD><EFBFBD></td>
|
||||
<td align=center width='10%' ><3E><><EFBFBD><EFBFBD><EFBFBD><EFBFBD></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div style="overflow-x:hidden;overflow-y:scroll;height:400px;100%;border:none;">
|
||||
<table width="100%" cellpadding="3" cellspacing="0" border="0" style="border-collapse:collapse;">
|
||||
<% if Rs.recordcount<1 then %>
|
||||
<tr align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'" height=20>
|
||||
<td colspan=6 align=center> <20><><EFBFBD><EFBFBD> <20>Ϸ<EFBFBD><CFB7><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.</td>
|
||||
</tr>
|
||||
<tr height=1>
|
||||
<td background='/images/dot.gif' colspan=6>
|
||||
</tr>
|
||||
<% else
|
||||
|
||||
prj_dp = ""
|
||||
for i=0 to ubound(db_p_dp)
|
||||
db_p_dp(i,3) = 0
|
||||
next
|
||||
for i=0 to ubound(db_p_sv)
|
||||
db_p_sv(i,3) = 0
|
||||
next
|
||||
for i=0 to ubound(db_p_research)
|
||||
db_p_research(i,3) = 0
|
||||
next
|
||||
tmp_bgcolor="#dbe9f2"
|
||||
do until Rs.EOF
|
||||
line_cnt = line_cnt + 1
|
||||
method = Rs("p_method")
|
||||
sql = "select * from p_method where code1 = '" & method & "'"
|
||||
' Response.Write sql
|
||||
' Response.Write RS("p_sn")
|
||||
AdoRs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
method = adors("name1")
|
||||
AdoRs.close
|
||||
|
||||
tmpstr = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : " & method & "<br>"
|
||||
tmpstr = tmpstr & "<22><><EFBFBD>系<EFBFBD><E7B3BB> : " & Rs("p_intention")
|
||||
sample_cnt = rs("p_sample")
|
||||
|
||||
if tmp_bgcolor="" then
|
||||
tmp_bgcolor="#dbe9f2"
|
||||
else
|
||||
tmp_bgcolor=""
|
||||
end if
|
||||
%>
|
||||
<tr align=center bgcolor="<%=tmp_bgcolor%>" id='row<%=line_cnt%>' onmouseover="MultiRowSelection('row<%=line_cnt%>',0,'on');popLayer('<%=tmpstr%>');" onmouseout="MultiRowSelection('row<%=line_cnt%>',0,'off','<%=tmp_bgcolor%>');hideLayer();">
|
||||
<td align=left width='10%' style='cursor:pointer' onclick = 'openit("<%=Rs("p_sn")%>","<%=sc_year%>","<%=sc_month%>","<%=sc_team%>","<%=sc_name%>")' ><%=Rs("p_subject")%></td>
|
||||
<td align=left width='20%' ><%=replace(csformat(Rs("p_intention"),30)," ","")%></td>
|
||||
<td align=left width='5%' >
|
||||
<%i = cint(instr(1,method,"("))
|
||||
if i > 0 then
|
||||
tmpstr = mid(method,1,i - 1)
|
||||
else
|
||||
tmpstr = method
|
||||
end if
|
||||
Response.Write tmpstr
|
||||
%>
|
||||
</td>
|
||||
<td align=right width='5%' ><%=formatnumber(sample_cnt,0)%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_research)
|
||||
if db_p_research(i,1) = rs("p_rsch_1") then
|
||||
tmpstr = db_p_research(i,2)
|
||||
db_p_research(i,3) = cint(db_p_research(i,3)) + 1''<27><><EFBFBD><EFBFBD> <20><><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next
|
||||
if tmpstr=" " then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ã<><C3A3>
|
||||
sql = "SELECT * "
|
||||
sql = sql & "FROM Person "
|
||||
sql = sql & "WHERE ( p_resign='1' )"
|
||||
sql = sql & " and p_no = '" & rs("p_rsch_1") & "'"
|
||||
sql = sql & "order by p_order "
|
||||
AdoRs.Open sql, adoConn, 1%>
|
||||
<%
|
||||
if AdoRs.recordcount > 0 then
|
||||
%>
|
||||
<%tmpstr = AdoRs("p_name")%>
|
||||
<%
|
||||
end if
|
||||
%>
|
||||
<%AdoRs.Close
|
||||
end if%>
|
||||
|
||||
<td width='5%' ><%=tmpstr%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_dp)
|
||||
if db_p_dp(i,1) = rs("p_dper") then
|
||||
tmpstr = db_p_dp(i,2)
|
||||
db_p_dp(i,3) = cint(db_p_dp(i,3)) + 1''dp<64><70><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next
|
||||
if tmpstr=" " and trim(rs("p_dper")) <> "" then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ã<><C3A3>
|
||||
sql = "SELECT * "
|
||||
sql = sql & "FROM Person "
|
||||
' sql = sql & "WHERE ( p_resign='1' )"
|
||||
sql = sql & "WHERE p_no = '" & rs("p_dper") & "'"
|
||||
sql = sql & " order by p_order "
|
||||
AdoRs.Open sql, adoConn, 1
|
||||
%>
|
||||
<%prj_dp = AdoRs("p_name")%>
|
||||
<%AdoRs.Close
|
||||
else
|
||||
prj_dp = tmpstr '<27><><EFBFBD><EFBFBD>dp
|
||||
end if
|
||||
%>
|
||||
<td width='5%' ><%=prj_dp%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> sv
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_sv)
|
||||
if db_p_sv(i,1) = rs("p_sv") then
|
||||
tmpstr = db_p_sv(i,2)
|
||||
db_p_sv(i,3) = cint(db_p_sv(i,3)) + 1''sv <20><><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next
|
||||
if tmpstr=" " and trim(rs("p_sv")) <> "" then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ã<><C3A3>
|
||||
sql = "SELECT * "
|
||||
sql = sql & "FROM Person "
|
||||
sql = sql & "WHERE ( p_resign='1' )"
|
||||
sql = sql & " and p_no = '" & rs("p_sv") & "'"
|
||||
sql = sql & " order by p_order "
|
||||
AdoRs.Open sql, adoConn, 1
|
||||
if isnull(AdoRs("p_name")) then
|
||||
tmpstr = ""
|
||||
else
|
||||
tmpstr = AdoRs("p_name")
|
||||
end if
|
||||
AdoRs.Close
|
||||
end if
|
||||
%>
|
||||
<td width='5%' ><%=tmpstr%></td>
|
||||
<td width='10%' ><%=Rs("p_field_st")%></td>
|
||||
<td width='10%'><%=Rs("p_field_end")%></td>
|
||||
<td width='10%'><%=Rs("P_punch_end")%></td>
|
||||
<td width='5%' >
|
||||
<%
|
||||
tmpstr = default_path_root & "inspection/project_direct_cost.asp?url_posi=project_stat&p_sn=" & RS("p_sn") & "&p_method=" & Rs("p_method")
|
||||
if tmpstr = "<22>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>" then%>
|
||||
<a href='javascript:alert("<22>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.\n\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><>ȸ<EFBFBD><C8B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD><D8BE>մϴ<D5B4>.");'><3E><> <20><></a>
|
||||
<%else
|
||||
if cint(Session("Depart_Code") ) < 11 or (cint(Session("Depart_Code") ) >= 20 and cint(Session("Depart_Code") ) <=60) then '<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC≯<EFBFBD>
|
||||
tmpstr = tmpstr & "&printmode=1"%>
|
||||
<a target=new href = '<%=tmpstr%>'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%else
|
||||
' tmpstr = tmpstr & "&url_posi=project_stat"
|
||||
tmpstr = tmpstr & "&sc_year=" & sc_year
|
||||
tmpstr = tmpstr & "&sc_month=" & sc_month
|
||||
tmpstr = tmpstr & "&sc_team=" & sc_team
|
||||
tmpstr = tmpstr & "&sc_name=" & sc_name%>
|
||||
<a href = '<%=tmpstr%>'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%end if
|
||||
%>
|
||||
|
||||
<%end if%>
|
||||
|
||||
</td>
|
||||
<td align=right ><!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ݾ<EFBFBD>-->
|
||||
<%if not isnull(rs("p_esti_cost")) then%>
|
||||
<%=formatnumber(rs("p_esti_cost"),0)%>
|
||||
<%end if%>
|
||||
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
<%
|
||||
Rs.movenext
|
||||
loop
|
||||
end if ' if Rs.recordcount<1 then
|
||||
Rs.Close
|
||||
%>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan=100>
|
||||
<%'dp<64><70><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>
|
||||
if ((Session("Depart_Code") = "15" or Session("Depart_Code") = "17") and Session("admin_Code") = "1") then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %>
|
||||
<table border=2 cellspacing=0 cellpadding=0 bordercolor=#000069 width=<%=max_width%>>
|
||||
<tr bgcolor=#B9E2FA align=center height=30>
|
||||
<td > <font size=2 color=blue><b><3E><><EFBFBD><EFBFBD> DP <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>常<EFBFBD><E5B8B8><EFBFBD><EFBFBD>)</b></font></td>
|
||||
<%for i = 1 to ubound(db_p_dp)%>
|
||||
<td>
|
||||
<%=db_p_dp(i, 2)%> => <%=db_p_dp(i, 3)%> <20><>
|
||||
</td>
|
||||
<%next%>
|
||||
</tr>
|
||||
</table>
|
||||
<%end if%>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
||||
<%''//================================
|
||||
''//================================
|
||||
''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD> <20><><EFBFBD>·<EFBFBD> )
|
||||
''//================================
|
||||
''//================================
|
||||
sql = ""
|
||||
if chk_admin = "admin" then
|
||||
sql = "SELECT a.*, "
|
||||
sql = sql & " b.p_order AS p_order "
|
||||
sql = sql & "FROM dbo.project a LEFT OUTER JOIN "
|
||||
if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then
|
||||
sql = sql & " dbo.person b ON a.p_dper = b.p_no "
|
||||
elseif Session("Depart_Code") = "12" or Session("Depart_Code") = "16" then
|
||||
sql = sql & " dbo.person b ON a.p_sv = b.p_no "
|
||||
else
|
||||
sql = "select * from project "
|
||||
end if
|
||||
sql = sql & "where (( p_field_end >= '" & ConDate & "')"
|
||||
' sql = sql & " and substring(p_sn,5,3) <> '000') " 'ȫ<><C8AB><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>α<CEB1><D7B7><EFBFBD>
|
||||
sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "' ) "' and substring(p_sn,5,3) <> '000') " '<27>ǻ<EFBFBD><C7BB>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD> <20><>
|
||||
sql = sql & " ) "
|
||||
if Session("Depart_Code") = "15" or Session("Depart_Code") = "17" then
|
||||
' sql = sql & " order by p_order, a.p_field_end, a.p_subject"' p_dper,p_name, p_field_end"
|
||||
sql = sql & " order by p_order, a.p_subject, p_field_end"
|
||||
elseif Session("Depart_Code") = "12" then
|
||||
sql = sql & " order by p_order, p_subject"
|
||||
else
|
||||
sql = sql & " order by p_subject"
|
||||
end if
|
||||
|
||||
elseif chk_admin = "field" then '<27>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
sql = "select * from project where ((p_sv = '" & Session("user_number") & "' and p_field_end >= '" & ConDate & "') "
|
||||
sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "')"' and substring(p_sn,5,3) <> '000') " '<27>ǻ<EFBFBD><C7BB>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD> <20><>
|
||||
sql = sql & " ) "
|
||||
sql = sql & " order by p_subject"
|
||||
elseif chk_admin = "etc_buser1" then '<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD>
|
||||
if Session("admin_Code") ="True" or Session("admin_Code") = "1" then '<27>μ<EFBFBD><CEBC><EFBFBD><EFBFBD≯<EFBFBD>
|
||||
sql = "select * "
|
||||
sql = sql & "from project "
|
||||
sql = sql & " where (((p_field_end >= '" & ConDate & "')"'
|
||||
sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "'))"'
|
||||
sql = sql & " and substring(p_sn,5,1) = '" & Session("Depart_Code") & "'"
|
||||
sql = sql & " ) "
|
||||
sql = sql & " order by p_subject"
|
||||
else
|
||||
sql = "select *"
|
||||
sql = sql & " from project "
|
||||
sql = sql & " where ( "
|
||||
sql = sql & "p_rsch_1 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_2 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_3 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_4 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_5 = '" & Session("user_number") & "' or "
|
||||
sql = sql & "p_rsch_6 = '" & Session("user_number") & "' "
|
||||
sql = sql & ") "
|
||||
sql = sql & " and ( "
|
||||
sql = sql & " p_field_end >= '" & ConDate & "'"
|
||||
' sql = sql & " or ((p_field_end is null or p_field_end ='') and substring(p_sn,1,2) = '" & mid(year(date),3,2) & "') "' and substring(p_sn,5,3) <> '000') " '<27>ǻ<EFBFBD><C7BB>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD><EFBFBD> <20><>
|
||||
sql = sql & " ) "
|
||||
sql = sql & " order by p_subject"
|
||||
end if
|
||||
elseif chk_admin = "etc_buser2" then '<27><><EFBFBD><EFBFBD><EFBFBD>м<EFBFBD><D0BC><EFBFBD>, <20>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><> <20>濵<EFBFBD><E6BFB5><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
alert2("<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>")
|
||||
end if
|
||||
|
||||
Rs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
prj_search_cnt = Rs.recordcount
|
||||
if chk_admin <> "etc_buser" then%>
|
||||
<tr height=50>
|
||||
<% if chk_admin = "admin" then %>
|
||||
<td colspan=100 > <font color=#000069><3E><> <%=Response.Write (u_name)%><3E><> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>·<EFBFBD> <20>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
<% else%>
|
||||
<td colspan=100> <font color=#000069><3E><> <%=Response.Write (u_name)%><3E><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD>·<EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.
|
||||
<% end if %>
|
||||
<font color=red size=3><b><3E>ǻ<EFBFBD><C7BB>Ⱓ<EFBFBD><E2B0A3> <20><><EFBFBD>ó<EFBFBD>¥ <20><><EFBFBD><EFBFBD> : <%=prj_search_cnt%><3E><></b></font>(<28>ǻ<EFBFBD><C7BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>)<br>
|
||||
<font color=red size=3><b> <3B><> <20><><EFBFBD><EFBFBD>SV, <20><><EFBFBD><EFBFBD>DP<44><50> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>Դϴ<D4B4>.</b></font>
|
||||
</font></td>
|
||||
</tr>
|
||||
</tr>
|
||||
<tr height=45 bgcolor=Yellow>
|
||||
<td colspan=100> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><> <20>ǻ簡 <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>̰ų<CCB0>, <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD>Դϴ<D4B4>.</td>
|
||||
</tr>
|
||||
<% if Rs.recordcount<1 then %>
|
||||
<tr align=center onmouseover="this.style.background='#FFE3EE'" onmouseout="this.style.background='white'" height=20>
|
||||
<td colspan=6 align=center> <20><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD>ϴ<EFBFBD>.</td>
|
||||
</tr>
|
||||
<tr height=1>
|
||||
<td background='/images/dot.gif' colspan=6>
|
||||
</tr>
|
||||
<% else %>
|
||||
<% 'line_cnt = 0
|
||||
prj_dp = ""
|
||||
for i=0 to ubound(db_p_dp)
|
||||
db_p_dp(i,3) = 0
|
||||
next
|
||||
for i=0 to ubound(db_p_sv)
|
||||
db_p_sv(i,3) = 0
|
||||
next
|
||||
for i=0 to ubound(db_p_research)
|
||||
db_p_research(i,3) = 0
|
||||
next
|
||||
tmp_bgcolor="#dbe9f2"
|
||||
do until Rs.EOF
|
||||
line_cnt = line_cnt + 1
|
||||
method = Rs("p_method")
|
||||
if trim(method ) <> "" then
|
||||
sql = "select * from p_method where code1 = " & method
|
||||
AdoRs.open sql, adoconn,adopenstatic, adlockreadonly
|
||||
method = adors("name1")
|
||||
AdoRs.close
|
||||
else
|
||||
method = " "
|
||||
end if
|
||||
|
||||
tmpstr = "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> : " & method & "<br>"
|
||||
tmpstr = tmpstr & "<22><><EFBFBD>系<EFBFBD><E7B3BB> : " & Rs("p_intention")
|
||||
sample_cnt = rs("p_sample")
|
||||
if tmp_bgcolor="" then
|
||||
tmp_bgcolor="#dbe9f2"
|
||||
else
|
||||
tmp_bgcolor=""
|
||||
end if
|
||||
|
||||
%>
|
||||
<tr align=center bgcolor="<%=tmp_bgcolor%>" id='row<%=line_cnt%>' onmouseover="MultiRowSelection('row<%=line_cnt%>',0,'on');popLayer('<%=tmpstr%>');" onmouseout="MultiRowSelection('row<%=line_cnt%>',0,'off','<%=tmp_bgcolor%>');hideLayer();">
|
||||
<td width = '10%' align=left style='cursor:pointer' onclick = 'openit("<%=Rs("p_sn")%>","<%=sc_year%>","<%=sc_month%>","<%=sc_team%>","<%=sc_name%>")' ><%=Rs("p_subject")%></td>
|
||||
<td width = '20%' align=left ><%=replace(csformat(Rs("p_intention"),30)," ","")%></td>
|
||||
<td width = '5%' align=left >
|
||||
<%i = cint(instr(1,method,"("))
|
||||
if i > 0 then
|
||||
tmpstr = mid(method,1,i - 1)
|
||||
else
|
||||
tmpstr = method
|
||||
end if
|
||||
Response.Write tmpstr
|
||||
%>
|
||||
</td>
|
||||
<td width = '5%' align=right ><%=formatnumber(sample_cnt,0)%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_research)
|
||||
if db_p_research(i,1) = rs("p_rsch_1") then
|
||||
tmpstr = db_p_research(i,2)
|
||||
db_p_research(i,3) = cint(db_p_research(i,3)) + 1''<27><><EFBFBD><EFBFBD> <20><><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next%>
|
||||
<td width = '5%' ><%=tmpstr%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_dp)
|
||||
if db_p_dp(i,1) = rs("p_dper") then
|
||||
tmpstr = db_p_dp(i,2)
|
||||
db_p_dp(i,3) = cint(db_p_dp(i,3)) + 1''dp<64><70><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next
|
||||
prj_dp = tmpstr '<27><><EFBFBD><EFBFBD>dp
|
||||
%>
|
||||
<td width = '5%' ><%=prj_dp%></td>
|
||||
<%''<27><><EFBFBD><EFBFBD> sv
|
||||
tmpstr=" "
|
||||
for i=0 to ubound(db_p_sv)
|
||||
if db_p_sv(i,1) = rs("p_sv") then
|
||||
tmpstr = db_p_sv(i,2)
|
||||
db_p_sv(i,3) = cint(db_p_sv(i,3)) + 1''sv <20><><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD>
|
||||
end if
|
||||
next
|
||||
prj_sv = tmpstr
|
||||
%>
|
||||
<td width = '5%' ><%=prj_sv%></td>
|
||||
<td width = '10%' ><%=Rs("p_field_st")%></td>
|
||||
<td width = '10%' ><%=Rs("p_field_end")%></td>
|
||||
<td width = '10%' ><%=Rs("P_punch_end")%></td>
|
||||
<td width = '5%' >
|
||||
<%
|
||||
tmpstr = Rs("p_method")
|
||||
if trim(tmpstr) <> "" then
|
||||
tmpstr = default_path_root & "inspection/project_direct_cost.asp?url_posi=project_stat&p_sn=" & RS("p_sn") & "&p_method=" & Rs("p_method")
|
||||
if tmpstr = "<22>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>" then%>
|
||||
<a href='javascript:alert("<22>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.\n\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><>ȸ<EFBFBD><C8B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD><D8BE>մϴ<D5B4>.");'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%else
|
||||
if cint(Session("Depart_Code") ) < 11 or (cint(Session("Depart_Code") ) >= 20 and cint(Session("Depart_Code") ) <=60) then '<27><><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC≯<EFBFBD>
|
||||
tmpstr = tmpstr & "&printmode=1"%>
|
||||
<a target=new href = '<%=tmpstr%>'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%else
|
||||
' tmpstr = tmpstr & "&url_posi=project_stat"
|
||||
tmpstr = tmpstr & "&sc_year=" & sc_year
|
||||
tmpstr = tmpstr & "&sc_month=" & sc_month
|
||||
tmpstr = tmpstr & "&sc_team=" & sc_team
|
||||
tmpstr = tmpstr & "&sc_name=" & sc_name%>
|
||||
<a href = '<%=tmpstr%>'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%end if
|
||||
%>
|
||||
<%end if
|
||||
else%>
|
||||
<a href='javascript:alert("<22>ش<EFBFBD><D8B4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ<EFBFBD><C6AE> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>ϵǾ<CFB5> <20><><EFBFBD><EFBFBD> <20>ʽ<EFBFBD><CABD>ϴ<EFBFBD>.\n\n<><6E><EFBFBD><EFBFBD><EFBFBD>μ<EFBFBD><CEBC><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD> <20><> <20><>ȸ<EFBFBD><C8B8><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ؾ<EFBFBD><D8BE>մϴ<D5B4>.");'><3E><><EFBFBD><EFBFBD></a>
|
||||
<%end if%>
|
||||
|
||||
</td>
|
||||
<!--
|
||||
<td width=6%> <a href='<%=Root_Url%><3E>ڷ<EFBFBD><DAB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>/Recruit/Recruit_condition.asp?prj_code=<%=RS("p_sn")%>&u_name=<%=u_name%>'><3E><> <20><></a></td>
|
||||
-->
|
||||
<td width = '10%' align=right ><!--<2D><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ݾ<EFBFBD>-->
|
||||
<%if not isnull(rs("p_esti_cost")) then%>
|
||||
<%=formatnumber(rs("p_esti_cost"),0)%>
|
||||
<%end if%>
|
||||
|
||||
</td>
|
||||
|
||||
<%
|
||||
Rs.movenext
|
||||
loop
|
||||
end if 'if Rs.recordcount<1 then
|
||||
Rs.Close
|
||||
%>
|
||||
</table>
|
||||
<br>
|
||||
|
||||
<%'dp<64><70><EFBFBD>纰 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ʈ <20><><EFBFBD><EFBFBD> ī<><C4AB><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>ֱ<EFBFBD>
|
||||
if ((Session("Depart_Code") = "15" or Session("Depart_Code") = "17") and Session("admin_Code") = "1") then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> %>
|
||||
<table border=2 cellspacing=0 cellpadding=0 bordercolor=#000069 width='<%=max_width%>'>
|
||||
<tr bgcolor=#B9E2FA align=center height=30>
|
||||
<td > <font size=2 color=blue><b><3E><><EFBFBD><EFBFBD> DP <20><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>常<EFBFBD><E5B8B8><EFBFBD><EFBFBD>)</b></font></td>
|
||||
<%for i = 1 to ubound(db_p_dp)%>
|
||||
<td>
|
||||
<%=db_p_dp(i, 2)%> => <%=db_p_dp(i, 3)%> <20><>
|
||||
</td>
|
||||
<%next%>
|
||||
</tr>
|
||||
</table>
|
||||
<%end if%>
|
||||
|
||||
<%end if 'if chk_admin <> "etc_buser" then%>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
|
||||
</td>
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<% %>
|
||||
Reference in New Issue
Block a user