Vergleich inc/class_templates.php - 1.2.5 - 1.2.11

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 3Zeile 3
 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * MyBB 1.2
* Copyright � 2006 MyBB Group, All Rights Reserved
*

 * Website: http://www.mybboard.com
* License: http://www.mybboard.com/eula.html

 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html

 *

 *

 * $Id: class_templates.php 2695 2007-02-03 13:46:23Z CraKteR $

 * $Id: class_templates.php 3278 2007-08-23 02:23:28Z Tikitiki $

 */

class templates

 */

class templates

Zeile 64Zeile 64
	 */
function get($title, $eslashes=1, $htmlcomments=1)
{

	 */
function get($title, $eslashes=1, $htmlcomments=1)
{

		global $db, $theme, $PHP_SELF, $mybb;

		global $db, $theme, $mybb;

		if(!isset($this->cache[$title]))
{
$query = $db->query("

		if(!isset($this->cache[$title]))
{
$query = $db->query("

Zeile 73Zeile 73
				WHERE title='$title'
AND sid IN ('-2','-1','".$theme['templateset']."')
ORDER BY sid DESC

				WHERE title='$title'
AND sid IN ('-2','-1','".$theme['templateset']."')
ORDER BY sid DESC

				LIMIT 0, 1

				LIMIT 1

			");
$gettemplate = $db->fetch_array($query);
if($mybb->debug)

			");
$gettemplate = $db->fetch_array($query);
if($mybb->debug)