View file jpmobile/adm/include.php

File size: 3.13Kb
<?php

 if ($_GET['id'] == 0 or $_GET['id'] == '')
 {
 include('adm/readmy.txt');
 }

 if ($_GET['id'] == 1)
 {
 include('adm/add_f.php');
 }

 if ($_GET['id'] == 2)
 {
 include('adm/red_f.php');
 }
 if ($_GET['id'] == 3)
 {
 include('adm/del_f.php');
 }
 if ($_GET['id'] == 4)
 {
 include('adm/read_m.php');
 }
 if ($_GET['id'] == 5)
 {
  $fp = fopen ('mail/base.txt', "w"); fclose ($fp); echo '<span class="ramka">Успешно!</span><META HTTP-EQUIV="Refresh" CONTENT="1; URL=/adminf.php">';
 }
 if ($_GET['id'] == 6)
 {
  include('adm/add_news.php');
 }
 if ($_GET['id'] == 7)
 {
  include('adm/red_news.php');
 }
 if ($_GET['id'] == 8)
 {
  include('adm/del_news.php');
 }
 if ($_GET['id'] == 12)
 {
  include('adm/add_stat.php');
 }
  if ($_GET['id'] == 13)
 {
  include('adm/red_stat.php');
 }
 if ($_GET['id'] == 14)
 {
  include('adm/del_stat.php');
 }
 if ($_GET['id'] == 15)
 {
  include('adm/del_user.php');
 }
  if ($_GET['id'] == 16)
 {
  include('adm/user_sp.php');
 }
  if ($_GET['id'] == 17)
 {
  include('adm/user_anketa.php');
 }
  if ($_GET['id'] == 18)
 {
  include('adm/user_mess.php');
 }
  if ($_GET['id'] == 19)
 {
  include('adm/tema_red.php');
 }
  if ($_GET['id'] == 20)
 {
  include('adm/red_menu.php');
 }
  if ($_GET['id'] == 21)
 {
  include('moduls/prasd/adm/add_prasd.php');
 }
  if ($_GET['id'] == 22)
 {
  include('moduls/prasd/adm/del_prasd.php');
 }
  if ($_GET['id'] == 23)
 {
  include('moduls/page/adm/add_page.php');
 }
  if ($_GET['id'] == 24)
 {
  include('moduls/page/adm/red_page.php');
 }
  if ($_GET['id'] == 25)
 {
  include('moduls/page/adm/del_page.php');
 }
  if ($_GET['id'] == 26)
 {
  include('adm/red_count.php');
 }
  if ($_GET['id'] == 27)
 {
  include('adm/for_add_rasd.php');
 }
  if ($_GET['id'] == 28)
 {
  include('adm/for_add_for.php');
 }
  if ($_GET['id'] == 29)
 {
  include('adm/for_red_rasd.php');
 }
  if ($_GET['id'] == 30)
 {
  include('adm/for_red_for.php');
 }
  if ($_GET['id'] == 31)
 {
  include('adm/for_del_rasd.php');
 }
  if ($_GET['id'] == 32)
 {
  include('adm/for_del_for.php');
 }
  if ($_GET['id'] == 33)
 {
  $fp = fopen ('gb/gb_base.txt', "w"); fclose ($fp); echo '<span class="ramka">Успешно!</span><META HTTP-EQUIV="Refresh" CONTENT="1; URL=/adminf.php">';
 }
  if ($_GET['id'] == 34)
 {
  include('adm/cgf_set.php');
 }
  if ($_GET['id'] == 35)
 {
  include('adm/red_inc.php');
 }
  if ($_GET['id'] == 36)
 {
  include('moduls/prasd/adm/red_prasd.php');
 }
  if ($_GET['id'] == 37)
 {
  include('adm/rass.php');
 }
   if ($_GET['id'] == 38)
 {
  include('adm/red_dost.php');
 }
  if ($_GET['id'] == 39)
 {
  include('moduls/blog/adm/del_blog.php');
 }
  if ($_GET['id'] == 40)
 {
  include('adm/red_arh_file.php');
 }
  if ($_GET['id'] == 41)
 {
  include('adm/add_f_arh.php');
 }
   if ($_GET['id'] == 42)
 {
  include('adm/job_adm.php');
 }
   if ($_GET['id'] == 43)
 {
  $fp = fopen ('chat/base.txt', "w"); fclose ($fp); echo '<span class="ramka">Успешно!</span><META HTTP-EQUIV="Refresh" CONTENT="1; URL=/adminf.php">';
 }
?>