묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
다시 질문.. 현제 나야나 쇼핑몰 소스 상태
2004.12.01 16:09
http://goodmycar.co.kr
아무리 해두 라인이 없어지지 않습니다..
쫌 도와주세요..
자동차 용품란에..
가로로 줄이 짝짝짝 가있습니다..
고수님들 부탁드립니다.
<script language="JavaScript">
<!--
<?
$result = mysql_query("select * from paran_top_code order by num asc",$connect);
while ($top_name = mysql_fetch_array($result)){
echo "
img".$top_name[top_code]."on = new Image( );
img".$top_name[top_code]."on.src = "${this_path}/${dir}/images/menu_".$top_name[top_code]."_1.gif";
img".$top_name[top_code]."off = new Image( );
img".$top_name[top_code]."off.src = "${this_path}/${dir}/images/menu_".$top_name[top_code].".gif";
";
}
?>
//-->
</script>
<!--menu2 시작-->
<TABLE WIDTH=184 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD valign=top> <table border="0" cellspacing="0" cellpadding="0" width=184>
<!-- Left Large 카테고리 리스트 //-->
<?
$result = mysql_query("select * from paran_top_code order by num asc limit 10",$connect);
$q = 0;
while ($top_name = mysql_fetch_array($result)){
$top_name[top_name] = strtolower($top_name[top_name]);
$top = $q * 27;
$q ++;
$link = "./top_code_view.php?top_code=".$top_name[top_code];
?>
<TR>
<TD WIDTH=184 onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();"><a href=<?=$link?> onfocus=blur() onmouseover="img_act('img<?=$top_name[top_code]?>')" onmouseout="img_inact('img<?=$top_name[top_code]?>')"><IMG SRC=<?=$this_path."/".$dir?>/images/menu_<?=$top_name[top_code]?>.gif border=0 name=img<?=$top_name[top_code]?>></a></TD>
</TR>
<TR>
<TD height=26 style="position:absolute" width=20> <SPAN id=<?=$top_name[top_code]?>>
<A onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();">
<TABLE WIDTH=110 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<STYLE type=text/css>
#<?=$top_name[top_code]?> {
Z-INDEX: 1;
LEFT: 120px;
VISIBILITY: hidden;
OVERFLOW: hidden;
WIDTH: 200px;
POSITION: absolute;
TOP: <?=$top?>px
}
</STYLE>
<script language="JavaScript">
function open_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="visible";
}
function close_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="hidden";
}
</script>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_01.gif"></TD>
</TR>
<?
$middle_result = mysql_query("select * from paran_middle_code where top_code='$top_name[top_code]'",$connect);
while ($middle_row = mysql_fetch_array($middle_result)){
?>
<TR>
<TD valign=top style='padding-top:5'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_02.gif"></TD>
<TD valign=top style='border-left:1 solid #747474;border-right:1 solid #747474;'>
<table width=140 height=25 cellpadding=4 cellspacing=0 border=0 style='cursor:hand' align=left>
<tr bgcolor=ffffff onmouseover='this.style.backgroundColor="A1DEFE"' onmouseout='this.style.backgroundColor="ffffff"'>
<td onclick="location.href='<?=$this_path?>/middle_code_view.php?top_code=<?=$middle_row[top_code]?>&middle_code=<?=$middle_row[middle_code]?>'">
<?=$middle_row[middle_name]?>
</td>
</tr>
</table></TD>
</TR>
<?
}
?>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_08.gif" ></TD>
</TR>
</TABLE>
</A> </SPAN> </TD>
</TR>
<?
}
?>
</table></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_12.gif" WIDTH=184 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
<TD WIDTH=184 align=center background bgcolor="#ffffff">
<!--공지사항 시작-->
<table cellpadding=2 cellspacing=1 border=0 width=100% class=fixed>
<?
$query = "select * from paran_board_notice where idx < 1 limit 5";
$result = mysql_query($query,$connect);
while ($row = @mysql_fetch_array($result) ) {
echo "<tr><td> <img src=../nayamall/templates/goodmycar/images/gongi_icon.gif> <a href=$this_path/paran_v10/view.php?id=notice&no=$row[no] class=menu><nobr>".stripslashes($row[subject])."</nobr></a></td></tr><tr><td height=1 background=$this_path/$dir/images/dd_02.gif></td></tr>";
}
?>
</table>
<!--공지사항 끝-->
</TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_14.gif" WIDTH=184 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
<TD> <a href="middle_code_view.php?category_code=P_01&top_code=P&middle_code=P_01&bottom_code=nonez"><IMG SRC="<?=$this_path."/".$dir?>/images/main_left_15.gif" ALT="" WIDTH=184 HEIGHT=61 border="0"></a></TD>
</TR>
<TR>
<TD><a href="#" onclick="window.open('./nayana_card_web/order0.html','Connection','directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no,top=100,left=200,width=420,height=300')">
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_17.gif" WIDTH=184 HEIGHT=42 ALT=""></a></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/leftbanktitle.gif" ALT="" HEIGHT=17></TD>
</TR>
<tr>
<td align=center>
<!--왼쪽배너2 시작-->
<?
$query = "select * from paran_shop_banner where banner_pos = 5 and banner_hidden = 1 order by banner_no1";
$result = mysql_query($query,$connect);
while ($left_banner = @mysql_fetch_array($result) ) {
if(!$left_banner[banner_name_link]) $linker = "javascript:";
else $linker = $left_banner[banner_name_link];
if($left_banner[x_int_field] == 2) $left_banner_target = " target='_blank' ";
else $left_banner_target = "";
$left_banner_media = maker_media($left_banner[banner_name]);
echo "
<tr>
<td align=center><a href=$linker $left_banner_target><img src=$this_path/$left_banner[banner_name] border=0></a></td>
</tr>";
}
?>
<!--왼쪽배너2 끝-->
</td>
</tr>
<tr>
<td height=2></td>
</tr>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_20.gif" WIDTH=184 HEIGHT=1 ALT=""></TD>
</TR>
<!--TR>
<TD WIDTH=184 align=center><img src=no.gif width=1 height=5><br>
<TABLE WIDTH=145 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_01.gif" WIDTH=54 HEIGHT=36 ALT=""></TD>
<TD WIDTH=88 background=<?=$this_path."/".$dir?>/images/main_left_bank_bg.gif align=center valign=middle>
<select name="select">
<option>조흥은행</option>
<option>국민은행</option>
<option>주택은행</option>
</select>
</TD>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_03.gif" WIDTH=3 HEIGHT=36 ALT=""></TD>
</TR>
</TABLE>
</TD>
</TR-->
<TR>
<TD><a href="<?=$this_path?>/center.php"> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_22.gif" WIDTH=184 HEIGHT=124 ALT=""></a></TD>
</TR>
<TR>
<TD WIDTH=184></TD>
</TR>
</TABLE>
<!--menu끝-->
아무리 해두 라인이 없어지지 않습니다..
쫌 도와주세요..
자동차 용품란에..
가로로 줄이 짝짝짝 가있습니다..
고수님들 부탁드립니다.
<script language="JavaScript">
<!--
<?
$result = mysql_query("select * from paran_top_code order by num asc",$connect);
while ($top_name = mysql_fetch_array($result)){
echo "
img".$top_name[top_code]."on = new Image( );
img".$top_name[top_code]."on.src = "${this_path}/${dir}/images/menu_".$top_name[top_code]."_1.gif";
img".$top_name[top_code]."off = new Image( );
img".$top_name[top_code]."off.src = "${this_path}/${dir}/images/menu_".$top_name[top_code].".gif";
";
}
?>
//-->
</script>
<!--menu2 시작-->
<TABLE WIDTH=184 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD valign=top> <table border="0" cellspacing="0" cellpadding="0" width=184>
<!-- Left Large 카테고리 리스트 //-->
<?
$result = mysql_query("select * from paran_top_code order by num asc limit 10",$connect);
$q = 0;
while ($top_name = mysql_fetch_array($result)){
$top_name[top_name] = strtolower($top_name[top_name]);
$top = $q * 27;
$q ++;
$link = "./top_code_view.php?top_code=".$top_name[top_code];
?>
<TR>
<TD WIDTH=184 onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();"><a href=<?=$link?> onfocus=blur() onmouseover="img_act('img<?=$top_name[top_code]?>')" onmouseout="img_inact('img<?=$top_name[top_code]?>')"><IMG SRC=<?=$this_path."/".$dir?>/images/menu_<?=$top_name[top_code]?>.gif border=0 name=img<?=$top_name[top_code]?>></a></TD>
</TR>
<TR>
<TD height=26 style="position:absolute" width=20> <SPAN id=<?=$top_name[top_code]?>>
<A onmouseover="open_<?=$top_name[top_code]?>();" onmouseout="close_<?=$top_name[top_code]?>();">
<TABLE WIDTH=110 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<STYLE type=text/css>
#<?=$top_name[top_code]?> {
Z-INDEX: 1;
LEFT: 120px;
VISIBILITY: hidden;
OVERFLOW: hidden;
WIDTH: 200px;
POSITION: absolute;
TOP: <?=$top?>px
}
</STYLE>
<script language="JavaScript">
function open_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="visible";
}
function close_<?=$top_name[top_code]?>() {
<?=$top_name[top_code]?>.style.visibility="hidden";
}
</script>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_01.gif"></TD>
</TR>
<?
$middle_result = mysql_query("select * from paran_middle_code where top_code='$top_name[top_code]'",$connect);
while ($middle_row = mysql_fetch_array($middle_result)){
?>
<TR>
<TD valign=top style='padding-top:5'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_02.gif"></TD>
<TD valign=top style='border-left:1 solid #747474;border-right:1 solid #747474;'>
<table width=140 height=25 cellpadding=4 cellspacing=0 border=0 style='cursor:hand' align=left>
<tr bgcolor=ffffff onmouseover='this.style.backgroundColor="A1DEFE"' onmouseout='this.style.backgroundColor="ffffff"'>
<td onclick="location.href='<?=$this_path?>/middle_code_view.php?top_code=<?=$middle_row[top_code]?>&middle_code=<?=$middle_row[middle_code]?>'">
<?=$middle_row[middle_name]?>
</td>
</tr>
</table></TD>
</TR>
<?
}
?>
<TR>
<TD COLSPAN=2 style='padding-left:4'><IMG SRC="<?=$this_path."/".$dir?>/images/main_sub_08.gif" ></TD>
</TR>
</TABLE>
</A> </SPAN> </TD>
</TR>
<?
}
?>
</table></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_12.gif" WIDTH=184 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
<TD WIDTH=184 align=center background bgcolor="#ffffff">
<!--공지사항 시작-->
<table cellpadding=2 cellspacing=1 border=0 width=100% class=fixed>
<?
$query = "select * from paran_board_notice where idx < 1 limit 5";
$result = mysql_query($query,$connect);
while ($row = @mysql_fetch_array($result) ) {
echo "<tr><td> <img src=../nayamall/templates/goodmycar/images/gongi_icon.gif> <a href=$this_path/paran_v10/view.php?id=notice&no=$row[no] class=menu><nobr>".stripslashes($row[subject])."</nobr></a></td></tr><tr><td height=1 background=$this_path/$dir/images/dd_02.gif></td></tr>";
}
?>
</table>
<!--공지사항 끝-->
</TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_14.gif" WIDTH=184 HEIGHT=17 ALT=""></TD>
</TR>
<TR>
<TD> <a href="middle_code_view.php?category_code=P_01&top_code=P&middle_code=P_01&bottom_code=nonez"><IMG SRC="<?=$this_path."/".$dir?>/images/main_left_15.gif" ALT="" WIDTH=184 HEIGHT=61 border="0"></a></TD>
</TR>
<TR>
<TD><a href="#" onclick="window.open('./nayana_card_web/order0.html','Connection','directories=no,menubar=no,scrollbars=no,resizable=no,status=no,location=no,copyhistory=no,top=100,left=200,width=420,height=300')">
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_17.gif" WIDTH=184 HEIGHT=42 ALT=""></a></TD>
</TR>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/leftbanktitle.gif" ALT="" HEIGHT=17></TD>
</TR>
<tr>
<td align=center>
<!--왼쪽배너2 시작-->
<?
$query = "select * from paran_shop_banner where banner_pos = 5 and banner_hidden = 1 order by banner_no1";
$result = mysql_query($query,$connect);
while ($left_banner = @mysql_fetch_array($result) ) {
if(!$left_banner[banner_name_link]) $linker = "javascript:";
else $linker = $left_banner[banner_name_link];
if($left_banner[x_int_field] == 2) $left_banner_target = " target='_blank' ";
else $left_banner_target = "";
$left_banner_media = maker_media($left_banner[banner_name]);
echo "
<tr>
<td align=center><a href=$linker $left_banner_target><img src=$this_path/$left_banner[banner_name] border=0></a></td>
</tr>";
}
?>
<!--왼쪽배너2 끝-->
</td>
</tr>
<tr>
<td height=2></td>
</tr>
<TR>
<TD> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_20.gif" WIDTH=184 HEIGHT=1 ALT=""></TD>
</TR>
<!--TR>
<TD WIDTH=184 align=center><img src=no.gif width=1 height=5><br>
<TABLE WIDTH=145 BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_01.gif" WIDTH=54 HEIGHT=36 ALT=""></TD>
<TD WIDTH=88 background=<?=$this_path."/".$dir?>/images/main_left_bank_bg.gif align=center valign=middle>
<select name="select">
<option>조흥은행</option>
<option>국민은행</option>
<option>주택은행</option>
</select>
</TD>
<TD>
<IMG SRC="<?=$this_path."/".$dir?>/images/main_left_bank_03.gif" WIDTH=3 HEIGHT=36 ALT=""></TD>
</TR>
</TABLE>
</TD>
</TR-->
<TR>
<TD><a href="<?=$this_path?>/center.php"> <IMG SRC="<?=$this_path."/".$dir?>/images/main_left_22.gif" WIDTH=184 HEIGHT=124 ALT=""></a></TD>
</TR>
<TR>
<TD WIDTH=184></TD>
</TR>
</TABLE>
<!--menu끝-->
소스는 소스내용 불충분해서 ^^;;