alert("error: can\'t execute '.$_GET[action].'"); '; } else { if($_GET[action_mod]=='' && !function_exists($_GET[action])) { echo ' '; } else { //$data = $clasa[$_GET['class']]->edit_array($_GET[id]); if($_GET[action_mod]=='') call_user_func($_GET[action], ''); else call_user_func(array($_GET[action_mod], $_GET[action])); // echo '
';
//                print_r($_REQUEST);
//                echo '
'; // die(); if($_GET[no_return]!=1)die(' '); } } } $my_site = new site(); /*if($_GET[lng]!='') { setCookie('lng',$_GET[lng]); $_COOKIE[lng] = $_GET[lng]; } if($_COOKIE[lng]=='') $_COOKIE[lng]='ro'; */ //require "language/$_COOKIE[lng].php"; //setez titlul paginii //$my_site->title = $global[titlu]; if(!count($_GET)) $_GET["generallayout"]='noutati'; $start_dir = ""; $my_site->show_page(); mysql_close($conect); ?>