change matches template
-
currently the way the matches are shown is like
<tr class='<?php echo $match->class ?>'> <td class='match'><?php echo $match->date." ".$match->start_time." ".$match->location ?><br /><a href="<?php echo $match->pageURL ?>"><?php echo $match->title ?></a> <?php echo $match->report ?></td> <td class='score' valign='bottom'><?php echo $match->score ?></td> </tr>
ie,
time location
home vs away —— scoreany idea how can i change it to be like single match
<p class="matchdate"><?php echo $match->date." ".$match->start_time." ".$match->location ?></p> <?php else : ?> <p class="score"><span class="home_logo"><img src="<?php echo $match->homeLogo ?>" alt="" /> </span><?php echo $match->score ?><span class="away_logo"><img src="<?php echo $match->awayLogo ?>" alt="" /></span></p> <?php endif; ?>
ie,
time, location
home score – score away
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘change matches template’ is closed to new replies.