<?php

//// The gotnews theme 

global $theme_credits, $theme_name, $theme_license, $theme_more_credits;
global $theme_link_navigation, $theme_link_basic;
global $news_date_format, $news_theme_format, $theme_name, $theme_license, $theme_author, $theme_more_credits, $content_template;



$theme_name = 'Got News?';
$theme_author = 'idave';


$theme_more_credits = 'All credit goes to OSWD user idave. Modified and mongoized by michaelb. <br /> This theme was taken originally from <a href="http://oswd.org">oswd.org</a>.';

$news_date_format = '%year%.%mon%.%mday%@%hours%:%minutes%';
$news_theme_format = '
<table width=65% cellpadding=0 cellspacing=0 align="center">
  <tr>
    <td bgcolor=#B0C4DE style="border-top: 1px solid #000000;border-right: 1px solid #000000;border-left: 1px solid #000000" valign="top">
      <font face=verdana size=1>
      <b>:: %title% :</b> &nbsp;&nbsp;<small>%posted_on% . %readmore_link%</small>
      </font>
    </td>
  </tr>
  <tr>
    <td width=100% bgcolor=#F5F5F5 style="border: 1px solid #000000" valign=top>
      <font face=verdana size=1>
	%contents%
      </font>

    </td>
  </tr>
</table>
<br /><br />
';
$theme_block = '
<table width=65% cellpadding=0 cellspacing=0>
  <tr>
    <td bgcolor=#B0C4DE style="border-top: 1px solid #000000;border-right: 1px solid #000000;border-left: 1px solid #000000" valign=top>
      <font face=verdana size=1>
      <b>::</b> %title% <b>:</b>
      </font>
    </td>
  </tr>
  <tr>
    <td width=100% bgcolor=#F5F5F5 style="border: 1px solid #000000" valign=top>
      <font face=verdana size=1>
	%contents%
      </font>
    </td>
  </tr>
</table>
<br /><br />
';
$theme_link_basic = '<a href="%url%">%title%</a>';
$theme_link_navigation = '&nbsp; <a href="%url%" style="text-decoration: none">%title%</a> &nbsp; | 
';
$content_template = '%content%';


?>


<html>
<head>
<!--[[ theme : head ]]-->
<title><!--[[ theme : site_title ]]--> : <!--[[ content : page_title ]]--></title>
</head>
<body bgcolor=#ffffff topmargin=0 leftmargin=0 bottomargin=0 link=#000000 vlink=#000000>
<center><br>

<table width=65% cellpadding=0 cellspacing=0>
  <tr>
    <td width=100% bgcolor=#F5F5F5 style="border: 1px solid #000000" valign=top>
      <font face=verdana size=3>
      <b>&nbsp;<!--[[ theme : site_title ]]--></b> &nbsp; <!--[[ theme : logo ]]-->
      </font>
    </td>
  </tr>

  <tr>

    <td bgcolor=#B0C4DE style="border-bottom: 1px solid #000000;border-right: 1px solid #000000;border-left: 1px solid #000000" valign=top align=right>
      <font face=tahoma size=1>
      <b>::</b> <!--[[ theme : slogan ]]-->  <b>::</b>
      </font>
    </td>
  </tr>
</table>

<table width=65% cellpadding=0 cellspacing=0>
  <tr>
    <td width=100% bgcolor=#F5F5F5 style="border-right: 1px solid #000000;border-left: 1px solid #000000;border-bottom: 1px solid #000000" valign=top>
      <font face=tahoma size=1>
	<!-- NAVIGATION --> <!--[[ theme : link_box ]]-->
      </font>
    </td>
  </tr>
</table>
<br><br>

<?php
global $content_file;
if ($content_file->is_news !== TRUE) {
	outblurt('
<!-- POST -->
<table width=65% cellpadding=0 cellspacing=0>
  <tr>
    <td bgcolor=#B0C4DE style="border-top: 1px solid #000000;border-right: 1px solid #000000;border-left: 1px solid #000000" valign=top>
      <font face=verdana size=1>
<div style="align: left; float:left;" ><strong><!--[[ content : page_title ]]--></strong></div>
<div style="align: left; float:right;" ><!--[[ content : template : <a href="%url_prepared%pf=y">Printer Friendly Version</a> ]]--></div>
      </font>
    </td>
  </tr>
  <tr>
    <td width=100% bgcolor=#F5F5F5 style="border: 1px solid #000000" valign=top>
      <font face=verdana size=1>
<!--[[ content : main ]]-->
      </font>
    </td>
  </tr>
</table>
<!-- /POST -->
	', POWER_HTML, TRUE);
}
else
{
		outblurt('
<!--[[ content : main ]]-->
	', POWER_HTML, TRUE);
}
?>


<font face=verdana size=1>
<!--[[ theme : footer ]]-->
</font>

</center>
</body>
</html>
