y el php-html aqui:
Código PHP:
<li><a href="javascript:;" id="empresa"><span>nuestra empresa</span></a>
<?php
$information_query = tep_db_query("SELECT information_id, information_title, parent_id FROM " . TABLE_INFORMATION . " WHERE visible='1' and columna=1 and language_id='" . (int)$languages_id ."' and information_group_id = '1' and information_id<>0 ORDER BY sort_order");
echo '<ul class="submenu">';
while($information = tep_db_fetch_array($information_query)) {
echo '<li><a href="' . tep_href_link(FILENAME_INFORMATION, 'info_id=' . $information['information_id']) . '">' . $information['information_title'] . '</a></li>' . "\n";
}
echo '</ul>';
?>
</li>
<li><a href="javascript:;" id="informacion"><span>informacion</span></a>
<?php
$information_query = tep_db_query("SELECT information_id, information_title, parent_id FROM " . TABLE_INFORMATION . " WHERE visible='1' and columna=2 and language_id='" . (int)$languages_id ."' and information_group_id = '1' and information_id<>0 ORDER BY sort_order");
echo '<ul class="submenu">';
while($information = tep_db_fetch_array($information_query)) {
echo '<li><a href="' . tep_href_link(FILENAME_INFORMATION, 'info_id=' . $information['information_id']) . '">' . $information['information_title'] . '</a></li>' . "\n";
}
echo '</ul>';
?>
</li>