Matrix Template, please help

Author Message

Antonino Ioppolo

Monday 15 December 2003 8:46:18 am

Hi, I need to make a nice graphic template to show a matrix which has 4 columns. It's about sport scores, so it is structured like this.

| Team One | 1 | 2 | Team Two |

what I need is to colour table cells: team names should be coloured differently that scores.
Moreover I would like that every second row was colored differently.

Hope someone can help. Thanks

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 19 2025 07:27:31
Script start
Timing: Jan 19 2025 07:27:31
Module start 'layout'
Timing: Jan 19 2025 07:27:31
Module start 'content'
Timing: Jan 19 2025 07:27:32
Module end 'content'
Timing: Jan 19 2025 07:27:32
Script end

Main resources:

Total runtime0.7768 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.1563152.6250
Module start 'layout' 0.00710.0034 741.781339.4453
Module start 'content' 0.01050.7646 781.2266399.4375
Module end 'content' 0.77510.0016 1,180.66418.1641
Script end 0.7767  1,188.8281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.4191160.0002
Check MTime0.00130.1626160.0001
Mysql Total
Database connection0.00060.082110.0006
Mysqli_queries0.738195.0209460.0160
Looping result0.00040.0566440.0000
Template Total0.743495.720.3717
Template load0.00200.259120.0010
Template processing0.741495.439320.3707
Template load and register function0.00020.030910.0002
states
state_id_array0.00100.131910.0010
state_identifier_array0.00200.254320.0010
Override
Cache load0.00160.199980.0002
Sytem overhead
Fetch class attribute can translate value0.00160.200610.0016
Fetch class attribute name0.00070.094910.0007
XML
Image XML parsing0.00010.015110.0001
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00060.0777100.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs