AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.216.233
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0705) :  /home/logmcpe/www/mobile/../MCPRO/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/www/mobile/../MCPRO/remise.php
<?php
include_once 'code/init.php';

// echo "bonjour <br/>" ; 

// echo "<pre>" ; 
// print_r($_POST) ; 
// echo "</pre>" ; 

$Date=date2int($_POST['datedebutday'],$_POST['datedebutmonth'],$_POST['datedebutyear']);
$remis= $_POST['remise'] ; 

// echo "==> $remis ===> $Date <br/>" ;


		$sql = "INSERT INTO remisechq(Remisechq_Date,Remisechq_Montant) 
	VALUES (
	' $Date','$remis')"; 
	
	 if($_POST['actionsearch']== "OK")
	$ok=dbi_query ( $sql )
?>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<?php
print_header ();
?>

<form action="" method="post" name='ok'>
<table align="center" width="100%" >
  <tr>
    <td width="50%"></td>
    <td width="50%">
      </div>
    </td>
  </tr>
  <tr>
    <td colspan="2" align="center">
	  &nbsp;&nbsp;&nbsp;
      <input type="submit" name="relance" value="Nouvelle remise" class="bigbutton"></td>
  </tr>

  </table>
  <?
  if(isset( $_POST['relance']))
  {
  
  ?>
  <fieldset align="rigth">
<legend>Ajout d'un nouveau remise </legend>
	<table>

	<form id="search_form" name="search_form" method="POST" action="s-stock.php">
	<tr>
<td align="left" valign="top" class="td_listing0">Date : </td>
<td align="left" valign="top" class="td_listing0"><?php print_date_selection('datedebut',(isset($datedebut)?$dated:$datedebut))?></td>
</tr>
<tr>
<td align="left" valign="top" class="td_listing0">la remise: </td>
<td align="left" valign="top" class="td_listing0"> <input type="text" name="remise" ></td>
<td align="left" valign="top" class="td_listing0"><input type="submit" name="actionsearch" value="OK" /></td>
	</tr>
	</table>
</form>
</fieldset>	
<? }?>
    <td colspan="2">
	<div id="tab"  >
	<table align="left" width="100%">
        <tr>
          <th align="center">La Date</th>
          <th align="center">Le montant</th>
		  <th align="center">icon</th>	
          <th align="center">ajout</th>			  
        </tr>
        <?php
$qq= dbi_query(" SELECT *  FROM  `remisechq ") ; 

while($f = dbi_fetch_row($qq))
{
        
?>	
<tr>	
<td align="center"><?=int2date($f['Remisechq_Date'])?> </td>
          <td align="center"><?=$f['Remisechq_Montant']?> </td>
		  <td align="center"></td>	
    <TD style="text-align:center;">	<a rel="{handler:'iframe',size:{x:800,y:680}}" class="modal" href="ajout_cheq.php?id=<?=$f['Remisechq_ID'];?>&client_id=<?=$client_id?>">Ajouter des chéque</a></TD> 
		
		  </tr>
		  <?
		  
}
?>
</table>

AnonSec - 2021