Demo

Probiere ClanSphere aus und teste daran herum. Demo

Codepaste - Details
Weitere Infos zum Codepaste

Name index, board, static + modrewrite
Autor de wasgeht
CMS-Version Clansphere 2009
Datei index.php
Datum 07.05.2009 um 10:04 Uhr
Beschreibung hiermit geht die index auch mit modrewrite
index, board, static + modrewrite

vorschau hier:
http://zocker-gemeinde.de/CMS/index.php standard (index)
http://zocker-gemeinde.de/CMS/index.php?mod=board&action=list forum (board)
http://zocker-gemeinde.de/CMS/index.php?mod=static&action=view&id=3 statische seiten (static)

dies ist für modrewrite on oder off gedacht
Alter Code Alter Code +-
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
1. / 2. / ... 
<?php
// ClanSphere 2009 - www.clansphere.net
// $Id: index.php 3009 2009-05-03 14:57:11Z hajo $

# Overwrite global settings by using the following array
$cs_main = array('init_sql' => true'init_tpl' => true'tpl_file' => 'index.htm');

require_once 
'system/core/functions.php';

cs_init($cs_main);

?>
Neuer Code Neuer Code +-
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
1. / 2. / ... 
<?php
// ClanSphere 2008 - www.clansphere.net
// $Id: index.php 1967 2009-03-10 00:12:38Z hajo $

# Overwrite global settings by using the following array
$cs_main = array('init_sql' => true'init_tpl' => true'tpl_file' => 'index.htm');
if (
$_GET['mod'] == 'board' || strpos($_GET['params'], 'board/') !== false$cs_main = array('init_sql' => true'init_tpl' => true'tpl_file' => 'board.htm');
if (
$_GET['mod'] == 'static' || strpos($_GET['params'], 'static/') !== false$cs_main = array('init_sql' => true'init_tpl' => true'tpl_file' => 'static.htm');

require_once 
'system/core/functions.php';

cs_init($cs_main);

?>
Zurück - Übersicht


Bitte Login benutzen, um Kommentare zu schreiben.