Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/wreyesus/Sencillo_Carrito_de_Compras_en_PHP/llms.txt

Use this file to discover all available pages before exploring further.

YUME|TEC follows the flat layout typical of projects generated with Adobe Dreamweaver’s server behaviors. Almost every PHP page lives directly in the project root alongside the main jQuery file, with supporting CSS, JavaScript, and image assets organized into their own subdirectories. There is no MVC framework, autoloader, or build step — a web server pointed at the root is all that is needed to run the application.

Root PHP files

These are the files a visitor or server actually executes. They handle rendering, form processing, session management, and third-party library inclusion.
FilePurpose
index.phpHomepage with sliding login panel — the guest entry point to the store
index2.phpAuthenticated homepage; the target of a successful login redirect
categorias.phpProduct category index that links to all three category listing pages
cat_procesadores.phpProcessors listing page (id_cat=1), paginated at 9 products per page
cat_motherboards.phpMotherboards listing page (id_cat=2), paginated at 9 products per page
cat_rams.phpRAM listing page (id_cat=3), paginated at 9 products per page
detalles.phpProduct detail view; reads the product ID from $_GET['id_producto']
carrito.phpShopping cart page; session-based storage with POST handlers for add, update, and remove operations
resumenc_compra.phpOrder summary step; collects buyer name and email before checkout
final.phpGenerates the PayPal redirect form and sends the order confirmation email via PHPMailer
nuevo_usuario.phpCombined registration and login page for new visitors
registro.phpRegistration POST handler; inserts a new row into the usuario table
ingreso.phpLogin POST handler; validates credentials and sets $_SESSION['usuario']
cerrar_sesion.phpLogout handler; destroys the session and redirects to index2.php
contacto.phpContact form page; submits to envio.php
envio.phpContact form POST handler; processes and sends the contact message
nosotros.phpAbout page describing the store
class.phpmailer.phpBundled PHPMailer library for sending transactional email
class.smtp.phpBundled PHPMailer SMTP transport layer

JavaScript files

jQuery is loaded in two places at different versions because different Dreamweaver behaviors and plugins declared dependencies on specific releases. Custom scripts are kept in the js/ subdirectory.
FilePurpose
jquery-1.7.1.min.jsjQuery 1.7.1 loaded from the project root; the primary jQuery instance used by most pages
js/jquery-1.3.2.min.jsjQuery 1.3.2; an older version also loaded by most pages for plugin compatibility
js/jquery-1.4.2.min.jsjQuery 1.4.2; available in the js/ directory and used where needed
js/jquery.v1.4.2.jsUnminified jQuery 1.4.2 development copy
js/slide.jsSliding login panel — toggles #panel open and closed using slideDown/slideUp
js/superfish.jsSuperfish dropdown navigation menu jQuery plugin
js/validacion.jsjQuery-based form validation for the contact form; shows inline accept/error icons on blur
js/jquery.lightbox-0.5.jsLightbox image viewer plugin for enlarged product image display
funciones.jsjQuery login panel toggle helper (#login click handler for #login-form)

CSS files

FilePurpose
css/estilo.cssMain stylesheet covering the CSS reset, body background, navigation bar, product grid, cart table, contact form, and footer
css/slide.cssStyles specific to the sliding top login panel (#toppanel, #panel, .tab)

Directories

DirectoryContents
BD/SQL dump file (bd.sql) used to create and seed the database
Connections/Database connection file (tienda.php) — defines $hostname_tienda, $database_tienda, and opens the $tienda connection
imagenes/UI icon images: carrito.gif, comprar.gif, eliminar.gif, actualizar.gif, miembro.gif, miembro_registrado.gif, and validation icons
imagenes/productos/Product thumbnail images; each filename matches the imagen column in the productos table
imagenes/productos/detalle/Full-size product images displayed on the detail page at 200×200 px
img/Layout and navigation images: banner, category landing images, navigation bar graphic, separators, footer graphic, and background tile
js/JavaScript libraries and custom scripts (see table above)
js/pngfix/IE PNG transparency fix (supersleight-min.js and x.gif)
js/swfobject/SWF object embed helper (swfobject.js)
css/Stylesheets
_mmServerScripts/Dreamweaver server-side utility scripts (MMHTTPDB.php, mysql.php)
_notes/Dreamweaver design notes (.mno metadata files)
The _mmServerScripts/ and _notes/ directories are Dreamweaver IDE artifacts used by the visual design environment. They are not required for the application to run and can be excluded from a production deployment.

Build docs developers (and LLMs) love