Просмотр файла adm/include.php

Размер файла: 4.92Kb
<?php

 if ($_GET['id'] != '' && $_GET['id'] != '-1')
 {
  echo '<div align="center"><div class="jps_pole"><a href="?id=">Главная</a> <a href="?id=-1">Меню</a></div></div>';
 }
 if ($_GET['id'] == 0 or $_GET['id'] == '')
 {
  echo '<div align="center"><div class="jps_pole"><a href="?id=-1">Открыть меню</a></div></div>';
  include('adm/readmy.txt');
 }
 if ($_GET['id'] == '-1')
 {
   echo '<div align="center"><div class="jps_pole"><a href="?id=">Главная</a></div></div>';
   include('adm/inc_m.php');
 }
 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><a href="/adminf.php">Далее</a>';
 }
 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'] == 9)
 {
  include('adm/add_obv.php');
 }
  if ($_GET['id'] == 10)
 {
  include('adm/red_obv.php');
 }
 if ($_GET['id'] == 11)
 {
  include('adm/del_obv.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><a href="/adminf.php">Далее</a>';
 }
  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><a href="/adminf.php">Далее</a>';
 }
  if ($_GET['id'] == 44)
 {
  include('moduls/visual/editor.php');
 }
  if ($_GET['id'] == 45)
 {
  include('adm/add_st_arh.php');
 }
  if ($_GET['id'] == 46)
 {
  include('adm/red_arh_stat.php');
 }
  if ($_GET['id'] == 47)
 {
  include('adm/red_money.php');
 }
  if ($_GET['id'] == 48)
 {
  include('adm/red_x_status.php');
 }
  if ($_GET['id'] == 49)
 {
  include('adm/set_server.php');
 }
  if ($_GET['id'] == 50)
 {
  include('adm/del_game.php');
 }
  if ($_GET['id'] == 51)
 {
  include('adm/red_game.php');
 }
  if ($_GET['id'] == 52)
 {
  include('adm/redakt_tema.php');
 }
 if ($_GET['id'] == 53)
 {
  include('adm/explorer.php');
 }
 if ($_GET['id'] == 54)
 {
  include('adm/shop/add_kat.php');
 }
 if ($_GET['id'] == 55)
 {
  include('adm/shop/add_tov.php');
 }
 if ($_GET['id'] == 56)
 {
  include('adm/shop/red_kat.php');
 }
 if ($_GET['id'] == 57)
 {
  include('adm/shop/red_tovar.php');
 }
 if ($_GET['id'] == 58)
 {
  include('adm/shop/del_tov.php');
 }
 if ($_GET['id'] == 59)
 {
  include('adm/shop/del_kat.php');
 }
 if ($_GET['id'] == 60)
 {
  include('adm/shop/param.php');
 }
 if ($_GET['id'] == 61)
 {
  include('adm/shop/linkor.php');
 }

 ?>