########################################################################################
# ÇÁ·Î±×·¥¸í : drama_fullsrch.php
# ÇÁ·Î±×·¥ID : MFCAHP_GMAILN_045_1
# ÀÛ¼ºÀÚ : ÁÖ´ë¿õ
# ÀÛ¼ºÀÏ : 2000.2.21
# ¼öÁ¤ÀÏ :
# ¹öÀü : 2.0
# ±âŸ : ¿¬±ØÁ¤º¸ °Ë»öµÇ¾îÁø Å×ÀÌºí¿¡¼ Á¦¸ñÀ» ´·¶À»¶§ º¸¿©Áö´Â ¼¼ºÎÈ¸é ¸ðµâ.
#########################################################################################
?>
$_word=substr($ID,0,1);
if($_word == 'A')
{
echo("
| Á¦¸ñ | $title |
\n");
echo("| ´ëº» | ");
if ($text_fname)
// echo("´ëº»³»¿ë îïÙþ |
");
echo("´ëº»³»¿ë îïÙþ");
else
echo("´ëº»Á¤º¸°¡ ¾ø½À´Ï´Ù");
if ($original_title)
echo("| ¿øÁ¦ | $original_title |
\n");
if ($sub_title)
echo("| ºÎÁ¦ | $sub_title |
\n");
if ($thea_company)
echo("| ±Ø´Ü | $thea_company |
\n");
if ($president)
echo("| ´ëÇ¥ | $president |
\n");
if ($production)
echo("| Á¦ÀÛ | $production |
\n");
if ($plan)
echo("| ±âȹ | $plan |
\n");
if ($writer)
echo("| ÀÛ°¡ | $writer |
\n");
if ($translator)
echo("| ¹ø¿ª | $translator |
\n");
if ($adapter)
echo("| °¢»ö | $adapter |
\n");
if ($pd)
echo("| ¿¬Ãâ | $pd |
\n");
if ($ad)
echo("| Á¶¿¬Ãâ | $ad |
\n");
if ($special_guide)
echo("| Ưº°Áöµµ | $special_guide |
\n");
if ($stage_production)
echo("| ¹«´ë°¨µ¶ | $stage_production |
\n");
if ($stage_technique)
echo("| ¹«´ë±â¼ú | $stage_technique |
\n");
if ($stage_art)
echo("| ¹«´ë¹Ì¼ú | $stage_art |
\n");
if ($lighting)
echo("| Á¶¸í | $lighting |
\n");
if ($props)
echo("| ¼Òǰ | $props |
\n");
if ($costume)
echo("| ˂ȗ | $costume |
\n");
if ($makeup)
echo("| ºÐÀå | $makeup |
\n");
if ($music)
echo("| À½¾Ç | $music |
\n");
if ($sound)
echo("| À½Çâ | $sound |
\n");
if ($choreography)
echo("| ¾È¹« | $choreography |
\n");
if ($reflex)
echo("| ¿µ»ó | $reflex |
\n");
if ($progress)
echo("| ÁøÇà | $progress |
\n");
if ($liaison)
echo("| ¼·¿Ü | $liaison |
\n");
if ($pr)
echo("| È«º¸ | $pr |
\n");
if ($general_affairs)
echo("| Ãѹ« | $general_affairs |
\n");
if ($etc)
echo("| ±âŸ | $etc |
\n");
if ($sponsorship)
echo("| ÁÖ°ü | $sponsorship |
\n");
if ($supervisor)
echo("| ÁÖÃÖ | $supervisor |
\n");
if ($patronage)
echo("| ÈÄ¿ø | $patronage |
\n");
if ($cooperate)
echo("| ÇùÂù | $cooperate |
\n");
if ($casting)
echo("| Àι°¼ö | $casting |
\n");
if ($main_player)
echo("| Ã⿬ | $main_player |
\n");
if ($patronage_appwar)
echo("| µîÀåÀι° | $patronage_appwar |
\n");
if ($extra)
echo("| ÂùÁ¶Ã⿬ | $extra |
\n");
if ($day_place)
echo("| °ø¿¬ÀÏÁ¤ | $day_place |
\n");
if ($division)
echo("| ±¸ºÐ | $division |
\n");
if ($works_const)
echo("| ÀÛǰ±¸¼º | $works_const |
\n");
if ($censor)
echo("| ½ÉÀÇ | $censor |
\n");
if ($background)
echo("| ¹è°æ | $background |
\n");
### ¿¬±ØÁ¤º¸¿¡¼ ÁٰŸ®¿¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from plot where id='$ID'";
/* old
ora_parse($subDB, $query) or die;
ora_exec($subDB);
$cnt=ora_getcolumn($subDB, 0);
old */
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$fetch_record);
$cnt=$fetch_record[0];
### ÁٰŸ® ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select plot from plot where id='$ID' order by lineno";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| ÁٰŸ® | ");
while(OciFetchinto($stmt, &$fetch_record)) //ora_fetch($subDB))
{
$_plot=$fetch_record[0]; //ora_getcolumn($subDB, 0);
echo("$_plot \n");
}
echo(" |
");
}
### ¿¬±ØÁ¤º¸¿¡¼ ÀÛǰ¼³¸í¿¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from works_desc where id='$ID'";
/* old
ora_parse($subDB, $query) or die;
ora_exec($subDB);
$cnt=ora_getcolumn($subDB, 0);
old */
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$fetch_record);
$cnt=$fetch_record[0];
### ÀÛǰ¼³¸í ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select descript from works_desc where id='$ID' order by lineno";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| ÀÛǰ¼³¸í> | ");
while(OciFetchinto($stmt, &$fetch_record)) //ora_fetch($subDB))
{
$_descript=$fetch_record[0]; //ora_getcolumn($subDB, 0);
echo("$_descript \n");
}
echo(" |
");
}
### ¿¬±ØÁ¤º¸¿¡¼ Âü¿©ÀǸ»¿¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from par_speach where id='$ID'";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
//old $cnt=ora_getcolumn($subDB, 0);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$fetch_record);
### Âü¿©ÀǸ» ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select speach from par_speach where id='$ID' order by lineno";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| Âü¿©ÀǸ»> | ");
while(OciFetchinto($stmt, &$fetch_record)) //ora_fetch($subDB))
{
$_speach=$fetch_record[0]; //ora_getcolumn($subDB, 0);
echo("$_speach \n");
}
echo(" |
");
}
### ¿¬±ØÁ¤º¸¿¡¼ ±âŸÀDZۿ¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from etc_writing where id='$ID'";
/*old
ora_parse($subDB, $query) or die;
ora_exec($subDB);
$cnt=ora_getcolumn($subDB, 0);
old */
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$fetch_record);
$cnt=$fetch_record[0];
### ±âŸÀÇ±Û ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select etc from etc_writing where id='$ID' order by lineno";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| ±âŸÀDZÛ> | ");
while(OciFetchinto($stmt, &$fetch_record)) //ora_fetch($subDB))
{
$_etc=$fetch_record[0]; //ora_getcolumn($subDB, 0);
echo("$_etc \n");
}
echo(" |
");
}
### ¿¬±ØÁ¤º¸¿¡¼ ÀÛ°¡¼Ò°³¿¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from writer_intro where id='$ID'";
//ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
//old $cnt=ora_getcolumn($subDB, 0);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$fetch_record);
$cnt=$fetch_record[0];
### ÀÛ°¡¼Ò°³ ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select wintro from writer_intro where id='$ID' order by lineno";
//old ora_parse($subDB, $query) or die;
//old ora_exec($subDB);
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| ÀÛ°¡¼Ò°³> | ");
while(OciFetchinto($stmt, &$fetch_record_)) //ora_fetch($subDB))
{
$_wintro=$fetch_record_[0]; //ora_getcolumn($subDB, 0);
echo("$_wintro \n");
}
echo(" |
");
}
### ¿¬±ØÁ¤º¸¿¡¼ À̹ÌÁö,µ¿¿µ»óÁ¤º¸¿¡ ÇØ´çµÇ´Â ºÎºÐÀ» ÇØ´ç ¾ÆÀ̵ð¿Í ÀÏÄ¡ÇÏ´Â ³»¿ë¿¡¼ Äû¸®ÇÏ´Â ·çƾ
$query="select count(id) from imageinfo where id='$ID'";
/* old
ora_parse($subDB, $query) or die;
ora_exec($subDB);
$cnt=ora_getcolumn($subDB, 0);
old */
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
OciFetchinto($stmt, &$record_fetch);
$cnt=$fetch_record[0];
### À̹ÌÁö,µ¿¿µ»óÁ¤º¸ ³»¿ëÀÌ ÀÖÀ»°æ¿ì¸¸ ÇØ´çÇÏ´Â ·çƾ
if($cnt > 0)
{
$query="select fname,fdesc from imageinfo where id='$ID' order by lineno";
/* old
ora_parse($subDB, $query) or die;
ora_exec($subDB);
old */
$stmt=OCIparse($dbconn, $query);
OCIExecute($stmt);
echo("| À̹ÌÁö | ");
while(OciFetchinto($stmt, &$fetch_record)) //ora_fetch($subDB))
{
$_fname=$fetch_record[0]; //ora_getcolumn($subDB, 0);
$_fdesc=$fetch_record[1]; //ora_getcolumn($subDB, 1);
if(strstr($_fname,"small")) //À̹ÌÁöÆÄÀϸíÀÌ small·Î ½ÃÀ۵Ǵ ÆÄÀϸíÀ̸é
{
echo(" $_fdesc \n"); //À̹ÌÁö¸¦ º¸¿©ÁØ´Ù.
} else { // ±×·¸Áö ¾Ê°í ȸ鿡 ²ËÂ÷´Â À̹ÌÁö¸é
$chname=substr($_fname,0,1); //µð·ºÅ丮¸íÀÌ p ÀÚ·Î ½ÃÀ۵Ǹé(2Â÷³âµµ À̹ÌÁö),
if($chname=='p')
{
echo("$_fdesc \n"); //Play96µð·ºÀ¸·Î ¸µÅ©¸¦ Àâ¾ÆÁÖ°í
} else {
echo("$_fdesc \n"); //±×·¸Áö ¾ÊÀ¸¸é °æ·Î±×´ë·Î¸¦ ¸µÅ© ½ÃÄÑÁØ´Ù.
}
}
}
}
echo " |
";
//old ora_close($subDB);
//old ora_logoff($dbconn);
OciFreestatement($stmt);
OCIlogoff($dbconn);
/*
echo("

");
*/
}
?>