Bontiv-Sourceer source code viewer
Root | Help
./PhpMyCMS/files/tpl_compl/%%EA^EAF^EAF107B3%%index.tpl.php
<?php /* Smarty version 2.6.26, created on 2010-02-22 20:11:48
         compiled from C:%5CUsers%5Cpierre%5CDocuments%5CEasyPHP5.3.0%5Cwww/mod/contact/tpl/index.tpl */
?>
<?php
require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('block', 'contner', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/contact/tpl/index.tpl', 1, false),array('function', 'link', 'C:\\Users\\pierre\\Documents\\EasyPHP5.3.0\\www/mod/contact/tpl/index.tpl', 16, false),)), $this); ?>
<?php $this
->_tag_stack[] = array('contner', array('type' => 'head2')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
<script type="text/javascript" src="mod/contact/js/ajax.js"></script>
<div style="height:15px;"></div>
<div id="contact">
    <div id="choix">
        <div style="height:15px;"></div>
        <div style="margin-left:75px;">
        <a href="#bug" id="xml1" onclick="submitForm('xml1');" style="color:#ffffff;font-size:14px;"><b>Bug</b></a>&nbsp;|&nbsp;
        <a href="#probleme" id="xml2" onclick="submitForm('xml2');" style="color:#ffffff;font-size:14px;"><b>Problème</b></a>&nbsp;|&nbsp;
        <a href="#autre" id="xml3" onclick="submitForm('xml3');" style="color:#ffffff;font-size:14px;"><b>Autres</b></a>
        </div>
    </div>
    <div style="height:10px;"></div
    <?php unset($this->_sections['co']);
$this->_sections['co']['name'] = 'co';
$this->_sections['co']['loop'] = is_array($_loop=$this->_tpl_vars['contact']) ? 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']);
?>
       <?php if ($this->_tpl_vars['contact'][$this->_sections['co']['index']]['texte'] == ""): ?>
           <form action="<?php echo smarty_function_link(array('module' => 'contact','action' => 'send'), $this);?>
" id="contactforms" name="contact" method="post">
            <div id="name"></div>
            <div id="namei">
                <div style="height:10px;"></div>
                <input id="inameli" type="text" name="titre" value="Prénom NOM" />
            </div>
            <div class="clear"></div>
            <div id="mail"></div>
            <div id="maili">
                <div style="height:5px;"></div>
                <input id="imailli" type="text" name="email" value="adresse@mail.com" />
            </div>
            <div class="clear"></div>
            <div id="msg"></div>
            <div id="msgi">
                <div style="height:10px;"></div>
                <textarea id="msg_corps" name="texte" cols="60" rows="12"></textarea>
            </div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            <table style="margin-left:60px;" width="60%"><tr><td width="60%"><?php echo "<img src='http://127.0.0.1/captcha.php'>"; ?></td><td>
            <dl><dt><input type="text" name="captcha"></dt>
            <dd>Tappez le code &eacute;crit sur l'image</dd>
            <dd><i>Nottez qu'il n'y a pas de O sur l'image, mais que des 0.</i></dd>
            </dl></td></tr></table>
            <div style="margin-left:170px;color:#ff0000;font-size:16px;"><?php echo $this->_tpl_vars['message']; ?>
</div>
            <div id="valider">
                <input id="submitsss" type="submit" value="test" />
            </div>
            <div id="annuler">
            <a href="?/contact"><img src="theme/default/design/images/annul.png" alt="annuler" /></a></div><div class="clear"></div>
            <input id="type" type="hidden" name="ajax" value=""/>
            </form>
        <?php endif; ?>
       <?php if ($this->_tpl_vars['contact'][$this->_sections['co']['index']]['texte'] != ""): ?>
           <form action="<?php echo smarty_function_link(array('module' => 'contact','action' => 'send'), $this);?>
" id="contactforms" name="contact" method="post">
            <div id="name"></div>
            <div id="namei">
                <div style="height:10px;"></div>
                <input id="inameli" type="text" name="titre" value="<?php echo $this->_tpl_vars['contact'][$this->_sections['co']['index']]['titre']; ?>
"/>
            </div>
            <div class="clear"></div>
            <div id="mail"></div>
            <div id="maili">
                <div style="height:5px;"></div>
                <input id="imailli" type="text" name="email" value="<?php echo $this->_tpl_vars['contact'][$this->_sections['co']['index']]['email']; ?>
"/>
            </div>
            <div class="clear"></div>
            <div id="msg"></div>
            <div id="msgi">
                <div style="height:10px;"></div>
                <textarea id="msg_corps" name="texte" cols="60" rows="12"><?php echo $this->_tpl_vars['contact'][$this->_sections['co']['index']]['texte']; ?>
</textarea>
            </div>
            <div class="clear"></div>
            <div style="height:10px;"></div>
            <table style="margin-left:60px;" width="60%"><tr><td width="60%"><?php echo "<img src='http://127.0.0.1/captcha.php'>"; ?></td><td>
            <dl><dt><input type="text" name="captcha"></dt>
            <dd>Tappez le code &eacute;crit sur l'image</dd>
            <dd><i>Nottez qu'il n'y a pas de O sur l'image, mais que des 0.</i></dd>
            </dl></td></tr></table>
            <div style="margin-left:170px;color:#ff0000;font-size:16px;"><?php echo $this->_tpl_vars['message']; ?>
</div>
            <div id="valider">
                <input id="submitsss" type="submit" value="test" />
            </div>
            <div id="annuler">
            <a href="?/contact"><img src="theme/default/design/images/annul.png" alt="annuler" /></a></div><div class="clear"></div>
            <input id="type" type="hidden" name="ajax" value="<?php echo $this->_tpl_vars['contact'][$this->_sections['co']['index']]['type']; ?>
"/>
            </form>
        <?php endif; ?>
   <?php endfor; endif; ?>
</div>
<div class="arbre3">
</div>
<?php $this->_tag_stack[] = array('contner', array('type' => 'foot')); $_block_repeat=true;smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], null, $this, $_block_repeat);while ($_block_repeat) { ob_start(); ?><?php $_block_content = ob_get_contents(); ob_end_clean(); $_block_repeat=false;echo smarty_block_contner($this->_tag_stack[count($this->_tag_stack)-1][1], $_block_content, $this, $_block_repeat); }  array_pop($this->_tag_stack); ?>
Presented with Bontiv-Sourceer