12 if($a->profile['name']) {
14 <div id="advanced-profile-name-wrapper" >
15 <div id="advanced-profile-name-text">Full Name:</div>
16 <div id="advanced-profile-name">{$a->profile['name']}</div>
18 <div id="advanced-profile-name-end"></div>
22 if($a->profile['gender']) {
24 <div id="advanced-profile-gender-wrapper" >
25 <div id="advanced-profile-gender-text">Gender:</div>
26 <div id="advanced-profile-gender">{$a->profile['gender']}</div>
28 <div id="advanced-profile-gender-end"></div>
32 if($a->profile['dob']) {
34 <div id="advanced-profile-dob-wrapper" >
35 <div id="advanced-profile-dob-text">Birthday:</div>
38 // If no year, add an arbitrary one so just we can parse the month and day.
40 $o .= '<div id="advanced-profile-dob">'
41 . ((intval($a->profile['dob']))
42 ? datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y')
43 : datetime_convert('UTC',date_default_timezone_get(),'2001-' . substr($a->profile['dob'],6),'j F'))
46 $o .= '<div id="advanced-profile-dob-end"></div>';
50 if($age = age($a->profile['dob'],$a->profile['timezone'],'')) {
52 <div id="advanced-profile-age-wrapper" >
53 <div id="advanced-profile-age-text">Age:</div>
54 <div id="advanced-profile-age">$age</div>
56 <div id="advanced-profile-age-end"></div>
60 if($a->profile['marital']) {
62 <div id="advanced-profile-marital-wrapper" >
63 <div id="advanced-profile-marital-text">Status:</div>
64 <div id="advanced-profile-marital">{$a->profile['marital']}</div>
66 <div id="advanced-profile-marital-end"></div>
70 if($a->profile['sexual']) {
72 <div id="advanced-profile-sexual-wrapper" >
73 <div id="advanced-profile-sexual-text">Sexual Preference:</div>
74 <div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
76 <div id="advanced-profile-sexual-end"></div>
80 if($a->profile['homepage']) {
82 <div id="advanced-profile-homepage-wrapper" >
83 <div id="advanced-profile-homepage-text">Homepage:</div>
84 <div id="advanced-profile-homepage">{$a->profile['homepage']}</div>
86 <div id="advanced-profile-homepage-end"></div>
90 if($a->profile['politic']) {
92 <div id="advanced-profile-politic-wrapper" >
93 <div id="advanced-profile-politic-text">Political Leaning:</div>
94 <div id="advanced-profile-politic">{$a->profile['politic']}</div>
96 <div id="advanced-profile-politic-end"></div>
100 if($a->profile['religion']) {
102 <div id="advanced-profile-religion-wrapper" >
103 <div id="advanced-profile-religion-text">Religion:</div>
104 <div id="advanced-profile-religion">{$a->profile['religion']}</div>
106 <div id="advanced-profile-religion-end"></div>
110 if($txt = bbcode($a->profile['about'])) {
112 <div id="advanced-profile-about-wrapper" >
113 <div id="advanced-profile-about-text">About:</div>
115 <div id="advanced-profile-about">$txt</div>
117 <div id="advanced-profile-about-end"></div>
121 if($txt = bbcode($a->profile['interest'])) {
123 <div id="advanced-profile-interest-wrapper" >
124 <div id="advanced-profile-interest-text">Interests/Hobbies:</div>
126 <div id="advanced-profile-interest">$txt</div>
128 <div id="advanced-profile-interest-end"></div>
132 if($txt = bbcode($a->profile['contact'])) {
134 <div id="advanced-profile-contact-wrapper" >
135 <div id="advanced-profile-contact-text">Contact:</div>
137 <div id="advanced-profile-contact">$txt</div>
139 <div id="advanced-profile-contact-end"></div>
143 if($txt = bbcode($a->profile['music'])) {
145 <div id="advanced-profile-music-wrapper" >
146 <div id="advanced-profile-music-text">Music:</div>
148 <div id="advanced-profile-music">$txt</div>
150 <div id="advanced-profile-music-end"></div>
154 if($txt = bbcode($a->profile['book'])) {
156 <div id="advanced-profile-book-wrapper" >
157 <div id="advanced-profile-book-text">Books:</div>
159 <div id="advanced-profile-book">$txt</div>
161 <div id="advanced-profile-book-end"></div>
165 if($txt = bbcode($a->profile['tv'])) {
167 <div id="advanced-profile-tv-wrapper" >
168 <div id="advanced-profile-tv-text">Television:</div>
170 <div id="advanced-profile-tv">$txt</div>
172 <div id="advanced-profile-tv-end"></div>
176 if($txt = bbcode($a->profile['film'])) {
178 <div id="advanced-profile-film-wrapper" >
179 <div id="advanced-profile-film-text">Film:</div>
181 <div id="advanced-profile-film">$txt</div>
183 <div id="advanced-profile-film-end"></div>
187 if($txt = bbcode($a->profile['romance'])) {
189 <div id="advanced-profile-romance-wrapper" >
190 <div id="advanced-profile-romance-text">Romance:</div>
192 <div id="advanced-profile-romance">$txt</div>
194 <div id="advanced-profile-romance-end"></div>
198 if($txt = bbcode($a->profile['work'])) {
200 <div id="advanced-profile-work-wrapper" >
201 <div id="advanced-profile-work-text">work:</div>
203 <div id="advanced-profile-work">$txt</div>
205 <div id="advanced-profile-work-end"></div>
209 if($txt = bbcode($a->profile['education'])) {
211 <div id="advanced-profile-education-wrapper" >
212 <div id="advanced-profile-education-text">Education:</div>
214 <div id="advanced-profile-education">$txt</div>
216 <div id="advanced-profile-education-end"></div>