[ Index ]

PHP Cross Reference of MyBB

title

Body

[close]

/ -> css.php (source)

   1  <?php
   2  /**
   3   * MyBB 1.6
   4   * Copyright 2010 MyBB Group, All Rights Reserved
   5   *
   6   * Website: http://mybb.com
   7   * License: http://mybb.com/about/license
   8   *
   9   * $Id: css.php 5297 2010-12-28 22:01:14Z Tomm $
  10   */
  11  
  12  define("IN_MYBB", 1);
  13  define("NO_ONLINE", 1);
  14  define('THIS_SCRIPT', 'css.php');
  15  
  16  require_once  "./inc/init.php";
  17  
  18  $stylesheet = intval($mybb->input['stylesheet']);
  19  
  20  if($stylesheet)
  21  {
  22      $options = array(
  23          "limit" => 1
  24      );
  25      $query = $db->simple_select("themestylesheets", "stylesheet", "sid=".$stylesheet, $options);
  26      $stylesheet = $db->fetch_field($query, "stylesheet");
  27  
  28      header("Content-type: text/css");
  29      echo $stylesheet;
  30  }
  31  exit;
  32  ?>


Generated: Tue Oct 8 19:19:50 2013 Cross-referenced by PHPXref 0.7.1