Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/template/edit.tpl

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Jorge Prado  >  My Rad 4 PHP  >  templates/template/edit.tpl  >  Download  
File: templates/template/edit.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: My Rad 4 PHP
Generate PHP class from MySQL table
Author: By
Last change: update version 1.0
Date: 2013-05-10 10:32
Size: 1,733 bytes
 

Contents

Class file image Download
{include file='header.tpl'}
            <div class="ui-widget">
                <h1 align="center">{$edittitlelabel} {$titulo}</h1>
                <div class="DD">
                    <form method="post" action="edit.php?tabla={$tabla}&idreg={$idregistro}" name="editar" enctype="multipart/form-data">
                        <div class="DDValidator">
                            {foreach $error as $err}
                            {$err}<br />
                            {/foreach}
                        </div>
                        <div id="{$tabla}">
                            <table class="mytable">
                                {foreach $acampos as $value}
                                <tr>
                                    <td>
                                        {$value.etiqueta}
                                    </td>
                                    <td>
                                        {include file=$value.tipocontrol}
                                    </td>
                                </tr>             
                                {/foreach}                                                   
                                <tr>
                                    
                                    <td><input type="submit" value="{$acceptlabel}" name ="aceptar" class="boton"/></td>
                                    <td><input type="submit" value="{$cancellabel}" name="cancelar" class="boton"/></td>
                                </tr>
                            </table>
                        </div>
                    </form>
                </div>
            </div>
            <div class="clear">
            </div>

        </div>
    </body>
</html>