No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

zccat.htm 999B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /*
  3. * 产品列表页 是 主域名
  4. */
  5. ?>
  6. {eyou:php}
  7. $areaid = $route_param['areaid']?(int)$route_param['areaid']:0;
  8. $number = $areaid;
  9. //var_dump($areaid);
  10. {/eyou:php}
  11. {eyou:if condition='((int)$areaid === 0)'}
  12. {eyou:php}
  13. $areaid = 0;
  14. {/eyou:php}
  15. {eyou:elseif condition='((int)$areaid === 32)' /}
  16. {eyou:php}
  17. $areaid = 10000;
  18. {/eyou:php}
  19. {eyou:else /}
  20. {eyou:php}
  21. $sql = "SELECT aid FROM ey_seo_number WHERE number = $areaid and type=3";
  22. {/eyou:php}
  23. {eyou:sql sql='$sql' cachetime='3600' id='seo'}
  24. {eyou:php}
  25. $areaid = $seo['aid'];
  26. {/eyou:php}
  27. {/eyou:sql}
  28. {/eyou:if}
  29. {eyou:php}
  30. $area_name = '';
  31. $sql = "SELECT id,name FROM ey_citysite WHERE id = $areaid";
  32. {/eyou:php}
  33. {eyou:sql sql='$sql' cachetime='3600' id='area'}
  34. {eyou:php}
  35. $area_name = ''.$area['name'].'';
  36. {/eyou:php}
  37. {/eyou:sql}
  38. <?php
  39. //调试
  40. //var_dump($eyou['field']['seo_keywords']);
  41. ?>