<?php defined('ADMIN_KEKE') or exit('Access Denied'); $ops = array('basic', 'order', 'comm', 'mark'); in_array($op, $ops) or $op = 'basic'; if ($ajax == 'delfile') { keke_shop_class::delServiceFiles($serviceid, $filename, $type); $data = array(); $data['type'] = $type; $data['dataid'] = $dataid; kekezu::echojson('删除成功', 1, $data); die; } keke_lang_class::loadlang('public', 'shop'); keke_lang_class::loadlang('task_edit', 'task'); if ($op == 'basic') { $service_obj = new service_shop_class(); $service_info = db_factory::get_one(sprintf("select * from %switkey_service where service_id='%d'", TABLEPRE, $service_id)); if ($service_info['pic']) { $servicePics = explode(',', $service_info['pic']); } if ($service_info['file_path']) { $serviceFiles = explode(',', $service_info['file_path']); } $ac_url = "index.php?do=model&model_id=7&view=edit&service_id=" . $service_id; $status_arr = $service_obj->get_service_status(); unset($status_arr[1]); $service_info['ext_fields'] = CustomClass::getExtDataList($service_info['service_id'], $service_info['model_id']); if ($sbt_edit) { if ($ext_fds) { CustomClass::editExtData($service_id, $model_id, $ext_fds);