Current Path : /var/www/html/clients/amz.e-nk.ru/bitrix/templates/template3/ |
Current File : /var/www/html/clients/amz.e-nk.ru/bitrix/templates/template3/popup.menu_template.php |
<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?><? $sMenu = '<table border="0" cellspacing="0" cellpadding="0" width="110">'. '<tr><td bgcolor="#E6EFF7" valign="top"><table border="0" cellspacing="0" cellpadding="0" width="100%">'; for($i=0; $i<count($MENU_ITEMS); $i++) { $MENU_ITEM = $MENU_ITEMS[$i]; extract($MENU_ITEM); if ($PERMISSION > "D") { $sMenu .= '<tr valign="top"><td nowrap onmouseover="this.className=\'popupmenuact\'" onmouseout="this.className=\'popupmenu\'" onclick="window.location=\''.$LINK.'\'" class="popupmenu" style="cursor: hand">'. '<nobr><a href="'.$LINK.'" style="text-decoration: none;"><font class="popupmenutext">'.$TEXT.'</font></a>'. '</nobr></td></tr>'; } else { $sMenu .= '<tr valign="top"><td nowrap onmouseover="this.className=\'popupmenuact\'" onmouseout="this.className=\'popupmenu\'" onclick="window.location=\''.$LINK.'\'" class="popupmenu" style="cursor: hand">'. '<nobr><font class="popupmenuclosed">'.$TEXT.'</font>'. '</nobr></td></tr>'; } } $sMenu .= '</table></td></tr></table>'; ?>