| #1397 | ];
|
| #1398 | $requestUrl = $apiUrl . '?' . http_build_query($params);
|
| #1399 | $ch = curl_init();
|
| #1400 | curl_setopt($ch, CURLOPT_URL, $requestUrl);
|
| #1401 | curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
|
| #1402 | $response = curl_exec($ch);
|
| #1403 | curl_close($ch);
|
| #1404 | $data = json_decode($response, true);
|
| #1405 | ?>
|
| #1406 | <?php if ($_uid) { ?><span> <a href="<?php echo(isset($cfg['weburl']) ? $cfg['weburl'] : ''); ?>admin/index.php?content-edit-mid-<?php echo(isset($cfg_var['mid']) ? $cfg_var['mid'] : ''); ?>-id-<?php echo(isset($gdata['id']) ? $gdata['id'] : ''); ?>-cid-<?php echo(isset($cfg_var['cid']) ? $cfg_var['cid'] : ''); ?>-currpage-1">编辑</a></span> <?php } ?>
|