-
Notifications
You must be signed in to change notification settings - Fork 23
/
4g.php
44 lines (35 loc) · 911 Bytes
/
4g.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?php require_once(dirname(__FILE__).'/include/config.inc.php');
/*
**************************
(C)2010-2015 phpMyWind.com
update: 2013-4-27 16:57:34
person: Adu
**************************
*/
//定义入口常量
define('IN_MOBILE', TRUE);
//初始化参数
$m = isset($m) ? $m : 'index'; //控制显示模型
$c = isset($c) ? $c : ''; //控制显示形式
$a = isset($a) ? $a : ''; //控制执行操作
$cid = isset($cid) ? intval($cid) : 0; //显示栏目ID
$id = isset($id) ? intval($id) : 0; //显示内容ID
//首页
if($m == 'index')
{
require_once(PHPMYWIND_TEMP.'/default/mobile/index.php');
exit();
}
//二级页
else if($m == 'info' or $m == 'list' or $m == 'img')
{
require_once(PHPMYWIND_TEMP.'/default/mobile/page.php');
exit();
}
//详细页
else if($m == 'show')
{
require_once(PHPMYWIND_TEMP.'/default/mobile/show.php');
exit();
}
?>