table_manage_search.php
上传用户:m68239277
上传日期:2014-10-12
资源大小:824k
文件大小:1k
源码类别:

Web服务器

开发平台:

PHP

  1. <?php
  2. session_start();
  3. include("checks.php");
  4. include("../inc/conn.php");
  5. if(isset($_POST["act"]))
  6. {
  7. $bill_type=@$_POST["bill_type"];
  8. $down_type=@$_POST["down_type"];
  9. if($down_type=="all") $down_types="全部种类";
  10. $start_time=@$_POST["start_time_y"]."-".@$_POST["start_time_m"]."-".@$_POST["start_time_d"]." 00:00:01";
  11. $end_time=@$_POST["end_time_y"]."-".@$_POST["end_time_m"]."-".@$_POST["end_time_d"]." 23:59:59";
  12. $date_num=@$_POST["date_num"];
  13. $_SESSION["bill_type"]=$bill_type;
  14. $_SESSION["down_type"]=$down_type;
  15. $_SESSION["start_time"]=$start_time;
  16. $_SESSION["end_time"]=$end_time;
  17. $_SESSION["date_num"]=$date_num;
  18. }else
  19. {
  20. $bill_type=$_SESSION["bill_type"];
  21. $down_type=$_SESSION["down_type"];
  22. $start_time=$_SESSION["start_time"];
  23. $end_time=$_SESSION["end_time"];
  24. $date_num=$_SESSION["date_num"];
  25. }
  26. if($bill_type=="1")
  27. {
  28.  include("table_manage.php");
  29. }elseif($bill_type=="2")
  30. {
  31.  include("table_class_bill.php");
  32. }
  33. ?>