Demo

Probiere ClanSphere aus und teste daran herum. Demo


Antworten: 8
Seite [1]
Beenox


Rock the board





Beiträge: 47
# Thema - 26.04.2012 um 22:26 Uhr
Liebe Community,

ich brauche mal wieder Eure Hilfe. In der Last Wars Bos möchte ich das Gameicon und den Namen Links Zentriert und den rest Rechts Zentriert haben. So wie es jetzt aussieht gefällt mir das nicht. Schaust Du HIER!


------------------


Zuletzt editiert von Beenox am 27.04.2012 um 14:04 Uhr (1x Editiert)
Inaktiv
Koffein


Going for pro




Beiträge: 536
# Antwort: 1 - 27.04.2012 um 14:05 Uhr
Schaust du /themes/base/wars/navlist.tpl !


Inaktiv
|
Beenox
Thread-Ersteller


Rock the board





Beiträge: 47
# Antwort: 2 - 27.04.2012 um 14:24 Uhr
Schauen ist ok aber weiß nicht wies geht


------------------


Inaktiv
|
ev0lution


Geekboy





Beiträge: 1102
# Antwort: 3 - 27.04.2012 um 19:07 Uhr
grop gesagt musst du fürs icon und fuer den namen die css belassen und für den rest eine neue class anlegen


------------------


Inaktiv
|
Beenox
Thread-Ersteller


Rock the board





Beiträge: 47
# Antwort: 4 - 01.05.2012 um 14:35 Uhr
Kann mir das wer Basteln ?oder hat jemand eine andere Idee. Am besten wäre wenn Die Win, Lost und Draw Grafiken ganz verschwinden und dafür die Zahlen (Ergebnisse) in der Betreffenden Farbe wären. Gab es mal für version 2010


------------------


Inaktiv
|
palle ClanSphere Team

Supporter
Supporter




Beiträge: 3073
# Antwort: 5 - 01.05.2012 um 15:08 Uhr
oder hat jemand eine andere Idee.

Ja die Forum Suche zu benutzen.


------------------
I like the part where it says 'nyan'



Inaktiv
|
Beenox
Thread-Ersteller


Rock the board





Beiträge: 47
# Antwort: 6 - 01.05.2012 um 16:57 Uhr
Super. Wenn ich das so mache wie im Post beschrieben bekomme ich folgende Meldung: Fatal error: Call to undefined function cs_html_span() in /var/www/web792/html/ks/mods/wars/navlist.php on line 42

Meine Navlist.php sieht so aus

 
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.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
1. / 2. / ... 
<?php
// ClanSphere 2010 - www.clansphere.net
// $Id$

$cs_lang cs_translate('wars');
$cs_get cs_get('catid,squadid');
$cs_option cs_sql_option(__FILE__,'wars');
$data = array();

$select 'war.games_id AS games_id, cln.clans_short AS clans_short, war.wars_score1 AS wars_score1, '
        
'war.wars_score2 AS wars_score2, war.wars_date AS wars_date, war.wars_id AS wars_id';
$from 'wars war INNER JOIN {pre}_clans cln ON war.clans_id = cln.clans_id';
$order 'war.wars_date DESC';
$where = empty($cs_get['squadid']) ? 'war.wars_status = \'played\'' 'war.wars_status = \'played\' AND war.squads_id = ' $cs_get['squadid'];
if(!empty(
$cs_get['catid'])) {
  
$where .= ' AND war.categories_id = ' $cs_get['catid'];
}

$cs_wars cs_sql_select(__FILE__,$from,$select,$where,$order,0,$cs_option['max_navlist']);

if (!empty(
$cs_wars)) {

  if(
$cs_option['max_navlist'] == 1)
    
$cs_wars = array(=> $cs_wars);

  
$all count($cs_wars);
  for (
$i 0$i $all$i++) {

    
$cs_wars[$i]['game_icon'] = file_exists('uploads/games/' $cs_wars[$i]['games_id'] . '.gif') ?
      
cs_html_img('uploads/games/' $cs_wars[$i]['games_id'] . '.gif') : '';
    
$secure_short cs_secure($cs_wars[$i]['clans_short']);
    
$cs_wars[$i]['enemy'] = cs_link($secure_short,'wars','view','id=' $cs_wars[$i]['wars_id']);

    
$result $cs_wars[$i]['wars_score1'] - $cs_wars[$i]['wars_score2'];
    
$icon $result 'green' 'red';
    if(empty(
$result)) $icon 'grey';
    
$cs_wars[$i]['icon'] = cs_html_img('symbols/clansphere/' $icon '.gif');

    
$cs_wars[$i]['date'] = cs_date('unix',$cs_wars[$i]['wars_date']);
  }

  
$data['wars'] = $cs_wars;
  echo 
cs_subtemplate(__FILE__,$data,'wars','navlist');
}
else
  echo 
$cs_lang['no_data'];


------------------


Inaktiv
|
palle ClanSphere Team

Supporter
Supporter




Beiträge: 3073
# Antwort: 7 - 01.05.2012 um 21:22 Uhr
Einer von gefühlten 2000.
http://www.csphere.eu/index/board/thread/where/14082


------------------
I like the part where it says 'nyan'



Inaktiv
|
Beenox
Thread-Ersteller


Rock the board





Beiträge: 47
# Antwort: 8 - 04.05.2012 um 18:37 Uhr
Wenn ich das so mache wie im Post den Du mir verlinkst, steht da einfach nur red usw


------------------


Inaktiv
|
Antworten: 8
Seite [1]


Sie müssen sich registrieren, um zu antworten.