User:Jrothwell/myskin.php

skinname = 'wikinews'; $this->stylename = 'wikinews'; $this->template = 'WikiNewsTemplate'; } }

class WikiNewsTemplate extends QuickTemplate { function execute { ?>   text('mimetype') ?>; charset=text('charset') ?>" /> html('headlinks') ?> text('pagetitle') ?> /*<![CDATA[*/ @import "text('stylepath') ?>/text('stylename') ?>/main.css"; /*]]>*/ text('stylepath') ?>/text('stylename') ?>/print.css" /> text('stylepath') ?>/common/IEFixes.js">

data['jsvarurl' ]) { ?>text('jsvarurl'  ) ?>"> <?php } ?> <script type="text/javascript" src="<?php                                  $this->text('stylepath' ) ?>/common/wikibits.js"> <?php if($this->data['usercss'  ]) { ?><style type="text/css"><?php              $this->html('usercss'   ) ?> <?php    } ?> <?php if($this->data['userjs'   ]) { ?><script type="text/javascript" src="<?php $this->text('userjs'    ) ?>"> <?php } ?> <?php if($this->data['userjsprev']) { ?><script type="text/javascript"><?php     $this->html('userjsprev') ?> <?php   } ?> </HEAD> <BODY BGCOLOR=#FFFFFF LEFTMARGIN=0 RIGHTMARGIN=0 TOPMARGIN=0 BOTTOMMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0> </TD> <TD COLSPAN=3 id="regions"> <li><a href="Africa">Africa</a></li> <li><a href="Asia">Asia</a></li> <li><a href="Central_America">Central America</a></li> <li><a href="Europe">Europe</a></li> <li><a href="Middle_East">Middle East</a></li> <li><a href="North_America">North America</a></li> <li><a href="Oceania">Oceania</a></li> <li><a href="South_America">South America</a></li> </TD> <TD id="regionsfiller"> </TD> <TD HEIGHT=100 COLSPAN=2 class="sidebar"> Latest news Get involved Submit a story Newsroom Water cooler </TD></TR> <TR> <TD COLSPAN=8 class="divider"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=800 HEIGHT=1 ALT=""></TD> </TR><?php } ?> <TR> <TD COLSPAN=6 id="content"> <?php foreach($this->data['personal_urls'] as $key => $item) { ?><li id="pt-<?php echo htmlspecialchars($key) ?>"><a href="<?php echo htmlspecialchars($item['href']) ?>"<?php if(!empty($item['class'])) { ?> class="<?php echo htmlspecialchars($item['class']) ?>"<?php } ?>><?php echo htmlspecialchars($item['text']) ?></a></li><?php } ?> <?php if($this->data['sitenotice']) { ?> <?php $this->html('sitenotice') ?> <?php } ?> <?php if($this->data['title'] != 'Main Page') { ?><h1 class="contentheader"><?php $this->text('title') ?> <?php } ?> <?php if($this->data['title'] != 'Main Page') { ?> <?php $this->msg('tagline') ?> <?php } ?> <?php if($this->data['title'] != 'Main Page') { ?> <?php $this->html('subtitle') ?> <?php } ?> <?php if($this->data['undelete']) { ?> <?php    $this->html('undelete') ?> <?php } ?> <?php if($this->data['newtalk'] ) { ?> <?php $this->html('newtalk') ?> <?php } ?> <?php $this->html('bodytext') ?> <?php if($this->data['catlinks']) { ?> <?php      $this->html('catlinks') ?> <?php } ?> </TD> <TD COLSPAN=2 class="sidebar" id="controls"> <?php foreach($this->data['content_actions'] as $key => $action) { ?><a href="<?php echo htmlspecialchars($action['href']) ?>"><?php echo htmlspecialchars($action['text']) ?></a> <?php } ?> <?php if($this->data['notspecialpage']) { foreach( array( 'whatlinkshere', 'recentchangeslinked' ) as $special ) { ?> <a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href']) ?>"><?php echo $this->msg($special) ?></a> <?php } } ?><?php if($this->data['feeds']) { ?><?php foreach($this->data['feeds'] as $key => $feed) { ?><span id="feed-<?php echo htmlspecialchars($key) ?>"><a href="<?php echo htmlspecialchars($feed['href']) ?>"><?php echo htmlspecialchars($feed['text'])?></a> <?php } ?><?php } ?><?php foreach( array('contributions', 'emailuser', 'upload', 'specialpages') as $special ) { ?> <?php if($this->data['nav_urls'][$special]) {?><a href="<?php echo htmlspecialchars($this->data['nav_urls'][$special]['href']) ?>"><?php $this->msg($special) ?></a> <?php } ?><?php } ?> </TD> </TR> <TR> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=1 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=450 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=49 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=55 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=17 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=28 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"> <IMG SRC="<?php $this->text('stylepath') ?>/<?php $this->text('stylename') ?>/spacer.gif" WIDTH=100 HEIGHT=1 ALT=""></TD> <TD bgcolor="#000000"></TD> </TR> <TR> <TD colspan="8" class="footer"> <?php if($this->data['lastmod'  ]) { ?> <?php    $this->html('lastmod')    ?></li><?php } ?> <?php if($this->data['viewcount' ]) { ?> <?php $this->html('viewcount')  ?></li><?php } ?> <?php if($this->data['credits'  ]) { ?> <?php    $this->html('credits')    ?></li><?php } ?> <?php if($this->data['copyright' ]) { ?> <?php $this->html('copyright')  ?></li><?php } ?> <?php if($this->data['about'    ]) { ?> <?php      $this->html('about')      ?></li><?php } ?> <?php if($this->data['disclaimer']) { ?> <?php $this->html('disclaimer') ?></li><?php } ?> <?php if($this->data['poweredbyico']) { ?> <?php $this->html('poweredbyico') ?></li><?php } ?><?php if($this->data['copyrightico']) { ?> <?php $this->html('copyrightico') ?></li><?php } ?> </TD> </TR> <TR> <TD colspan="8" class="divider"></TD> </TR> <TR> <TD colspan="8" style="height: 0px"></TD> </TR> </TABLE> </BODY> </HTML> <?php } } ?>