Подгрузить функцию на Javascript через PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$html=" function squid_restart_proxy_load$t(){ $warn YahooWin3('998','$page?popup=yes&t=$t&setTimeout={$_GET["setTimeout"]}','$title'); } function GetLogs$t(){ Loadjs('$page?logs=yes&t=$t&setTimeout={$_GET["setTimeout"]}'); } squid_restart_proxy_load$t();"; echo $html; |