/home/mjc1/public_html/apphelp/admincs/loadData_3.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
<? session_start(); ?>
<?
    
if(( $id == "" ) && ( $sid == "" )) { 
?>
<script>
    alert("e¼ö¹ßÁÖ ·Î±×ÀΠÈÄ¿¡ À̿밡´ÉÇÕ´Ï´Ù.");
    location.href = "../onlinecs/intro.php";
</script>
<?     
     
}

  include(
"../onlinecs/commonST.php");
?>
<script>

<?
 $sub2 
substr($sub,0,4)."9999";
 
$mqry "SELECT * FROM pclass WHERE plevel ='2' AND fullpath BETWEEN '$sub' AND '$sub2'";

 
$resultm mysql_query($mqry);
 
$total mysql_affected_rows();
 

?>

    parent.category.detail.length = <?=$total?>;


<? 
    $i 
0;
    while(
$data mysql_fetch_array($resultm)){
?>
    parent.category.detail.options[<?=$i?>].text = '<?=$data[name]?>';
    parent.category.detail.options[<?=$i?>].value = '<?=$data[fullpath]?>';

<? 
    $i
++;
?>



</script>