View file www/adm/include.php

File size: 5.54Kb
<?php
include_once ($cms.'flud/js/dinamic_frame.php');
 if ($_GET['id'] == 0 or $_GET['id'] == '')
 {
 include($cms.'adm/readmy.txt');
 }

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

 if ($_GET['id'] == 2)
 {
 include($cms.'adm/files/red_f.php');
 }
 if ($_GET['id'] == 3)
 {
 include($cms.'adm/files/del_f.php');
 }
 if ($_GET['id'] == 4)
 {
 include($cms.'adm/read_m.php');
 }
 if ($_GET['id'] == 5)
 {
  $fp = fopen ($cms.'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($cms.'adm/news/add_news.php');
 }
 if ($_GET['id'] == 7)
 {
  include($cms.'adm/news/red_news.php');
 }
 if ($_GET['id'] == 8)
 {
  include($cms.'adm/news/del_news.php');
 }
 if ($_GET['id'] == 9)
 {
  include($cms.'adm/obv/add_obv.php');
 }
  if ($_GET['id'] == 10)
 {
  include($cms.'adm/obv/red_obv.php');
 }
 if ($_GET['id'] == 11)
 {
  include($cms.'adm/obv/del_obv.php');
 }
 if ($_GET['id'] == 12)
 {
  include($cms.'adm/stat/add_stat.php');
 }
  if ($_GET['id'] == 13)
 {
  include($cms.'adm/stat/red_stat.php');
 }
 if ($_GET['id'] == 14)
 {
  include($cms.'adm/stat/del_stat.php');
 }
 if ($_GET['id'] == 15)
 {
  include($cms.'adm/users/del_user.php');
 }
  if ($_GET['id'] == 16)
 {
  include($cms.'adm/users/user_sp.php');
 }
  if ($_GET['id'] == 17)
 {
  include($cms.'adm/users/user_anketa.php');
 }
  if ($_GET['id'] == 18)
 {
  include($cms.'adm/users/user_mess.php');
 }
  if ($_GET['id'] == 19)
 {
  include($cms.'adm/admin/tema_red.php');
 }
  if ($_GET['id'] == 20)
 {
  include($cms.'adm/admin/red_menu.php');
 }
  if ($_GET['id'] == 21)
 {
  include($cms.'moduls/prasd/adm/add_prasd.php');
 }
  if ($_GET['id'] == 22)
 {
  include($cms.'moduls/prasd/adm/del_prasd.php');
 }
  if ($_GET['id'] == 23)
 {
  include($cms.'moduls/page/adm/add_page.php');
 }
  if ($_GET['id'] == 24)
 {
  include($cms.'moduls/page/adm/red_page.php');
 }
  if ($_GET['id'] == 25)
 {
  include($cms.'moduls/page/adm/del_page.php');
 }
  if ($_GET['id'] == 26)
 {
  include($cms.'adm/admin/red_count.php');
 }
  if ($_GET['id'] == 27)
 {
  include($cms.'adm/forums/for_add_rasd.php');
 }
  if ($_GET['id'] == 28)
 {
  include($cms.'adm/forums/for_add_for.php');
 }
  if ($_GET['id'] == 29)
 {
  include($cms.'adm/forums/for_red_rasd.php');
 }
  if ($_GET['id'] == 30)
 {
  include($cms.'adm/forums/for_red_for.php');
 }
  if ($_GET['id'] == 31)
 {
  include($cms.'adm/forums/for_del_rasd.php');
 }
  if ($_GET['id'] == 32)
 {
  include($cms.'adm/forums/for_del_for.php');
 }
  if ($_GET['id'] == 33)
 {
  $fp = fopen ($cms.'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($cms.'adm/admin/cgf_set.php');
 }
  if ($_GET['id'] == 35)
 {
  include($cms.'adm/admin/red_inc.php');
 }
  if ($_GET['id'] == 36)
 {
  include($cms.'moduls/prasd/adm/red_prasd.php');
 }
  if ($_GET['id'] == 37)
 {
  include($cms.'adm/users/rass.php');
 }
   if ($_GET['id'] == 38)
 {
  include($cms.'adm/users/red_dost.php');
 }
  if ($_GET['id'] == 39)
 {
  include($cms.'moduls/blog/adm/del_blog.php');
 }
  if ($_GET['id'] == 40)
 {
  include($cms.'adm/files/red_arh_file.php');
 }
  if ($_GET['id'] == 41)
 {
  include($cms.'adm/files/add_f_arh.php');
 }
   if ($_GET['id'] == 42)
 {
  include($cms.'adm/admin/job_adm.php');
 }
   if ($_GET['id'] == 43)
 {
  $fp = fopen ($cms.'chat/base.txt', "w"); fclose ($fp); echo '<span class="ramka">Успешно!</span><META HTTP-EQUIV="Refresh" CONTENT="1; URL=/adminf.php">';
 }
  if ($_GET['id'] == 44)
 {
  include($cms.'moduls/visual/editor.php');
 }
  if ($_GET['id'] == 45)
 {
  include($cms.'adm/stat/add_st_arh.php');
 }
  if ($_GET['id'] == 46)
 {
  include($cms.'adm/stat/red_arh_stat.php');
 }
  if ($_GET['id'] == 47)
 {
  include($cms.'adm/admin/red_money.php');
 }
  if ($_GET['id'] == 48)
 {
  include($cms.'adm/users/red_x_status.php');
 }
  if ($_GET['id'] == 49)
 {
  include($cms.'adm/admin/set_server.php');
 }
  if ($_GET['id'] == 50)
 {
  include($cms.'adm/game/del_game.php');
 }
  if ($_GET['id'] == 51)
 {
  include($cms.'adm/game/red_game.php');
 }
  if ($_GET['id'] == 52)
 {
  include($cms.'adm/admin/redakt_tema.php');
 }
 if ($_GET['id'] == 53)
 {
  include($cms.'adm/admin/explorer.php');
 }
 if ($_GET['id'] == 54)
 {
  include($cms.'adm/shop/add_kat.php');
 }
 if ($_GET['id'] == 55)
 {
  include($cms.'adm/shop/add_tov.php');
 }
 if ($_GET['id'] == 56)
 {
  include($cms.'adm/shop/red_kat.php');
 }
 if ($_GET['id'] == 57)
 {
  include($cms.'adm/shop/red_tovar.php');
 }
 if ($_GET['id'] == 58)
 {
  include($cms.'adm/shop/del_tov.php');
 }
 if ($_GET['id'] == 59)
 {
  include($cms.'adm/shop/del_kat.php');
 }
 if ($_GET['id'] == 60)
 {
  include($cms.'adm/shop/param.php');
 }
 if ($_GET['id'] == 61)
 {
  include($cms.'adm/shop/linkor.php');
 }
 if ($_GET['id'] == 62)
 {
  include($cms.'adm/users/rass_onl.php');
 }
 if ($_GET['id'] == 63)
 {
  include($cms.'adm/admin/site_not_access.php');
 }
 if ($_GET['id'] == 64)
 {
  include($cms.'adm/users/ban_user.php');
 }
 if ($_GET['id'] == 65)
 {
  include($cms.'adm/index/index.php');
 }
 if ($_GET['id'] == 66)
 {
  include($cms.'adm/index/static.php');
 }
 if ($_GET['id'] == 67)
 {
  include($cms.'adm/users/online.php');
 }





 ?>