Vergleich inc/class_templates.php - 1.2.7 - 1.2.13

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 6Zeile 6
 * Website: http://www.mybboard.net
* License: http://www.mybboard.net/eula.html
*

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

 * $Id: class_templates.php 2932 2007-03-10 05:48:55Z chris $

 * $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)