コード例 #1
0
ファイル: vende.php プロジェクト: seven07ve/vendorepuestos
    if ($_FILES["file2"]["tmp_name"] != "") {
        copy($_FILES["file2"]["tmp_name"], $carpeta_productos . "/" . $_FILES["file2"]["name"]);
        $update = mysql_query("UPDATE productos SET foto2='{$id_}{$idp_2_}" . $_FILES["file2"]["name"] . "' WHERE id='{$idp}'");
    }
    if ($_FILES["file3"]["tmp_name"] != "") {
        copy($_FILES["file3"]["tmp_name"], $carpeta_productos . "/" . $_FILES["file3"]["name"]);
        $update = mysql_query("UPDATE productos SET foto3='{$id_}{$idp_3_}" . $_FILES["file3"]["name"] . "' WHERE id='{$idp}'");
    }
    //email al cliente
    $to = $email;
    $subject = "El artículo se ha registrado exitosamente";
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/html; charset=iso-8859-1\n";
    $headers .= "X-Priority: 1\n";
    $headers .= "From: {$CORREO_ADMIN}\r\n";
    $numero_articulo = numero_articulo($idp);
    //Contraseña para modificación: $password<br>
    $message = '<div style="width:750px; font-family:\'Oswald\', sans-serif; background-color:#E4E4E3; padding:50px; color:#262626;"><img src="www.vendorepuestos.com.ve/imagenes/cabecera-peq.jpg" width="750" height="112" alt=""/>
  <div style="width:700px; font-size:20px; padding:30px;">
<div style="text-align:center;  font-weight:bold;">Gracias <b>' . $nombre . '</b> por confiar en <br><span style="color:#69A02A;">vendorepuestos.com.ve</span></div>
<br>
	El registro se ha realizado satisfactoriamente.<br>
	<b>Datos de la publicación</b><br> 
	El número de su artículo es: ' . $numero_articulo . '<br>
        
	Documento de Identidad: ' . $cedula . '<br>
	Título: ' . $titulo . '<br>
	Monto a pagar Bs ' . $monto_paquete . '<br><br>
		Para información adicional contacte nuestra sección de Preguntas Frecuentes o a nuestro equipo de Soporte En Línea  vía Twitter @vendorepuestos<br><br>  
		<span style="color:#69A02A;">Gracias por usar vendorepuestos.com.ve.</span>
</div></div>';
コード例 #2
0
/<?php 
    echo $detail["id_submenu2"];
    ?>
/1/" class="titulo_ruta"><?php 
    echo cual_submenu2($detail["id_submenu2"]);
}
?>
</a></div>
      <div style="height:30px; padding-top:20px; float:left; width:200px;" align="right">Art&iacute;culo # <?php 
echo numero_articulo($detail["id"]);
?>
  <a href="/centro_seguridad/<?php 
echo numero_articulo($detail["id"]);
?>
" class="bluep">Reportar</a><br />&iquest;Est&aacute; vendido? <a href="/notificaTR/<?php 
echo numero_articulo($detail["id"]);
?>
" class="bluep">Av&iacute;sanos</a></div>
      <div style="clear:both;"><span  class="titulo_categoria"><?php 
echo ucfirst(strtolower($detail["titulo"]));
?>
</span><br />
   	  <?php 
echo $detail["subtitulo"];
?>
<br /></div>
      <div style="clear:both;">
          <table width="960" border="0" cellspacing="0" cellpadding="0">
        	<tr>
              <td width="350" valign="top">
              <div style="width:320; height:400; float:left; padding:10px;">
コード例 #3
0
/" class="blue"><?php 
    echo $vpt["titulo"];
    ?>
</a></span><br />
			<?php 
    echo $vpt["subtitulo"];
    ?>
<br /> 
            <span class="bluep"><a href="/articulo/<?php 
    echo limpiar_cadena($vpt["titulo"]);
    ?>
/<?php 
    echo $vpt["id"];
    ?>
/" class="bluep">Art&iacute;culo # <?php 
    echo numero_articulo($vpt["id"]);
    ?>
</a></span></div>
		 	<div class="red" style="width:100px; float:left;">Bs. <?php 
    echo $vpt["precio"];
    ?>
</div>
     		<div class="gris" style="width:100px; float:left;"><?php 
    echo date("d-m-Y", strtotime($vpt["vence"]));
    ?>
<br /><?php 
    echo cual_estado($vpt["id_estado"]);
    ?>
</div>
            </div>
    <?php 
コード例 #4
0
    <th width="104" nowrap="nowrap">#Art&iacute;culo</th>
    <th width="104" nowrap="nowrap">Precio</th>
    <th width="20" nowrap="nowrap">&nbsp;</th>
    <th width="20" nowrap="nowrap">&nbsp;</th>
    <th width="20" nowrap="nowrap">&nbsp;</th>
  </tr>
  <?php 
while ($resul = mysql_fetch_array($res)) {
    ?>
   <tr>
    <td nowrap="nowrap"><?php 
    echo $resul["titulo"];
    ?>
</td>
    <td nowrap="nowrap"><?php 
    echo numero_articulo($resul["id"]);
    ?>
</td>
    <td nowrap="nowrap"><?php 
    echo $resul["precio"];
    ?>
</td>
    <td nowrap="nowrap"><a href="admin_productos_editar.php?t=<?php 
    echo $t;
    ?>
&id_tienda=<?php 
    echo $id_tienda;
    ?>
&id=<?php 
    echo $resul["id"];
    ?>
コード例 #5
0
" class="blue"><?php 
    echo $b["titulo"];
    ?>
</a></span><br />
			<?php 
    echo $b["subtitulo"];
    ?>
<br />
            <span class="bluep"><a href="/articulo/<?php 
    echo limpiar_cadena($b["titulo"]);
    ?>
/<?php 
    echo $b["id"];
    ?>
" class="bluep">Art&iacute;culo # <?php 
    echo numero_articulo($b["id"]);
    ?>
</a></span><br />
			<?php 
    if ($b["usuario_tienda"] == "2") {
        ?>
visite <?php 
        echo cual_usuario_resultado($b["id_usuario_tienda"], 2);
        ?>
<br /><a href="/tr/<?php 
        echo limpiar_cadena(cual_usuario($b["id_usuario_tienda"], 2));
        ?>
/<?php 
        echo $b["id_usuario_tienda"];
        ?>
/0/0/1"><img src="/imagenes/icon_tr.jpg" width="33" height="25" border="0" /></a><?php 
コード例 #6
0
ファイル: notifica.php プロジェクト: seven07ve/vendorepuestos
    //datos usuario
    $nombre = $_POST["nombre"];
    $cedula = $_POST["cedula"];
    $articulo = $_POST["articulo"];
    $email = $_POST["email"];
    //email al cliente
    $to = $email;
    $subject = "Su notificación de venta se ha completado";
    //EMAIL A TR
    $to2 = "*****@*****.**";
    $subject2 = "Su notificación de venta se ha completado";
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-Type: text/html; charset=iso-8859-1\n";
    $headers .= "X-Priority: 1\n";
    $headers .= "From: administracion@vendorepuestos.com.ve\r\n";
    $numero_articulo = numero_articulo((int) $idp);
    $message .= "Hemos recibido la siguiente información de Notificación de venta.<br><br>\n\t<b>Datos del Vendedor</b><br>\n\tNombre: {$nombre}<br>\t\n\tDocumento de Identidad:<br>\n\tEmail: \t{$cedula}<br>\n\t# del artículo: {$numero_articulo}<br><br>";
    $send_mail = mail($to2, $subject2, $message, $headers);
    $message .= "En caso de que usted no haya enviado esta información, contáctenos a la brevedad.<br><br>\n\tPara información adicional contacte nuestra sección de Preguntas Frecuentes o a nuestro equipo de Soporte En Línea  vía Twitter @vendorepuestos<br>v  \n\tGracias por usar vendorepuestos.com.ve<br><br>\n\tSaludos.";
    $send_mail = mail($to, $subject, $message, $headers);
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>.:: Vendorepuestos.com.ve ::.</title>
<script type="text/javascript" src="js/prototype.js"></script>
<link href="/cascadas.css" rel="stylesheet" type="text/css" />
</head>
<script language="javascript">