$mess = ' '.$_POST['name'].' '.$_POST['email'].' '.$_POST['message']; mail($to, $title, $mess, "From:".$from);
public void testframe() { JFrame frame = new JFrame(); JPanel panel = new JPanel(); panel.add(new JLabel("текст")); frame.add(panel); frame.setTitle("Титул фрейма"); JDialog dialog = new JDialog(frame); dialog.setResizable(false); dialog.setSize(ширина,высота); dialog.setVisible(true); }
RewriteEngine on RewriteBase / RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=articles&action=show&articlesID=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? articles-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=files&cat=([^&]+)(&(.+))?$ [NC] RewriteRule ^index\.php? files-cat-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=files&file=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? files-show-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=news_comments&newsID=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? news-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=gallery&groupID=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? gallery-group-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=gallery&groupID=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? gallery-group-%1.html?%3 [R=301,L] RewriteCond %{REQUEST_METHOD} ^GET$ RewriteCond %{QUERY_STRING} !nk_auto_furl [NC] RewriteCond %{QUERY_STRING} site=profile&id=([^&]+)(&(.+)$)? [NC] RewriteRule ^index\.php? profile-%1.html?%3 [R=301,L] #### Translate new URLs to old RewriteRule ^articles-([^.]+)\.html index.php?nk_auto_furl&site=articles&action=show&articlesID=$1 [L,QSA] RewriteRule ^files-cat-([^.]+)\.html index.php?nk_auto_furl&site=files&cat=$1 [L,QSA] RewriteRule ^files-show-([^.]+)\.html index.php?nk_auto_furl&site=files&file=$1 [L,QSA] RewriteRule ^news-([^.]+)\.html index.php?nk_auto_furl&site=news_comments&newsID=$1 [L,QSA] RewriteRule ^profile-([^.]+)\.html index.php?nk_auto_furl&site=profile&id=$1 [L,QSA]