ну эт мелочи синтаксиса, гений здесь не нужен)
function getMenu ($menu, $vertical = true)
{
echo "<ul style='list-style-type:none'>";
if (!is_array($menu) )
return false;
$style = "";
if (!$vertical)
{
$style = ' style="display:inline; margin-right:15px"';
}
foreach ($menu as $link=>$href)
{
if($link == "Home")
echo '<li'.$style.'><a target="_blank" href="'.$href.'">' . $link . '</a></li>';
else
echo '<li'.$style.'><a href="'.$href.'">' . $link . '</a></li>';
}
echo "</ul>";
return true;
}
_____________
HTML, CSS (Bootstrap), JS(JQuery, ExtJS), PHP, MySQL, MSSql, Posgres, (TSql, BI OLAP, MDX), Mongo, Git, SVN, CodeIgnater, Symfony, Yii 2, JiRA, Redmine, Bitbucket, Composer, Rabbit MQ, Amazon (SQS, S3, Transcribe), Docker