人人商城

version.ctrl.php 460B

123456789101112131415161718192021
  1. <?php
  2. defined('IN_IA') or exit('Access Denied');
  3. load()->model('phoneapp');
  4. load()->model('welcome');
  5. $do = safe_gpc_belong($do, array('home'), 'home');
  6. $_W['page']['title'] = 'APP - 管理';
  7. $version_id = intval($_GPC['version_id']);
  8. $phoneapp_info = phoneapp_fetch($_W['uniacid']);
  9. if (!empty($version_id)) {
  10. $version_info = phoneapp_version($version_id);
  11. }
  12. if ($do == 'home') {
  13. $notices = welcome_notices_get();
  14. template('phoneapp/version-home');
  15. }