function popup(){ $tpl=new templates(); $html=" <table style='width:100%'> <tr> <td class=legend nowrap width=1%>{search}:</td> <td width=99%><center>". Field_text("IpWhite",null,"padding:3px;margin:3px;font-size:14px",null,null,null,false,"SelectDansGuardianExceptionipList(event)")."</center></td> </tr> </table> <table style='width:100%'> <td valign='top' style='border:1px solid #CCCCCC'><div id='popup_saved_computers' style='height:450px;overflow:auto'>". ComputersList()."</div></td> <td valign='top' style='border:1px solid #CCCCCC'><div id='popup_selected_computers' style='height:450px;overflow:auto'>". FindComputerByIP()."</div> <div style='text-align:right;font-size:12px;text-decoration:underline;margin-top:5px;font-weight:bolder' OnClick=\"javascript:". MEMBER_JS('newcomputer$',1,1)."\" OnMouseOver=\";this.style.cursor='pointer';\" OnMouseOut=\";this.style.cursor='default';\" >{add_computer}</div> </td> </tr> </table> "; echo $tpl->_ENGINE_parse_body($html); }
function popup() { $tpl = new templates(); $html = "<H1>{black_ip_group}</H1>\n<p class=caption>{black_ip_group}</p>\n\n\n\n<table style='width:100%'>\n<tr>\n\t<td colspan=2><center>" . Field_text("IpWhite", null, "padding:3px;margin:3px;font-size:13px", null, null, null, false, "SelectDansGuardianExceptionipList(event)") . "</center></td>\n</tr>\n<td valign='top' style='border:1px solid #CCCCCC'><div id='popup_saved_computers'>" . ComputersList() . "</div></td>\n<td valign='top' style='border:1px solid #CCCCCC'><div id='popup_selected_computers'>" . FindComputerByIP() . "</div></td>\n</tr>\n</table>\n\n\n"; echo $tpl->_ENGINE_parse_body($html); }