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']) && ($a->profile['dob'] != '0000-00-00')) {
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 ? day_translate(datetime_convert('UTC',date_default_timezone_get(),$a->profile['dob'],'j F, Y'))
43 : day_translate(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"><span class="heart">♥</span> Status:</div>
64 <div id="advanced-profile-marital">{$a->profile['marital']}</div>
67 if($a->profile['with'])
68 $o .= "<div id=\"advanced-profile-with\">({$a->profile['with']})</div>";
71 <div id="advanced-profile-marital-end"></div>
75 if($a->profile['sexual']) {
77 <div id="advanced-profile-sexual-wrapper" >
78 <div id="advanced-profile-sexual-text">Sexual Preference:</div>
79 <div id="advanced-profile-sexual">{$a->profile['sexual']}</div>
81 <div id="advanced-profile-sexual-end"></div>
85 if($a->profile['homepage']) {
86 $homepage = linkify($a->profile['homepage']);
88 <div id="advanced-profile-homepage-wrapper" >
89 <div id="advanced-profile-homepage-text">Homepage:</div>
90 <div id="advanced-profile-homepage">$homepage</div>
92 <div id="advanced-profile-homepage-end"></div>
96 if($a->profile['politic']) {
98 <div id="advanced-profile-politic-wrapper" >
99 <div id="advanced-profile-politic-text">Political Views:</div>
100 <div id="advanced-profile-politic">{$a->profile['politic']}</div>
102 <div id="advanced-profile-politic-end"></div>
106 if($a->profile['religion']) {
108 <div id="advanced-profile-religion-wrapper" >
109 <div id="advanced-profile-religion-text">Religion:</div>
110 <div id="advanced-profile-religion">{$a->profile['religion']}</div>
112 <div id="advanced-profile-religion-end"></div>
116 if($txt = bbcode($a->profile['about'])) {
118 <div id="advanced-profile-about-wrapper" >
119 <div id="advanced-profile-about-text">About:</div>
121 <div id="advanced-profile-about">$txt</div>
123 <div id="advanced-profile-about-end"></div>
127 if($txt = bbcode($a->profile['interest'])) {
129 <div id="advanced-profile-interest-wrapper" >
130 <div id="advanced-profile-interest-text">Hobbies/Interests:</div>
132 <div id="advanced-profile-interest">$txt</div>
134 <div id="advanced-profile-interest-end"></div>
138 if($txt = bbcode($a->profile['contact'])) {
140 <div id="advanced-profile-contact-wrapper" >
141 <div id="advanced-profile-contact-text">Contact information and Social Networks:</div>
143 <div id="advanced-profile-contact">$txt</div>
145 <div id="advanced-profile-contact-end"></div>
149 if($txt = bbcode($a->profile['music'])) {
151 <div id="advanced-profile-music-wrapper" >
152 <div id="advanced-profile-music-text">Musical interests:</div>
154 <div id="advanced-profile-music">$txt</div>
156 <div id="advanced-profile-music-end"></div>
160 if($txt = bbcode($a->profile['book'])) {
162 <div id="advanced-profile-book-wrapper" >
163 <div id="advanced-profile-book-text">Books, literature:</div>
165 <div id="advanced-profile-book">$txt</div>
167 <div id="advanced-profile-book-end"></div>
171 if($txt = bbcode($a->profile['tv'])) {
173 <div id="advanced-profile-tv-wrapper" >
174 <div id="advanced-profile-tv-text">Television:</div>
176 <div id="advanced-profile-tv">$txt</div>
178 <div id="advanced-profile-tv-end"></div>
182 if($txt = bbcode($a->profile['film'])) {
184 <div id="advanced-profile-film-wrapper" >
185 <div id="advanced-profile-film-text">Film/dance/culture/entertainment:</div>
187 <div id="advanced-profile-film">$txt</div>
189 <div id="advanced-profile-film-end"></div>
193 if($txt = bbcode($a->profile['romance'])) {
195 <div id="advanced-profile-romance-wrapper" >
196 <div id="advanced-profile-romance-text">Love/romance:</div>
198 <div id="advanced-profile-romance">$txt</div>
200 <div id="advanced-profile-romance-end"></div>
204 if($txt = bbcode($a->profile['work'])) {
206 <div id="advanced-profile-work-wrapper" >
207 <div id="advanced-profile-work-text">Work/employment:</div>
209 <div id="advanced-profile-work">$txt</div>
211 <div id="advanced-profile-work-end"></div>
215 if($txt = bbcode($a->profile['education'])) {
217 <div id="advanced-profile-education-wrapper" >
218 <div id="advanced-profile-education-text">School/education:</div>
220 <div id="advanced-profile-education">$txt</div>
222 <div id="advanced-profile-education-end"></div>