<meta http-equiv="content-type" content="text/html; charset=windows-1254">
<meta http-equiv="content-type" content="text/html; charset=iso-8859-9">
 

<?php
session_start();
ob_start();
$sorumlu_kodu=$_SESSION["kullanici_adi"];

$tarih1='2024-07-01';
$tarih2='2024-07-31';


echo $tarih1; 
echo'&nbsp;&nbsp;/&nbsp;&nbsp;';
echo $tarih2;
?>
  

<form name="form1" method="post" action="admin.php?target=kisistoklar2">
<label> <strong>Başlangıç Tarihi</strong>  </label>
<input name="BASLANGIC_TARIH" id="BASLANGIC_TARIH" type="date" class="form-control"    size="63"  min="2024-01-01" max="2024-12-31" required />   

<label> <strong>Bitiş Tarihi</strong>  </label>
<input name="BITIS_TARIH" id="BITIS_TARIH" type="date" class="form-control"    size="63"  min="2024-01-01" max="2024-12-31" required />   
<br> 
<input name="button" type="submit" class="button_gri" id="button" value="Rapor Listele" /> 
</form> 
<br><br>
<div class="row">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
 <div class="box-body table-responsive">
<div class="box">
 <div class="box-header with-border"> <h3 class="box-title">Satış Listesi  / Satılan Adetler</h3></div>
 <!-- /.box-header --> <div class="box-body"><table class="table table-bordered"> <tbody>
<tr style="background-color:#084189;  color:#FFF;">                  
<th>Reprezant</th>
<th  >Ap Ronks</th>
<th >Gire Plus </th>
<th >H.Asit</th>
<th >Infix </th>
<th >Maca </th>
<th >O.Vit</th>
<th >S.Pal.</th>
<th >At Ronex</th>
<th >Lapis</th>
<th  >Ort.Asit </th>
<th >Hyper</th>
<th >Infort</th>
<th >Ort.Maca</th>
<th >Ossk</th>
<th >Proyal</th>
<th >Prp Üro Hyt Hst</th>
<th >Prp Üro Şhr Hst</th>
<th >Prp Ort Şhr Hst</th>
<th >Medi Prp</th>
<th >X Factor</th>
 <th>Truvisc</th>
<th>Dreamvisc</th>
<th></th>
</tr>
               
 <!-- /      SAW PALMETTO  BASLANGIC  -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Emrah A.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Ap_Ronks' and SATIS_SEKLI <> 'Numune' and  SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;
?>

</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_SEKLI <> 'Numune' and  SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%Hyaluronic_Acid' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">&nbsp;</td>


<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>




<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Dreamvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>



<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b style="font-size:16px;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>

</tr>
<!-- /      SAW PALMETTO BASLANGIC  -->



 
 <!-- / ##############################################     SEDA SANAL  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Seda S.</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr'and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr'and SATIS_SEKLI <> 'Numune'and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='sedasanal@orthowest.com.tr'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td></td>
<td style=" color:#000;">
  <?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  SEDA SANAL BASLANGIC ################################ -->


                                                                                                                        
<!-- / ##############################################     UMUT AVCI  BASLANGIC ######################################## -->
 <tr>
<td style="background-color:#798697;  color:#FFF;"><b>Umut A.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'Gire_Plus%' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;"><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Medicana_Prp_500' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b style="font-size:16px;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='umutavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  UMUT AVCI BASLANGIC ################################ -->


   
<!-- / ##############################################    GÜLTEN BAŞARAN  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Gülten B.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr'  and SATIS_SEKLI <> 'Numune'and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;"></td>
<td style="background-color:#edeaea6e;  color:#000;"></td>

<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>




<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b  >
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>


</tr>
<!-- /#####################################################  GÜLTEN BAŞARAN BASLANGIC ################################ -->

 
<!-- / ##############################################    Suat Demirok BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Suat D.</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td></td>
<td></td>
<td>
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>

<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>

<td  style="font-size:16px; background-color:#798697;  color:#FFF;"><b >
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>



</tr>
<!-- /#####################################################  Suat Demirok BASLANGIC ################################ -->


 

<!-- / ##############################################    Hayri Keş BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;" ><b>Hayri K.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Prp_Uroloji_Sehir_Hastanesi'and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">&nbsp;</td>



<td style="background-color:#edeaea6e;  color:#000;" >
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI = 'X_Factor' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>

 
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#798697;  color:#FFF;"><b >
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  Hayri Keş BASLANGIC ################################ -->







 


<tr style="background-color:#084189;  color:#FFF;">
                  
<th></th>
<th  >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Ap_Ronks' and PERSONEL_SEKLI <> 'Sube' and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Gire_Plus%' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Hyaluronic_Acid' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium'  and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th  > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw' and PERSONEL_SEKLI <> 'Sube'   and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%'  and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Medicana_Prp_500' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and PERSONEL_SEKLI <> 'Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>



<th> <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM  konsinyesatis WHERE SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'   and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
          </tr>

              </tbody></table>
            </div>
            <!-- /.box-body -->
      
          </div>
</div></div>













 
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
 <div class="box-body table-responsive">
<div class="box">
 <div class="box-header with-border"> <h3 class="box-title">Bayi Satış Listesi  / Satılan Adetler</h3></div>
 <!-- /.box-header --> <div class="box-body"><table class="table table-bordered"> <tbody>
<tr style="background-color:#084189;  color:#FFF;">                  
<th>Bayiler</th>
<th  >Ap Ronks</th>
<th >Gire Plus </th>
<th >H.Asit</th>
<th >Infix </th>
<th >Maca </th>
<th >O.Vit</th>
<th >S.Pal.</th>
<th >At Ronex</th>
<th >Lapis</th>
<th  >Ort.Asit </th>
<th >Hyper</th>
<th >Infort</th>
<th >Ort.Maca</th>
<th >Ossk</th>
<th >Proyal</th>
<th >Prp Üro Hyt Hst</th>
<th >Prp Üro Şhr Hst</th>
<th >Prp Ort Şhr Hst</th>
<th >X Factor</th>
 <th>Truvisc</th>
<th>Neo 60 mg</th>
<th></th>
</tr>
               
 





 <!-- / ##############################################     PARKMED  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Merkez</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'   and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'    and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'    and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'   and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED BITIS ################################ -->





<!-- / ##############################################    PARKMED BESEVLERBASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Beşevler</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED BEŞEVLER  BITIS ################################ -->




<!-- / ##############################################    PARKMED KONAK  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Konak</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED KONAK  BITIS ################################ -->





<!-- / ##############################################     NRT PHARMA  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Nrt Pharma</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE  SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  NRT PHARMA BITIS ################################ -->



<tr style="background-color:#084189;  color:#FFF;">
                  
<th></th>
<th  >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Hyaluronic_Acid'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th  > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%'   and  PERSONEL_SEKLI='Sube' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'   and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'   and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>



<th> <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_ADET) FROM  konsinyesatis WHERE SATIS_SEKLI <> 'Numune'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_ADET)'];  
 echo $KonsinyeSatistoplam;
?></th>
                </tr>

              </tbody></table>
            </div>
            <!-- /.box-body -->
      
          </div>
</div></div>
















  <div class="nav-tabs-custom">
<ul class="nav nav-tabs">
 







<div class="box-body table-responsive">    

<div class="box">
            <div class="box-header with-border">
              <h3 class="box-title">Satış Listesi / Toplam Satılan Tutarlar</h3>
            </div>
            <!-- /.box-header -->
            <div class="box-body">
              <table class="table table-bordered">
                <tbody><tr style="background-color:#084189;  color:#FFF;">
<th>Reprezant</th>
<th  >Ap Ronks</th>
<th >Gire Plus </th>
<th >H.Asit</th>
<th >Infix </th>
<th >Maca </th>
<th >O.Vit</th>
<th >S.Pal.</th>
<th >At Ronex</th>
<th >Lapis</th>
<th  >Ort.Asit </th>
<th >Hyper</th>
<th >Infort</th>
<th >Ort.Maca</th>
<th >Ossk</th>
<th >Proyal</th>
<th >Prp Üro Hyt Hst</th>
<th >Prp Üro Şhr Hst</th>
<th >Prp Ort Şhr Hst</th>
<th >Medi Prp</th>
<th >X Factor</th>
 <th>Truvisc</th>
<th>Neo 60 mg</th>
<th></th>
</tr>


               
 <!-- /      SAW PALMETTO  BASLANGIC  -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Emrah A.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%Ap_Ronks' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%Hyaluronic_Acid' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td >


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td >


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">&nbsp;</td>


<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%X_Factor%' and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
 

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

 




<td style="background-color:#798697;  color:#FFF;">
<b style="font-size:16px; ">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='emrahavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></b></td>
 </tr>
 <!-- /      SAW PALMETTO BASLANGIC  -->



 <!-- /################################################    SEDA SANAL  BASLANGIC ######################################## -->
<tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Seda S.</b></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'    and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>

</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and   SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and  SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and  SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>&nbsp;</td>


<td>
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%X_Factor%' and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>




<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#798697;  color:#FFF;"> <b style="font-size:16px;"><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='sedasanal@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'    and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</b></td>
 </tr>
 <!-- /#####################################################    SEDA SANAL BASLANGIC   ################################  -->


<!-- /################################################   UMUT AVCI  BASLANGIC ######################################## -->
<tr >
<td  style="background-color:#798697;  color:#FFF;"><b>Umut A.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Gire_Plus%'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>



<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color: #edeaea6e;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>



<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;"><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Medicana_Prp_500' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></td>

<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%X_Factor%' and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#798697;  color:#FFF;"><b style="font-size:16px;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='umutavci@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</b>
</td>
 </tr>
 <!-- /#####################################################    UMUT AVCI BASLANGIC   ################################  -->


 


<!-- /################################################   GÜLTEN BAŞARAN  BASLANGIC ######################################## -->
<tr style="background-color:#edeaea6e;  color:#000;">
<td  style="background-color:#798697;  color:#FFF;"><b>Gülten B.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>



<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>&nbsp;</td>


<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#798697;  color:#FFF;">
<b style="font-size:16px;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='gultenbasaran@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</b>
</td> 
</tr>
 <!-- /#####################################################    GÜLTEN BAŞARAN BASLANGIC   ################################  -->

 
<!-- /################################################   SUAT DEMİROK  BASLANGIC ######################################## -->
<tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Suat D.</b></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>

</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>&nbsp;</td>

<td>
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#798697;  color:#FFF;">
<b style="font-size:16px;"><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='suatdemirok@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</b>
</td>

 </tr>
 <!-- /#####################################################   SUAT DEMİROK BASLANGIC   ################################  -->

 
<!-- /################################################   HAYRİ KEŞ  BASLANGIC ######################################## -->
<tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Hayri K.</b></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>

</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</span>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
 <td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td style="background-color:#edeaea6e;  color:#000;">&nbsp;</td>


<td style="background-color:#edeaea6e;  color:#000;">
  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='X_Factor' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?> 
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#798697;  color:#FFF;">
<b style="font-size:16px;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_DEPRESANT='hayrikes@orthowest.com.tr' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  and SATIS_SEKLI <> 'Numune'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</b>
</td>
 </tr>
 <!-- /#####################################################  HARYİ KEŞ BASLANGIC   ################################  -->



 


 



 

<tr style="background-color:#084189;  color:#FFF;">
                  
<th></th>
<th  >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Ap_Ronks' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Gire_Plus%' and SATIS_SEKLI <> 'Numune'  and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Hyaluronic_Acid' and SATIS_SEKLI <> 'Numune'  and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'   and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th  > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%'  and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Medicana_Prp_500' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%X_Factor%' and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>




<th> <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE SATIS_SEKLI <> 'Numune' and PERSONEL_SEKLI <> 'Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'   ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
                </tr>
            </tbody></table>
  </div>
            <!-- /.box-body -->





</div>



<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
 <div class="box-body table-responsive">
<div class="box">
 <div class="box-header with-border"> <h3 class="box-title">Bayi Satış Listesi  / Toplam Satılan Tutarlar</h3></div>
 <!-- /.box-header --> <div class="box-body"><table class="table table-bordered"> <tbody>
<tr style="background-color:#084189;  color:#FFF;">                  
<th>"ler</th>
<th  >Ap Ronks</th>
<th >Gire Plus </th>
<th >H.Asit</th>
<th >Infix </th>
<th >Maca </th>
<th >O.Vit</th>
<th >S.Pal.</th>
<th >At Ronex</th>
<th >Lapis</th>
<th  >Ort.Asit </th>
<th >Hyper</th>
<th >Infort</th>
<th >Ort.Maca</th>
<th >Ossk</th>
<th >Proyal</th>
<th >Prp Üro Hyt Hst</th>
<th >Prp Üro Şhr Hst</th>
<th >Prp Ort Şhr Hst</th>
<th >X Factor</th>
 <th>Truvisc</th>
<th>Neo 60 mg</th>
<th></th>
</tr>
               
 





 <!-- / ##############################################     PARKMED  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Merkez</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE  SATIS_DEPRESANT='info@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED BITIS ################################ -->





<!-- / ##############################################    PARKMED BESEVLERBASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Beşevler</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE  SATIS_DEPRESANT='besevler@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED BEŞEVLER  BITIS ################################ -->




<!-- / ##############################################    PARKMED KONAK  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Parkmed Konak</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE  SATIS_DEPRESANT='konak@parkmed.com.tr' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  PARKMED KONAK  BITIS ################################ -->





<!-- / ##############################################     NRT PHARMA  BASLANGIC ######################################## -->
 <tr>
<td  style="background-color:#798697;  color:#FFF;"><b>Nrt Pharma</b></td>
<td>
<?php include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
 
</span>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Hyaluronic_Acid' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></span></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></span>
</td>
 <td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?></td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>


 

<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%' and SATIS_SEKLI <> 'Numune'and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%' and SATIS_SEKLI <> 'Numune'  and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
echo $KonsinyeSatistoplam;
?>
</td>
<td>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>
<td></td>
<td style=" color:#000;">
<?php 
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%' and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="background-color:#edeaea6e;  color:#000;">
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'  and SATIS_SEKLI <> 'Numune' and SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>
</td>


<td style="font-size:16px; background-color:#798697;  color:#FFF;"><b>
<?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE  SATIS_DEPRESANT='info@nrtpharma.com' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'");  
$row = mysql_fetch_array($query); 

$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 
echo $KonsinyeSatistoplam;

?></b>
</td>
</tr>
<!-- /#####################################################  NRT PHARMA BITIS ################################ -->



<tr style="background-color:#084189;  color:#FFF;">
                  
<th></th>
<th  >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ap_Ronks' and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Gire_Plus%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Hyaluronic_Acid'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Infix_Epimedium'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Maca_Max'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Ortho_Vit'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Saw_Palmetto'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>

<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Orthowest_At_Ronex%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Gr_Lapis'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th  > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hyaluronik_Asit'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Hypersaw'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Inf_Fort'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Orthowest_Maca'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th >  <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE 'Ossk%'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Proyal_40mg'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?> </th>
<th ><?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Prp_Uroloji_Hayat_Hastanesi%'   and  PERSONEL_SEKLI='Sube' and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?>  </th>
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Uroloji_PRP_400'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI='Sehir_Hastanesi_Ortopedi_PRP_300'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE'%X_Factor%'  and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Truvisc%'   and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>


 
<th > <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM konsinyesatis WHERE KONSINYE_URUN_ADI LIKE '%Neochondro_60%'   and  PERSONEL_SEKLI='Sube'  and SATIS_SEKLI <> 'Numune' and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2'  ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>



<th> <?php
include"baglan.php";
$query = mysql_query("SELECT SUM(SATIS_TOPLAM) FROM  konsinyesatis WHERE SATIS_SEKLI <> 'Numune'  and  PERSONEL_SEKLI='Sube'  and  KONSINYE_TARIH BETWEEN'$tarih1' and '$tarih2' ");  
$row = mysql_fetch_array($query); 
$KonsinyeSatistoplam=$row['SUM(SATIS_TOPLAM)'];  
 echo $KonsinyeSatistoplam;
?></th>
                </tr>

              </tbody></table>
            </div>
            <!-- /.box-body -->
      
          </div>
</div></div>
</div></div>
 