[ PHPXref.com ] [ Generated: Sun Jul 20 17:00:09 2008 ] [ Clever Copy 3.0 ]
[ Index ]     [ Variables ]     [ Functions ]     [ Classes ]     [ Constants ]     [ Statistics ]

title

Body

[close]

/ -> custombottomblock.php (source)

   1  <?php
   2  echo "<table width = '100%'><tr><td>";
   3  $query =  ("SELECT * FROM CC_blocks WHERE block_file = 'customcenterblock2.php'") or die($no_blocks_found_error);
   4  $result = mysql_query($query);                                                                                                                                                                                     if ((isset($_SESSION['cuser'])) || (isset($_SESSION['cadmin']))){
   5  while($row = mysql_fetch_array($result)){
   6         if (isset($_SESSION['cuser'])){
   7            if ((($row["side"]=="2") && ($row["view"]=="1")) || (($row["side"]=="2") && ($row["view"]=="0"))){
   8                    include  "customcenterblock2.php";
   9            }
  10         }
  11         elseif (isset($_SESSION['cadmin'])){
  12                 if ((($row["side"]=="2"))&& (($row["view"]=="2"))){
  13                     include  "customcenterblock2.php";
  14               }
  15           }
  16      }
  17  }
  18  else{
  19      while($row = mysql_fetch_array($result)){
  20          if ((($row["side"]=="2") && ($row["view"]=="0"))){
  21               include  "customcenterblock2.php";
  22          }
  23     }
  24  }
  25  
  26  
  27  ?>


[ Powered by PHPXref - Served by Debian GNU/Linux ]