Exemple #1
0
 public function displayDeactivatePage()
 {
     $this->assign('GET', reqGmp::get('get'));
     $this->assign('POST', reqGmp::get('post'));
     $this->assign('REQUEST_METHOD', strtoupper(reqGmp::getVar('REQUEST_METHOD', 'server')));
     $this->assign('REQUEST_URI', basename(reqGmp::getVar('REQUEST_URI', 'server')));
     parent::display('deactivatePage');
 }
Exemple #2
0
 public function displayAllMeta($uid = 0)
 {
     if (!$uid) {
         $uid = frameGmp::_()->getModule('user')->getModel()->getCurrentID();
     }
     $metaFields = frameGmp::_()->getModule('user')->getModel()->getUserMeta($uid, 'registration');
     $showPassword = false;
     $currentUserData = frameGmp::_()->getModule('user')->getModel()->get();
     if ($currentUserData->data->isAdmin && is_admin()) {
         $showPassword = true;
     }
     $haveOrders = frameGmp::_()->getModule('user')->isAdmin() && frameGmp::_()->getModule('order')->getModel()->userHaveOrders($uid);
     $this->assign('showPassword', $showPassword);
     $this->assign('uid', $uid);
     $this->assign('metaFields', $metaFields);
     $this->assign('haveOrders', $haveOrders);
     parent::display('metaFields');
 }
Exemple #3
0
 public function serverSettings()
 {
     $this->assign('systemInfo', array('Operating System' => array('value' => PHP_OS), 'PHP Version' => array('value' => PHP_VERSION), 'Server Software' => array('value' => $_SERVER['SERVER_SOFTWARE']), 'MySQL' => array('value' => mysql_get_server_info()), 'PHP Safe Mode' => array('value' => ini_get('safe_mode') ? 'Yes' : 'No', 'error' => ini_get('safe_mode')), 'PHP Allow URL Fopen' => array('value' => ini_get('allow_url_fopen') ? 'Yes' : 'No'), 'PHP Memory Limit' => array('value' => ini_get('memory_limit')), 'PHP Max Post Size' => array('value' => ini_get('post_max_size')), 'PHP Max Upload Filesize' => array('value' => ini_get('upload_max_filesize')), 'PHP Max Script Execute Time' => array('value' => ini_get('max_execution_time')), 'PHP EXIF Support' => array('value' => extension_loaded('exif') ? 'Yes' : 'No'), 'PHP EXIF Version' => array('value' => phpversion('exif')), 'PHP XML Support' => array('value' => extension_loaded('libxml') ? 'Yes' : 'No', 'error' => !extension_loaded('libxml')), 'PHP CURL Support' => array('value' => extension_loaded('curl') ? 'Yes' : 'No', 'error' => !extension_loaded('curl'))));
     return parent::display('_serverSettings');
 }
 public function showWelcomePage()
 {
     $this->assign('askOptions', array(1 => array('label' => 'Google'), 2 => array('label' => 'Worgmpess.org'), 3 => array('label' => 'Refer a friend'), 4 => array('label' => 'Find on the web'), 5 => array('label' => 'Other way...')));
     $this->assign('originalPage', uriGmp::getFullUrl());
     parent::display('welcomePage');
 }
Exemple #5
0
 public function showProAdminFormEndPromo()
 {
     $this->assign('proLink', $this->_gmapProdLink);
     $this->assign('modPath', $this->getModule()->getModPath());
     parent::display('proAdminFormEndPromo');
 }