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

<!-- {$smarty.template} -->
<br>
<div id="toppage"><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"/>
				<span class="onglet">
				<input type="submit" value="{$lang.card}" />
				</span>
		</form>
		{if $news.prev_id || $news.next_id}
			<form action="show_news.php" name="prevform">
				<input type="hidden" name="id" value="{$news.prev_id}"/>
				<span class="onglet">
				<input type="submit" value="<" {if !$news.prev_id}disabled="disabled"{/if} accesskey="," />
				</span>
			</form>
			<form action="show_news.php" name="nextform">
				<input type="hidden" name="id" value="{$news.next_id}"/>
				<span class="onglet">
				<input type="submit" value=">" {if !$news.next_id}disabled="disabled"{/if} accesskey="." />
				</span>
			</form>
		 {/if}
    	</td>
	</tr>
{if $news.editable}
	<tr>
	<td id="barre-onglet">
		<form action="edit_news.php" name="editform">
				<span class="onglet-admin">
				<input type="submit" value="{$lang.newdata}"/>
				</span>
		</form>
		<form action="edit_news.php" name="editform">
				<input type="hidden" name="id" value="{$news.id}"/>
				<span class="onglet-admin">
				<input type="submit" value="{$lang.edit}"/>
				</span>
		</form>
		<form action="delete.php" name="deleteform">
				<input type="hidden" name="id" value="{$news.id}"/>
				<input type="hidden" name="cat" value="7"/>
				<span class="onglet-admin">
				<input type="submit" value="{$lang.del}" onclick="return(confirm('{$news.title|escape:javascript}: {$lang.msg_really_del}?'))"/>
				</span>
		</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 valign="top">
      <table cellspacing="0" cellpadding="2" border="0" width="100%">
            <tr>
			<td class="lineeven"><b>» {$lang.category} :</b></td>
			<td class="lineeven">{$news.category}</td>
			</tr>
			{if $news.owner}
			<tr>
			<td class="lineodd"><b>» {$lang.author} :</b></td>
			<td class="lineodd">{$news.owner}</td>
			</tr>
			{/if}
			<tr>
			<td class="lineodd"><b>» {$lang.language} :</b></td>
			<td class="lineodd">{$news.language}</td>
			</tr>
			<tr>
			<td class="lineeven"><b>» {$lang.pubdate} :</b></td>
			<td class="lineeven">{$news.pubdate}</td>
			</tr>
			<tr>
			<td class="lineodd"><b>» {$lang.link} :</b></td>
			<td class="lineodd"><a href="{$news.link}" target="_blank">{$news.newsfrom}</a></td>
			</tr>
      </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 -->
