{*
  Template for the news detailview
  $Id: show_news.tpl,v 1.00 2006/10/25 20:14:18
*}

<!-- {$smarty.template} -->
<div id="title"><a href="show_news.php?id=$news.id">{$news.title}</a></div>

<table id="actions" border="0" cellpadding="0" cellspacing="0" width="100%">
	<tr>
		<td id="barre-onglet">
		<form action="show_news.php" name="editform">
				<input type="hidden" name="id" value="{$news.id}"/>
				<input type="hidden" name="action" value="card"/>
				<input type="submit" class="{if $action=='card'}onglet-on{else}onglet{/if}" value="{$lang.card}" />
		</form>
		{if $news.prev_id || $news.next_id}
			<form action="show_news.php" name="prevform">
				<input type="hidden" name="id" value="{$news.prev_id}"/>
				<input type="submit" class="onglet" value="<" {if !$news.prev_id}disabled="disabled"{/if} accesskey="," />
			</form>
			<form action="show_news.php" name="nextform">
				<input type="hidden" name="id" value="{$news.next_id}"/>
				<input type="submit" class="onglet" value=">" {if !$news.next_id}disabled="disabled"{/if} accesskey="." />
			</form>
		 {/if}
    	</td>
	</tr>
{if $news.editable}
	<tr>
	<td id="barre-season">
		<form action="edit_news.php" name="editform">
				<input type="submit" value="{$lang.newdata}" class="onglet"/>
		</form>
		<form action="edit_news.php" name="editform">
				<input type="hidden" name="id" value="{$news.id}"/>
				<input type="submit" value="{$lang.edit}" class="onglet"/>
		</form>
		<form action="delete.php" name="deleteform">
				<input type="hidden" name="id" value="{$news.id}"/>
				<input type="hidden" name="cat" value="7"/>
				<input type="submit" value="{$lang.del}" onclick="return(confirm('{$news.title|escape:javascript}: {$lang.msg_really_del}?'))" class="onglet"/>
		</form>
	</td>
	</tr>
{/if}
</table>


<script language="JavaScript" type="text/javascript" src="javascript/look.js"></script>

<div id="pagecontent">
<!-- content begin -->
<table id="tableshow" width="100%" border=0 cellspacing="0" cellpadding="5">
 <tr>
    <td class="center" rowspan="2" width="125">
    <span class="img-shadow">
	<a title="{$news.title}" href="{$link}">
	<img alt="{$news.title}" src="{$news.imgurl}" border="0" hspace="5" vspace="5" width="115">
	</a>
	</td>    	
  </tr>  
  <tr>
    <td>
      <table cellspacing="1" cellpadding="2" border="0">
            <tr>
			<td class="td-opt">{$lang.category}:</td><td class="td-value">{$news.category}</td>
			<td class="td-opt">{$lang.language}:</td><td class="td-value">{$news.language}</td>
			</tr>
			<tr>
			<td class="td-opt">{$lang.pubdate}:</td><td class="td-value">{$news.pubdate}</td>
			<td class="td-opt">{$lang.link}:</td><td class="td-value"><a href="{$news.link}" target="_blank">{$news.newsfrom}</a></td>
			</tr>
			{if $news.owner}
			<tr>
			<td class="td-opt">{$lang.author}:</td><td class="td-value">{$news.owner}</td>
			<td class="td-opt">&nbsp;</td><td class="td-value">&nbsp;</td>
			</tr>
			{/if}
      </table>
    </td>	
  </tr>
  <tr>
	<td colspan="2" class="td-opt">{$lang.summary}:</td>
  </tr>
  <tr>
	<td colspan="2" class="td-value"><div class="list_plot">{$news.summary}</div></td>			
  </tr>
  {if $news.plot}
  <tr>
	<td colspan="2" class="td-opt">{$lang.comment}:</td>
  </tr>
  <tr>
	<td colspan="2" class="td-value">{$news.plot}</td>			
  </tr>
  {/if}
</table>
</div>
<!-- /showheader -->



</div>
<!-- /content -->
