public function getMobileShowUrl($type, $aid) { $info = Helper_Archive::getSlineWebInfo(); if (!empty($info['webid'])) { $table = $this->tables[$type][0]; $where = "aid='{$aid}' and webid='{$info['webid']}'"; Helper_Archive::loadModule('common'); $model = new CommonModule($table); $id = $model->getField('id', $where); $url = $GLOBALS['cfg_basehost'] . '/shouji/' . $this->tables[$type][1] . '/show/id/' . $id; } else { //子战跳转 $table = $this->tables[$type][0]; $where = "aid='{$aid}' and webid='{$info['id']}'"; Helper_Archive::loadModule('common'); $model = new CommonModule($table); $id = $model->getField('id', $where); $url = $GLOBALS['cfg_basehost'] . '/shouji/' . $this->tables[$type][1] . '/show/id/' . $id; } return $url; }