/home/mjc1/public_html/mjmall/customerdemo.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
<? 
include_once("./_common.php");
include(
"./include/common/header.php"); ?>

    <div class="location">
        <div class="wrap">
            <a href="./mall.php" class="home"><span class="screen_out">Home</span></a>
            <span>></span>
            <a href="#"><span class="depth1">¹«·áüÇèÆÇ</span></a>
        </div><!-- //wrap -->
    </div><!-- //location -->

    <div class="wrap">

        <div class="orderTopNotice">
            <p>Á¦Ç° <span class="text1">±¸¸Å Àü ¹«·á Ã¼ÇèÆÇ</span>À» »ç¿ëÇØ º¸¼¼¿ä.</p>
            <p>ÀÏÁ¤ ±â°£µ¿¾È <span class="text2">Á¤Ç°°ú µ¿ÀÏÇѠüÇèÆÇ</span>À» °æÇèÇØ º¼ ¼ö ÀÖ½À´Ï´Ù.</p>
            <p>üÇèÆÇ¿¡ <span class="text4">ÀÔ·ÂÇÑ µ¥ÀÌÅÍ</span>´Â <span class="text3">Á¤Ç° ±¸¸Å ÈÄ ±×´ë·Î »ç¿ë</span>µË´Ï´Ù.</p>
            <p class="tel"><span class="text4">»ç¿ë¹®ÀÇ : </span><span class="text5">1566-8680</span></p>
        </div><!-- //orderTopNotice -->

        <div class="demoSection">
            <table class="demoTable">
                <colgroup>
                    <col style="width:100px;">
                    <col style="width:200px;"><col style="width:350px;">
                    <col style="width:170px;"><col style="width:170px;">
                </colgroup>
                <thead>
                    <tr> 
                        <th>¼ø¹ø</th>
                        <th>Á¦Ç°¸í</th>
                        <th>¿ëµµ</th>
                        <th>´Ù¿î·Îµå</th>
                        <th>Á¦Ç°Á¤º¸</th>
                    </tr>
                </thead>

            <? 
                $i 
1;
                
$certsql "SELECT c.idx, c.category_code, c.programName, c.ver, c.reg_date, t.DemoDownFile, t.cate1_code, t.cate2_code, i.category_info, i.link AS linkgo
                            FROM certinumManage AS c 
                            INNER JOIN cate3 AS t ON ( SUBSTRING(c.category_code,5,2) = t.category_code)
                            INNER JOIN cate3_info AS i ON (c.idx = i.idx)
                            WHERE i.viewtype = 1 AND c.lineup < 99 order by c.lineup"
;
                
$certresult mysql_query($certsql);
                while(
$certrow mysql_fetch_array($certresult)){
                    
                
$usecate substr($certrow['category_code'],4,2);
                
$catedown substr($certrow['category_code'],0,2);
            
            
?>
                <tbody>
                    <tr bgcolor=
                        <? if($i && $i 5){
                            echo 
"#fffce9";
                        } else if(
$i && $i 15){
                            echo 
"#f9fff2";
                        } else if(
$i 14 && $i 19){
                            echo 
"#f2ffff";
                        } else if(
$i 18 && $i 23){
                            echo 
"#f2f2ff";
                        } else if(
$i 22 && $i 40){
                            echo 
"#fff2f2";
                        } 
?>
                        onmouseover="this.style.backgroundColor='#eee';" onmouseout="this.style.backgroundColor='<? 
                        
if($i && $i 5){
                            echo 
"#fff9da";
                        } else if(
$i && $i 15){
                            echo 
"#eeffda";
                        } else if(
$i 14 && $i 19){
                            echo 
"#defbfb";
                        } else if(
$i 18 && $i 23){
                            echo 
"#e6e6fc";
                        } else if(
$i 22 && $i 40){
                            echo 
"#fde8e8";
                        } 
?>';">

                        
                        <td><?=$i?></td>    <!-- ¼ø¹ø -->
                        <td class="title"><?=$certrow['programName']?></td><!-- Á¦Ç°¸í -->
                        <td><?=$certrow['category_info'];?></td><!-- ¹öÀü -->
                        <td>
                            <a href= "http://mjsoft.co/download/<?=$certrow['DemoDownFile']?>" class="Btn">üÇèÆÇ ´Ù¿î·Îµå</a>
                        </td><!-- ´Ù¿î·Îµå -->
                        <td>
                            <a href="<?=$certrow['linkgo']?>" target="_blank" class="Btn">Á¦Ç° ¹Ù·Î°¡±â</a>
                        </td><!-- µî·ÏÀÏÀÚ -->
                    </tr>
                </tbody>

            <? $i++; } ?>

            </table>
        </div><!-- //demoSection -->

        <script language="JavaScript">
            function download(cate){
                alert(cate);
            }

            function fileDown(type,name,cate2_code,category_code){
                location.href =   "fileDownLoad.php?type="+type+"&filename="+name+"&cate2_code="+cate2_code+"&category_code="+ category_code ;
            }
        </script>

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

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