Bontiv-Sourceer source code viewer
Root | Help
./PhpMyCMS/files/tpl_compl/%%77^771^771CD159%%xml.tpl.php
<?php /* Smarty version 2.6.26, created on 2010-02-22 00:41:42
         compiled from C:%5CUsers%5Cpierre%5CDocuments%5CEasyPHP5.3.0%5Cwww/mod/video/tpl/xml.tpl */
?>
<?php
echo '<?xml'; ?>
version='1.0' encoding='UTF-8'<?php echo '?>'; ?>

<playlist version='1' xmlns='http://xspf.org/ns/0/'>
    <trackList>
    <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['xml']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['co']['show'] = true;
$this->_sections['co']['max'] = $this->_sections['co']['loop'];
$this->_sections['co']['step'] = 1;
$this->_sections['co']['start'] = $this->_sections['co']['step'] > 0 ? 0 : $this->_sections['co']['loop']-1;
if (
$this->_sections['co']['show']) {
   
$this->_sections['co']['total'] = $this->_sections['co']['loop'];
    if (
$this->_sections['co']['total'] == 0)
       
$this->_sections['co']['show'] = false;
} else
   
$this->_sections['co']['total'] = 0;
if (
$this->_sections['co']['show']):

            for (
$this->_sections['co']['index'] = $this->_sections['co']['start'], $this->_sections['co']['iteration'] = 1;
                 
$this->_sections['co']['iteration'] <= $this->_sections['co']['total'];
                 
$this->_sections['co']['index'] += $this->_sections['co']['step'], $this->_sections['co']['iteration']++):
$this->_sections['co']['rownum'] = $this->_sections['co']['iteration'];
$this->_sections['co']['index_prev'] = $this->_sections['co']['index'] - $this->_sections['co']['step'];
$this->_sections['co']['index_next'] = $this->_sections['co']['index'] + $this->_sections['co']['step'];
$this->_sections['co']['first']      = ($this->_sections['co']['iteration'] == 1);
$this->_sections['co']['last']       = ($this->_sections['co']['iteration'] == $this->_sections['co']['total']);
?>
       <track>
            <creator><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['auteur']; ?>
</creator>
            <title><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['titre']; ?>
</title>
            <location><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['flv']; ?>
</location>
            <image><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['image']; ?>
</image>
            <annotation><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['info']; ?>
</annotation>
            <duration><?php echo $this->_tpl_vars['xml'][$this->_sections['co']['index']]['temps']; ?>
</duration>
        </track>
    <?php endfor; endif; ?>
   </trackList>
</playlist>
Presented with Bontiv-Sourceer