Location: PHPKode > projects > Open Rent Stock > rentstock/ext/smarty/templates/extern_display.tpl
{*
RentStock
Lager und Planungs dispositions Software für den Messebau und eventbasierte Unternemen
Copyright (C) 2007-2008  Stefan Brinkmann

Dieses Programm ist freie Software. 
Sie können es unter den Bedingungen der GNU General Public License, 
wie von der Free Software Foundation veröffentlicht, 
weitergeben und/oder modifizieren, 
entweder gemäß Version 3 der Lizenz oder (nach Ihrer Option) jeder späteren Version.

Die Veröffentlichung dieses Programms erfolgt in der Hoffnung, 
daß es Ihnen von Nutzen sein wird, 
aber OHNE IRGENDEINE GARANTIE, 
sogar ohne die implizite Garantie der MARKTREIFE oder der VERWENDBARKEIT FÜR EINEN BESTIMMTEN ZWECK. 
Details finden Sie in der GNU General Public License.

Sie sollten ein Exemplar der GNU General Public License zusammen mit diesem Programm erhalten haben. 
Falls nicht, siehe <http://www.gnu.org/licenses/>. 
*}

{config_load file=statics.conf section="setup"}

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Expires" content="Fri, Jan 01 1900 00:00:00 GMT">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Cache-Control" content="no-cache">
<meta http-equiv="Content-Type" content="text/html; utf-8">
<meta http-equiv="content-language" content="de">
<meta name="author" content="Stefan Brinkmann (www.stb-webdev.de)">
<meta http-equiv="Reply-to" content="hide@address.com">
<meta name="generator" content="PhpED 4.5">
<meta name="description" content="">
<meta name="keywords" content="">
<base href="{$url_base}" >

<title>{T v="page title (ext)"}</title>
<link href="{#dir_style#}style.css" rel="stylesheet" type="text/css" />

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


</head>
<body>

{popup_init src="js/overlib/overlib.js"}

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

<script type="text/javascript">
// <![CDATA[
var ol_close = "{T v="close(popup window) (ext)"}";
var ol_closeclick = 1;
var ol_closetitle = "{T v="close window(popup window) (ext)"}";
// ]]>
</script>


<center>
<table>
	<tr>
		<td class="tableheader-top" colspan="4">{T v="bookings from your project (ext)"}:</td>
		<td class="tableheader-top"><a href="index.php?logout=logout"><img src="{#dir_style#}img/exit.png" title="logout" /></a></td>
	</tr>
	<tr>
		<td class="view-list-left" colspan="5">
			<form action="index.php">
				<input type="hidden" name="page" value="display" />
				<select name="lang" onChange="this.form.submit();">
					{section name=i loop=$langs}
					<option value="{$langs[i].id}" {if $langs[i].id == $selected_lang} selected="selected"{/if}>{$langs[i].name|html}</option>
					{/section}
				</select>
			</form>
		</td>
	</tr>
	<tr>
		<td class="view-list-left" colspan="5">
			{T v="project (ext)"}: {$project.name}<br>
			{T v="client (ext)"}: {$client.pre_name} {$client.name}<hr>
			{T v="bookings possible up to and including (ext)"}: {if !$booking_closed}<strong>{$date_close|date_format:"%d.%m.%Y"}</strong>{else} <strong><big><span style="color: red;">{$date_close|date_format:"%d.%m.%Y"} --{T v="closed(full upper)"}-- </span></big></strong>{/if}
			
		</td>
	</tr>
	<tr>
		<td class="view-list-center">{T v="booking (ext)"}</td>
		<td class="view-list-center">{T v="count (ext)"}</td>
		<td class="view-list-center">{T v="notice (ext)"}</td>
		<td class="view-list-center">{T v="name (ext)"}</td>
		<td class="view-list-center">{T v="info (ext)"}</td>
	</tr>
	
	{capture assign=info}{T v="info (ext)"}{/capture}
	{capture assign=booking_notice}{T v="booking notice (ext)"}{/capture}
	{assign var=sec value=""}
	{assign var=group_id value=""}
	{section name=i loop=$article}
	
		{if $group_id != $article[i].g_id}
			<tr>
				<td class="article-group" colspan="10">{if $force_sec < 0}{$article[i].s_name} => {/if}{$article[i].g_name|html}</td>
			 </tr>
		{assign var="group_id" value=$article[i].g_id}
		{/if}



		{capture assign=notice}{$article[i].notice}{/capture}
		{capture assign=desc}{$article[i].public_description}{/capture}
		{capture assign=url}{$article[i].a_url}{/capture}
		{capture assign=image}<img src='{#url_image_article#}{$article[i].a_id}.{$article[i].a_image}'/>{/capture}
		{capture assign=a_name}{T v="order %s(article) (ext)" v1=$article[i].a_name}{/capture}
		{capture assign=iframe_favorites}<iframe src='index.php?page=edit_booking&a={$article[i].a_id}&h={checksum value=$article[i].a_id}' width=350 height=250 /> {/capture}
		

	<tr>
		<td class="view-list-center">
			{if !$booking_closed}
			<img name="art_{$article[i].a_id}_{$force_favo}" {popup  text=$a_name} {popup exclusive=1 sticky=1 trigger=onClick caption=$a_name text=$iframe_favorites} src="{#dir_style#}img/edit.png"/>
			{/if}
		</td>
		<td class="view-list-center" name="count_{$article[i].a_id}">
			{if $article[i].count}{$article[i].count}{/if}
		</td>
		<td class="view-list-center" name="tip_{$article[i].a_id}">
			{if $article[i].notice != ""}<img  {popup  exclusive="1" caption=$booking_notice trigger="onClick" sticky=1 text=$notice|html|bbcode|script} {popup text=$notice|html|bbcode|script} id="img-left" src="{#dir_style#}img/warn.png" />{/if}
		</td>
		<td class="view-list-center" >
			{$article[i].a_name}
		</td>
		<td>
			{if $article[i].a_image}<img {popup exclusive="1" left="1"  sticky="1" trigger="onClick" caption=$info text=$image} {popup left="1"  sticky="0" caption="" text=$image} src="{#url_image_article#}{$article[i].a_id}_pt.{$article[i].a_image}"/>{else}<img src="{#dir_style#}img/blank.gif" style="width:16px"/>{/if}
			{if $article[i].public_description}<img {popup  exclusive="1"  left="1"  sticky="1" trigger="onClick" caption=$info text=$desc|html|bbcode|nl2br|script} {popup left="1"  text=$desc|html|bbcode|nl2br|script} src="{#dir_style#}img/info.png"/>{else}<img src="{#dir_style#}img/blank.gif" style="width:16px"/>{/if}
			{if $article[i].a_url}<a {popup  left="1" text="$url"} href="{$article[i].a_url|html}" target="_blank"><img src="{#dir_style#}img/url.png"/></a>{else}<img src="{#dir_style#}img/blank.gif" style="width:16px"/>{/if}
		</td>

	</tr>
	{/section}
	
</table>
</center>
{section loop=20 name=i}
<br>
{/section}
<center>
<span style="color: #909090;" ><small><small><a href="http://sourceforge.net/projects/openrentstock" >OpenRentStock</a> (C)2008 under <a href="http://www.gnu.org/licenses/gpl.html">GPL License</a> by Stefan Brinkmann on <a href="http://sourceforge.net/projects/openrentstock" >SourceForge.net</a></small></small></span>
</center>
</body>
</html>
Return current item: Open Rent Stock