summaryrefslogtreecommitdiffstatsabout
path: root/limpiartemporalproveedores.php
blob: 9d53fd2e2076b0c00d996e992bc36c0a5450a61a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<?
    /*  
  
    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
	
	Autores: Pedro Obregón Mejías
			 Rubén D. Mancera Morán
	Versión: 1.0
	Fecha Liberación del código: 13/07/2004
	Galopín para gnuLinEx 2004 -- Extremadura		 
	
	*/

include ("conectar.php");
$consulta="delete from tempartpro";
$query = mysql_query($consulta);

$consulta="delete from albalineatmp";
$query = mysql_query($consulta);

$consulta="delete from albaranestmp";
$query = mysql_query($consulta);

$consulta="delete from factulineatmp";
$query = mysql_query($consulta);

$consulta="delete from facturastmp";
$query = mysql_query($consulta);

$consulta="delete from albalineaptmp";
$query = mysql_query($consulta);

$consulta="delete from albaranesptmp";
$query = mysql_query($consulta);

$consulta="delete from factulineaptmp";
$query = mysql_query($consulta);

$consulta="delete from facturasptmp";
$query = mysql_query($consulta);

$consulta="delete from presupuestostmp";
$query = mysql_query($consulta);

$consulta="delete from presupuestolineatmp";
$query = mysql_query($consulta);

$consulta="delete from partestmp";
$query = mysql_query($consulta);

$consulta="delete from partelineatmp";
$query = mysql_query($consulta);

$consulta="delete from artprotmp";
$query = mysql_query($consulta);


?>

<html><head>
</head>
<link href="estilo.css" rel="stylesheet" type="text/css">
<body>
<?
				  $loguito="logomensaje.jpg";
                  $cabecera="borradotemporales.jpg";
                  $texto="Los ficheros temporales se han borrado correctamente.";
				
                  $actionimp="";
                  $namevar="";
                  $valuevar="";				
                  $valueimp="";
				
                  $actionv="index.php";
                  $valuev="Regresar al principal";
				  
?><br>
<br>
<br>

<table class="mensaje" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td colspan="2"><img src="images/<? echo $cabecera; ?>" width="460" height="18"></td>
        </tr>
        <tr> 
          <td width="30%" height="152" rowspan="2" align="center">
           <img src="images/<? echo $loguito; ?>" width="118" height="80"></td>
          <td width="70%">
             <font color="#ff0000" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong><br>
              <? echo $texto; ?><br>
              <br>
              </strong></font> 
              <table border="0" class="mensaje2" align="center">
			     <tr>
				   
				     <?
					  if  ($actionimp<>"")
					  {
					 ?> 
					 <td>
                      <form action="fpdf/<? echo $actionimp; ?>" target="_blank" method="post">
                        <input type="hidden" name="<? echo $namevar; ?>" value="<? echo $valuevar; ?>">
					      <?
					        if  ($namevar2<>"")
					          {
					      ?> 
						     <input type="hidden" name="<? echo $namevar2; ?>" value="<? echo $valuevar2; ?>">
						  <?
					           }
					      ?>
						
                        <input name="submit" type="submit" value="<? echo $valueimp; ?>">
                      </form> 
					  </td>
					  <?
					   }
					  ?>
                   
					<td>

                    </td>
				  </tr>
			  </table>
              <div align="right"><font color="#299517" size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong> 
                <br>
                </strong> <font size="1">Galopin v2.0</font></font></div>
            </div></td>
        </tr>
      </table>
</body>
</html>