Automatically exported from code.google.com/p/planningalerts
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.
 
 
 
 
 
 

24 satır
820 B

  1. <?php
  2. //Includes
  3. require_once('config.php');
  4. require_once('application.php');
  5. //build date url
  6. $request_time = get_time_from_get();
  7. //search url
  8. $search_url = "http://194.201.98.213/WAM/weeklyApplications.do?endDate=#enddate&action=showWeeklyList&sortOrder=1&areaCode=%25&applicationType=%25";
  9. $search_url = str_replace("#enddate", $request_time * 1000, $search_url);
  10. //comment and info urls
  11. $info_url_base = "http://194.201.98.213/WAM/showCaseFile.do?action=show&appType=Planning&appNumber=";
  12. $comment_url_base = "http://194.201.98.213/WAM/createComment.do?action=CreateApplicationComment&&applicationType=PLANNING&appNumber=";
  13. //grab urls
  14. $applications = scrape_applications_wam($search_url, $info_url_base, $comment_url_base);
  15. display_applications($applications, "Tower Hamlets Council", "Tower Hamlets");
  16. ?>