| 2 |
2 |
|
| 3 |
3 |
<div class="box1">
|
| 4 |
4 |
|
| 5 |
|
<div class="section bg2">
|
| 6 |
|
|
| 7 |
|
<div class="hd">
|
| 8 |
|
<div class="hd-l">{$user_info.user_name}'s Profile</div>
|
| 9 |
|
</div>
|
|
5 |
<fieldset>
|
|
6 |
|
|
7 |
<legend><u>{$user_info.user_name}</u></legend>
|
| 10 |
8 |
|
| 11 |
9 |
<div class="float-l">
|
| 12 |
|
<a href="{$base_url}/{$user_info.user_name}"><img src="{$photo_url}" width="80" height="80" alt="{$user_info.user_name}" /></a>
|
|
10 |
<a href="{$base_url}/{$user_info.user_name}"><img src="{$photo_url}" alt="{$user_info.user_name}" /></a>
|
| 13 |
11 |
</div>
|
|
12 |
<div class="float-l">
|
|
13 |
{if $is_friend ne "yes"}
|
|
14 |
{if $allow_friend eq '1'}
|
|
15 |
<div class="user-info">
|
|
16 |
<a href="{$base_url}/invite_friends.php?UID={$user_info.user_id}">
|
|
17 |
<img src="{$base_url}/templates/images/add-friends.gif" alt="add friends" width="20" height="17"/>Add as Friend
|
|
18 |
</a>
|
|
19 |
</div>
|
|
20 |
{/if}
|
|
21 |
{/if}
|
| 14 |
22 |
|
| 15 |
|
<div class="float-r">
|
|
23 |
{if $allow_private_message eq '1'}
|
|
24 |
<div class="user-info">
|
|
25 |
<a href="compose.php?receiver={$user_info.user_name}">
|
|
26 |
<img src="{$base_url}/templates/images/send-message.gif" width="20" height="17" alt="send message"/>Send Messages
|
|
27 |
</a>
|
|
28 |
</div>
|
|
29 |
{/if}
|
|
30 |
|
|
31 |
{if $allow_comment eq '1'}
|
|
32 |
<div class="user-info">
|
|
33 |
<a href="#profile-comments">
|
|
34 |
<img src="{$base_url}/templates/images/add-comment.gif" alt="add comments" width="20" height="17">Add Comments
|
|
35 |
</a>
|
|
36 |
</div>
|
|
37 |
{/if}
|
|
38 |
|
|
39 |
<!-- AddThis Button BEGIN -->
|
|
40 |
|
|
41 |
<div class="user-info">
|
|
42 |
<script type="text/javascript">var addthis_pub="buyscripts";</script>
|
|
43 |
<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
|
|
44 |
</div>
|
|
45 |
|
|
46 |
<!-- AddThis Button END -->
|
|
47 |
</div>
|
|
48 |
<div class="clear">
|
|
49 |
Profile Url: <a href="{$base_url}/{$user_info.user_name}">{$base_url}/{$user_info.user_name}</a>
|
|
50 |
</div>
|
|
51 |
</fieldset>
|
|
52 |
<fieldset>
|
|
53 |
<legend><u>Profile</u></legend>
|
|
54 |
|
|
55 |
<div class="float-l">
|
| 16 |
56 |
|
| 17 |
57 |
{if $user_info.user_first_name ne "" OR $user_info.user_last_name ne ""}
|
| 18 |
58 |
{$user_info.user_first_name} {$user_info.user_last_name}<br />
|
| ... | ... | |
| 39 |
79 |
{/if}
|
| 40 |
80 |
Last Login: {insert name=time_range assign=rtime field=user_last_login_time IDFR=user_id id=$user_info.user_id tbl=users}{$rtime}
|
| 41 |
81 |
</div>
|
| 42 |
|
|
| 43 |
|
<div class="clear"></div>
|
| 44 |
|
|
| 45 |
|
{if $smarty.session.USERNAME eq $user_info.user_name}
|
| 46 |
|
{if $enable_package eq "yes"}
|
| 47 |
|
<p>I have uploaded <b>{$u_info.total_video}</b> videos {if $pack.package_videos gt "0"} out of {$pack.package_videos} videos{/if}.<br />
|
| 48 |
|
Space I have used <b>{insert name=format_size size=$u_info.used_space}</b> out of {insert name=format_size size=$pack.package_space}</p>
|
| 49 |
|
{/if}
|
| 50 |
|
{/if}
|
| 51 |
82 |
|
| 52 |
|
<!-- user rating -->
|
| 53 |
|
|
| 54 |
|
<script type="text/javascript">
|
| 55 |
|
var candidate_id = {$user_info.user_id};
|
| 56 |
|
</script>
|
| 57 |
|
|
| 58 |
|
{if $chkuserflag ne "self"}
|
| 59 |
|
|
| 60 |
|
{if $chkuserflag eq "guest"}
|
| 61 |
|
<div id="user_vote_result">
|
| 62 |
|
<!-- <table border="0" align="center">
|
| 63 |
|
<tr>
|
| 64 |
|
<td align="center">
|
| 65 |
|
Rate Me
|
| 66 |
|
<img class="rating" src="{$img_css_url}/images/blank_star.gif" onclick="user_rate({$smarty.session.UID},{$user_info.user_id},1)" alt="" />
|
| 67 |
|
<img class="rating" src="{$img_css_url}/images/blank_star.gif" onclick="user_rate({$smarty.session.UID},{$user_info.user_id},2)" alt="" />
|
| 68 |
|
<img class="rating" src="{$img_css_url}/images/blank_star.gif" onclick="user_rate({$smarty.session.UID},{$user_info.user_id},3)" alt="" />
|
| 69 |
|
<img class="rating" src="{$img_css_url}/images/blank_star.gif" onclick="user_rate({$smarty.session.UID},{$user_info.user_id},4)" alt="" />
|
| 70 |
|
<img class="rating" src="{$img_css_url}/images/blank_star.gif" onclick="user_rate({$smarty.session.UID},{$user_info.user_id},5)" alt="" />
|
| 71 |
|
</td>
|
| 72 |
|
</tr>
|
| 73 |
|
</table> -->
|
| 74 |
|
Rate Me {insert name=user_rate user_id=$user_info.user_id}
|
|
83 |
<div class="float-r">
|
|
84 |
{if $chkuserflag eq ""}
|
|
85 |
<div style="padding-bottom: 10px">
|
|
86 |
<a href="{$base_url}/signup/">Sign up</a> or
|
|
87 |
<a href="{$base_url}/login/">Log in</a><br /> to add {$user_info.user_name} as a friend.
|
| 75 |
88 |
</div>
|
| 76 |
89 |
{/if}
|
| 77 |
90 |
|
| 78 |
|
{/if}
|
| 79 |
|
|
| 80 |
|
{if $chkuserflag eq ""}
|
| 81 |
|
<div style="padding-bottom: 10px">
|
| 82 |
|
<a href="{$base_url}/signup/">Sign up</a> or
|
| 83 |
|
<a href="{$base_url}/login/">Log in</a> to add {$user_info.user_name} as a friend.
|
| 84 |
|
</div>
|
| 85 |
|
{/if}
|
| 86 |
|
|
| 87 |
|
{if $smarty.session.USERNAME eq $user_info.user_name}
|
| 88 |
|
[ <a class="submenu" href="{$base_url}/{$user_info.user_name}/edit/">Edit Profile</a> ] |
|
| 89 |
|
[ <a class="submenu" href="{$base_url}/user_photo_upload.php">Upload Photo</a> ]<br /><br />
|
| 90 |
|
[ <a class="submenu" href="{$base_url}/privacy/">Privacy Settings</a> ] |
|
| 91 |
|
{if $enable_package eq "yes"}
|
| 92 |
|
[ <a class="submenu" href="{$base_url}/renew_account.php?uid={$user_info.user_id}&action=upgrade">Upgrade Package</a> ] |
|
|
91 |
{if $smarty.session.USERNAME eq $user_info.user_name}
|
|
92 |
[ <a class="submenu" href="{$base_url}/{$user_info.user_name}/edit/">Edit Profile</a> ]<br />
|
|
93 |
[ <a class="submenu" href="{$base_url}/user_photo_upload.php">Upload Photo</a> ]<br />
|
|
94 |
[ <a class="submenu" href="{$base_url}/privacy/">Privacy Settings</a> ]<br />
|
|
95 |
{if $enable_package eq "yes"}
|
|
96 |
[ <a class="submenu" href="{$base_url}/renew_account.php?uid={$user_info.user_id}&action=upgrade">Upgrade Package</a> ]<br />
|
|
97 |
{/if}
|
|
98 |
[ <a class="submenu" href="{$base_url}/user_delete.php">Delete Account</a> ]<br />
|
| 93 |
99 |
{/if}
|
| 94 |
|
[ <a class="submenu" href="{$base_url}/user_delete.php">Delete Account</a> ]<br />
|
| 95 |
|
{/if}
|
| 96 |
|
|
|
100 |
|
|
101 |
<!-- user rating -->
|
|
102 |
|
|
103 |
<script type="text/javascript">
|
|
104 |
var candidate_id = {$user_info.user_id};
|
|
105 |
</script>
|
|
106 |
|
|
107 |
{if $chkuserflag ne "self"}
|
|
108 |
|
|
109 |
{if $chkuserflag eq "guest"}
|
|
110 |
<div id="user_vote_result">
|
|
111 |
Rate Me {insert name=user_rate user_id=$user_info.user_id}
|
|
112 |
</div>
|
|
113 |
{/if}
|
|
114 |
|
|
115 |
{/if}
|
|
116 |
|
|
117 |
</div>
|
|
118 |
|
|
119 |
<div class="clear"></div>
|
|
120 |
|
|
121 |
<div class="user-info">
|
| 97 |
122 |
<!-- user details -->
|
| 98 |
123 |
|
| 99 |
|
<div class="margin-1em">
|
| 100 |
|
|
|
124 |
<div>
|
|
125 |
<p>
|
|
126 |
{if $smarty.session.USERNAME eq $user_info.user_name}
|
|
127 |
{if $enable_package eq "yes"}
|
|
128 |
I have uploaded <b>{$u_info.total_video}</b> videos {if $pack.package_videos gt "0"} out of {$pack.package_videos} videos{/if}.<br />
|
|
129 |
Space I have used <b>{insert name=format_size size=$u_info.used_space}</b> out of {insert name=format_size size=$pack.package_space}<br />
|
|
130 |
{/if}
|
|
131 |
{/if}
|
|
132 |
|
| 101 |
133 |
Videos Watched <b>{$user_info.user_video_viewed}</b> times<br />
|
| 102 |
134 |
Profile viewed <b>{$user_info.user_profile_viewed}</b> times<br />
|
| 103 |
135 |
I've watched <b>{$user_info.user_watched_video}</b> videos<br />
|
| ... | ... | |
| 106 |
138 |
<a href="{$base_url}/{$user_info.user_name}/friends/">
|
| 107 |
139 |
friends
|
| 108 |
140 |
</a>
|
|
141 |
</p>
|
| 109 |
142 |
</div>
|
| 110 |
|
|
| 111 |
|
<div class="user-info">
|
|
143 |
|
|
144 |
<div>
|
| 112 |
145 |
<b>Signed up :</b> {insert name=time_range assign=stime field=user_join_time IDFR=user_id id=$user_info.user_id tbl=users} {$stime}
|
| 113 |
146 |
</div>
|
| 114 |
147 |
|
| 115 |
148 |
{if $user_info.relation ne ""}
|
| 116 |
|
<div class="user-info"><b>Relation :</b> {$user_info.relation}</div>
|
|
149 |
<div><b>Relation :</b> {$user_info.relation}</div>
|
| 117 |
150 |
{/if}
|
| 118 |
151 |
|
| 119 |
152 |
{if $user_info.user_about_me ne ""}
|
| 120 |
|
<div class="user-info"><b>About Me : </b>{$user_info.user_about_me}</div>
|
|
153 |
<div><b>About Me : </b>{$user_info.user_about_me}</div>
|
| 121 |
154 |
{/if}
|
| 122 |
155 |
|
| 123 |
156 |
{if $user_info.user_website ne ""}
|
| 124 |
|
<div class="user-info"><b>Website :</b>
|
|
157 |
<div><b>Website :</b>
|
| 125 |
158 |
<a href="{$user_info.user_website}" target="_blank">{$user_info.user_website}</a>
|
| 126 |
159 |
</div>
|
| 127 |
160 |
{/if}
|
| 128 |
161 |
|
| 129 |
162 |
{if $user_info.user_zip ne ""}
|
| 130 |
|
<div class="user-info">
|
|
163 |
<div>
|
| 131 |
164 |
<b>Country ZIP : </b>{$user_info.user_zip}
|
| 132 |
165 |
</div>
|
| 133 |
166 |
{/if}
|
| 134 |
167 |
|
| 135 |
168 |
{if $user_info.user_occupation ne ""}
|
| 136 |
|
<div class="user-info">
|
|
169 |
<div>
|
| 137 |
170 |
<b>Occupation : </b>{$user_info.user_occupation}
|
| 138 |
171 |
</div>
|
| 139 |
172 |
{/if}
|
| 140 |
173 |
|
| 141 |
174 |
{if $user_info.user_company ne ""}
|
| 142 |
|
<div class="user-info">
|
|
175 |
<div>
|
| 143 |
176 |
<b>Companies : </b>{$user_info.user_company}
|
| 144 |
177 |
</div>
|
| 145 |
178 |
{/if}
|
| 146 |
179 |
|
| 147 |
180 |
{if $user_info.user_school ne ""}
|
| 148 |
|
<div class="user-info">
|
|
181 |
<div>
|
| 149 |
182 |
<b>Schools : </b>{$user_info.user_school}
|
| 150 |
183 |
</div>
|
| 151 |
184 |
{/if}
|
| 152 |
185 |
|
| 153 |
186 |
{if $user_info.user_interest_hobby ne ""}
|
| 154 |
|
<div class="user-info">
|
|
187 |
<div>
|
| 155 |
188 |
<b>Interests & Hobbies : </b>{$user_info.user_interest_hobby}
|
| 156 |
189 |
</div>
|
| 157 |
190 |
{/if}
|
| 158 |
191 |
|
| 159 |
192 |
{if $user_info.user_fav_movie_show ne ""}
|
| 160 |
|
<div class="user-info">
|
|
193 |
<div>
|
| 161 |
194 |
<b>Favourite Movies & Shows : </b>
|
| 162 |
195 |
{$user_info.user_fav_movie_show}
|
| 163 |
196 |
</div>
|
| 164 |
197 |
{/if}
|
| 165 |
198 |
|
| 166 |
199 |
{if $user_info.user_fav_music ne ""}
|
| 167 |
|
<div class="user-info">
|
|
200 |
<div>
|
| 168 |
201 |
Favourite Music : </b> {$user_info.user_fav_music}
|
| 169 |
202 |
</div>
|
| 170 |
203 |
{/if}
|
| 171 |
204 |
|
| 172 |
205 |
{if $user_info.user_fav_book ne ""}
|
| 173 |
|
<div class="user-info">
|
|
206 |
<div>
|
| 174 |
207 |
<b>Favourite Books : </b>{$user_info.user_fav_book}
|
| 175 |
208 |
</div>
|
| 176 |
209 |
{/if}
|
| 177 |
210 |
|
| 178 |
211 |
{if $user_info.user_friends_name ne ""}
|
| 179 |
|
<div class="user-info">
|
|
212 |
<div>
|
| 180 |
213 |
<b>Friends : </b> {$user_info.user_friends_name}
|
| 181 |
214 |
</div>
|
| 182 |
215 |
{/if}
|
| 183 |
|
|
| 184 |
|
</div> <!-- section end-->
|
| 185 |
|
|
| 186 |
|
<div class="section bg2 clearfix">
|
| 187 |
|
|
| 188 |
|
<div class="hd">
|
| 189 |
|
<div class="hd-l">Connect with {$user_info.user_name}</div>
|
| 190 |
216 |
</div>
|
| 191 |
|
|
| 192 |
|
<div class="margin-1em">
|
| 193 |
|
|
| 194 |
|
<div class="float-l">
|
| 195 |
|
<a href="{$base_url}/{$user_info.user_name}"><img src="{$photo_url}" width="80" height="80" alt="{$user_info.user_name}" /></a>
|
| 196 |
|
</div>
|
| 197 |
|
|
| 198 |
|
<div class="float-r">
|
| 199 |
|
{if $allow_comment eq '1'}
|
| 200 |
|
<a href="#profile-comments">
|
| 201 |
|
<img src="{$base_url}/templates/images/add-comment.gif" alt="add comments" width="20" height="17">Add Comments
|
| 202 |
|
</a>
|
| 203 |
|
{/if}
|
| 204 |
|
<br />
|
| 205 |
|
|
| 206 |
|
{if $is_friend ne "yes"}
|
| 207 |
|
{if $allow_friend eq '1'}
|
| 208 |
|
<a href="{$base_url}/invite_friends.php?UID={$user_info.user_id}">
|
| 209 |
|
<img src="{$base_url}/templates/images/add-friends.gif" alt="add friends" width="20" height="17"/>Add as Friend
|
| 210 |
|
</a>
|
| 211 |
|
{/if}
|
| 212 |
|
<br />
|
| 213 |
|
{/if}
|
| 214 |
|
|
| 215 |
|
{if $allow_private_message eq '1'}
|
| 216 |
|
<a href="compose.php?receiver={$user_info.user_name}">
|
| 217 |
|
<img src="{$base_url}/templates/images/send-message.gif" width="20" height="17" alt="send message"/>Send Messages
|
| 218 |
|
</a>
|
| 219 |
|
{/if}
|
| 220 |
|
<br />
|
| 221 |
|
<br />
|
| 222 |
|
<!-- AddThis Button BEGIN -->
|
| 223 |
|
<script type="text/javascript">var addthis_pub="buyscripts";</script>
|
| 224 |
|
<a href="http://www.addthis.com/bookmark.php?v=20" onmouseover="return addthis_open(this, '', '[URL]', '[TITLE]')" onmouseout="addthis_close()" onclick="return addthis_sendto()"><img src="http://s7.addthis.com/static/btn/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/200/addthis_widget.js"></script>
|
| 225 |
|
<!-- AddThis Button END -->
|
| 226 |
|
</div>
|
| 227 |
|
|
| 228 |
|
<div class="clear"></div>
|
| 229 |
|
|
| 230 |
|
<b>
|
| 231 |
|
{$user_info.user_name}'s Profile Url:<br /><br />
|
| 232 |
|
<a href="{$base_url}/{$user_info.user_name}">{$base_url}/{$user_info.user_name}</a>
|
| 233 |
|
</b>
|
| 234 |
|
</div>
|
| 235 |
|
|
| 236 |
|
</div>
|
| 237 |
|
|
| 238 |
|
<div class="section bg2 clearfix">
|
|
217 |
</fieldset> <!-- section end-->
|
| 239 |
218 |
|
| 240 |
|
<div class="hd">
|
| 241 |
|
<div class="hd-l">{$user_info.user_name}'s Groups</div>
|
| 242 |
|
<div class="hd-r"><a href="{$base_url}/{$user_info.user_name}/groups/">More</a></div>
|
| 243 |
|
</div>
|
| 244 |
|
|
|
219 |
<fieldset>
|
|
220 |
|
|
221 |
<legend><u>Groups [<a href="{$base_url}/{$user_info.user_name}/groups/">See all</a>]</u></legend>
|
|
222 |
|
| 245 |
223 |
<ul id="user-groups">
|
| 246 |
224 |
{section name=i loop=$groups start=0 max=6}
|
| 247 |
225 |
{insert name=group_image assign=group_image_info gid=$groups[i].group_id tbl=group_videos}
|
| ... | ... | |
| 249 |
227 |
<li>
|
| 250 |
228 |
<a href="{$base_url}/group/{$groups[i].group_url}/">
|
| 251 |
229 |
{if $group_image_info eq "0"}
|
| 252 |
|
<img class="preview" src="{$img_css_url}/images/no_videos_groups.gif" width="70px" height="50" alt="" />
|
|
230 |
<img class="preview" width="80px" height="60px" src="{$img_css_url}/images/no_videos_groups.gif" alt="" />
|
| 253 |
231 |
{else}
|
| 254 |
|
<img class="preview" width="70px" height="50" alt="" src="{$group_image_info.video_thumb_url}/thumb/{$group_image_info.video_folder}1_{$group_image_info.video_id}.jpg" alt="" />
|
|
232 |
<img class="preview" width="80px" height="60px" src="{$group_image_info.video_thumb_url}/thumb/{$group_image_info.video_folder}1_{$group_image_info.video_id}.jpg" alt="" />
|
| 255 |
233 |
{/if}
|
| 256 |
234 |
</a>
|
| 257 |
235 |
<a href="{$base_url}/group/{$groups[i].group_url}/">
|
| 258 |
|
{$groups[i].group_name}
|
|
236 |
{$groups[i].group_name|truncate:15:'...'}
|
| 259 |
237 |
</a><br />
|
| 260 |
238 |
{insert name=row_count assign=num_group_members group_id=$groups[i].group_id table=group_members field1=group_member_group_id field2=group_member_approved}
|
| 261 |
239 |
{insert name=group_info_count assign=num_group_videos tbl=group_videos gid=$groups[i].group_id query="1" field1=group_video_approved field2=group_video_group_id}
|
| ... | ... | |
| 285 |
263 |
|
| 286 |
264 |
{/section}
|
| 287 |
265 |
</ul>
|
| 288 |
|
</div><!-- user group end-->
|
|
266 |
</fieldset><!-- user group end-->
|
| 289 |
267 |
|
| 290 |
268 |
</div> <!-- box1 end-->
|
| 291 |
269 |
|
| 292 |
270 |
<div class="box2">
|
| 293 |
|
<!-- NEW VIDEOS START -->
|
| 294 |
|
{if $new_video_total gt "0"}
|
| 295 |
|
|
| 296 |
|
<div class="section bg2 clearfix">
|
| 297 |
|
<div class="hd">
|
| 298 |
|
<div class="hd-l">New Videos</div>
|
| 299 |
|
<div class="hd-r">
|
| 300 |
|
<a href="{$base_url}/{$user_info.user_name}/public/">More Videos</a>
|
| 301 |
|
</div>
|
| 302 |
|
</div>
|
| 303 |
|
<br />
|
|
271 |
|
|
272 |
<!-- NEW VIDEOS START -->
|
|
273 |
{if $new_video_total gt "0"}
|
|
274 |
<fieldset>
|
|
275 |
<legend><u>New Videos [<a class="" href="{$base_url}/{$user_info.user_name}/public/">See all</a>]</u></legend>
|
|
276 |
|
| 304 |
277 |
<ul id="user-video">
|
| 305 |
|
{section name=i loop=$new_video start=0 max=4}
|
| 306 |
|
<li>
|
| 307 |
|
<a href="{$base_url}/view/{$new_video[i].video_id}/{$new_video[i].video_seo_name}/">
|
| 308 |
|
<img class="preview" src="{$new_video[i].video_thumb_url}/thumb/{$new_video[i].video_folder}1_{$new_video[i].video_id}.jpg"
|
| 309 |
|
width="120" height="90" alt="{$new_videos[i].video_title}" /><br />
|
| 310 |
|
{$new_video[i].video_title|truncate:25:'...'}
|
| 311 |
|
</a>
|
| 312 |
|
<br />
|
| 313 |
|
</li>
|
|
278 |
{section name=i loop=$new_video start=0 max=8}
|
|
279 |
<li>
|
|
280 |
<a href="{$base_url}/view/{$new_video[i].video_id}/{$new_video[i].video_seo_name}/">
|
|
281 |
<img class="preview" src="{$new_video[i].video_thumb_url}/thumb/{$new_video[i].video_folder}1_{$new_video[i].video_id}.jpg" width="120" height="90" alt="{$new_videos[i].video_title}" /><br />
|
|
282 |
</a>
|
|
283 |
<div>
|
|
284 |
<a href="{$base_url}/view/{$new_video[i].video_id}/{$new_video[i].video_seo_name}/">
|
|
285 |
{$new_video[i].video_title|truncate:25:'...'}
|
|
286 |
</a>
|
|
287 |
</div>
|
|
288 |
<div>Time: {$new_video[i].video_length|truncate:5:''} | Views: {$new_video[i].video_view_number}</div>
|
|
289 |
<div>Comments: {$new_video[i].video_com_num}</div>
|
|
290 |
<div class="show-rating">{insert name=show_rate assign=rate rte=$new_video[i].video_rate rated=$new_video[i].video_rated_by}{$rate}</div>
|
|
291 |
</li>
|
| 314 |
292 |
{/section}
|
| 315 |
293 |
</ul>
|
| 316 |
|
</div> <!-- NEW VIDEOS ENDS -->
|
| 317 |
|
|
| 318 |
|
<div class="section bg2 clearfix">
|
| 319 |
|
<div class="hd">
|
| 320 |
|
<div class="hd-l">Popular Videos</div>
|
| 321 |
|
<div class="hd-r">
|
| 322 |
|
<a href="{$base_url}/{$user_info.user_name}/public/">More Videos</a>
|
| 323 |
|
</div>
|
| 324 |
|
</div>
|
| 325 |
|
<br />
|
| 326 |
|
<ul id="user-video">
|
| 327 |
|
{section name=i loop=$popular start=0 max=4}
|
| 328 |
|
<li>
|
| 329 |
|
<a href="{$base_url}/view/{$popular[i].video_id}/{$popular[i].video_seo_name}/">
|
| 330 |
|
<img class="preview" src="{$popular[i].video_thumb_url}/thumb/{$popular[i].video_folder}1_{$popular[i].video_id}.jpg" width="120" height="90" alt="{$popular[i].video_title}" /><br />
|
| 331 |
|
{$popular[i].video_title|truncate:25:'...'}
|
| 332 |
|
</a>
|
| 333 |
|
</li>
|
| 334 |
|
{/section}
|
| 335 |
|
</ul>
|
| 336 |
|
</div>
|
| 337 |
|
|
|
294 |
|
|
295 |
</fieldset> <!-- NEW VIDEOS ENDS -->
|
| 338 |
296 |
{/if}
|
| 339 |
297 |
|
| 340 |
298 |
<!-- user friends -->
|
| 341 |
|
|
| 342 |
|
<div class="section bg2 clearfix">
|
| 343 |
|
|
| 344 |
|
<div class="hd">
|
| 345 |
|
<div class="hd-l">New Friends</div>
|
| 346 |
|
<div class="hd-r">
|
| 347 |
|
<a href="{$base_url}/{$user_info.user_name}/friends/">More Friends</a>
|
| 348 |
|
</div>
|
| 349 |
|
</div>
|
| 350 |
|
<br />
|
| 351 |
|
|
| 352 |
|
<ul id="user-friend">
|
| 353 |
|
{section name=i loop=$user_friends start=0 max=4}
|
| 354 |
|
<li>
|
| 355 |
|
<a href="{$base_url}/{$user_friends[i].friend_name}">
|
| 356 |
|
{insert name=member_img UID=$user_friends[i].friend_friend_id}<br />
|
| 357 |
|
{$user_friends[i].friend_name|truncate:25:'...'}
|
| 358 |
|
</a>
|
| 359 |
|
</li>
|
| 360 |
|
{/section}
|
| 361 |
|
</ul>
|
| 362 |
|
</div>
|
|
299 |
{if $user_friends|@count gt "0"}
|
|
300 |
<fieldset>
|
|
301 |
<legend><u>New Friends [<a href="{$base_url}/{$user_info.user_name}/friends/">See all</a>]</u></legend>
|
|
302 |
|
|
303 |
<ul id="user-friend">
|
|
304 |
{section name=i loop=$user_friends start=0 max=18}
|
|
305 |
<li>
|
|
306 |
<a href="{$base_url}/{$user_friends[i].friend_name}">
|
|
307 |
{insert name=member_img UID=$user_friends[i].friend_friend_id}<br />
|
|
308 |
{$user_friends[i].friend_name|truncate:25:'...'}
|
|
309 |
</a>
|
|
310 |
<br />
|
|
311 |
{insert name=video_count assign=videos uid=$user_friends[i].friend_friend_id type=public}
|
|
312 |
videos: {$videos}
|
|
313 |
</li>
|
|
314 |
{/section}
|
|
315 |
</ul>
|
|
316 |
|
|
317 |
</fieldset>
|
|
318 |
{/if}
|
| 363 |
319 |
|
| 364 |
320 |
<!-- comment start -->
|
| 365 |
321 |
|
| 366 |
|
<div class="section bg2">
|
|
322 |
<fieldset>
|
| 367 |
323 |
|
| 368 |
|
<div class="hd">
|
| 369 |
|
<div class="hd-l"><a name="profile-comments">Profile Comments</a></div>
|
| 370 |
|
</div>
|
|
324 |
<legend><u><a name="profile-comments">Profile Comments</a></u></legend>
|
| 371 |
325 |
|
| 372 |
326 |
<div id="comment_box" align="center">
|
| 373 |
|
{if $allow_comment eq 1}
|
|
327 |
{if $allow_comment eq 1}
|
| 374 |
328 |
<form name="comment_form" action="" method="post">
|
| 375 |
329 |
<textarea name="user_comment" rows="3" cols="40" id="user_comment"></textarea> <br />
|
| 376 |
330 |
<input type="button" value="Add Comment" name="submit"
|
| 377 |
331 |
onclick="post_profile_comment({$user_info.user_id})" />
|
| 378 |
332 |
</form>
|
| 379 |
|
{/if}
|
|
333 |
{/if}
|
| 380 |
334 |
</div>
|
| 381 |
335 |
|
| 382 |
336 |
<div id="comm_result"></div>
|
| 383 |
337 |
|
| 384 |
338 |
<div id="user_comment_display"></div>
|
| 385 |
339 |
|
| 386 |
|
</div>
|
|
340 |
</fieldset>
|
| 387 |
341 |
|
| 388 |
342 |
</div> <!-- box2 ends-->
|
| 389 |
343 |
|