/home/mjc1/public_html/manage/m_cusreq_reg.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
<?php
include("./_common.php");

// DBÁ¢¼Ó
$DB_HOST  =  "114.108.136.196";
$DB_USER  =  "mj_inhouse_web";
$DB_PWD   =  "m897461z";
$DB_NAME  =  "mj_inhouse";

$connect_web2 = @mysql_connect($DB_HOST,$DB_USER,$DB_PWD);
@
mysql_select_db$DB_NAME,$connect_web2);

if(
$idx!=''){
    
    
/*$sql = "
    SELECT t.*, c.ceo_confirm
    FROM jangbu_tellist AS t 
    LEFT JOIN jangbu_tellist_confirm AS c
    ON t.seq = c.seq
    WHERE t.cust_req <> '' AND t.seq = $seq
    ";*/
    
    
$sql "SELECT *
            FROM issues AS a
            WHERE ((a.agree_st in (2, 3)) OR (a.agree_st = 1 AND a.work_status IN (2, 3))) AND idx = '
{$idx}'";
    
    
//echo $sql;
    
$res mysql_query($sql,$connect_web2);
    if(!
$res){echo mysql_error();}
    
$info mysql_fetch_array($res);
}
?>

<form name='qatxt_reg_form' id='qatxt_reg_form' method='post' action='m_cusafter_process.php' enctype='multipart/form-data'>
<input type='hidden' name='qstr' value='<?php echo $qstr;?>'>
<input type='hidden' name='code' value='<?php echo $info['idx'];?>'>
<input type='hidden' name='qatxt_reg' value=''>

<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 colspan=3><?php echo $info['rgst_dttm'];?></td>
        </tr>
        <tr>
            <th>»óÈ£¸í</th>
            <td colspan=3><?php echo $info['custname'];?></td>
        </tr>
        <tr>
            <th>¿äûÀÚ</th>
            <td colspan=3><?php echo $info['rgster'];?></td>
        </tr>
        <tr>
            <th>¿äû»çÇ×</th>
            <td colspan=3><?php echo $info['rgst_conts'];?></td>
        </tr>
        <tr>
            <th>ÆÀÀå´ÔÄÚ¸àÆ®</th>
            <td colspan=3><TEXTAREA NAME="leadermemo" style='width:500px;height:150px;'><?php echo stripslashes($info['leadermemo']);?></TEXTAREA></td>
        </tr>
        <tr>
            <th>»çÀå´ÔÄÚ¸àÆ®</th>
            <td colspan=3><TEXTAREA NAME="ceocomment" style='width:500px;height:150px;'><?php echo stripslashes($info['ceocomment']);?></TEXTAREA></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>