12345678910111213141516171819202122 |
- <?php
- $route_param = request()->route();
- $tid = $route_param['tid']?(int)$route_param['tid']:0;
- $areaname = $route_param['areaname']?$route_param['areaname']:0;
- $tagid = $route_param['tagid']?(int)$route_param['tagid']:0;
- $is_mobile = isMobile();
- //var_dump($areaname);
- ?>
-
-
- <?php
- $area_id = 0;
- $sql = "SELECT id,name,domain FROM ey_citysite WHERE domain = '".$areaname."'";
- //echo $sql;
- ?>
-
- {eyou:sql sql='$sql' cachetime='3600' id='area'}
- {eyou:php}
- $area_id = ''.$area['id'].'';
- $area_name = ''.$area['name'].'';
- {/eyou:php}
- {/eyou:sql}
|