/home/mjc1/public_html/html/millennium/customerbuild.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?php include_once("./_common2.php"); ?>
<? 
include("./Page/common/header.php"); ?>

<?
    
if(!isset($replyRow[0])) $replyRow[0] = "";
    if(!isset(
$replyRow[1])) $replyRow[1] = "";
?>

<script>
    function asLink(f,id){
        if(f == 'y'){
            location.href = "mypagebuild_re.php?uid="+id;  
        }
    }
</script>
<style>
.subContents_mail{padding:17px 10px;font-weight:600;font-size:11pt;}
.mail_orange{color:#ff6600;font-weight:600;}
.mail_blue{color:#00429d;font-weight:600;}

.build_tit{position: relative;height: 320px;background: url('./img/customer/board_title/build_top03-2.png') center no-repeat;}
.build_tit_link{position: absolute;display: block;width: 124px;height: 38px;bottom: 34px;left: 50.2%;transform: translateX(-50%);border-bottom: 2px solid #3455AC !important;}
</style>

    <div class="build_tit"><a href="https://mjsoft.co/html/millennium/soft_cs.php" class="build_tit_link"></a></div>
    <div class="wrap">
        <div class="contents">
                <!-- <h1>
                    <img src="./img/titlebar/customerbuild02.jpg" alt="±â´ÉÃß°¡ ¿äû">
                    <div class="subContents_mail"> - <font class="mail_orange">´äº¯ ¿Ï·á½Ã</font> Áú¹®ÀÚÀÇ <font class="mail_orange">¸ÞÀÏ</font>·Îµµ Àü¼ÛµË´Ï´Ù.</div>
                    <p>
                        <span class="home"><a href="intro.php">Home</a></span>
                        <span class="depth">></span>
                        <span class="depth1">°í°´¼¾ÅÍ</span>
                        <span class="depth">></span>
                        <span class="depth2">±â´ÉÃß°¡ ¿äû</span>
                    </p>
                </h1> -->
<style>
.mt30{margin:0;}
</style>
                <div class="section" style="width: 1100px;">
                    <!--<h2><img src="./img/customer/build_top.jpg" alt="±âÁ¸Å¸ÀÌÆ²"></h2>-->
                     <!-- <h2><img src="./img/customer/board_title/build_top02.png" alt="±â´ÉÃß°¡ ¿äûŸÀÌÆ²" usemap="#cu_as_top"/></h2> -->

                    <table class="faqTable mt30" style="table-layout: fixed;width: 100%;">
                        <tr> 
                            <th width="90">¹øÈ£</th>
                            <th width="130">»óÈ£¸í</th>
                            <th width="180">»ç¿ëÁ¦Ç°</th>
                            <th width="120">´äº¯ÀÚ</th>
                            <th width="80">»óÅÂ</th>
                            <th width="110">ÀÛ¼ºÀÏ</th>
                        </tr>

<?

    
/* ·Î±×¾Æ¿ô ½Ã Àüü ±Û, ·Î±×ÀÎÇϸé Àڱ⠱۸¸ º¸ÀÓ */
    
if( !isset($_COOKIE['USERID']) || $_COOKIE['USERID'] == "" ) {
        
$sql         =     " select a.uid , a.use_program,  b.Mcompany,  a.proResult, b.Mid, a.fid , b.Mname , a.reg_date, a.Msw1 from mBoard_build a, member b WHERE  a.id = b.Mid and b.Madd != ''  and a.thread = 'A' order by a.uid desc limit 10 ";
        
$result      =       mysql_query($sql) or die (mysql_error());
    } else {
        
$sql         =     " select a.uid ,a.use_program,  b.Mcompany,  a.proResult, b.Mid, a.fid , b.Mname , a.reg_date, a.Msw1 from mBoard_build a, member b WHERE  a.id = b.Mid and a.id = '$_COOKIE[USERID]' and a.thread = 'A' order by a.uid desc limit 10 ";
        
$result      =       mysql_query($sql) or die (mysql_error());
    }

    if( 
mysql_num_rows($result) > ){ 
        while (
$Row =  mysql_fetch_array($result)){ 
            if( 
$Row[3] == "A")  $proResult  =  "´ë±â";
            if( 
$Row[3] == "B")  $proResult  =  "Á¢¼ö";
            if( 
$Row[3] == "C")  $proResult  =  "ó¸®Áß";
            if( 
$Row[3] == "D")  $proResult  =  "º¸·ù";
            if( 
$Row[3] == "E")  $proResult  =  "¿Ï·á";

        
//»ç¿ëÁ¦Ç°
        
$cateQry =  "select category_name from cate3 where category_code = '$Row[Msw1]' ";
        
$cateResult  =   mysql_query($cateQry);

        if( 
mysql_num_rows($cateResult) > 0){
            
$cateRow       =  mysql_fetch_array($cateResult);
            
$programName   =  explode("->" ,$cateRow[0]);
        } else {
            
$programName "";
        }

        
$replyQry      =   " select uid, name from mBoard_build where fid = '$Row[5]' and thread = 'AA' ";   
        
$replyResult   =     mysql_query$replyQry);

        if( 
mysql_num_rows($replyResult) > 0){ 
            
$replyRow      =  mysql_fetch_array($replyResult);
        }

        if(
$Row[2] == ""){  //ȸ»ç¸íÀÌ ¾ø´Â°æ¿ìó¸®.
            
$_disName =  $Row[6];
        } else {
            
$_disName =  $Row[2];
        }

        
$reg_date  date('Y-m-d' ,$Row['reg_date']);
?>         
                        <tr <? if(isset($_COOKIE['USERID']) && $Row[4] == $_COOKIE['USERID'] && $replyRow[0] !== "" && $Row[3] == "E"){ echo "onClick=\"asLink('y','$replyRow[0]');\" style='cursor:pointer;' bgcolor=ffffff ";} ?>>
                            <td width="90"><?=$Row[0];?></td><!-- ¹øÈ£ -->
                            <td width="130"><?=$_disName;?></td><!-- »óÈ£¸í -->
                            <td width="180"><?=$programName[1];?></td><!-- »ç¿ëÁ¦Ç° -->
                            <td width="120"><?=$replyRow[1];?></td><!-- ´äº¯ÀÚ -->
                            <td width="80"><?=$proResult;?></td><!-- »óÅ -->
                            <td width="110"><?=$reg_date;?></td><!-- ÀÛ¼ºÀÏ -->
                        </tr>

<?     }  }  else { ?>
                        <tr>
                            <td colspan="6">ÀÛ¼ºÇÑ ±ÛÀÌ ¾ø½À´Ï´Ù.</td>
                        </tr>

<? ?>

                    </table>

                    <!-- <a href="#" style="cursor:pointer;" <?  if(  isset($_COOKIE['USERID']) && $_COOKIE['USERID'] !== ""){ echo "onClick=\"location.href = 'mypagebuild.php'\"";} else{ echo "onClick=\"javascript:window.open('login_customerbuild.php?url=mypagebuild.php','','width=440,height=350,menubar=no,location=no,toolbar=no,scrollbars=yes')\"";} ?>><img src="./img/customer/write.jpg" alt="±Û¾²±â" class="listBtn"></a> -->
                    <a href="#" style="cursor:pointer;" <?  if(  isset($_COOKIE['USERID']) && $_COOKIE['USERID'] !== ""){ echo "onClick=\"location.href = 'mypagebuild.php'\"";} else{ echo "onClick=\"location.href = 'mypagebuild_non.php'\"";} ?>><img src="./img/customer/write.jpg" alt="±Û¾²±â" class="listBtn"></a>
                </div><!-- //section -->

        </div><!-- //contents -->
    </div><!-- //wrap -->

<? include("./Page/common/footer.php"); ?>