
<?

$base_filename = basename($_SERVER['PHP_SELF']); //현재 페이지 파일명

if(strpos($base_filename,'test') !== false){
    //파일명에 test가 들어간 경로 접근시
    $register = true;
}

?>
		<ul class="tab_menu tab4">
			<li><a href="sa_view.php?cd_user=<?=$cd_user?>"<?if(strpos($base_filename,'sa_view.php') !== false){?> class="on"<?}?>>요약보기</a></li>
			<li><a href="sa_view2.php?cd_user=<?=$cd_user?>"<?if(strpos($base_filename,'sa_view2') !== false){?> class="on"<?}?>>입찰정보</a></li>
			<li><a href="sa_view3.php?cd_user=<?=$cd_user?>"<?if(strpos($base_filename,'sa_view3') !== false){?> class="on"<?}?>>SA정보</a></li>
			<!--li><a href="sa_view4.php?cd_user=<?=$cd_user?>"<?if(strpos($base_filename,'sa_view4') !== false){?> class="on"<?}?>>차량정보</a></li-->
			<li><a href="sa_view5.php?cd_user=<?=$cd_user?>"<?if(strpos($base_filename,'sa_view5') !== false){?> class="on"<?}?>>문의내역</a></li>
		</ul>
