Files
Testing/templates/user_account.tpl

302 lines
18 KiB
Smarty
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
{include file='header.tpl'}
{* $Id: user_account.tpl 8 2009-01-11 06:02:53Z john $ *}
<ul class="nav nav-tabs hidden-xs hidden-sm visible-md visible-lg form-tabs" style="border-bottom:2px solid black;">
<li role="presentation" class="active"><a href="user_account.php" class="jquerycss">Settings</a></li>
<li role="presentation"><a href="user_account_privacy.php" class="jquerycss">Privacy</a></li>
<li role="presentation" ><a href="user_account_pass.php" class="jquerycss">Change Password</a></li>
<li role="presentation" ><a href="user_account_delete.php" class="jquerycss">Deactivate Account</a></li>
</ul>
<div class="visible-xs visible-sm hidden-md hidden-lg">Select Tab:<br>
<select class="mb10 form-control form-custom visible-xs visible-sm hidden-md hidden-lg tabdropdown" id="tab_selector" onchange="window.location.href=this.value">
<option value="user_account.php" selected="selected">Settings</option>
<option value="user_account_privacy.php">Privacy</option>
<option value="user_account_pass.php">Change Password</option>
<option value="user_account_delete.php" >Deactivate Account</option>
</select>
</div>
<br>
<!--<img src='./images/icons/settings48.gif' border='0' class='icon_big'>-->
<div class='page_header'><span style="font-size:20pt; font-weight:bold;text-transform:uppercase;">{lang_print id=755}</span></div>
<br />
<br />
{* SHOW ERROR OR SUCCESS MESSAGES *}
{if $result != 0}
<table cellpadding='0' cellspacing='0'><tr><td class='success red' style="color:red;">
{capture assign="old_subnet_name"}{lang_print id=$old_subnet_name}{/capture}
{capture assign="new_subnet_name"}{lang_print id=$new_subnet_name}{/capture}
<img src='./images/success.gif' border='0' class='icon'>{lang_sprintf id=$result 1=$old_subnet_name 2=$new_subnet_name}
</td></tr></table>
{elseif $is_error != 0}
<table cellpadding='0' cellspacing='0'>
<tr><td class='error'><img src='./images/error.gif' border='0' class='icon'>{lang_print id=$is_error}</td></tr>
</table>
{/if}
<form action='user_account.php' method='post' name='info'>
<tr>
<div>{lang_print id=616}:</div>
<div>
<td class='form2'>{$emailaddress} <a href="javascript:void(0);" onclick="jQuery('#hiddenemail').removeClass('hidden');">Change</a>
<div class="hidden" id="hiddenemail"><input name='user_email' type='text' class='text' size='40' maxlength='70' value=''></div>
{if $user->user_info.user_email != $user->user_info.user_newemail && $user->user_info.user_newemail != "" && $setting.setting_signup_verify != 0}<div class='form_desc'>{lang_sprintf id=818 1=$user->user_info.user_newemail}</div>{/if}
</div><br>
{if $user->level_info.level_profile_change != 0 && $setting.setting_username}
<div>{lang_print id=28}:</div>
<div>
<input name='user_username' type='text' class='text' size='40' maxlength='50' value='{$user->user_info.user_username}'>
{capture assign=tip}{lang_print id=809}{/capture}
<!--<img src='./images/icons/tip.gif' border='0' class='Tips1' title='{$tip|replace:"'":"&#039;"}'>-->
<div class='form_desc'>{lang_print id=810}</div>
</div><br>
{/if}
{if $cats|@count > 1}
<div>{lang_print id=709}:</div>
<div>
<select name='user_profilecat_id'>
{section name=cat_loop loop=$cats}
<option value='{$cats[cat_loop].cat_id}'{if $user->user_info.user_profilecat_id == $cats[cat_loop].cat_id} selected='selected'{/if}>{lang_print id=$cats[cat_loop].cat_title}</option>
{/section}
</select>
<div class='form_desc'>{lang_print id=1014}</div>
</div><br>
{/if}
<div>{lang_print id=206}:</div>
<div>
<select name='user_timezone'>
<option value='-8'{if $user->user_info.user_timezone == "-8"} SELECTED{/if}>Pacific Time (US & Canada)</option>
<option value='-7'{if $user->user_info.user_timezone == "-7"} SELECTED{/if}>Mountain Time (US & Canada)</option>
<option value='-6'{if $user->user_info.user_timezone == "-6"} SELECTED{/if}>Central Time (US & Canada)</option>
<option value='-5'{if $user->user_info.user_timezone == "-5"} SELECTED{/if}>Eastern Time (US & Canada)</option>
<option value='-4'{if $user->user_info.user_timezone == "-4"} SELECTED{/if}>Atlantic Time (Canada)</option>
<option value='-9'{if $user->user_info.user_timezone == "-9"} SELECTED{/if}>Alaska (US & Canada)</option>
<option value='-10'{if $user->user_info.user_timezone == "-10"} SELECTED{/if}>Hawaii (US)</option>
<option value='-11'{if $user->user_info.user_timezone == "-11"} SELECTED{/if}>Midway Island, Samoa</option>
<option value='-12'{if $user->user_info.user_timezone == "-12"} SELECTED{/if}>Eniwetok, Kwajalein</option>
<option value='-3.3'{if $user->user_info.user_timezone == "-3.3"} SELECTED{/if}>Newfoundland</option>
<option value='-3'{if $user->user_info.user_timezone == "-3"} SELECTED{/if}>Brasilia, Buenos Aires, Georgetown</option>
<option value='-2'{if $user->user_info.user_timezone == "-2"} SELECTED{/if}>Mid-Atlantic</option>
<option value='-1'{if $user->user_info.user_timezone == "-1"} SELECTED{/if}>Azores, Cape Verde Is.</option>
<option value='0'{if $user->user_info.user_timezone == "0"} SELECTED{/if}>Greenwich Mean Time (Lisbon, London)</option>
<option value='1'{if $user->user_info.user_timezone == "1"} SELECTED{/if}>Amsterdam, Berlin, Paris, Rome, Madrid</option>
<option value='2'{if $user->user_info.user_timezone == "2"} SELECTED{/if}>Athens, Helsinki, Istanbul, Cairo, E. Europe</option>
<option value='3'{if $user->user_info.user_timezone == "3"} SELECTED{/if}>Baghdad, Kuwait, Nairobi, Moscow</option>
<option value='3.3'{if $user->user_info.user_timezone == "3.3"} SELECTED{/if}>Tehran</option>
<option value='4'{if $user->user_info.user_timezone == "4"} SELECTED{/if}>Abu Dhabi, Kazan, Muscat</option>
<option value='4.3'{if $user->user_info.user_timezone == "4.3"} SELECTED{/if}>Kabul</option>
<option value='5'{if $user->user_info.user_timezone == "5"} SELECTED{/if}>Islamabad, Karachi, Tashkent</option>
<option value='5.5'{if $user->user_info.user_timezone == "5.5"} SELECTED{/if}>Bombay, Calcutta, New Delhi</option>
<option value='6'{if $user->user_info.user_timezone == "6"} SELECTED{/if}>Almaty, Dhaka</option>
<option value='7'{if $user->user_info.user_timezone == "7"} SELECTED{/if}>Bangkok, Jakarta, Hanoi</option>
<option value='8'{if $user->user_info.user_timezone == "8"} SELECTED{/if}>Beijing, Hong Kong, Singapore, Taipei</option>
<option value='9'{if $user->user_info.user_timezone == "9"} SELECTED{/if}>Tokyo, Osaka, Sapporto, Seoul, Yakutsk</option>
<option value='9.3'{if $user->user_info.user_timezone == "9.3"} SELECTED{/if}>Adelaide, Darwin</option>
<option value='10'{if $user->user_info.user_timezone == "10"} SELECTED{/if}>Brisbane, Melbourne, Sydney, Guam</option>
<option value='11'{if $user->user_info.user_timezone == "11"} SELECTED{/if}>Magadan, Soloman Is., New Caledonia</option>
<option value='12'{if $user->user_info.user_timezone == "12"} SELECTED{/if}>Fiji, Kamchatka, Marshall Is., Wellington</option>
</select>
</div>
<br>
{* SHOW NOTIFICATION SETTINGS *}
{if $notifytypes|@count != 0}
<div><strong>{lang_print id=959}:</strong></div>
<div>
<div style='padding: 3px 0px 5px 0px;'>{lang_print id=960}</div>
<table cellpadding='0' cellspacing='0'>
{section name=notifytype_loop loop=$notifytypes}{if $notifytypes[notifytype_loop].notifytype_name!="newtag" && $notifytypes[notifytype_loop].notifytype_name!="mediatag" && $notifytypes[notifytype_loop].notifytype_name!="newgrouptag" && $notifytypes[notifytype_loop].notifytype_name!="groupmediatag" && $notifytypes[notifytype_loop].notifytype_name!="eventmediatag"&& $notifytypes[notifytype_loop].notifytype_name!="neweventtag" && $notifytypes[notifytype_loop].notifytype_name!="classifiedcomment"}
{capture assign="usersetting_col"}usersetting_notify_{$notifytypes[notifytype_loop].notifytype_name}{/capture}
<tr>
<td><input type='checkbox' name='notifications[{$notifytypes[notifytype_loop].notifytype_name}]' id='{$usersetting_col}' value='1'{if $user->usersetting_info.$usersetting_col == 1} checked='checked'{/if}></td>
<td><label for='{$usersetting_col}'>{lang_print id=$notifytypes[notifytype_loop].notifytype_title}</label></td>
</tr>{/if}
{/section}
<tr>
<td><input type='checkbox' name='notifications[birthday]' id='birthdayemail' value='1'{if $user->usersetting_info.usersetting_notify_birthday == 1} checked='checked'{/if}></td>
<td><label for='birthdayemail'>When it's my birthday</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifications[7daynotice]' id='premium7' value='1'{if $user->usersetting_info.usersetting_notify_7daynotice == 1} checked='checked'{/if}></td>
<td><label for='premium7'>When my premium membership is set to expire within 7 days</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifications[2daynotice]' id='premium2' value='1'{if $user->usersetting_info.usersetting_notify_2daynotice == 1} checked='checked'{/if}></td>
<td><label for='premium2'>When my premium membership is set to expire within 2 days</label></td>
</tr>
</table>
</div><br>
{/if}
{*<div>Music: </div>
<div>
<div><b>{lang_print id=4000059}</b></div>
<table cellpadding='0' cellspacing='0'>
<tr>
<td><input type='radio' name='site_autoplay' id='site_autoplay1' value='1' {if $site_autoplay}checked{/if}></td>
<td><label for='site_autoplay1'>{lang_print id=4000060}</label></td>
</tr>
<tr>
<td><input type='radio' name='site_autoplay' id='site_autoplay0' value='0' {if !$site_autoplay}checked{/if}></td>
<td><label for='site_autoplay0'>{lang_print id=4000061}</label></td>
</tr>
</table>
</div>
<br>*}
<div><strong>Website Notifications:</strong></div>
<div>
<div style='padding: 3px 0px 5px 0px;'>Which of the following things do you want to receive website notifications for?
</div>
<table cellpadding='0' cellspacing='0'>
<tr>
<td><input type='checkbox' name='notifys[notify_friendrequest]' id='notify_friendrequest' value='1' {if $user->usersetting_info.notify_friendrequest == 1} checked='checked'{/if}></td>
<td><label for='notify_friendrequest'>When I get a friend request</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_message]' id='notify_message' value='1' {if $user->usersetting_info.notify_message == 1} checked='checked'{/if}></td>
<td><label for='notify_message'>When I receive a message
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_profilecomment]' id='notify_profilecomment' value='1' {if $user->usersetting_info.notify_profilecomment == 1} checked='checked'{/if}></td>
<td><label for='notify_profilecomment'>When I receive a profile comment
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_pollcomment]' id='notify_pollcomment' value='1' {if $user->usersetting_info.notify_pollcomment == 1} checked='checked'{/if}></td>
<td><label for='notify_pollcomment'>When I receive new poll comments</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_mediacomment]' id='notify_mediacomment' value='1' {if $user->usersetting_info.notify_mediacomment == 1} checked='checked'{/if}></td>
<td><label for='notify_mediacomment'>When I receive a new photo comment.</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_eventcomment]' id='notify_eventcomment' value='1' {if $user->usersetting_info.notify_eventcomment == 1} checked='checked'{/if}></td>
<td><label for='notify_eventcomment'>When a new comment is posted on an event I created.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_eventmediacomment]' id='notify_eventmediacomment' value='1' {if $user->usersetting_info.notify_eventmediacomment == 1} checked='checked'{/if}></td>
<td><label for='notify_eventmediacomment'>When a new comment is posted on a photo in an event I created.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_eventinvite]' id='notify_eventinvite' value='1' {if $user->usersetting_info.notify_eventinvite == 1} checked='checked'{/if}></td>
<td><label for='notify_eventinvite'>When I receive an event invitation.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_eventmemberrequest]' id='notify_eventmemberrequest' value='1' {if $user->usersetting_info.notify_eventmemberrequest == 1} checked='checked'{/if}></td>
<td><label for='notify_eventmemberrequest'>When I receive an invitation request for an event I created.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_videocomment]' id='notify_videocomment' value='1' {if $user->usersetting_info.notify_videocomment == 1} checked='checked'{/if}></td>
<td><label for='notify_videocomment'>When a new comment is posted one of my videos.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupcomment]' id='notify_groupcomment' value='1' {if $user->usersetting_info.notify_groupcomment == 1} checked='checked'{/if}></td>
<td><label for='notify_groupcomment'>When a new comment is posted on a group I lead.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupmediacomment]' id='notify_groupmediacomment' value='1' {if $user->usersetting_info.notify_groupmediacomment == 1} checked='checked'{/if}></td>
<td><label for='notify_groupmediacomment'>When a new comment is posted on a photo in a group I lead.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupinvite]' id='notify_groupinvite' value='1' {if $user->usersetting_info.notify_groupinvite == 1} checked='checked'{/if}></td>
<td><label for='notify_groupinvite'>When I receive a group invitation.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupmemberrequest]' id='notify_groupmemberrequest' value='1' {if $user->usersetting_info.notify_groupmemberrequest == 1} checked='checked'{/if}></td>
<td><label for='notify_groupmemberrequest'>When I receive an invitation request for a group I created.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_grouppost]' id='notify_grouppost' value='1' {if $user->usersetting_info.notify_grouppost == 1} checked='checked'{/if}></td>
<td><label for='notify_grouppost'>When someone posts in a discussion topic in a group I lead.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_blogcomment]' id='notify_blogcomment' value='1' {if $user->usersetting_info.notify_blogcomment == 1} checked='checked'{/if}></td>
<td><label for='notify_blogcomment'>When a comment is posted on one of my blog entries.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_newblogsubscriptionentry]' id='notify_newblogsubscriptionentry' value='1' {if $user->usersetting_info.notify_newblogsubscriptionentry == 1} checked='checked'{/if}></td>
<td><label for='notify_newblogsubscriptionentry'>When an entry is posted in a blog I have subscribed to.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_forumreply]' id='notify_forumreply' value='1' {if $user->usersetting_info.notify_forumreply == 1} checked='checked'{/if}></td>
<td><label for='notify_forumreply'>When someone posts in a forum topic I created.
</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_likedmedia]' id='notify_likedmedia' value='1' {if $user->usersetting_info.notify_likedmedia == 1} checked='checked'{/if}></td>
<td><label for='notify_likedmedia'>When someone likes one of my photos</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_likedvideo]' id='notify_likedvideo' value='1' {if $user->usersetting_info.notify_likedvideo == 1} checked='checked'{/if}></td>
<td><label for='notify_likedvideo'>When someone likes one of my videos</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_phototag]' id='notify_phototag' value='1' {if $user->usersetting_info.notify_phototag == 1} checked='checked'{/if}></td>
<td><label for='notify_phototag'>When someone tags me in a photo</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupphototag]' id='notify_groupphototag' value='1' {if $user->usersetting_info.notify_groupphototag == 1} checked='checked'{/if}></td>
<td><label for='notify_groupphototag'>When someone tags me in a group photo</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_eventphototag]' id='notify_eventphototag' value='1' {if $user->usersetting_info.notify_eventphototag == 1} checked='checked'{/if}></td>
<td><label for='notify_eventphototag'>When someone tags me in a event photo</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_videotag]' id='notify_videotag' value='1' {if $user->usersetting_info.notify_videotag == 1} checked='checked'{/if}></td>
<td><label for='notify_videotag'>When someone tags me in a video</label></td>
</tr>
<tr>
<td><input type='checkbox' name='notifys[notify_groupvideotag]' id='notify_groupvideotag' value='1' {if $user->usersetting_info.notify_groupvideotag == 1} checked='checked'{/if}></td>
<td><label for='notify_groupvideotag'>When someone tags me in a group video</label></td>
</tr>
</table>
</div><br>
<br>
<input type='submit' class='button' value='{lang_print id=173}'>
<input type='hidden' name='task' value='dosave'>
</form>
{include file='footer.tpl'}