Subversion Repositories SmartDukaan

Rev

Rev 404 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
404 rajveer 1
#set( $email = "")
2
#set( $firstName = "")
3
#set( $lastName = "")
4
#set( $occupation = "")
5
 
6
#if($userPrimaryInfo.getEmail())
7
	#set( $email = $userPrimaryInfo.getEmail())
8
#end
9
#if( $userPrimaryInfo.getFirstName() )
10
	#set( $firstName = $userPrimaryInfo.FirstName())
11
#end
12
#if( $userPrimaryInfo.getLastName()  )
13
	#set( $lastName = $userPrimaryInfo.LastName()) 
14
#end
15
#if( $userPrimaryInfo.getOccupation() )
16
	#set( $occupation = $userPrimaryInfo.getOccupation())
17
#end
18
 
19
 
20
<div id="tabs-1">
21
	<p><h2>Profile</h2></p>			
22
	<ul>
23
		<li>Email Address -  $email		</li>
24
		<li>First Name    - $firstName	</li>
25
		<li>Last Name     - $lastName 	</li>
26
		<li>Occupation    - $occupation	</li>
27
	</ul>
28
</div>
29
 
30
 
31
#set( $line1 = "")
32
#set( $line2 = "")
33
#set( $city = "")
34
#set( $state = "")
35
#set( $country = "")
36
#set( $pin = "")
37
 
38
 
39
<div id="tabs-2">
40
	<p>Addresses</p>
41
	#if($userPrimaryInfo.getAddresses())
42
		#set($userAddresses = $userPrimaryInfo.getAddresses())
43
 
44
		#foreach ($address in $userAddresses)
45
			#if( $address.getLine1() )
46
				#set( $ine1 = $address.getLine1())
47
			#end
48
			#if( $address.getLine2() )
49
				#set( $ine2 = $address.getLine2())
50
			#end
51
            #if( $address.getCity() )
52
            	#set( $city = $address.getCity())
53
            #end
54
            #if( $address.getState() )
55
            	#set( $state = $address.getState())
56
            #end
57
            #if( $address.getCountry() )
58
            	#set( $country = $address.getCountry())
59
            #end					
60
            #if( $address.getPin() )
61
            	#set($pin = $address.getPin())
62
            #end
63
				<li>Line1 - $line1</li>
64
				<li>Line2 - $line2</li>
65
				<li>City - $city</li>
66
				<li>State - $state</li>
67
				<li>Country - $country</li>
68
				<li>Pin - $pin</li>
69
		#end						
70
	#end
71
</div>