Witam napisalem skrypt forum se i gdy naciskam nowy temat to on pokazuje sie pod statystykami a chcialbym zrobic tak zeby pokazywał no nowej czystej ramce czy bez statystyk itp tylko Dzial Nowy temat tak jak np jest na tym forum jak sie nowy temat..

  1. <?php
  2.  
  3. //Engine strony
  4.  
  5. include ("config.php");
  6.  
  7. include ("module/forums.php");
  8.  
  9. //Koniec Engine strony
  10.  
  11. function pokaz() {
  12.  
  13. global $act,$d,$f,$t,$id23,$new;
  14.  
  15. news_t_open();
  16.  
  17. echo ' Forum Dyskusyjne ';
  18.  
  19. news_t_close();
  20.  
  21. news_tresc_open();
  22.  
  23. if ($d == ''){
  24.  
  25. forums();
  26.  
  27.  } elseif ($d == 'edycja')
  28.  
  29.  {
  30.  
  31.  edytuj();
  32.  
  33.  } elseif ($d == '' OR $t == '') {dzialy(); }
  34.  
  35.  if ($t) tematy('');
  36.  
  37.  if ($f == 'add_post') add_post('');
  38.  
  39. if ($f == 'new_topic') {new_topic('');}
  40.  
  41. if ($f == 'add_topic') add_topic('');
  42.  
  43. news_tresc_close();
  44.  
  45. news_inne_newsow_close();
  46.  
  47. }
  48.  
  49.  
  50.  
  51.  
  52.  
  53. //Ładowanie Skóry
  54.  
  55. include ("theme/$theme/index.php");
  56.  
  57. ?>