Login   Register  
PHP Classes
elePHPant
Icontem

File: templates/template/insert.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/insert.tpl  >  Download  
File: templates/template/insert.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: 1 year ago
Size: 1,684 bytes
 

Contents

Class file image Download
{include file='header.tpl'}
            <div class="main">
                <h1 align="center">{$inserttitlelabel} {$titulo}</h1>
                <a href="{$rutabase}index.php">{$homelabel}</a>
                <div class="ui-widget">
                    <form method="post" action="insert.php?tabla={$tabla}&action=1" 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="submitButton"/></td>
                                <td><input type="submit" value="{$cancellabel}" name="cancelar"/></td>
                            </tr>
                        </table>
                        </div>
                    </form>
                </div>
            </div>
            <div class="clear">
            </div>

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