/home/mjc1/public_html/html/millennium/service_review.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
<? include("./Page/common/header_250108.php"); ?>

<?php

// ¸î¸íÀÌ ÀÌ ÆäÀÌÁö¿¡ µé¾î¿Ô´ÂÁö Ä«¿îÆÃ
if($_SERVER['REMOTE_ADDR']!='58.151.27.172' && $_SERVER['REMOTE_ADDR']!='115.138.35.2' && $_SESSION['service_cnt_flg'] != "1"){ // »ç³»ÀÇ ´ë±¸, ¼­¿ï ¾ÆÀÌÇǰ¡ ¾Æ´Ò °æ¿ì¿¡¸¸

    
$today date("Y-m-d"); // ¿À´Ã³¯Â¥
    
$time date("H");
    
$page basename($_SERVER['PHP_SELF']);
    if(
end(explode('.'basename($_SERVER['PHP_SELF']))) == "php") {
        
$sql "SELECT * FROM mBoard_page_count WHERE inflow_date = '{$today}' AND page = '{$page}' ORDER BY inflow_time DESC";
        
$res mysql_query($sql,$connect_web);
        
$row mysql_fetch_array($res);

        if(!
$row || $row['inflow_time'] != $time){ // µ¥ÀÌÅͰ¡ ¾øÀ» ¶§
            
$insertsql "INSERT INTO mBoard_page_count(inflow_date, inflow_time, count, page, page_kr) VALUES ('{$today}', '{$time}', 1, '{$page}', 'Á¦Ç°/¼­ºñ½º ÀÌ¿ë Èıâ')";
            
mysql_query($insertsql,$connect_web);
        } else { 
// µ¥ÀÌÅͰ¡ ÀÖÀ» ¶§
            
$updatesql "UPDATE mBoard_page_count SET count = count+1 WHERE inflow_date = '{$today}' AND inflow_time = '{$time}' AND page = '{$page}'";
            
mysql_query($updatesql,$connect_web);
        }
    }

    
$_SESSION['service_cnt_flg'] = "1";
}

?>


<style> 

.tab_wrap a.active {border-bottom:5px solid #0094b5 !important; color:#0094b5 !important}

/* ³»¿ë ¸®½ºÆ®*/
.sub_cont .list {flex-wrap:wrap; gap:30px}
.sub_cont .list .list_li {width:280px; margin-top:30px; box-sizing:border-box; overflow:hidden; cursor:pointer}

.review_company {text-align:center}
.review_company h2 {position:relative; display:inline-block; font-family: 'GmarketSansTTF', sans-serif; color:#333; font-weight:800; font-size:22px; text-align:center; margin:0 auto;}
.review_company h2::before {content:''; width:5px; height:5px; border-radius:50%; background-color:#333; position:absolute; display:block; left:-10px; top:15px;}
.review_company h2::after {content:''; width:5px; height:5px; border-radius:50%; background-color:#333; position:absolute; display:block; right:-10px; top:15px;}

.review_company ul {display:none} /*Áö¿ª, »ç¿ë±â°£*/

.sub_cont .review_info {width:100%; border-radius:25px; padding:10px 0 0 0; border:3px solid var(--main-color); box-sizing:border-box;}
.sub_cont .review_info ul {display:flex; flex-direction:column-reverse;}
.sub_cont .review_info ul li {position:relative; font-size:18px; white-space: normal; padding:0 15px; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; color: #707070; word-break: break-all; overflow: hidden; box-sizing:border-box;}
.sub_cont .review_info ul li:first-child {margin-top:8px; background-color:var(--main-color); color:#fff; padding:10px 15px; border-radius: 0 0 20px 20px;}  
.sub_cont .review_info ul li:first-child::after {content:'¡æ'; display:block; position:absolute; display:inline-block; right:15px; top:10px}


/*button*/
.btn_box{width: 100%;height: 63px;text-align: center;box-sizing: border-box;}
.btn_box::after{content: '';display: block;clear: both;}

.test_btn, .all_more_btn{display: inline-block;vertical-align: top;text-align: center;}
.test_btn {cursor:pointer; margin-right:15px; background-color: var(--main-color); color: #fff; width: 250px; padding: 15px 0; border-radius: 10px;}

.all_more_btn a {display:block; width:250px; background-color:#333; color:#fff; padding:15px 0; border-radius:10px}
 

</style> 

<div id="wrap">
    <div class="n_wrap_menu">
        <? include ("./left_menu.php"); ?>            
    </div> <!-- // n_wrap_menu -->
    <div id="sub_wrap">
        <div class="sub_title">
            <h2><span>////////////////</span>Á¦Ç°/¼­ºñ½º »ç¿ëÈıâ<span>////////////////</span></h2>
            <p>½ÇÁ¦ °í°´´ÔµéÀÌ ÀÛ¼ºÇØ ÁֽŠÆíÁý ¾ø´Â 100% ½ÇÁ¦ ¼­ºñ½º ÈıâÀÔ´Ï´Ù.</p>
        </div>
        <div class="tab_wrap flex">
            <a href="./erp_review.php">ERP »ç¿ëÈıâ</a>
            <a href="./service_review.php" class="active">Á¦Ç°/¼­ºñ½º Èıâ</a>
        </div>
        <div class="sub_cont" data-aos="fade-down">
            <?php include("./service_review_inc.php"); ?>
        </div>
    </div> 
</div>
 

<script>
$(document).ready(function(){ 
  var $list = $('.list .list_li'),
      $btn = $('.test_btn'),
      list_count = $list.length,
      increment = 24;
  
 // $list.each(function(i){
    //$(this).append('<p>list' + i + '</p>')
  //});
  
  // 6º¸´Ù ³·À» ½Ã ¹öư¼û±è
  if( increment >= list_count ){
    $btn.hide();
  }
  
  // 6 ÀÌ»ó hide
  $list.slice(24).hide();
  
  $btn.on('click', function(){
    increment += 8; // 6 ¾¿ Áõ°¡
    
    // ´õº¸±â ±â´É
    $list.show();
    $list.slice(increment).hide();
    
    // ÃÖ´ë°¹¼öÀÏ ½Ã ¹öư¼û±è
    if( increment > list_count ){
      $btn.hide();
    }    
  });  
});

 
</script>