Advertisement
setiyawanarif

index.php

Feb 25th, 2013
763
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. <?php
  2. include './remote.php';
  3. //interface harus di include di atas sebelum kelas manapun yang mengimplementnya
  4. include './sharp.php';
  5. include_once './lg.php';
  6.  
  7. $sharp = new Sharp();
  8.  
  9. echo $sharp->perbesarSuara(2);
  10. echo $sharp->perkecilSuara(1);
  11. echo "<i>chanel no 3 kelas Sharp</i>";
  12. echo $sharp->pindahChanel(3);
  13. echo $sharp->zoomOutGambar(10);
  14. echo "<br />";
  15.  
  16. $lg = new Lg();
  17.  
  18. echo $lg->perbesarSuara(2);
  19. echo $lg->perkecilSuara(1);
  20. echo "<i>chanel no 3 kelas LG</i>";
  21. echo $lg->pindahChanel(3);
  22. echo $lg->zoomOutGambar(50);
  23. echo "<br />";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement