tail에 붙이기 좋은 사이트맵(sitemap) 소스 정보
tail에 붙이기 좋은 사이트맵(sitemap) 소스본문
<div style="width:100%; min-width:1000px; text-align:center; border-top:solid 1px #555; padding: 10px 0; margin-top:0px; background:#ddd; border-shadow:10px 0 5px 10px #000">
<a><img src="<?php echo G5_THEME_IMG_URL ?>/cer.png"></a>
</div>
<style>
a:link.button01,a:visited.button01,a:active.button01,a:hover.button01 { text-decoration:none; color:#222222; }
a:link.button02,a:visited.button02,a:active.button02,a:hover.button02 { text-decoration:none; color:#487CB6; }
a:link.button03,a:visited.button03,a:active.button03,a:hover.button03 { text-decoration:none; color:#ffffff; }
a:link.button04,a:visited.button04,a:active.button04,a:hover.button04 { text-decoration:none; color:#222222; }
a:link.button05,a:visited.button05,a:active.button05,a:hover.button05 { text-decoration:none; color:#222222; }
/* sitemap */
.sitemap_group { border:0px solid #DDD; padding:20px 0 0 0px; border-right:solid px #ddd }
.sitemap_group a {text-decoration:none; font-weight:900; color:#555; letter-spacing:-1px;font-size:16px; background:#161616; padding:5px 20px; border-radius:3px;}
.sitemap_group a:hover {color:#fff; font-weight:bold; background:#161616; border-radius:3px }
.sitemap_board { margin-left:20px; height:200px; border-right:solid px #ddd }
.sitemap_board a {text-decoration:none; font-weight:normal; color:#555;font-size:14px; padding: 10px 0 0 25px; }
.sitemap_board a:hover {color:#fff; font-weight:bold; padding:5px 10px; background:#555; border-radius:3px }
</style>
<!-- board list Start -->
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background:#191919; min-width:1000px; margin-left:0 ">
<tr>
<td valign="top">
<table width='700' cellpadding="0" cellspacing="0" border="0" align="center" style="">
<tr>
<?php
$sql = " select *
from {$g5['menu_table']}
where me_use = '1'
and length(me_code) = '2'
order by me_order, me_id ";
$result = sql_query($sql, false);
$gnb_zindex = 999; // gnb_1dli z-index 값 설정용
for ($i=0; $row=sql_fetch_array($result); $i++) {
if($cells%6==0)
echo '</tr><tr>';
?>
<td width='20%' valign='top'>
<table width='150' height='100%' cellpadding='0' cellspacing='0' border='0'>
<tr>
<td width="139px" height="50px" line-height="20px" class="sitemap_group">
<strong style="margin:40px 0 0 0px;">
<a href="<?php echo $row['me_link']; ?>" target="_<?php echo $row['me_target']; ?>" class=""><?php echo $row['me_name'] ?></a>
</strong>
</td>
</tr>
<?php
$cells++;
$sql2 = " select *
from {$g5['menu_table']}
where me_use = '1'
and length(me_code) = '4'
and substring(me_code, 1, 2) = '{$row['me_code']}'
order by me_order, me_id ";
$result2 = sql_query($sql2);
for ($k=0; $row2=sql_fetch_array($result2); $k++) {
if($k == 0)
echo '<tr>'.PHP_EOL;
?>
<tr>
<td style='padding-left:0px; height:27px;' class="sitemap_board">
<a href="<?php echo $row2['me_link']; ?>" target="_<?php echo $row2['me_target']; ?>" class=""><?php echo $row2['me_name'] ?></a><br/>
</td>
</tr>
<?php
}
if($k > 0)
echo '</tr>'.PHP_EOL;
?>
</td>
</tr>
<?
echo '<tr><td height="20"></td></tr></table>';
echo '</td>';
?>
<?php } ?>
<td style="background:#333">
<div style="width:210px; padding:30px 20px 0 20px" class="sitemap_board">
<?php echo latest('theme/basic', 'notice', 5, 30); ?>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
6