fix amp photo

hotfix/远程访问多媒体中心
lmrwork 8 years ago
parent b8cc56b3b4
commit 6eb7550495

@ -542,8 +542,14 @@
</label>
</div>
<div class="col-xs-17 text-right">
<?php $amp_user = $this->session->userdata('session_admin'); ?>
<label title="AMP页面编辑"><a href="http://europe.chtcdn.com/static/?icid=<?php echo($information->ic_id); ?>&usr=<?php echo(urlencode($amp_user['OPI_Name'])); ?>&photo=<?php echo(urlencode($this->config->item('site_image_url').$information->ic_photo)); ?>&url=<?php echo(urlencode($information->ic_url)); ?>" target="_blank">AMP构建工具</a></label> |
<?php
$amp_user = $this->session->userdata('session_admin');
$amp_photo = '';
if ($information->ic_photo) {
$amp_photo = $this->config->item('site_image_url').$information->ic_photo;
}
?>
<label title="AMP页面编辑"><a href="http://europe.chtcdn.com/static/?icid=<?php echo($information->ic_id); ?>&usr=<?php echo(urlencode($amp_user['OPI_Name'])); ?>&url=<?php echo(urlencode($information->ic_url)); ?>&photo=<?php echo(urlencode($amp_photo)); ?>" target="_blank">AMP构建工具</a></label> |
<?php if (get_meta($information->ic_id, 'AMP_STATUS') === '1') {?>
<label title="AMP页面编辑"><a href="<?php echo site_url('amp/edit/' . $information->ic_id); ?>" target="_blank"><i class="glyphicon glyphicon-flash"></i></a></label>
<?php } else {?>

Loading…
Cancel
Save