<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>

 	
<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:8.0pt;
	margin-left:0in;
	line-height:107%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
.MsoChpDefault
	{font-family:"Calibri","sans-serif";}
.MsoPapDefault
	{margin-bottom:8.0pt;
	line-height:107%;}
@page wordsection1
	{size:13.0in 8.5in;
	margin:48.25pt .5in .5in .75in;}
div.WordSection1
	{page:WordSection1;}
.style1 {font-family: "Times New Roman", "serif"}
-->
</style>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>
<table class="MsoTableGrid" border="1" cellspacing="0" cellpadding="0"
 style='border-collapse:collapse;border:none;mso-border-alt:solid windowtext .5pt;
 mso-yfti-tbllook:1184;mso-padding-alt:0in 5.4pt 0in 5.4pt'>
 <tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;height:23.25pt'>
  <td width="188" style='width:140.9pt;border:solid windowtext 1.0pt;mso-border-alt:
  solid windowtext .5pt;background:#BFBFBF;mso-background-themecolor:background1;
  mso-background-themeshade:191;padding:0in 5.4pt 0in 5.4pt;height:23.25pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><b style='mso-bidi-font-weight:normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'>LOCATION<o:p></o:p></span></b></p>
  </td>
 
  <td width="188" style='width:140.9pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#BFBFBF;mso-background-themecolor:background1;mso-background-themeshade:
  191;padding:0in 5.4pt 0in 5.4pt;height:23.25pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><b style='mso-bidi-font-weight:normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'>MODEL<o:p></o:p></span></b></p>
  </td>
  <td width="188" style='width:140.9pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#BFBFBF;mso-background-themecolor:background1;mso-background-themeshade:
  191;padding:0in 5.4pt 0in 5.4pt;height:23.25pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><b style='mso-bidi-font-weight:normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'>COLOR<o:p></o:p></span></b></p>
  </td>
   <td width="188" style='width:140.9pt;border:solid windowtext 1.0pt;mso-border-alt:
  solid windowtext .5pt;background:#BFBFBF;mso-background-themecolor:background1;
  mso-background-themeshade:191;padding:0in 5.4pt 0in 5.4pt;height:23.25pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><b style='mso-bidi-font-weight:normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'>QUANTITY<o:p></o:p></span></b></p>
  </td>
  <td width="188" style='width:140.9pt;border:solid windowtext 1.0pt;border-left:
  none;mso-border-left-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  background:#BFBFBF;mso-background-themecolor:background1;mso-background-themeshade:
  191;padding:0in 5.4pt 0in 5.4pt;height:23.25pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><b style='mso-bidi-font-weight:normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'>DATE<o:p></o:p></span></b></p>
  </td>
 
 </tr>
   <!--NALD, ARI DI ASTA ANG IMO NA I BUTANG SULOD SA MYSQL FETCH ARRAY-->

<?php
     
		$device_query = mysql_query("select * from cis_toner_instock LEFT JOIN stlocation ON stlocation.stdev_id=cis_toner_instock.loc_id
		                             where cis_toner_instock.loc_id='1' AND cis_toner_instock.toner_model='HP MFPM17'
		                            ")or die(mysql_error());
		while($row = mysql_fetch_array($device_query)){
		$id = $row['toner_id'];
		//$dev_id = $row['dev_id'];
		
		?>
										
		
 <tr style='mso-yfti-irow:1'>
 <td width="188" valign="top" style='width:140.9pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0in 5.4pt 0in 5.4pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'><?php echo $row['stdev_location_name']; ?><o:p></o:p></span></p>
  </td>
  
  <td width="188" valign="top" style='width:140.9pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'><?php echo $row['toner_model']; ?><o:p></o:p></span></p>
  </td>
  <td width="188" valign="top" style='width:140.9pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'><?php echo $row['color']; ?><o:p></o:p></span></p>
  </td>
  <td width="188" valign="top" style='width:140.9pt;border:solid windowtext 1.0pt;
  border-top:none;mso-border-top-alt:solid windowtext .5pt;mso-border-alt:solid windowtext .5pt;
  padding:0in 5.4pt 0in 5.4pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'><?php echo $row['quantity']; ?><o:p></o:p></span></p>
  </td>
  <td width="188" valign="top" style='width:140.9pt;border-top:none;border-left:
  none;border-bottom:solid windowtext 1.0pt;border-right:solid windowtext 1.0pt;
  mso-border-top-alt:solid windowtext .5pt;mso-border-left-alt:solid windowtext .5pt;
  mso-border-alt:solid windowtext .5pt;padding:0in 5.4pt 0in 5.4pt'>
  <p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
  normal'><span style='font-family:&quot;Times New Roman&quot;,&quot;serif&quot;'><?php echo $row['last_update']; ?><o:p></o:p></span></p>
  </td>
 
 <?php } ?> 
  <!--NALD, ARI DI ASTA ANG IMO NA I BUTANG SULOD SA MYSQL FETCH ARRAY-->
 </tr>
 
</table>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>

<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>



<p class="MsoNormal" style='margin-bottom:0in;margin-bottom:.0001pt;line-height:
normal'><span style='font-size:12.0pt;mso-bidi-font-size:11.0pt;font-family:
&quot;Times New Roman&quot;,&quot;serif&quot;'><o:p>&nbsp;</o:p></span></p>

</div>
</div>
</div>
</div>
</div>
</div>
</div>


</html>