Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $userDetailApp = PayplansHelperApp::getAvailableApps('userdetail');
- foreach ($userDetailApp as $app) {
- $name = $app->getName();
- $appid = $app->getId();
- $location = $app->getLocation();
- $path = $location.DS.'xmldata'.DS."userdetail_app_{$appid}.xml";
- $form = JForm::getInstance('user.userDetail'.$appid, $path ,array(),true, '//config');
- foreach ($form->getFieldset('params') as $f){
- $userps[$f->fieldname] = $f->value;
- }
- //dump($userps);
- }
- $logged_in = ( (!empty($userps['first_name'])) ? true : false );
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement