La linea que me gustaria modificar es:
Código:
para poder ver la pag las personas tienen que iniciar sesion, y las condiciones de seleccion de la lista despegable son las siguientes<tr><td><p align="right">Numero de Pedido:</td><td><input type=text name=pedido maxlength=13 size=20><br></td></tr>
order_id este campo es el numero de orden
customers_id este campo es el numero de cliente
orders_status este es el status de la orden
la lista debe seleccionar el numero de orden que tenga el usuario que inicio sesion cuyo status de producto sea el numero 1
Estoy utilizando PHP 5
MYSQL 5
APACHE 2.0
Gracias de antemano a la persona que pueda orientarme, estube buscando y en otros post no encontre muy claro lo que requiero..!! espero alguna persona pueda ayudarme abajo dejo el codigo completo de la pag.
Código PHP:
<?php
/*
FORMULARIO PARA PAGOS DE TU PEDIDO
*/
require('includes/classes/http_client.php');
require('includes/application_top.php');
require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_AREA_DE_PAGOS);
// ANTES SE DEBE INICIAR SESION
if (!tep_session_is_registered('customer_id')) {
$navigation->set_snapshot();
tep_redirect(tep_href_link(FILENAME_LOGIN, '', 'SSL'));
}
?>
<title>Area de Pagos</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
</head>
<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">
<!-- header //-->
<?php require(DIR_WS_INCLUDES . 'header.php'); ?>
<!-- header_eof //-->
<!-- body //-->
<!-- body_text //-->
<table border="0" width="100%" cellspacing="3" cellpadding="3">
<td width="100%" valign="top">
<table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr><td class="pageHeading"><?php echo AQUI_TITULO; ?></td></tr>
<td class="pageHeading" align="right"><p> </p></td>
<!-- IMAGEN AL LADO DEL TITULO-->
</tr></table></td>
<table border="0" widht="100%">
<td class="main" bgcolor="#06FFFF" ><b>
<?php echo SALUDOS; ?></b> <?php echo tep_customer_saludo(); ?></td>
</table>
<p> </p>
<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
<!-- AQUI VA TODO EL SISTEMA DE DECLARACION DE PAGOS !-->
<tr><table align="center" border="0" width="50%" cellspacing="5" cellpadding="0" class="infoBox">
</tr>
<td>
<p align="center">
<b><font size="2" color="#FFFFFF" align="center">DEBES DE LLENAR TODOS LOS DATOS DEL FORMULARIO</font></b>
<form action="procesarpagos.php" method="post">
<table width="100%" border="0" align="center" id="table1" class="infoBoxContents">
<tr><td><p align="right">Numero de Pedido:</td><td><input type=text name=pedido maxlength=13 size=20><br></td></tr>
<tr><td><p align="right">Metodo de Pago:</td><td> <input type=text name=metodo maxlength=30 size=20><br></td></tr>
<tr><td align="right">Transferencia desde:</td><td> <input type=text name=transferencia maxlength=60 size=20><br></td></tr>
<tr><td align="right">Numero de Planilla</td><td><input type=text name=planilla maxlength=15 size=10></td></tr>
<tr><td align="right">Monto Cancelado</td><td><input type=text name=monto maxlength=7 size=7><br></td></tr>
<tr><td colspan=2>
<input type=submit value="Declara tu Pago Aqui" style="float: right"></td></tr>
</table>
</form>
</table><p> </p><p> </p>
<!-- FIN DE DECLARACION DE PAGOS //-->
<!-- body_text_eof //-->
<!-- body_eof //-->
<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>