Demo

Probiere ClanSphere aus und teste daran herum. Demo

Codepaste - Details
Weitere Infos zum Codepaste

Name Clansphere.net board/navlist
Autor de h0n1g
CMS-Version ClanSphere 2007
Datei board/navlist.
Datum 04.01.2007 um 01:13 Uhr
Beschreibung Auf wunsch Zeige ich euch hier die Änderungen an der Datei, damit das Layout wie bei uns aussieht...

Alter Code Alter Code +-
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
1. / 2. / ... 
<?php
// ClanSphere 2006 - www.clansphere.net
// $Id: navlist.php 143 2006-08-01 05:05:45Z hajo $

$cs_lang cs_translate('board');

$from  "threads thr INNER JOIN {pre}_board frm ON frm.board_id = thr.board_id LEFT JOIN {pre}_read red ON thr.threads_id = red.threads_id AND red.users_id = '" $account['users_id'] . "'";
$select  'thr.threads_headline AS threads_headline, thr.threads_last_time AS threads_last_time, thr.threads_id AS threads_id';
$where "frm.board_access <= '" $account['access_board'] . "' AND board_pwd = '' AND (thr.threads_last_time > red.read_since OR red.threads_id IS NULL)"
$order 'thr.threads_last_time DESC'
$cs_threads cs_sql_select(__FILE__,$from,$select,$where,$order,0,8);

if(empty(
$cs_threads)) {
    echo 
$cs_lang['no_new_posts'];
}
else {
    foreach (
$cs_threads AS $thread) {
        echo 
cs_date('unix',$thread['threads_last_time'],1);
        echo 
cs_html_br(1);

        
$headline strlen($thread['threads_headline']) <= 15 $thread['threads_headline'] :
            
substr($thread['threads_headline'],0,15) . '...';
        
$headline cs_secure($headline);
        
$more 'where=' $thread['threads_id'];
        echo 
cs_link($headline,'board','thread',$more,0,cs_secure($thread['threads_headline']));
        echo 
cs_html_br(1);
    }
}

?>
Neuer Code Neuer Code +-
 
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
1. / 2. / ... 
<?php
// ClanSphere 2006 - www.clansphere.net
// $Id: navlist.php 143 2006-08-01 05:05:45Z hajo $

$cs_lang cs_translate('board','navlist');

$from  "threads thr INNER JOIN {pre}_board frm ON frm.board_id = thr.board_id LEFT JOIN {pre}_read red ON thr.threads_id = red.threads_id AND red.users_id = '" $account['users_id'] . "'";
$select  'thr.threads_headline AS threads_headline, thr.threads_last_time AS threads_last_time, thr.threads_id AS threads_id';
$where "frm.board_access <= '" $account['access_board'] . "' AND board_pwd = '' AND (thr.threads_last_time > red.read_since OR red.threads_id IS NULL)"
$order 'thr.threads_last_time DESC'
$cs_threads cs_sql_select(__FILE__,$from,$select,$where,$order,0,8);

if(empty(
$cs_threads)) {
    echo 
$cs_lang['no_new_posts'];
}
else {
    foreach (
$cs_threads AS $thread) {
        echo 
cs_html_span(1,'font-size: 10px;');
        echo 
cs_date('unix',$thread['threads_last_time'],1);
        echo 
cs_html_span(0);
        echo 
cs_html_br(1);

        
$headline strlen($thread['threads_headline']) <= 18 $thread['threads_headline'] :
            
substr($thread['threads_headline'],0,18) . '...';
        
$headline cs_secure($headline);
        
$more 'where=' $thread['threads_id'];
        echo 
cs_link($headline,'board','thread',$more,0,cs_secure($thread['threads_headline']));
        
/*echo cs_html_link('board.php?mod=board&action=thread&where='.$thread['threads_id'],$headline);*/
    
echo cs_html_hr('100%');
    }
}
        echo 
cs_html_br(1);

?>
Zurück - Übersicht

Kommentare: 1
Seite [1]
seed

16.11.2012

Ort: -
Beiträge: 3
# 1 - 16.11.2012 um 11:56 Uhr

Questa Moncler Outlet turbolenza aria fresca potenziale + di sedici grandi scarpe di gestione, non è da intendere solamente per i corridori, obiettivo aussi escursionisti che desiderano una scarpa da tennis nuova notevolmente attenuato .. Nella societàpiuminionline-it.com contemporanea mordern, inquinando i significativi individui disrup ambiente. Goveronment impostato polizza assicurativa per assicurare che gli impianti non proprio casuali alleviare l'inquinamento. I medici Indagare sostanza composizione chimica dei Piumini Moncler prodotti per i problemi che fare del corpo umano.


Zuletzt editiert von seed, am 16.11.2012 um 11:57 Uhr (5x Editiert)


Bitte Login benutzen, um Kommentare zu schreiben.