소스 파일명 : view_top_section.php
001
002
003
004
005
006
007
008
009
010
011
012
013
014
015
016
017
018
019
020
021
022
023
024
025
026
027
028
029
030
031
032
033
034
035
036
037
038
039
040
041
042
043
044
045
046
<?php // (2018.1.7, 차재복, Cha Jae Bok, cjbword@gmailcom)

	echo "<table id='header' ><tr>";

		echo "<td width=40%>";
			echo "[<a href='/index.php'>정보통신기술용어해설</a> (개선중)]";
			echo " &nbsp; <span style='font-weight:normal;'>(사용 db명 : ".DB_NAME.")</span> ";
		echo "</td>";

		// Navigation 메뉴 켜기/끄기
		echo "<td width=20% align=center>";
				echo " &nbsp;";
				if ( $_REQUEST[nav]=='0' or $_REQUEST[nav]=='off' or empty($nav) ) {
					echo " 메뉴 ";
					// 오른쪽
					echo "<a href=view.php?nav=2&opt=$opt&m_temp1=$m_temp1&id=$id style='color=blue;'>보이기</a>";
				} else {
					echo " 메뉴 ";
					// 오른쪽
					echo "<a href=view.php?nav=0&opt=$opt&m_temp1=$m_temp1&id=$id  style='color=red;'>닫기</a>";
				}
		echo "</td>";

		echo "<td width=30% align=right>";
/*
				// 용어별 검색 Form
				// form
				echo "<form action=abbr_view.php name=srch_form method=post>";
					echo "<input type=text name=m_search size=18>";
					echo "<input type=hidden name=opt value='search'>";
					echo "<input type=hidden name=m_text>";

					if ($m_edit_level=='super') {
						echo "<button type=submit formaction='abbr_view.php'>검색</button>";
						echo "<input type=submit value='새창' formaction='abbr_view.php' formtarget='_blank'>";
					} else {
						echo "<button type=submit formaction='abbr_view.php'>검색</button>";
					}

				echo "</form>";
*/
		echo "</td>";

	echo "</tr></table>";

?>