|
From: <ara...@us...> - 2006-10-26 18:02:10
|
Revision: 38
http://svn.sourceforge.net/easybox-mod/?rev=38&view=rev
Author: aragornis
Date: 2006-10-26 11:00:27 -0700 (Thu, 26 Oct 2006)
Log Message:
-----------
Mise en place du nouveau systeme de module/skin
Modified Paths:
--------------
trunk/_framework/demarrage.php
trunk/_framework/fonctions_partagees.inc.php
trunk/_framework/lib/Smarty.class.php
trunk/skin/simple/interface/encours.gif
Added Paths:
-----------
trunk/module/_explorateur/explorateur.tpl
trunk/module/cac40/cac40.tpl
trunk/module/diaporama/explorateur_photo.tpl
trunk/module/diaporama/photo.tpl
trunk/module/dvd/menu_dvd.tpl
trunk/module/ephemeride/ephemeride.tpl
trunk/module/favoris/favoris.tpl
trunk/module/films/catalogue_video.tpl
trunk/module/films/fichefilm.tpl
trunk/module/films/films.tpl
trunk/module/films/signet_ask.tpl
trunk/module/films/signet_film.tpl
trunk/module/guidetv/guidetv.tpl
trunk/module/horloge/horloge.tpl
trunk/module/horoscope/horoscope.tpl
trunk/module/infotraffic/info-trafic.tpl
trunk/module/jt/emissions.tpl
trunk/module/livescore/livescore.tpl
trunk/module/loto/loto.tpl
trunk/module/mail/mail_inbox.tpl
trunk/module/mail/mail_message.tpl
trunk/module/meteo/meteoft.tpl
trunk/module/modules/modules.tpl
trunk/module/mp3/audio.tpl
trunk/module/mp3/catalogue_audio.tpl
trunk/module/mp3/playlist_audio.tpl
trunk/module/mp3/podcast.tpl
trunk/module/multiposte/enregistrement.tpl
trunk/module/multiposte/enregistrement_add.tpl
trunk/module/reseaufree/reseaufree.tpl
trunk/module/rss/rss.tpl
trunk/module/seances/programme_cine.tpl
trunk/module/signet/signet.tpl
trunk/module/webmedia/webmedias.tpl
Removed Paths:
-------------
trunk/skin/simple/audio.tpl
trunk/skin/simple/cac40.tpl
trunk/skin/simple/catalogue_audio.tpl
trunk/skin/simple/catalogue_video.tpl
trunk/skin/simple/emissions.tpl
trunk/skin/simple/enregistrement.tpl
trunk/skin/simple/enregistrement_add.tpl
trunk/skin/simple/ephemeride.tpl
trunk/skin/simple/explorateur.tpl
trunk/skin/simple/explorateur_photo.tpl
trunk/skin/simple/favoris.tpl
trunk/skin/simple/fichefilm.tpl
trunk/skin/simple/films.tpl
trunk/skin/simple/guidetv.tpl
trunk/skin/simple/horloge.tpl
trunk/skin/simple/horoscope.tpl
trunk/skin/simple/info-trafic.tpl
trunk/skin/simple/livescore.tpl
trunk/skin/simple/loto.tpl
trunk/skin/simple/mail_inbox.tpl
trunk/skin/simple/mail_message.tpl
trunk/skin/simple/menu_dvd.tpl
trunk/skin/simple/meteoft.tpl
trunk/skin/simple/modules.tpl
trunk/skin/simple/photo.tpl
trunk/skin/simple/playlist_audio.tpl
trunk/skin/simple/podcast.tpl
trunk/skin/simple/programme_cine.tpl
trunk/skin/simple/reseaufree.tpl
trunk/skin/simple/rss.tpl
trunk/skin/simple/signet.tpl
trunk/skin/simple/signet_ask.tpl
trunk/skin/simple/signet_film.tpl
trunk/skin/simple/webmedias.tpl
Modified: trunk/_framework/demarrage.php
===================================================================
--- trunk/_framework/demarrage.php 2006-10-25 05:01:34 UTC (rev 37)
+++ trunk/_framework/demarrage.php 2006-10-26 18:00:27 UTC (rev 38)
@@ -52,6 +52,9 @@
switch($etape){
+ case 1:
+ list_templates();
+ break;
// Phase d'initialisation
case 2:
$META['refresh']= '1;url=demarrage.php?etape=3';
Modified: trunk/_framework/fonctions_partagees.inc.php
===================================================================
--- trunk/_framework/fonctions_partagees.inc.php 2006-10-25 05:01:34 UTC (rev 37)
+++ trunk/_framework/fonctions_partagees.inc.php 2006-10-26 18:00:27 UTC (rev 38)
@@ -507,4 +507,32 @@
return str_replace(array('-!-!-!spec$$', '-!-!-!spec\xA3\xA3}'), array('{ldelim}', '{rdelim}'), $temp);
}
+function format_source_tpl($ressource_name){
+global $USER;
+ $db = sqlite_open($USER.'utilisateur.db', 0666);
+ $res = sqlite_query($db,'SELECT * FROM templates WHERE template="'.$ressource_name.'" LIMIT 1');
+ $resu = sqlite_fetch_object($res);
+ sqlite_close($db);
+ return $resu->url;
+}
+
+function list_templates(){
+global $USER, $MODULE, $SKIN_REP;
+ $db = sqlite_open($USER.'utilisateur.db', 0666);
+ $tplskin = glob(realpath($SKIN_REP).'/*.tpl');
+ $tplmodule = glob(realpath($MODULE).'/*/*.tpl');
+
+ sqlite_query($db,'DELETE FROM templates');
+
+ foreach($tplmodule as $tpl){
+ sqlite_query($db,'INSERT INTO templates(template, url) VALUES("'.sqlite_escape_string(basename($tpl)).'", "'.sqlite_escape_string(realpath($tpl)).'")');
+ }
+
+ foreach($tplskin as $tpl){
+ sqlite_query($db,'DELETE FROM templates WHERE template="'.basename($tpl).'"');
+ sqlite_query($db,'INSERT INTO templates(template, url) VALUES("'.sqlite_escape_string(basename($tpl)).'", "'.sqlite_escape_string(realpath($tpl)).'")');
+ }
+
+ sqlite_close($db);
+}
?>
Modified: trunk/_framework/lib/Smarty.class.php
===================================================================
--- trunk/_framework/lib/Smarty.class.php 2006-10-25 05:01:34 UTC (rev 37)
+++ trunk/_framework/lib/Smarty.class.php 2006-10-26 18:00:27 UTC (rev 38)
@@ -1118,6 +1118,9 @@
*/
function fetch($resource_name, $cache_id = null, $compile_id = null, $display = false)
{
+ // Modif par Aragornis pour activer le template du module ou celui du skin (le second par d\xE9faut si les deux existent)
+ $resource_name = format_source_tpl($resource_name);
+
static $_cache_info = array();
if($this->_tpl_vars['TITRE']!='' AND $this->_tpl_vars['META']['front_panel']==''){
$this->_tpl_vars['META']['front_panel'] = supprime_accents(substr($this->_tpl_vars['TITRE'],0,9));
Added: trunk/module/_explorateur/explorateur.tpl
===================================================================
--- trunk/module/_explorateur/explorateur.tpl (rev 0)
+++ trunk/module/_explorateur/explorateur.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1 @@
+{assign var=rep_encoded value=$REP|urlencode}
{section name=disques loop=$DISQUES}
{if $smarty.section.disques.first}
<table cellspacing="2" align="center" width="498" valign="middle"><tr valign="middle">
{/if}
{if $DISQUES[disques].path == 'reload'}
<td valign="middle"><img src="{$SKIN_REP}dossier/{$DISQUES[disques].gif}.gif" width="16" height="16"><font size='1'><a href="{$PAGE_EXPLO}?directory={$REP|urlencode}&mode={$MODE}&reload=1&start={$MIN}">Rafra\xEEchir</a></font></td>
{else}
<td valign="middle"><img src="{$SKIN_REP}dossier/{$DISQUES[disques].gif}.gif" width="16" height="16"><font size='1'><a href="{$PAGE_EXPLO}?directory={$DISQUES[disques].path|urlencode}&mode={$MODE}">{$DISQUES[disques].lettre|strtolower}</a></font></td>
{/if}
{if $smarty.section.disques.last}
</tr></table>
{/if}
{/section}
{section name=path loop=$CHEMIN_REP}
{if $smarty.section.path.first}
<center><font size="1">
{/if}
<a href="{$PAGE_EXPLO}?directory={$CHEMIN_REP[path].0}&mode={$MODE}">{$CHEMIN_REP[path].1|strip_delimiters}/</a>
{if $smarty.section.path.last}
</font></center>
{/if}
{/section}
{if $AFF_CDDA}
<a href="playdb.php?type=cdda&disque={$LETTRE_CDDA}">Lire {$LETTRE_CDDA}: en tant que cd</a>
{/if}
{assign var=NUM_ROW_AFFICH value=15}
<table width="498" cellpadding="0" cellspacing="0" align="center" valign="middle">
{if $PLAYREP OR $AFF_FAVORIS}
<tr><td colspan="2"><center>
{/if}
{if $PLAYREP}
<img src="{$SKIN_REP}dossier/rep_all.gif" border="0" width="20" height="20"><a href="{$PAGE_LECT_REP}?toplay={$REP|urlencode}&type=playrep"> {$PLAYREP_TEXT|default:"Lire le r\xE9pertoire complet"}</a>
{/if}
{if $PLAYREP AND $AFF_FAVORIS}
-
{/if}
{if $AFF_FAVORIS}
<img src="{$SKIN_REP}dossier/favoris.gif" width="20" height="20"> <a href="{$RACINE_REP}module/favoris/index1.php?ajout={$REP|urlencode}&nom={$REP}">Ajouter aux favoris</a>
{/if}
{if $PLAYREP OR $AFF_FAVORIS}
</center></td></tr>
{/if}
{if $MIN!=0}
{assign var=temp value=$MIN-$NUM_ROW_AFFICH|max:0}
<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN-$NUM_ROW_AFFICH|max:0}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Pr\xE9c\xE9dent</font></a> <a href="{$PAGE_EXPLO}?start=0&directory={$REP|urlencode}&mode={$MODE}"><font size=2>D\xE9but du r\xE9pertoire</font></a></td></tr>
{attribbouton touche="green" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"}
{/if}
{if $Nb_rep_path >='2' AND $MIN==0}
{assign var=temp value=$REP|dirname|realpath|urlencode}
<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="{$PAGE_EXPLO}?directory={$REP|dirname|realpath|urlencode}&mode={$MODE}">Dossier parent</a></td></tr>
{attribbouton touche="yellow" lien="$PAGE_EXPLO?directory=$temp&mode=$MODE"}
{elseif $Nb_rep_path >='2'}
{assign var=temp value=$REP|dirname|realpath|urlencode}
{attribbouton touche="yellow" lien="$PAGE_EXPLO?directory=$temp&mode=$MODE"}
{/if}
{section name=files loop=$T_affich max=$NUM_ROW_AFFICH start=$MIN}
{if $T_affich[files]|in_array:$T_rep}
{assign var="rep_a_affich" value=$REP|cat:'/'|cat:$T_affich[files]}
<tr><td colspan="2"><img src="{$SKIN_REP}dossier/folder.gif"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_EXPLO}?directory={$rep_a_affich|realpath|urlencode}&mode={$MODE}">{$T_affich[files]|truncate:55|strip_delimiters}</a></font></td></tr>
{else}
<tr><td><img src="{$SKIN_REP}dossier/{$ICONE_FICHIER}" width="16" height="16"> <font size="1"><a {if $smarty.section.disques.first==1}focused {/if}href="{$PAGE_LECT}?{$OPT_LIENS}toplay_file={$T_affich[files]|urlencode}&toplay_rep={$REP|urlencode}">{$T_affich[files]|strip_delimiters|truncate:52}</a>
</font></td><td width="35">
{if $AFF_INFO}
{assign var="nb" value=$T_affich[files]|strrpos:"."}
<a href="fichefilm.php?start={$MIN}&comeback=expl&film={$T_affich[files]|substr:0:$nb|urlencode}&fichier={$REP|cat:'/'|cat:$T_affich[files]|realpath|urlencode}"><font size="1">info</font></a>
{/if}
</td></tr>
{/if}
{/section}
{assign var=N_affich value=$T_affich|@count}
{assign var=N_affich_reste value=$NUM_ROW_AFFICH|max:15}
{if $MIN+$smarty.section.files.total<count($T_affich)}
<tr><td colspan="2"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="{$PAGE_EXPLO}?start={$MIN+$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}"><font size=2>Suivant</font></a> - <font size=2><a href="{$PAGE_EXPLO}?start={$N_affich-$smarty.section.files.total}&directory={$REP|urlencode}&mode={$MODE}">Fin du r\xE9pertoire</a> - Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td></tr>
{assign var=temp value=$MIN+$smarty.section.files.total}
{attribbouton touche="blue" lien="$PAGE_EXPLO?start=$temp&directory=$rep_encoded&mode=$MODE"}
{else}
<tr><td colspan="2"><font size=2>Page {$MIN/$NUM_ROW_AFFICH+1|ceil} / {$N_affich/$NUM_ROW_AFFICH|ceil}</font></td></tr>
{/if}
</table>
{$FOOTER}
\ No newline at end of file
Added: trunk/module/cac40/cac40.tpl
===================================================================
--- trunk/module/cac40/cac40.tpl (rev 0)
+++ trunk/module/cac40/cac40.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,7 @@
+<center><img src="{$IMG2FBX}{"http://boursier.fininfo.fr/enhydra/cmbj/servlet/BoursierIntradayServlet?present=boursierivaleur&id1=FR0003500008&dim=470,300&typ1=area"|urlencode}" width="470" height="300"><br>
+A {$heure}, la bourse de Paris est \xE0 {$cours} Pts, en {$variation} de {$pourcentage}<br>
+<table width="450" cellpadding="2" cellspacing="0"><tr>
+<td width=25%>Clot. pr\xE9c. :</td><td width=25%>{$cloture_precedente} Pts</td><td width=25%>Ouverture :</td><td width=25%>{$ouverture} Pts</td></tr><tr>
+<td colspan="2">Variation journali\xE8re :</td><td colspan="2">{$var_jour} Pts</td></tr><tr>
+<td colspan="2">Variation annuelle :</td><td colspan="2">{$var_annee} Pts</td>
+</tr></table></center>
Added: trunk/module/diaporama/explorateur_photo.tpl
===================================================================
--- trunk/module/diaporama/explorateur_photo.tpl (rev 0)
+++ trunk/module/diaporama/explorateur_photo.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,77 @@
+{assign var=NUM_ROW_AFFICH value=15}
+{assign var=rep_encoded value=$REP|urlencode}
+
+<center>
+{assign var=prev_dir value=$REP|dirname|realpath|urlencode}
+{if $Nb_rep_path >='2'}
+<img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="index1.php?rep={$prev_dir}">Dossier parent</a> -
+{attribbouton touche="yellow" lien="index1.php?rep=$prev_dir"}
+{elseif $Nb_rep_path =='1'}
+<img src="{$INTERFACE_REP}btn_jaune.gif" border="0"> <a focused href="index1.php?dos=disks">Dossier parent</a> -
+{attribbouton touche="yellow" lien="index1.php?dos=disks"}
+{/if}
+
+{section name=path loop=$CHEMIN_REP start=count($CHEMIN_REP)-2}
+ {if $smarty.section.path.first}
+ <font size="1">
+ {/if}
+ <a href="{$PAGE_EXPLO}?directory={$CHEMIN_REP[path].0}&mode={$MODE}">{$CHEMIN_REP[path].1|strip_delimiters}/</a>
+ {if $smarty.section.path.last}
+ </font>
+ {/if}
+{/section}
+</center>
+
+ {section name=files loop=$files max=$NUM_ROW_AFFICH start=$MIN}
+ {cycle name=place assign=place print=false values="4,3,2,1,0"}
+ {if $smarty.section.files.first}
+ <table border="0" cellpadding="0" cellspacing="0" width="500" height="436" align="center"><tr>
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-$NUM_ROW_AFFICH}
+ {attribbouton touche="green" lien="index1.php?start=$temp&rep=$rep_encoded"}
+ <td colspan="5" align=center><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="index1.php?start={$temp}&rep={$rep_encoded}">Pr\xE9c\xE9dent</a> <a href="index1.php?start=0&rep={$rep_encoded}">D\xE9but</a></td></tr><tr>
+ {/if}
+ {/if}
+
+ {if $files[files]|in_array:$T_repertoire}
+ {if $DOS}
+ <td width="100" height="130"><a href="index1.php?rep={$files[files].path|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="lecteur.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files].nom} ({$files[files].lettre|strtolower}:)</font></td></tr></table></a></td>
+ {else}
+ <td width="100" height="130"><a href="index1.php?rep={$REP|cat:'/'|cat:$files[files]|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center"><img border=0 width="64" height="64" src="big_dossier.gif"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
+ {/if}
+ {else}
+ {assign var="dim" value=$REP|cat:'/'|cat:$files[files]|getimagesize}
+ {assign var="newdim" value=$dim.0|get_size:$dim.1}
+
+ <td width="100" height="130" valign="middle" align="center"><a href="index1.php?image={$smarty.section.files.index}&rep={$rep_encoded}&start={$MIN}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align="center" background="fond_cell.gif"><img width="{$newdim.0}" height="{$newdim.1}" border="0" src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&formatw=88&formath=68&img={$REP|cat:'/'|cat:$files[files]|urlencode}"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$files[files]|truncate:26:"":true|wordwrap:15:"<br>":true|strip_delimiters}</font></td></tr></table></a></td>
+ {/if}
+
+
+ {if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last}
+ </tr><tr>
+ {/if}
+
+ {if $smarty.section.files.last}
+ {if $place >= 4}
+ <td> </td>
+ {/if}
+ {if $place >= 3}
+ <td> </td>
+ {/if}
+ {if $place >= 2}
+ <td> </td>
+ {/if}
+ {if $place >= 1}
+ <td> </td>
+ {/if}
+ </tr>
+ {if $MIN+$NUM_ROW_AFFICH < $rows}
+ {assign var=temp value=$MIN+$NUM_ROW_AFFICH}
+ {attribbouton touche="blue" lien="index1.php?start=$temp&rep=$rep_encoded"}
+ <tr><td colspan="5" align=center height=25 valign=bottom><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="index1.php?start={$temp}&rep={$rep_encoded}">Suivant</a> <a href="index1.php?start={$rows-$NUM_ROW_AFFICH}&rep={$rep_encoded}">Fin</a></td></tr>
+ {/if}
+
+ </table>
+ {/if}
+
+ {/section}
Added: trunk/module/diaporama/photo.tpl
===================================================================
--- trunk/module/diaporama/photo.tpl (rev 0)
+++ trunk/module/diaporama/photo.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,37 @@
+{setbackground path="interface/noir.jpg"}
+{assign var=rep_encoded value=$REP|urlencode}
+{assign var=next value=$aff+1}
+{assign var=prec value=$aff-1}
+{attribbouton touche="red" lien="index1.php?start=$MIN&rep=$rep_encoded&tosee=$aff&force_back=1"}
+{if $aff >=1}{attribbouton touche="green" lien="index1.php?image=$prec&start=$MIN&rep=$rep_encoded&delais=$delais&tourne=$tourne"}{/if}
+{if $aff+1 < count($files)}{attribbouton touche="blue" lien="index1.php?image=$next&start=$MIN&rep=$rep_encoded&delais=$delais&tourne=$tourne"}{/if}
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html>
+<head>
+{include file="bouton.tpl"}
+</head>
+<body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}">
+<center>
+<table width="635" height="510" border="0" cellpadding="0" cellspacing="0"><tr><td align="center" valign="top">
+ <table border="0" cellpadding="0" cellspacing="0" width="580" height="500">
+ <tr bgcolor="#0000003f"><td align="center" valign="middle" width="580" height="462"><img border=0 src="{$RACINE_REP}_framework/lib/img_cr.php?local=1&quality=max&formatw=570&formath=460&tourne={$tourne}&img={$REP|cat:'/'|cat:$files.$aff|urlencode}"></td></tr>
+ <tr bgcolor="#00000000"><td width="580" height="3"><img src="transparent.gif" width="1" height="1"></td></tr>
+ <tr><td width="580" height="35" bgcolor="#A3B7CD3f">
+ <table border="0" cellpadding="0" cellspacing="0" width="580" bgcolor="#A3B7CD3f"><tr>
+ <td width="80" align="center">{if $aff >=1}<img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="index1.php?image={$prec}&start={$MIN}&rep={$rep_encoded}&delais={$delais}&tourne={$tourne}"><font size="1">Prec.</font></a>{else} {/if}</td>
+ <td width="200" align="center"><font size="1">{if $delais==0}<form name="form1" method="get" action="index1.php">Diaporama : <input name="delais" bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> sec<input name=image type=hidden value="{if $aff+1 == count($files)}0{else}{$aff}{/if}"><input name=rep type=hidden value="{$REP}"><input name=tourne type=hidden value="{$tourne}"><input name=start type=hidden value="{$MIN}"></form>{else}<a href="index1.php?rep={$REP|urlencode}&start={$MIN}&image={$aff}">Arr\xE9ter le diaporama</a> ({$delais}sec){/if}</font></td>
+ <td width="135" align="center"><a href="index1.php?start={$MIN}&rep={$REP|urlencode}&tosee={$aff}&force_back=1"><img src="{$INTERFACE_REP}btn_rouge.gif" border="0"><font size="1"> Expl.</font></a></td>
+ <td width="40" align="center"><font size="1">{$aff+1}/{$files|@count}</font></td>
+ <td width="20" align="center"><a href="index1.php?image={$aff}&start={$MIN}&rep={$REP|urlencode}&delais={$delais}&tourne={$tourne-90}"><table border="0" cellpadding="0" cellspacing="0" width="16" height="16" bgcolor="#A3B7CD3f" abgcolor="#4491CA3f"><tr height="16"><td width="16" height="16"><img src="gauche.gif" border="0" width="16" height="16"></td></tr></table></a></td>
+ <td width="5" align="center"> </td>
+ <td width="20" align="center"><a href="index1.php?image={$aff}&start={$MIN}&rep={$REP|urlencode}&delais={$delais}&tourne={$tourne+90}"><table border="0" cellpadding="0" cellspacing="0" width="16" height="16" bgcolor="#A3B7CD3f" abgcolor="#4491CA3f"><tr height="16"><td width="16" height="16"><img src="droite.gif" border="0" width="16" height="16"></td></tr></table></a></td>
+ <td width="80" align="center">{if $aff+1 < count($files)}<img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a focused href="index1.php?image={$next}&start={$MIN}&rep={$rep_encoded}&delais={$delais}&tourne={$tourne}"><font size="1">Suiv.</font></a>{else} {/if}</td>
+ </tr></table>
+ </td></tr>
+ </table>
+</td></tr></table>
+</center>
+<script language="javascript" src="/fb2ie.js">
+</script>
+</body>
+</html>
Added: trunk/module/dvd/menu_dvd.tpl
===================================================================
--- trunk/module/dvd/menu_dvd.tpl (rev 0)
+++ trunk/module/dvd/menu_dvd.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,20 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html>
+<head>
+{include file="bouton.tpl"}
+{setbackground path="none"}
+</head>
+<body background="ts://127.0.0.1" text="{#COULEUR_TEXT#}" link="{#COULEUR_LINK#}" alink="{#COULEUR_ALINK#}" vlink="{#COULEUR_VLINK#}">
+<center>
+<table border="0" cellpadding="0" cellspacing="0" valign=top><tr>
+<td bgcolor="{#COULEUR_FOND2#}" align=center valign=top>
+<font size="4"><u>{$titre}</u></font><br> <br>
+ <table border="0" align="center" cellpadding="0" cellspacing="0"><tr><td align="center"><br>
+ {$affich}
+ </td></tr></table>
+</td></tr></table>
+</center>
+<script language="javascript" src="/fb2ie.js">
+</script>
+</body>
+</html>
Added: trunk/module/ephemeride/ephemeride.tpl
===================================================================
--- trunk/module/ephemeride/ephemeride.tpl (rev 0)
+++ trunk/module/ephemeride/ephemeride.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,12 @@
+<center>{$smarty.now|date_format:"%W"}e semaine
+<br><font size="5">{$smarty.now|date_format:"%B"}</font>
+<br><font size="10"><b>{$smarty.now|date_format:"%d"}</b></font>
+<br><font size="5">{$smarty.now|date_format:"%A"}</font>
+<br>
+<br>
+<u>Proverbe du jour</u> :<br>{$proverbe}<br> <br>
+<u>Citation du jour</u> :<br>{$citation} (<b>{$auteur}</b>)<br> <br>
+<u>Dicton du jour</u> :<br>{$dicton}<br> <br>
+<u>Aujourd'hui, on f\xEAte</u> les {$fetes}
+
+<br> <br><img src="{$INTERFACE_REP}anniv.gif" width="60" height="60"><a href="anivdujour.php">Les anniversaires du jour</a><br></center>
Added: trunk/module/favoris/favoris.tpl
===================================================================
--- trunk/module/favoris/favoris.tpl (rev 0)
+++ trunk/module/favoris/favoris.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,22 @@
+<a href="index1.php?action=explorateur">Ajouter un favori \xE0 la liste</a><br> <br>
+
+{section name=table loop=$CONTENT_TABLE}
+ {if $smarty.section.table.first}
+ <table width="450" border="0" cellpadding="0" cellspacing="0">
+ {/if}
+ {if strlen($CONTENT_TABLE[table].1) <= 6}
+ {assign var="nb" value=strlen($CONTENT_TABLE[table].1)}
+ {else}
+ {assign var="nb" value=$CONTENT_TABLE[table].1|strrpos:"/"}
+ {assign var="nb" value=$nb+1}
+ {/if}
+ {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"}
+
+ <tr><td width=434 bgcolor="{$COLOR}"><a href="{$RACINE_REP}module/films/index1.php?directory={$CONTENT_TABLE[table].1|urlencode}">{$CONTENT_TABLE[table].1|substr:$nb}</a></td><td width="20" bgcolor="{$COLOR}"><a href="index1.php?action=suppr&enlev={$CONTENT_TABLE[table].0}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td></tr>
+
+ {if $smarty.section.table.last}
+ </table>
+ {/if}
+{sectionelse}
+Aucun favoris enregistr\xE9... Pour enregistrer un signet, cliquez sur "Ajouter aux favoris" dans l'explorateur de films ou cliquez sur "Ajouter un favori \xE0 la liste" au dessus.
+{/section}
Added: trunk/module/films/catalogue_video.tpl
===================================================================
--- trunk/module/films/catalogue_video.tpl (rev 0)
+++ trunk/module/films/catalogue_video.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,143 @@
+{if $tri=="name" OR $tri=="date" OR $tri=="perso"}
+ {assign var=NUM_ROW_AFFICH value=15}
+
+ {section name=files loop=$result max=$NUM_ROW_AFFICH start=$MIN}
+ {cycle name=place assign=place print=false values="4,3,2,1,0"}
+ {if $smarty.section.files.first}
+ <table border="0" cellpadding="0" cellspacing="0" width="500" height="436" align="center"><tr>
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-$NUM_ROW_AFFICH}
+ {attribbouton touche="green" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens"}
+ <td colspan="5" align=center><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}">Pr\xE9c\xE9dent</a> <a href="catalogue.php?start=0&tri={$tri}&sens={$sens}">D\xE9but</a></td></tr><tr>
+ {/if}
+ {/if}
+
+ {if $tri=="name" OR $tri=="date"}
+ <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}"><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td>
+ {elseif $tri=="perso"}
+ <td width="100" height="130"><a href="catalogue.php?tri=perso&start={$MIN}&sens={$sens}&suiv={$result[files].nom|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><font size="1">{$result[files].nom|wordwrap:18:"<br>":true}</font></td></tr></table></a></td>
+ {/if}
+
+ {if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last}
+ </tr><tr>
+ {/if}
+
+ {if $smarty.section.files.last}
+ {if $place >= 4}
+ <td> </td>
+ {/if}
+ {if $place >= 3}
+ <td> </td>
+ {/if}
+ {if $place >= 2}
+ <td> </td>
+ {/if}
+ {if $place >= 1}
+ <td> </td>
+ {/if}
+ </tr>
+ {if $MIN+$NUM_ROW_AFFICH < $rows}
+ {assign var=temp value=$MIN+$NUM_ROW_AFFICH}
+ {attribbouton touche="blue" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens"}
+ <tr><td colspan="5" align=center height=25 valign=bottom><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}">Suivant</a> <a href="catalogue.php?start={$rows-$NUM_ROW_AFFICH}&tri={$tri}&sens={$sens}">Fin</a></td></tr>
+ {/if}
+
+ </table>
+ {/if}
+
+ {/section}
+{elseif $tri=="perso_suiv"}
+<table border="0" cellpadding="0" cellspacing="0" align="center">
+ <tr><td width="120" height="160"><img src="{$IMG2FBX}{$info.img|urlencode}&cache=1"></td>
+ <td width="369">
+ <font size="4"><u>{$info.nom}</u></font>, {$info.statut}
+ {if $info.date_naissance!='2'}, <u>N\xE9 le</u> : {$info.date_naissance|date_format:"%e %B %Y"} \xE0 {$info.lieu_naissance}{/if}
+ <br><u>Biographie</u><br>
+ {$info.bio|strip_tags|wordwrap:100|htmlentities|truncate:500|default:"Aucune information disponible"}
+ </td></tr><tr><td colspan="2">
+ <br><u>A particip\xE9 \xE0</u> :<br> <br>
+
+ {section name=films_with loop=$result max=5}
+ {cycle name=place assign=place print=false values="4,3,2,1,0"}
+ {if $smarty.section.films_with.first}
+ <table border="0" cellpadding="0" cellspacing="0" width="500" align="center"><tr>
+ {/if}
+
+ <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[films_with].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[films_with].dir|realpath|urlencode}"><font size="1">{$result[films_with].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[films_with].sortie != 2}({$result[films_with].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[films_with].name|urlencode}&fichier={$result[films_with].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td>
+
+ {if $smarty.section.films_with.last}
+
+ {if $place >= 4}
+ <td> </td>
+ {/if}
+ {if $place >= 3}
+ <td> </td>
+ {/if}
+ {if $place >= 2}
+ <td> </td>
+ {/if}
+ {if $place >= 1}
+ <td> </td>
+ {/if}
+ </tr>
+ </table>
+ {/if}
+ {/section}
+</td></tr></table>
+{elseif $tri=="film" OR $tri=="genre"}
+ <br>
+ <table border="0" cellpadding="0" cellspacing="0" width="499" align="left"><tr><td width="465">
+
+ {assign var=NUM_ROW_AFFICH value=20}
+ {section name=files loop=$rea max=$NUM_ROW_AFFICH start=$MIN}
+
+ <img border="0" src="{$INTERFACE_REP}puce.gif"> <a href="catalogue.php?tri={$tri}&suiv={$rea[files]|urlencode}">{$rea[files]|ucfirst}</a><br>
+
+ {/section}
+
+ </td></tr></table>
+{elseif $tri=="film_suiv" OR $tri=="genre_suiv"}
+ {assign var=NUM_ROW_AFFICH value=15}
+ {attribbouton touche="red" lien="catalogue.php?tri=$tri"}
+ {section name=files loop=$result max=$NUM_ROW_AFFICH start=$MIN}
+ {cycle name=place assign=place print=false values="4,3,2,1,0"}
+ {if $smarty.section.files.first}
+ <table border="0" cellpadding="0" cellspacing="0" width="500" height="436" align="center"><tr>
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-$NUM_ROW_AFFICH}
+ {attribbouton touche="green" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens&suiv=$suiv"}
+ <td colspan="5" align=center><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}&suiv={$suiv}">Pr\xE9c\xE9dent</a> <a href="catalogue.php?start=0&tri={$tri}&sens={$sens}&suiv={$suiv}">D\xE9but</a></td></tr><tr>
+ {/if}
+ {/if}
+
+ <td width="100" height="130"><table border="0" cellpadding="0" cellspacing="0" width="100" height="120" bgcolor="{#COULEUR_FOND1#}"><tr height="80"><td width="100" height="80" valign="middle" align=center><img width="60" height="80" border="0" src="{$IMG2FBX}{$result[files].img|urlencode}&new_width=60&new_height=80&cache=1"></td></tr><tr height="50"><td width="100" height="50" valign="middle" align=center><a href="play.php?toplay={$result[files].dir|realpath|urlencode}"><font size="1">{$result[files].name|truncate:12:'..':true}</font></a><br><font size="1">{if $result[files].sortie != 2}({$result[files].sortie|default:200|date_format:"%Y"}) - {/if}<a href="fichefilm.php?film={$result[files].name|urlencode}&fichier={$result[files].dir|realpath|urlencode}&start={$MIN}">Infos</a></font></td></tr></table></td>
+
+ {if $smarty.section.files.iteration is div by 5 AND NOT $smarty.section.files.last}
+ </tr><tr>
+ {/if}
+
+ {if $smarty.section.files.last}
+ {if $place >= 4}
+ <td> </td>
+ {/if}
+ {if $place >= 3}
+ <td> </td>
+ {/if}
+ {if $place >= 2}
+ <td> </td>
+ {/if}
+ {if $place >= 1}
+ <td> </td>
+ {/if}
+ </tr>
+ {if $MIN+$NUM_ROW_AFFICH < $rows}
+ {assign var=temp value=$MIN+$NUM_ROW_AFFICH}
+ {attribbouton touche="blue" lien="catalogue.php?start=$temp&tri=$tri&sens=$sens&suiv=$suiv"}
+ <tr><td colspan="5" align=center height=25 valign=bottom><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> <a href="catalogue.php?start={$temp}&tri={$tri}&sens={$sens}&suiv={$suiv}">Suivant</a> <a href="catalogue.php?start={$rows-$NUM_ROW_AFFICH}&tri={$tri}&sens={$sens}&suiv={$suiv}">Fin</a></td></tr>
+ {/if}
+
+ </table>
+ {/if}
+
+ {/section}
+{/if}
Added: trunk/module/films/fichefilm.tpl
===================================================================
--- trunk/module/films/fichefilm.tpl (rev 0)
+++ trunk/module/films/fichefilm.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,36 @@
+{if isset($info) AND $info != 'Aucun film trouv\xE9'}
+<table cellspacing=0 align="center">
+ <tr><td width="120" height="160"><img src="{$IMG2FBX}{$info.image|urlencode}&cache=1"></td>
+ <td width="369">
+ <font size="4"><u>{$info.nom}</u></font>{if file_exists($fichier)!=''} - <a href="play.php?toplay={$fichier|urlencode}">Lire le film avec Easybox</a>{/if}
+ <br><u>Date de sortie</u> : {$info.date_sortie|date_format:"%d/%m/%Y"}
+ <br><u>R\xE9alis\xE9 par</u> {$info.realisateur}
+ <br><u>Avec</u> {$info.acteurs}
+ <br><u>Film</u> {$info.nationalite} de {$info.anne_prod}
+ <br><u>Dur\xE9e</u> : {$info.duree} <u>Genre</u> : {$info.genre}
+ <br><u>Notes</u> : Presse <img src="{$INTERFACE_REP}star{$info.critique_presse}.gif"> Spectateurs <img src="{$INTERFACE_REP}star{$info.critique_visiteurs}.gif">
+ </td><tr><td colspan="2">
+ <u>Synopsis</u><br>
+ {$info.synopsis|strip_tags|wordwrap:60|htmlentities|truncate:650:$more}
+ <br>
+ {section name=ba loop=$ba}
+ <a href="playba.php?toplay={$ba[ba].2}&titre={$info.nom|urlencode}"><img src="{$INTERFACE_REP}{$ba[ba].1}.gif" border=0 width=20 height=20> {$ba[ba].0}</a>
+ {if !$smarty.section.ba.last} - {/if}
+ {/section}
+
+ {if $_GET.togo=='cine'}
+ <br><a href="/module/seances/voirsalle.php?salle={$_GET.salle}">Retour \xE0 la liste des films du cin\xE9ma</a>
+ {/if}
+</td></tr></table>
+{elseif $disable}
+<center><font size="4">Aucune information disponible pour <br><u>{$fichier}</u></font><br></font>
+{else}
+<center><font size="4">Aucune information disponible pour <br><u>{$fichier}</u></font><br> <br><a href="play.php?toplay={$fichier|urlencode}">Lire le film avec Easybox</a><br> <br>
+ {if $_GET.togo=='cine'}
+ <br><a href="/module/seances/voirsalle.php?salle={$_GET.salle}">Retour \xE0 la liste des films du cin\xE9ma</a><br> <br>
+ {attribbouton touche="red" lien="/module/seances/voirsalle.php?salle=$_GET.salle"}
+ {/if}
+
+<a href="{$LINK.red}">Retour</a>
+</center>
+{/if}
Added: trunk/module/films/films.tpl
===================================================================
--- trunk/module/films/films.tpl (rev 0)
+++ trunk/module/films/films.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,75 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<html>
+<head>
+{include file="bouton.tpl"}
+{setbackground path="none"}
+</head>
+<body background="ts://127.0.0.1" text="{#COULEUR_DVD_TEXT#}" link="{#COULEUR_DVD_LINK#}" alink="{#COULEUR_DVD_ALINK#}" vlink="{#COULEUR_DVD_VLINK#}">
+<center>
+<table width="645" height="510" border="0" cellpadding="0" cellspacing="0"><tr>
+<td height="400" align="center" valign="top">
+</td>
+</tr>
+<tr>
+<td height="110" align="center"><center>
+<table width="571" height="106" border="0" cellpadding="0" cellspacing="0" background="{$SKIN_REP}interface/player.gif"><tr>
+<td height="23"> </td>
+</tr>
+<tr>
+<td height="15">
+<table width="571" height="15" border="0" cellpadding="0" cellspacing="0"><tr>
+<td width="15"></td>
+
+{assign var=stream_1 value="`$VLC.pourcentage_courant/100*529`"|round}
+{assign var=stream_2 value="`$stream_1*-1`"}
+
+<td width="{$stream_1}" background="{$SKIN_REP}interface/barre1.gif"></td>
+<td width="14" height="15"><img src="{$SKIN_REP}interface/barre2.gif" width="14" height="15"></td>
+<td width="{$stream_2+529}" background="{$SKIN_REP}interface/barre3.gif"></td>
+<td width="13"></td>
+</tr></table>
+</td>
+</tr>
+<tr>
+<td height="5"> </td>
+</tr>
+<tr>
+<td height="21"><table width="571" border="0" cellspacing="0" cellpadding="0"><tr>
+<td width="27"> </td>
+<td width="25"><a {if $VLC.etat=='playing' OR $VLC.etat =='paused'}focused {/if}href="info.php?control=pause"><font size=3 family="Symbol">{if $VLC.etat =='paused'}T{else}Y{/if}</font></a></td>
+<td width="21"> </td>
+<td width="17"><a {if $VLC.etat =='stop'}focused {/if}href="lecture.php?control=stop"><font size=3 family="Symbol">Z</font></a></td>
+<td width="7"> </td>
+<td width="19"><a href="lecture.php?seek_value=moins"><font size=3 family="Symbol">@@</font></a></td>
+<td width="19"><a href="lecture.php?seek_value=plus"><font size=3 family="Symbol">AA</font></a></td>
+<td width="6"> </td>
+<td width="18"><a href="{$MODULE}_menu/menu.php"><font size=3 family="Symbol">[</font></a></td>
+<td width="21"><a href="{$MODULE}films/lecture.php?savesignet=1"><font size=3 family="Symbol">§</font></a></td>
+<td width="9"> </td>
+<td width="382">{$nomcourant|default:$VLC.url_current|truncate:40:''}</td>
+</tr></table></td>
+</tr>
+<tr>
+<td><table width="571" height="35" cellspacing="2"><tr>
+<td width="35"> </td>
+<td>
+<form name="form1" method="get" action="info.php">
+<font size="1" color="#ffffff3f">Aller \xE0 : </font>
+<input name=heures bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=1 maxlength=1> h
+<input name=minutes bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> min
+<input name=secondes bgcolor="{#COULEUR_TEXTBOX#}" type=text value="" size=2 maxlength=2> sec
+</form>
+</td>
+<td><font size="1" color="#ffffff3f">{$temps_affich}</font>
+</td>
+</tr></table></td>
+</tr>
+</table>
+</center></td>
+</tr>
+</table>
+</center>
+<script language="javascript" src="/fb2ie.js">
+</script>
+</body>
+</html>
Added: trunk/module/films/signet_ask.tpl
===================================================================
--- trunk/module/films/signet_ask.tpl (rev 0)
+++ trunk/module/films/signet_ask.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,5 @@
+<center>Le film n'est pas fini ! <br>
+Voulez-vous placer un signet pour y revenir rapidement plus tard ?<br>
+<br>
+<a href="lecture.php?control=stop&signet=load"><box border=2 width=35 height=18 align=center text="Oui"></a> <a href="lecture.php?control=stop&signet=noload"><box border=2 width=35 height=18 align=center text="Non"></a>
+</center>
\ No newline at end of file
Added: trunk/module/films/signet_film.tpl
===================================================================
--- trunk/module/films/signet_film.tpl (rev 0)
+++ trunk/module/films/signet_film.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,14 @@
+{section name=table loop=$CONTENT_TABLE}
+ {if $smarty.section.table.first}
+ Vous aviez enregistr\xE9 un signet pour ce film. A quel endroit du film voulez-vous aller ?<br \> <br \> <br \>
+ <table cellpadding=0 cellspacing=0><tr><td>
+ <tr><td width=434 bgcolor="#82B1EC6f"><a href="lecture.php">D\xE9but</a></td><td width="20" bgcolor="#82B1EC6f"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#82B1EC6f"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"> </td></tr></table></td></tr>
+ {/if}
+
+ {cycle name=color assign=COLOR print=false values="#3482E03f,#82B1EC3f"}
+ <tr><td width=434 bgcolor="{$COLOR}"><a href="lecture.php?control=seek&seek_value={$CONTENT_TABLE[table].duree}">{$CONTENT_TABLE[table].duree}</a></td><td width="20" bgcolor="{$COLOR}"><a href="{$MODULE}signet/supsignet.php?toplay={$CONTENT_TABLE[table].id}&temps={$CONTENT_TABLE[table].duree}&return=film"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td align=center width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td></tr>
+
+ {if $smarty.section.table.last}
+ </table></td></tr></table>
+ {/if}
+{/section}
Added: trunk/module/guidetv/guidetv.tpl
===================================================================
--- trunk/module/guidetv/guidetv.tpl (rev 0)
+++ trunk/module/guidetv/guidetv.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,70 @@
+{if isset($EMISSION)}
+<table border="0" cellpadding="2" cellspacing="0">
+ <tr><td colspan="2">De {$EMISSION.debut|date_format:"%H:%M"} \xE0 {$EMISSION.fin|date_format:"%H:%M"}, le {$cboDate|date_format:"%A %e %B %Y"} sur {$cboCateg}</td></tr>
+ <tr><td>{if $EMISSION.icone}<img src="{$IMG2FBX}{$EMISSION.icone|urlencode}&cache=1">{else} {/if}</td>
+ <td width="369">
+ <font size="4">{$EMISSION.titre}</font>{if $EMISSION.note!=''} <img src="{$INTERFACE_REP}star{$EMISSION.note}.gif">{/if}<br>
+ {if $info_chaine.id!='inc'}
+ {assign var=tempo value=$info_chaine.id|cat:"|"|cat:$info_chaine.nom|cat:"|"|cat:$info_chaine.num}
+ {assign var=tempo value=$tempo|urlencode}
+ {assign var=tempi value=$EMISSION.debut-600}
+ {assign var=temps value=$EMISSION.fin+600}
+ {attribbouton touche="rec" lien=$MODULE|cat:"multiposte/add.php?etape=4&chaine=$tempo&debtime=$tempi&endtime=$temps"}
+ <a href="{$MODULE}multiposte/add.php?etape=4&chaine={$info_chaine.id|cat:"|"|cat:$info_chaine.nom|cat:"|"|cat:$info_chaine.num|urlencode}&debtime={$EMISSION.debut-600}&endtime={$EMISSION.fin+600}">Enregistrer avec Easybox</a><br>
+ {/if}
+ {if $EMISSION.soustitre}(<font size="1">{$EMISSION.soustitre}</font>)<br>{/if}
+ <i>{$EMISSION.categorie|ucfirst}
+ {if $EMISSION.realisateur} - R\xE9alis\xE9 par {$EMISSION.realisateur}{/if}
+ {if $EMISSION.presentateur} - Pr\xE9sent\xE9 par {$EMISSION.presentateur}{/if}
+ {if $EMISSION.acteur} - Avec {$EMISSION.acteur}{/if}
+ </i><br>
+ {if $EMISSION.duree}<i>Dur\xE9e : {$EMISSION.duree}min</i>{/if}
+ </td><tr><td colspan="2">
+{$EMISSION.description}
+</td></tr></table>
+{elseif isset($EMISSIONS)}
+<table><tr><td align=left>
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-16}
+ {attribbouton touche="green" lien="tvprogram.php?cboDate=$cboDate&cboCateg=$cboCateg&min=$temp"}
+ <a href="tvprogram.php?cboDate={$cboDate}&cboCateg={$cboCateg}&min={$temp}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a><br>
+ {/if}
+
+ {section name=emiss loop=$EMISSIONS max=16 start=$MIN}
+ <a href="tvprogram.php?cboDate={$cboDate}&cboCateg={$cboCateg}&min={$MIN}&indic_name={$EMISSIONS[emiss].specialid}">{$EMISSIONS[emiss].debut|date_format:"%H:%M"} - {$EMISSIONS[emiss].titre}</a><br>
+ {/section}
+
+ {if $MIN+$smarty.section.emiss.total < count($EMISSIONS)}
+ {assign var=temp value=$MIN+16}
+ {attribbouton touche="blue" lien="tvprogram.php?cboDate=$cboDate&cboCateg=$cboCateg&min=$temp"}
+ <a href="tvprogram.php?cboDate={$cboDate}&cboCateg={$cboCateg}&min={$temp}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a>
+ {/if}
+
+</td></tr></table>
+{else}
+ {attribbouton touche="red" lien="index1.php"}
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-20}
+ {attribbouton touche="green" lien="tvprogram.php?min=$temp"}
+ <a href="tvprogram.php?min={$temp}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a>
+ {/if}
+
+ {section name=chaine loop=$CHAINE max=20 start=$MIN}
+ {if $smarty.section.chaine.first}
+ <table width="480" height="400" border="0" cellpadding="0" cellspacing="0"><tr>
+ {/if}
+ <td width="96" height="80"><a href="tvprogram.php?cboDate={$DATE}&cboCateg={$CHAINE[chaine].nom|urlencode}"><table border="0" cellpadding="0" cellspacing="0" width="96" height="80" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="40"><td align=center width="96" height="40" valign="middle"><img width="36" height="36" border="0" src="{$CHAINE_REP}{$CHAINE[chaine].ico}"></td></tr><tr height="40"><td align=center width="96" height="40"><font size="1">{$CHAINE[chaine].nom}</font></td></tr></table></a></td>
+ {if $smarty.section.chaine.iteration is div by 5 AND NOT $smarty.section.chaine.last}
+ </tr><tr>
+ {/if}
+ {if $smarty.section.chaine.last}
+ </table>
+ {/if}
+ {/section}
+
+ {if $MIN+$smarty.section.chaine.total < count($CHAINE)}
+ {assign var=temp value=$MIN+20}
+ {attribbouton touche="blue" lien="tvprogram.php?min=$temp"}
+ <a href="tvprogram.php?min={$temp}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a>
+ {/if}
+{/if}
Added: trunk/module/horloge/horloge.tpl
===================================================================
--- trunk/module/horloge/horloge.tpl (rev 0)
+++ trunk/module/horloge/horloge.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,3 @@
+{assign var=image value=$INTERFACE_REP|realpath}
+{assign var=image value="$image/logo.gif"|realpath}
+<img src='horloge.php?taille=400&image={$image|urlencode}'>
Added: trunk/module/horoscope/horoscope.tpl
===================================================================
--- trunk/module/horoscope/horoscope.tpl (rev 0)
+++ trunk/module/horoscope/horoscope.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,31 @@
+<font size="3">{$entete}</font><br>
+{if $description AND $description != ''}
+{$description}
+{else}
+ <br/>
+ <br/>
+ <br/>
+<center>
+<table border="0" cellspacing="0" cellpadding="0" align="center">
+<tr>
+ <td align="center" width="80"><img src="images/bleu_01.gif"><br><a href="index1.php?sign=1"><font size="1">B\xE9lier</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_02.gif"><br><a href="index1.php?sign=2"><font size="1">Taureau</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_03.gif"><br><a href="index1.php?sign=3"><font size="1">G\xE9meaux</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_04.gif"><br><a href="index1.php?sign=4"><font size="1">Cancer</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_05.gif"><br><a href="index1.php?sign=5"><font size="1">Lion</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_06.gif"><br><a href="index1.php?sign=6"><font size="1">Vierge</font></a></td>
+</tr>
+<tr>
+ <td height="13" colspan="6">
+ </td>
+</tr>
+<tr>
+ <td align="center" width="80"><img src="images/bleu_07.gif"><br><a href="index1.php?sign=7"><font size="1">Balance</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_08.gif"><br><a href="index1.php?sign=8"><font size="1">Scorpion</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_09.gif"><br><a href="index1.php?sign=9"><font size="1">Sagittaire</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_10.gif"><br><a href="index1.php?sign=10"><font size="1">Capricorne</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_11.gif"><br><a href="index1.php?sign=11"><font size="1">Verseau</font></a></td>
+ <td align="center" width="80"><img src="images/bleu_12.gif"><br><a href="index1.php?sign=12"><font size="1">Poissons</font></a></td>
+</tr>
+</table>
+{/if}
\ No newline at end of file
Added: trunk/module/infotraffic/info-trafic.tpl
===================================================================
--- trunk/module/infotraffic/info-trafic.tpl (rev 0)
+++ trunk/module/infotraffic/info-trafic.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,7 @@
+<center><img src="create_image.php?type={$vue}&event={$event|default:1}" width="480" height="360"><br></center>
+<br>
+{if $event}
+<a href="index1.php?vue={$vue}&event=0">D\xE9sactiver les \xE9v\xE8nements</a>
+{else}
+<a href="index1.php?vue={$vue}&event=1">Activer les \xE9v\xE8nements</a>
+{/if} - <a href="legende.php?vue={$vue}&event={$event|default:1}">L\xE9gende</a>
Added: trunk/module/jt/emissions.tpl
===================================================================
--- trunk/module/jt/emissions.tpl (rev 0)
+++ trunk/module/jt/emissions.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,57 @@
+{section name=emission loop=$EMISSION start=$MIN max=5}
+{assign var=CHAINEB value=$CHAINE|urlencode}
+{if $smarty.section.emission.first AND $MIN!=0}
+ {assign var=temp value=$MIN-5}
+ {attribbouton touche="green" lien="chaine.php?chaine=$CHAINEB&min=$temp"}
+ <a href="chaine.php?chaine={$CHAINEB}&min={$temp}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a>
+{/if}
+
+<table border="0" cellpadding="0" cellspacing="0" width="480" align="center"><tr><td width="60" rowspan="2" valign=middle><img src="/module/jt/icone/{$EMISSION[emission].icone}" border="0" width="97" height="73"></td>
+<td align=center colspan="2"><b><u>{$EMISSION[emission].nom}</u></b></td></tr>
+<tr><td width="215"><table border="0" cellpadding="0" cellspacing="0" width="420"><tr><td width=50% align=center>
+
+ {assign var=jours value=$EMISSION[emission].flux}
+ {assign var=nb value=$jours|@count}
+ {assign var=nb value=$nb/2|round}
+
+ {section name=jours loop=$jours}
+ <img src="{$INTERFACE_REP}puce.gif" width="13" height="13"><a href="{$MODULE}films/play.php?type=jt&toplay={$jours[jours].adresse|urlencode}">{$jours[jours].nom}</a>
+ {if $smarty.section.jours.iteration is div by $nb}</td><td width=50% align=center>{else}<br>{/if}
+ {/section}
+
+</td></tr>
+</table>
+</td></tr></table>
+
+{if $smarty.section.emission.last AND $MIN+$smarty.section.emission.total < count($EMISSION)}
+ {assign var=temp value=$MIN+5}
+
+ {attribbouton touche="blue" lien="chaine.php?chaine=$CHAINEB&min=$temp"}
+ <a href="chaine.php?chaine={$CHAINEB}&min={$temp}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a>
+{/if}
+
+{sectionelse}
+
+ {section name=chaine loop=$CHAINE}
+ {cycle name=place assign=place print=false values="2,1,0"}
+ {if $smarty.section.chaine.first}
+ <table width="330" height="420" border="0" cellpadding="0" cellspacing="0"><tr>
+ {/if}
+ <td width="110" height="140"><a href="chaine.php?chaine={$CHAINE[chaine].nom|urlencode}"{if $smarty.section.chaine.first} focused{/if}><table border="0" cellpadding="0" cellspacing="0" width="110" height="140" bgcolor="{#COULEUR_FOND1#}" abgcolor="{#COULEUR_TABLE_SELECTED#}"><tr height="110"><td align=center width="110" height="110" valign="middle"><img width="100" height="100" border="0" src="/module/jt/icone/{$CHAINE[chaine].icone}"></td></tr><tr height="30"><td align=center width="110" height="30"><font size="1">{$CHAINE[chaine].nom}</font></td></tr></table></a></td>
+ {if $smarty.section.chaine.iteration is div by 3 AND NOT $smarty.section.chaine.last}
+ </tr><tr>
+ {/if}
+ {if $smarty.section.chaine.last}
+
+ {if $place >= 2}
+ <td> </td>
+ {/if}
+ {if $place >= 1}
+ <td> </td>
+ {/if}
+
+ </table>
+ {/if}
+ {/section}
+
+{/section}
Added: trunk/module/livescore/livescore.tpl
===================================================================
--- trunk/module/livescore/livescore.tpl (rev 0)
+++ trunk/module/livescore/livescore.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,34 @@
+<br>
+{if isset($_GET.index)}
+<table border="0" cellpadding="0" cellspacing="0" width="499" height="436">
+<tr bgcolor="{#COULEUR_INTERFACE2#}">
+<td align=center width=10%> </td>
+<td align=center width=30%>Domicile</td>
+<td align=center width=10%>Score</td>
+<td align=center width=30%>Ext\xE9rieur</td>
+<td align=center width=20%>Surveiller</td>
+</tr>
+
+{foreach from=$journee item=jour name=day key=key}
+ {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"}
+ <tr bgcolor={$COLOR}><td align=center>
+ {if $valeur.1.$key=='finish'}<img src="{$INTERFACE_REP}finished.gif" width="14" height="14">
+ {elseif $valeur.1.$key=='sup'}<img src="{$INTERFACE_REP}cancelled.gif" width="14" height="14">
+ {elseif $valeur.1.$key=='encours'}<img src="{$INTERFACE_REP}encours.gif" width="14" height="14">
+ {elseif $valeur.1.$key=='mitemps'}<img src="{$INTERFACE_REP}mitemps.gif" width="14" height="14">
+ {else}{$valeur.1.$key}{/if}
+ </td><td align=center>{$valeur.7.$key|capitalize}</td><td align=center>{$valeur.10.$key}</td><td align=center>{$valeur.13.$key|capitalize}</td><td align=center>{if $valeur.14.$key}<a href="index1.php?sport={$sport}&index={$page|urlencode}&delsurv=1">Supprimer</a>{elseif $valeur.1.$key=='finish' OR $valeur.1.$key=='sup'}...{else}<a href="index1.php?sport={$sport}&index={$page|urlencode}&surv={$valeur.7.$key|cat:$valeur.13.$key|md5}">Surveiller</a>{/if}</td></tr>
+{/foreach}
+
+</table>
+
+{else}
+ {foreach from=$championnat item=champ name=championnat}
+ <img src="{$INTERFACE_REP}puce.gif" width="13" height="13"> <a href="index1.php?index={$champ.index|urlencode}&sport={$sport}">{$champ.nom}</a><br>
+ {foreachelse}
+ Aucune comp\xE9tition de {$sport} en cours...
+ {/foreach}
+
+ <br><img src="{$INTERFACE_REP}{$sport}.gif" width="100" height="100">
+
+{/if}
Added: trunk/module/loto/loto.tpl
===================================================================
--- trunk/module/loto/loto.tpl (rev 0)
+++ trunk/module/loto/loto.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,14 @@
+<br><table width="350" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="center" valign="middle"><img src="images/loto.gif" width="150" height="49"></td>
+ <td><strong><a href="loto.php">Loto & Joker </a></strong></td>
+ </tr>
+ <tr>
+ <td align="center" valign="middle"><img src="images/euro_millions.gif" width="150" height="110"></td>
+ <td><strong><a href="euromillions.php">Euro Millions </a></strong></td>
+ </tr>
+ <tr>
+ <td align="center" valign="middle"><img src="images/keno.gif" width="130" height="47"></td>
+ <td><strong><a href="keno.php">Keno </a></strong></td>
+ </tr>
+ </table>
Added: trunk/module/mail/mail_inbox.tpl
===================================================================
--- trunk/module/mail/mail_inbox.tpl (rev 0)
+++ trunk/module/mail/mail_inbox.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,33 @@
+{section name=mail loop=$MESSAGES max=7 start=$MIN}
+
+{if $smarty.section.mail.first}
+ <br><table border="0" cellpadding="3" cellspacing="0" width="500"><tr bgcolor="{#COULEUR_INTERFACE2#}"><td width="50">De</td><td width="250">Sujet</td><td width="200">Date</td><td></td></tr>
+
+ {if $MIN!=0}
+ {assign var=temp value=$MIN-7}
+ {attribbouton touche="green" lien="index1.php?start=$temp&compte=$compte"}
+ <tr><td colspan="3"><a href="index1.php?start={$temp}&compte={$compte}"><img src="{$INTERFACE_REP}btn_vert.gif" border="0"> Pr\xE9c\xE9dent</a></td></tr>
+ {/if}
+{/if}
+
+ {cycle name=color assign=COLOR print=false values="`$smarty.config.COULEUR_INTERFACE1`,`$smarty.config.COULEUR_INTERFACE2`"}
+
+<tr bgcolor="{$COLOR}"><td>{$MESSAGES[mail].expediteur}</td><td><a href="index1.php?idmess={$MESSAGES[mail].id}&compte={$compte}">{$MESSAGES[mail].sujet}
+</a></td><td>{$MESSAGES[mail].date|date_format:"%A %e %B %Y %H:%M"}</td><td><a href="index1.php?sup={$MESSAGES[mail].id}&compte={$compte}"><table width="20" height="20" border="0" cellpadding="0" cellspacing="0" bgcolor="#0000003f" bgcolor="{$COLOR}" abgcolor="{#COULEUR_ALINK#}"><tr height="20"><td width="20" height="20" align="center" valign="middle"><img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"></td></tr></table></a></td></tr>
+
+{if $smarty.section.mail.last}
+ {if $MIN+$smarty.section.mail.total < count($MESSAGES)}
+ {assign var=temp value=$MIN+7}
+ {attribbouton touche="blue" lien="index1.php?start=$temp&compte=$compte"}
+ <tr><td colspan="3"><a href="index1.php?start={$temp}&compte={$compte}"><img src="{$INTERFACE_REP}btn_bleu.gif" border="0"> Suivant</a></td></tr>
+ {/if}
+
+ </table>
+{/if}
+{sectionelse}
+<br> <br>
+Aucun nouveau mail sur le serveur.
+<br> <br><a href="{$MODULE}_menu/menu.php?cat=2&nom=Internet">Retour</a>
+{/section}
+
+
Added: trunk/module/mail/mail_message.tpl
===================================================================
--- trunk/module/mail/mail_message.tpl (rev 0)
+++ trunk/module/mail/mail_message.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,23 @@
+<table border="0" cellpadding="0" cellspacing="0" width="500"><tr><td>
+Mail re\xE7u le {$informations.date|date_format:"%A %e %B %Y %H:%M"} <img src="{$INTERFACE_REP}delete.gif" border="0" width="20" height="20"> <a href="index1.php?sup={$idmess}&compte={$compte}">Supprimer se message</a><br>
+<u>Exp\xE9diteur</u> : {$informations.expediteur} ({$informations.mailfrom})<br>
+<u>Objet</u> : {$informations.sujet|default:"(Pas d'objet)"}<br>
+
+{section name=pj loop=$pj}
+ {if $smarty.section.pj.first}
+ <u>Pieces jointes</u> :
+ {/if}
+ {$pj[pj]}
+ {if $smarty.section.pj.last}
+ <br>
+ {else}
+;
+ {/if}
+{/section}
+
+
+
+<br><u>Contenu du message</u> :<br>
+<center>{$MESSAGE|nl2br}</center>
+</td></tr></table>
+<br> <br><a href="index1.php?compte={$compte}">Retour</a>
Added: trunk/module/meteo/meteoft.tpl
===================================================================
--- trunk/module/meteo/meteoft.tpl (rev 0)
+++ trunk/module/meteo/meteoft.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,3 @@
+{if $jourmeteoft}
+ <center><img src="imgmeteoft.php?jourmeteoft={$jourmeteoft}"></center>
+{/if}
Added: trunk/module/modules/modules.tpl
===================================================================
--- trunk/module/modules/modules.tpl (rev 0)
+++ trunk/module/modules/modules.tpl 2006-10-26 18:00:27 UTC (rev 38)
@@ -0,0 +1,53 @@
+{if $action=="mod" OR $action=="skin"}
+ {section name=mod loop=$MOD...
[truncated message content] |