Login   Register  
PHP Classes
elePHPant
Icontem

File: confirmar.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Juan Carlos Pérez Orjuela  >  Inventory  >  confirmar.php  >  Download  
File: confirmar.php
Role: Application script
Content type: text/plain
Description: confirm for inventory changes
Class: Inventory
Class for handling an inventory of products
Author: By
Last change:
Date: 2003-03-03 18:48
Size: 711 bytes
 

Contents

Class file image Download
<?php
session_start
();
include 
"control.inc";
Header("Content-type: text/plain");
include(
"class.FastTemplate.php3");

    
$tpl = new FastTemplate(".");
    
$tpl->define(array(main => "conf.tpl"));
    
$tpl->parse(RES"main");
    
$tpl->FastPrint(RES);
$laconexion= new Conexion;
$laconexion->Conectar();

if (
$modificar){

    
$laconexion->modificarCD($valor,$opcion,$poseedor,$fecha);
       

}

else {

    if (
$ingresar){

         if (!
$nombre){
                   echo 
"<b>No Digitó Ningun nombre para el nuevo CD<b><br>";
                   echo 
"<a href=ingresar.html><- Volver</a>";
            }
             else{
       
            
$laconexion->ingresarCD($nombre);
         }


    }
}



?>

</body>
</html>