人人商城

2_0_message.tpl.php 1.2KB

12345678910111213141516171819202122232425
  1. <?php defined('IN_IA') or exit('Access Denied');?><?php define(MUI, true);?>
  2. <?php (!empty($this) && $this instanceof WeModuleSite) ? (include $this->template('common/header', TEMPLATE_INCLUDEPATH)) : (include template('common/header', TEMPLATE_INCLUDEPATH));?>
  3. <?php if(strexists($msg, 'SQL Error:')) { ?>
  4. <div class="mui-content-padded">
  5. <div class="mui-message">
  6. <div class="mui-message-icon">
  7. <span class="mui-msg-error"></span>
  8. </div>
  9. <h4 class="title">系统错误</h4>
  10. <div class="mui-desc" style="color:#929292;">请及时联系管理员</div>
  11. <div class="mui-desc" style="color:#929292; margin-top:10px; text-align:left;"><?php echo $msg;?></div>
  12. <div class="mui-button-area">
  13. <a href="javascript:;" onclick="history.go(-1);" class="mui-btn mui-btn-success mui-btn-block">确定</a>
  14. </div>
  15. </div>
  16. </div>
  17. <?php } else { ?>
  18. <script type="text/javascript">
  19. <!--
  20. util.message('<?php echo $msg;?>', '<?php echo $redirect;?>', '<?php echo $type;?>');
  21. //-->
  22. </script>
  23. <?php } ?>
  24. <?php (!empty($this) && $this instanceof WeModuleSite) ? (include $this->template('common/footer', TEMPLATE_INCLUDEPATH)) : (include template('common/footer', TEMPLATE_INCLUDEPATH));?>