/home/mjc1/public_html/manage/m_n_serch_view.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
<?php
include("./_common.php");
header("Content-type:text/html;charset=utf-8"); 

$sql "set names utf8";
mysql_query($sql,$connect_web);

$table "naver_search_get";

if(
$idx!=''){
    
$sql "select * from {$table} a where idx = '{$idx}' ";
    
$res mysql_query($sql,$connect_web);
    
$cinfo mysql_fetch_array($res);
}
//_pr($cinfo);
?>

<form name='notice_reg_form' id='notice_reg_form' method='post' action='m_notice_process.php' enctype='multipart/form-data'>
<input type='hidden' name='qstr' value='<?php echo $qstr;?>'>
<input type='hidden' name='code' value='<?php echo $cinfo['uid'];?>'>

<div class='cust_modal1'>
    <h4>기본정보</h4>
    <table class="order-sheet table-top-border">
        <caption class="screen_out">기본정보</caption>
        <colgroup>
            <col style="width:100px;"><col style="width:200px;">
            <col style="width:100px;"><col style="width:200px;">
        </colgroup>

        <tbody>
        <tr>
            <th>검색형태</th>
            <td><?php echo $cinfo['s_type'];?></td>
            <th>검색어</th>
            <td><?php echo $cinfo['s_word'];?></td>
        </tr>
        <tr>
            <th>검색키</th>
            <td ><?php echo $cinfo['s_key'];?></td>
            <th>등록일</th>
            <td ><?php echo $cinfo['reg_date'];?></td>
        </tr>
        
        <tr>
            <th>제목</th>
            <td colspan=3><?php echo $cinfo['title'];?></td>
        </tr>
        <tr>
            <th>내용</th>
            <td colspan=3 style='width:500px;'><?php echo stripslashes($cinfo['content']);?></td>
        </tr>
        <tr>
            <th>메모</th>
            <td colspan=3 style='width:500px;'><?php echo stripslashes($cinfo['n_memo']);?></td>
        </tr>
        <tr>
            <th>링크</th>
            <td colspan=3><a href="javascript:window.open('<?php echo $cinfo['link'];?>','','width=1024,height=768,scrollbars=yes')">[링크]</a></td>
        </tr>

    </table>
</div>
</form>
<script>
$(function(){
    $(".colorBox input").click(function(){
        var val1 = $("#subject").val();
        var val2 = val1+"<font color="+$(this).val()+"></font>";
        $("#subject").val(val2);
    });
});
</script>