当前位置: 首页>>代码示例>>PHP>>正文


PHP UserProfile类代码示例

本文整理汇总了PHP中UserProfile的典型用法代码示例。如果您正苦于以下问题:PHP UserProfile类的具体用法?PHP UserProfile怎么用?PHP UserProfile使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


在下文中一共展示了UserProfile类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: postAdminAccount

 public function postAdminAccount()
 {
     $data = Input::all();
     //return View::make('install.done');
     try {
         $user = Sentry::createUser(array('email' => $data['email'], 'password' => $data['password'], 'activated' => true, 'first_name' => $data['first_name'], 'last_name' => $data['last_name']));
         $group = Sentry::findGroupByName('admin');
         $user->addGroup($group);
         $quicknote = new \Quicknote();
         $quicknote->user_id = $user->id;
         $quicknote->save();
         $userProfile = new \UserProfile();
         $userProfile->id = $user->id;
         $userProfile->save();
         $imageResult = App::make('AuthController')->{'createUserImage'}($user->id, $data['first_name'][0], $data['last_name'][0]);
         $installationDate = date('Y-m-d H:i:s');
         $installationHost = Request::server('PATH_INFO');
         $new92fiveConfig = new NewConfig();
         $new92fiveConfig->toFile(app_path() . '/config/92five.php', ['install' => true, 'version' => '1.0', 'installationDate' => $installationDate, 'installationHost' => $installationHost]);
         return View::make('install.done');
     } catch (Exception $e) {
         Log::error('Something Went Wrong in Install Controller Repository - addUserWithDetails():' . $e->getMessage());
         throw new Exception('Something Went Wrong in Install Controller Repository - addUserWithDetails()');
     }
 }
开发者ID:ymnl007,项目名称:92five,代码行数:25,代码来源:InstallController.php

示例2: actionRegister

 /**
  * Creates account for new users
  */
 public function actionRegister()
 {
     if (!Yii::app()->user->isGuest) {
         Yii::app()->request->redirect('/');
     }
     $user = new User('register');
     $profile = new UserProfile();
     if (Yii::app()->request->isPostRequest && isset($_POST['User'], $_POST['UserProfile'])) {
         $user->attributes = $_POST['User'];
         $profile->attributes = $_POST['UserProfile'];
         $valid = $user->validate();
         $valid = $profile->validate() && $valid;
         if ($valid) {
             $user->save();
             $profile->save();
             $profile->setUser($user);
             // Add user to authenticated group
             Yii::app()->authManager->assign('Authenticated', $user->id);
             $this->addFlashMessage(Yii::t('UsersModule.core', 'Спасибо за регистрацию на нашем сайте.'));
             // Authenticate user
             $identity = new UserIdentity($user->username, $_POST['User']['password']);
             if ($identity->authenticate()) {
                 Yii::app()->user->login($identity, Yii::app()->user->rememberTime);
                 Yii::app()->request->redirect($this->createUrl('/users/profile/index'));
             }
         }
     }
     $this->render('register', array('user' => $user, 'profile' => $profile));
 }
开发者ID:kolbensky,项目名称:rybolove,代码行数:32,代码来源:RegisterController.php

示例3: save

	public function save($username, $email, $password, $passwordConfirmation)
	{
		$user = new User($username, $email);
		$user->password = $password;
		$user->passwordConfirmation = $passwordConfirmation;
		
		try
		{
			$key = $user->save();
			$profile = new UserProfile;
			$profile->user = $user;
			$profile->save();
			$mail = $this->mail();
			$mail->username = $username;
			$mail->activationURL = CoOrg::createFullURL(array('user/activate', $username, $key));
			$mail->site = CoOrg::config()->get('site/title');
			$mail->to($email)->subject(t('Complete your registration'))
			     ->send('mails/registration');
			$this->notice(t('We have sent an email to confirm your registration'));
			$this->redirect('/');
		}
		catch (ValidationException $e)
		{
			$this->error(t('We could not complete your registration'));
			$this->user = $user;
			$this->render('create');
		}
	}
开发者ID:nathansamson,项目名称:CoOrg,代码行数:28,代码来源:user.controller.php

示例4: actionAddcompany

 public function actionAddcompany()
 {
     $companyModel = new Company();
     $userLoginModel = new UserLogin();
     $userProfileModel = new UserProfile();
     if (isset($_POST['Company'])) {
         $companyModel->attributes = $_POST['Company'];
         $userLoginModel->attributes = $_POST['UserLogin'];
         $userProfileModel->attributes = $_POST['UserProfile'];
         if ($companyModel->validate()) {
             if ($companyModel->save()) {
                 $userLoginModel->UserRoleID = 2;
                 // $userLoginModel->LoginEmail = 'addeduser@test.com';
                 $userLoginModel->UserPassword = md5($userLoginModel->UserPassword);
                 $userLoginModel->IsPasswordReset = 1;
                 $userLoginModel->IsActive = 1;
                 $userLoginModel->save();
                 $userProfileModel->UserLoginID = $userLoginModel->UserLoginID;
                 $userProfileModel->CompanyID = $companyModel->CompanyID;
                 // $userProfileModel->FirstName = 'Test';
                 // $userProfileModel->LastName = 'test';
                 $userProfileModel->AgreeToTerms = 0;
                 $userProfileModel->IsFacilitator = 0;
                 $userProfileModel->save();
                 $this->redirect(Yii::app()->createUrl('admin/setup', array('id' => $companyModel->CompanyID)));
             }
         }
     }
     $this->render('add-company', array('companyModel' => $companyModel, 'userLoginModel' => $userLoginModel, 'userProfileModel' => $userProfileModel));
 }
开发者ID:elephanthead,项目名称:itr,代码行数:30,代码来源:AdminController.php

示例5: getAllFriends

 public function getAllFriends(User $user)
 {
     $con = Connection::createConnection();
     $result = mysql_query("SELECT u1.id as user_id, u1.username as user_name, u2.* FROM user u1, userprofile u2 where u1.id = u2.id AND u1.id != {$user->id}");
     $friendList = array();
     while ($row = mysql_fetch_array($result)) {
         $userProfile = new UserProfile();
         $tempUser = new User();
         //setting user
         $tempUser->id = $row['user_id'];
         $tempUser->username = $row['user_name'];
         $userProfile->setUser($tempUser);
         //Setting user profile
         $userProfile->id = $row['id'];
         $userProfile->age = $row['age'];
         $userProfile->country = $row['country'];
         $userProfile->favgame = $row['favgame'];
         $userProfile->humour = $row['humour'];
         $userProfile->imgurl = $row['imgurl'];
         $userProfile->job = $row['job'];
         $userProfile->language = $row['language'];
         $userProfile->politicalview = $row['politicalview'];
         $userProfile->religion = $row['religion'];
         $userProfile->school = $row['school'];
         array_push($friendList, $userProfile);
     }
     return $friendList;
 }
开发者ID:rahulkamra,项目名称:Artifact,代码行数:28,代码来源:FriendsDAO.php

示例6: wfUserProfileFromTitle

/**
 * Called by ArticleFromTitle hook
 * Calls UserProfilePage instead of standard article
 *
 * @param &$title Title object
 * @param &$article Article object
 * @return true
 */
function wfUserProfileFromTitle( &$title, &$article ) {
	global $wgRequest, $wgOut, $wgHooks, $wgUserPageChoice, $wgUserProfileScripts;

	if ( strpos( $title->getText(), '/' ) === false &&
		( NS_USER == $title->getNamespace() || NS_USER_PROFILE == $title->getNamespace() )
	) {
		$show_user_page = false;
		if ( $wgUserPageChoice ) {
			$profile = new UserProfile( $title->getText() );
			$profile_data = $profile->getProfile();

			// If they want regular page, ignore this hook
			if ( isset( $profile_data['user_id'] ) && $profile_data['user_id'] && $profile_data['user_page_type'] == 0 ) {
				$show_user_page = true;
			}
		}

		if ( !$show_user_page ) {
			// Prevents editing of userpage
			if ( $wgRequest->getVal( 'action' ) == 'edit' ) {
				$wgOut->redirect( $title->getFullURL() );
			}
		} else {
			$wgOut->enableClientCache( false );
			$wgHooks['ParserLimitReport'][] = 'wfUserProfileMarkUncacheable';
		}

		$wgOut->addExtensionStyle( $wgUserProfileScripts . '/UserProfile.css' );

		$article = new UserProfilePage( $title );
	}
	return true;
}
开发者ID:realsoc,项目名称:mediawiki-extensions,代码行数:41,代码来源:UserProfile.php

示例7: configure

 public function configure()
 {
     //get profile object
     $user = $this->getObject();
     if (!$user->getUserProfile()) {
         $profile = UserProfilePeer::retrieveByPK($user->getUserId());
         if (!$profile) {
             $profile = new UserProfile();
             $profile->setUserId($user->getUserId());
         }
         $user->setUserProfile($profile);
     }
     // build state criteria
     // echo $profile->getCountry().'&';
     $stateC = new Criteria();
     $stateC->add(CpStatesPeer::COUNTRY_ID, $user->getUserProfile()->getCountry());
     // build city criteria
     $cityC = new Criteria();
     $cityC->add(CpCitiesPeer::STATE_ID, $user->getUserProfile()->getState());
     $this->setWidgets(array('country_id' => new sfWidgetFormPropelSelect(array('model' => 'CpCountries', 'add_empty' => '-- Country --', 'order_by' => array('Name', 'asc'))), 'state_id' => new sfWidgetFormPropelSelect(array('model' => 'CpStates', 'add_empty' => '-- State/Province --', 'order_by' => array('Name', 'asc'), 'criteria' => $stateC)), 'city_id' => new sfWidgetFormPropelSelect(array('model' => 'CpCities', 'add_empty' => '-- City --', 'order_by' => array('Name', 'asc'), 'criteria' => $cityC)), 'id' => new sfWidgetFormInputHidden()));
     $this->setValidators(array('country_id' => new sfValidatorPropelChoice(array('model' => 'CpCountries', 'column' => 'id'), array('required' => '- Please choose country', 'invalid' => '- Invalid country')), 'state_id' => new sfValidatorPropelChoice(array('model' => 'CpStates', 'column' => 'id', 'criteria' => clone $stateC), array('required' => '- Please choose state', 'invalid' => '- Invalid state')), 'city_id' => new sfValidatorPropelChoice(array('model' => 'CpCities', 'column' => 'id', 'criteria' => clone $cityC), array('required' => '- Please choose city', 'invalid' => '- Invalid city')), 'id' => new sfValidatorNumber(array('required' => false))));
     //$this->widgetSchema->setLabels(array(
     //	'name'	=> 'Name',
     //));
     $this->widgetSchema->setNameFormat('user[%s]');
     $this->errorSchema = new sfValidatorErrorSchema($this->validatorSchema);
 }
开发者ID:broschb,项目名称:cyclebrain,代码行数:27,代码来源:UserProfileForm.php

示例8: getSpyQuestion

 public function getSpyQuestion($user, $gameProgress)
 {
     $con = Connection::createConnection();
     //first we need to check weather that person has spied him already or not
     $spy = ServerConstants::SPY;
     if ($this->canSpy($gameProgress)) {
         $friendUser = $gameProgress->friend->user;
         $result = mysql_query("select * from userprofile where userprofile.userid !={$friendUser->id} order by rand() limit 2");
         $dataArray = array();
         while ($row = mysql_fetch_array($result)) {
             $userprofile = new UserProfile();
             $userprofile->id = $row['id'];
             $userprofile->setUser($user);
             $userprofile->age = $row['age'];
             $userprofile->country = $row['country'];
             $userprofile->favgame = $row['favgame'];
             $userprofile->humour = $row['humour'];
             $userprofile->imgurl = $row['imgurl'];
             $userprofile->job = $row['job'];
             $userprofile->language = $row['language'];
             $userprofile->politicalview = $row['politicalview'];
             $userprofile->religion = $row['religion'];
             $userprofile->school = $row['school'];
             array_push($dataArray, $userprofile);
         }
         /* Getting data of friend whom we want to spy i.e. the right options */
         $friendProfile = $gameProgress->friend;
         array_push($dataArray, $friendProfile);
         Connection::closeConnection($con);
         return $dataArray;
     } else {
         Connection::closeConnection($con);
         return null;
     }
 }
开发者ID:rahulkamra,项目名称:Artifact,代码行数:35,代码来源:GameDAO.php

示例9: callback

 public function callback()
 {
     if (!$this->fb->generateSessionFromRedirect()) {
         return Redirect::route('home')->with('flash_error', 'Failed to connect on Facebook.')->with('flash_color', '#c0392b');
     }
     $user_fb = $this->fb->getGraph();
     if (empty($user_fb)) {
         return Redirect::route('home')->with('flash_error', 'Failed to get data on Facebook.')->with('flash_color', '#c0392b');
     }
     $user = User::whereUidFb($user_fb->getProperty('id'))->first();
     if (empty($user)) {
         $user_profile = new UserProfile();
         $user_profile->name = $user_fb->getProperty('name');
         $user_profile->birthday = date(strtotime($user_fb->getProperty('birthday')));
         $user_profile->photo = 'http://graph.facebook.com/' . $user_fb->getProperty('id') . '/picture?type=large';
         $user_profile->save();
         $user = new User();
         $user->user_profile_id = $user_profile->id;
         $user->privilage = 1;
         $user->email = $user_fb->getProperty('email');
         $user->uid_fb = $user_fb->getProperty('id');
         $user->save();
     }
     $user->access_token_fb = $this->fb->getToken();
     $user->save();
     Auth::login($user);
     return Redirect::route('home')->with('flash_error', 'Successfully logged in using Facebook.')->with('flash_color', '#27ae60');
 }
开发者ID:jeraldpunx,项目名称:Cakeology,代码行数:28,代码来源:LoginFacebookController.php

示例10: execute

 /**
  * @see EventListener::execute()
  */
 public function execute($eventObj, $className, $eventName)
 {
     if (!USERGUESTBOOK_SHOWINSIDEBAR) {
         return;
     }
     if (!WCF::getUser()->getPermission('user.guestbook.canRead')) {
         return;
     }
     if (empty($eventObj->postList->posts)) {
         return;
     }
     $seen = $ret = array();
     $ret = WCF::getTPL()->get('additionalSidebarUserContacts');
     $link = '<a href="index.php?page=UserGuestbook&amp;userID=%1$d' . SID_ARG_2ND . '"><img src="' . RELATIVE_WCF_DIR . 'icon/guestbookS.png" alt="" title="%2$s" /></a>';
     $curUserID = WCF::getUser()->userID;
     $curUserCanUse = WCF::getUser()->getPermission('user.guestbook.canUseOwn');
     $gbEnableOption = 'userOption' . User::getUserOptionID('userGuestbook_enable');
     require_once WCF_DIR . 'lib/data/user/UserProfile.class.php';
     foreach ($eventObj->postList->posts as $post) {
         if ($post->userID) {
             if ($curUserID == $post->userID && !$curUserCanUse) {
                 continue;
             } else {
                 if (!$post->{$gbEnableOption}) {
                     continue;
                 } else {
                     if (array_key_exists($post->userID, $seen)) {
                         if (!empty($seen[$post->userID])) {
                             if (isset($ret[$post->postID])) {
                                 $ret[$post->postID] .= ' ' . $seen[$post->userID];
                             } else {
                                 $ret[$post->postID] = $seen[$post->userID];
                             }
                         }
                     } else {
                         $add = '';
                         $user = new UserProfile($post->userID, null, null, null);
                         if ($user->getPermission('user.guestbook.canUseOwn')) {
                             $username = StringUtil::encodeHTML($user->username);
                             $title = WCF::getLanguage()->get('wcf.user.guestbook.title', array('$user->username' => $username));
                             $add = sprintf($link, $post->userID, $title);
                             if (isset($ret[$post->postID])) {
                                 $ret[$post->postID] .= ' ' . $add;
                             } else {
                                 $ret[$post->postID] = $add;
                             }
                         }
                         $seen[$post->userID] = $add;
                     }
                 }
             }
         }
     }
     if (count($ret)) {
         WCF::getTPL()->assign('additionalSidebarUserContacts', $ret);
     }
 }
开发者ID:Maggan22,项目名称:wbb3addons,代码行数:60,代码来源:UserGuestBookThreadListener.class.php

示例11: __construct

 public function __construct($data, $boxname = "")
 {
     if (!defined('BUDDIESBOX_SBCOLOR_ACP')) {
         define('BUDDIESBOX_SBCOLOR_ACP', 2);
     }
     if (!defined('BUDDIESBOX_SHOWDEL_ACP')) {
         define('BUDDIESBOX_SHOWDEL_ACP', false);
     }
     if (!defined('BUDDIESBOX_SHOWUSERMARKING_ACP')) {
         define('BUDDIESBOX_SHOWUSERMARKING_ACP', false);
     }
     if (!defined('BUDDIESBOX_SHOWONLYONLINE_ACP')) {
         define('BUDDIESBOX_SHOWONLYONLINE_ACP', true);
     }
     if (!defined('BUDDIESBOX_HIDEIFEMPTY_ACP')) {
         define('BUDDIESBOX_HIDEIFEMPTY_ACP', true);
     }
     $this->BuddiesData['templatename'] = "buddiesbox";
     $this->getBoxStatus($data);
     $this->BuddiesData['boxID'] = $data['boxID'];
     $this->BuddiesData['showBuddiesBox'] = false;
     //        $buddies = WCF::getUser()->buddies;
     if (WCF::getUser()->userID != 0) {
         require_once WCF_DIR . 'lib/data/user/UserProfile.class.php';
         $cnt = 0;
         $sql = "SELECT u.*, uo.*, wcg.*" . "\n  FROM wcf" . WCF_N . "_user_whitelist wcu" . "\n  JOIN wcf" . WCF_N . "_user u ON (u.userID = wcu.whiteUserID)" . "\n  LEFT JOIN wcf" . WCF_N . "_user_option_value uo ON (uo.userID = u.userID)" . "\n  LEFT JOIN wcf" . WCF_N . "_group wcg ON (wcg.groupID = u.userOnlineGroupID)" . "\n WHERE wcu.userID = " . WCF::getUser()->userID . "\n ORDER BY u.username";
         $result = WBBCore::getDB()->sendQuery($sql);
         while ($row = WBBCore::getDB()->fetchArray($result)) {
             $user = new UserProfile(null, $row);
             if (BUDDIESBOX_SHOWONLYONLINE_ACP && !$user->isOnline()) {
                 continue;
             }
             if ($user->isOnline()) {
                 $this->BuddiesData['buddies'][$cnt]['imgTitle'] = StringUtil::decodeHTML(WCF::getLanguage()->get('wcf.user.online', array('$username' => $row['username'])));
                 $this->BuddiesData['buddies'][$cnt]['img'] = 'onlineS.png';
             } else {
                 $this->BuddiesData['buddies'][$cnt]['imgTitle'] = StringUtil::decodeHTML(WCF::getLanguage()->get('wcf.user.offline', array('$username' => $row['username'])));
                 $this->BuddiesData['buddies'][$cnt]['img'] = 'offlineS.png';
             }
             if ($user->acceptPm) {
                 $this->BuddiesData['buddies'][$cnt]['pm'] = '1';
             } else {
                 $this->BuddiesData['buddies'][$cnt]['pm'] = '';
             }
             $this->BuddiesData['buddies'][$cnt]['userID'] = $row['userID'];
             $this->BuddiesData['buddies'][$cnt]['username'] = StringUtil::encodeHTML($row['username']);
             // userOnlineMarking...
             if (BUDDIESBOX_SHOWUSERMARKING_ACP && !empty($row['userOnlineMarking']) && $row['userOnlineMarking'] != '%s') {
                 $this->BuddiesData['buddies'][$cnt]['username'] = sprintf($row['userOnlineMarking'], StringUtil::encodeHTML($row['username']));
             }
             $cnt++;
         }
         if ($cnt > 0 || !BUDDIESBOX_HIDEIFEMPTY_ACP) {
             $this->BuddiesData['showBuddiesBox'] = true;
         }
     }
 }
开发者ID:Maggan22,项目名称:wbb3addons,代码行数:57,代码来源:BuddiesBox.class.php

示例12: run

 public function run()
 {
     $model = new UserProfile('search');
     $model->unsetAttributes();
     // clear any default values
     if (isset($_GET['UserProfile'])) {
         $model->attributes = $_GET['UserProfile'];
     }
     $this->render('admin', array('model' => $model));
 }
开发者ID:robebeye,项目名称:MusicDream,代码行数:10,代码来源:AdminAction.php

示例13: syncWithDB

 public function syncWithDB()
 {
     //check if socprof is installed
     if (class_exists('UserProfile')) {
         $socprof = new UserProfile($this->User);
         $info = $socprof->getProfile();
         $this->setName($info['real_name']);
         $this->setEmail($info['email']);
         $this->setCity($info['location_city']);
         $this->setState($info['location_state']);
         $this->setCountry($info['location_country']);
         $this->setHomeCity($info['hometown_city']);
         $this->setHomeState($info['hometown_state']);
         $this->setHomeCountry($info['hometown_country']);
         $this->setBirthday($info['birthday']);
         $this->setAboutMe($info['about']);
         $this->setOccupation($info['occupation']);
         $this->setSchools($info['schools']);
         $this->setPlaces($info['places_lived']);
         $this->setWebsites($info['websites']);
         $this->updateAvatar();
         //setting interests
         $interests = array();
         if (!empty($info['companies'])) {
             $interests[] = $info['companies'];
         }
         if (!empty($info['movies'])) {
             $interests[] = $info['movies'];
         }
         if (!empty($info['music'])) {
             $interests[] = $info['music'];
         }
         if (!empty($info['tv'])) {
             $interests[] = $info['tv'];
         }
         if (!empty($info['books'])) {
             $interests[] = $info['books'];
         }
         if (!empty($info['magazines'])) {
             $interests[] = $info['magazines'];
         }
         if (!empty($info['video_games'])) {
             $interests[] = $info['video_games'];
         }
         if (!empty($info['snacks'])) {
             $interests[] = $info['snacks'];
         }
         if (!empty($info['drinks'])) {
             $interests[] = $info['drinks'];
         }
         $this->setInterests($interests);
     } else {
         throw new SocProfException();
     }
 }
开发者ID:kghbln,项目名称:semantic-social-profile,代码行数:55,代码来源:SSPAdminClass.php

示例14: display

 public function display()
 {
     $iae8c74e5273dec25096dbae362493a9f609ecfc8 = parent::display();
     $i15f0440429ef770fbaf8bd58ae6bab5bcc2e123c = new UserProfile($this->getDb());
     $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e = $i15f0440429ef770fbaf8bd58ae6bab5bcc2e123c->getProfile();
     $iae8c74e5273dec25096dbae362493a9f609ecfc8 .= '<h2>' . v_paypal_credit . '</h2>';
     $i30c1f0035204897cb8aff2b0300f928f53458359 = array("Czech Republic", "Slovakia", "Slovenia", "Bulgaria", "Romania", "Spain", "Sweden", "United Kingdom", "Austria", "Belgium", "Cyprus", "Denmark", "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg", "Netherlands", "Poland", "Portugal", "Estonia", "Malta", "Finland", "Croatia");
     $ic89f6ee1fce286859ae8d93f4093a075a9f3f428 = $_SERVER['SERVER_NAME'];
     $i77b7f2e63af91d5f4a4311347172cb7e855e0b3f = in_array($iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["country0"], $i30c1f0035204897cb8aff2b0300f928f53458359) && strlen($iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["companyvat"]) < 4 ? 1 : 0;
     $iae8c74e5273dec25096dbae362493a9f609ecfc8 .= ' <p> ' . v_paypal_clickhereif . ' <a style="text-decoration:underline;" href="http://pay.topefekt.com/pay.php?user=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["user"] . '&passwd=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["passwd"] . '&vat=' . $i77b7f2e63af91d5f4a4311347172cb7e855e0b3f . '&country=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["country0"] . '" onclick="window.open(this.href);return false;">' . v_paypal_credit . '</a> </p> <br /> <iframe frameborder="no" style="margin:0px;padding:0px;width:100%;height:460px" src="https://pay.topefekt.com/pay.php?parentUrl=' . $ic89f6ee1fce286859ae8d93f4093a075a9f3f428 . '&user=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["user"] . '&passwd=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["passwd"] . '&vat=' . $i77b7f2e63af91d5f4a4311347172cb7e855e0b3f . '&country=' . $iedb9ad4d1c2a4ca104ff16e718edd851ea39d17e["country0"] . '"></iframe> ';
     return $iae8c74e5273dec25096dbae362493a9f609ecfc8;
 }
开发者ID:artlabsdesign,项目名称:missbloom,代码行数:12,代码来源:credit.php

示例15: display

 public function display()
 {
     $i02fcabda2448d40bdb76bd10f9e95950039649ee = parent::display();
     $i8095598e75aa0d17622b51f9b7beb10357fca949 = new UserProfile($this->getDb());
     $i82b0989d971c0abe32c9c0bdb380130c4cb90af2 = $i8095598e75aa0d17622b51f9b7beb10357fca949->getProfile();
     $i02fcabda2448d40bdb76bd10f9e95950039649ee .= '<h2>' . v_paypal_credit . '</h2>';
     $i6f22d8e7415523653f4ab7e8aea177f3aa168425 = array("Czech Republic", "Slovakia", "Slovenia", "Bulgaria", "Romania", "Spain", "Sweden", "United Kingdom", "Austria", "Belgium", "Cyprus", "Denmark", "France", "Germany", "Greece", "Hungary", "Ireland", "Italy", "Latvia", "Lithuania", "Luxembourg", "Netherlands", "Poland", "Portugal", "Estonia", "Malta", "Finland", "Croatia");
     $i8d8dd00a3e8afebc7c40263e5a4efa3b353b5c90 = $_SERVER['SERVER_NAME'];
     $i4cfaa132e787f1824f59093b2651e99b3608580b = in_array($i82b0989d971c0abe32c9c0bdb380130c4cb90af2["country0"], $i6f22d8e7415523653f4ab7e8aea177f3aa168425) && strlen($i82b0989d971c0abe32c9c0bdb380130c4cb90af2["companyvat"]) < 4 ? 1 : 0;
     $i02fcabda2448d40bdb76bd10f9e95950039649ee .= ' <p> ' . v_paypal_clickhereif . ' <a style="text-decoration:underline;" href="http://pay.topefekt.com/pay.php?user=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["user"] . '&passwd=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["passwd"] . '&vat=' . $i4cfaa132e787f1824f59093b2651e99b3608580b . '&country=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["country0"] . '" onclick="window.open(this.href);return false;">' . v_paypal_credit . '</a> </p> <br /> <iframe frameborder="no" style="margin:0px;padding:0px;width:100%;height:460px" src="https://pay.topefekt.com/pay.php?parentUrl=' . $i8d8dd00a3e8afebc7c40263e5a4efa3b353b5c90 . '&user=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["user"] . '&passwd=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["passwd"] . '&vat=' . $i4cfaa132e787f1824f59093b2651e99b3608580b . '&country=' . $i82b0989d971c0abe32c9c0bdb380130c4cb90af2["country0"] . '"></iframe> ';
     return $i02fcabda2448d40bdb76bd10f9e95950039649ee;
 }
开发者ID:mirzavu,项目名称:clothfarm,代码行数:12,代码来源:credit.php


注:本文中的UserProfile类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。