92 lines
2.6 KiB
Smarty
92 lines
2.6 KiB
Smarty
{include file='header.tpl'}
|
|
{literal}<script type="text/javascript">
|
|
function changecheck(){
|
|
|
|
if (jQuery('#privacy_35').is(':checked')) {
|
|
jQuery('#friendtypes').show();
|
|
} else {
|
|
jQuery('#friendtypes').hide();
|
|
}
|
|
}
|
|
</script>{/literal}
|
|
{* $Id: user_album_add.tpl 2 2009-01-10 20:53:09Z john $ *}
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
|
<tr>
|
|
<td valign='top'>
|
|
|
|
<!--<img src='./images/icons/album_image48.gif' border='0' class='icon_big'>-->
|
|
<div class='page_header'><span style="font-size:20pt; font-weight:bold; text-transform:uppercase;">Create New Video Album</span></div>
|
|
|
|
|
|
</td>
|
|
<td valign='top' align='right'>
|
|
|
|
<table cellpadding='0' cellspacing='0' width='130'>
|
|
<tr><td class='button' nowrap='nowrap'><a href='user_album.php'><!--<img src='./images/icons/back16.gif' border='0' class='button'>-->{lang_print id=1000097}</a></td></tr>
|
|
</table>
|
|
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
<br>
|
|
|
|
{* SHOW ERROR MESSAGE *}
|
|
{if $is_error != 0}
|
|
<div class='error'><img src='./images/error.gif' class='icon' border='0'> {lang_print id=$is_error}</div><br>
|
|
{/if}
|
|
|
|
{* SHOW ERROR IF MAX ALBUMS REACHED *}
|
|
{if $total_albums >= $user->level_info.level_album_maxnum}
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td class='result'>
|
|
<img src='./images/error.gif' class='icon' border='0'> {lang_sprintf id=1000075 1=$user->level_info.level_album_maxnum}
|
|
</td></tr></table>
|
|
<br>
|
|
<form action='user_album.php' method='get'>
|
|
<input type='submit' class='button' value='{lang_print id=1000076}'>
|
|
</form>
|
|
|
|
{* DISPLAY ALBUM CREATION PAGE *}
|
|
{else}
|
|
|
|
<form action='video_album_add.php' method='POST'>
|
|
<b>{lang_print id=1000077}</b><br>
|
|
<input name='album_title' type='text' class='form-control' maxlength='50' size='30' value='{$album_title}'>
|
|
|
|
<br><br>
|
|
|
|
<b>{lang_print id=1000078}</b><br>
|
|
<textarea name='album_desc' rows='6' cols='50' class='form-control'>{$album_desc}</textarea>
|
|
|
|
<br>
|
|
|
|
|
|
<input type='hidden' name='album_search' id='album_search_1' value='1'>
|
|
<input type="hidden" name="video_privacy" id="privacy_31" value="31">
|
|
<input type="hidden" name="video_comments" id="comments_31" value="31">
|
|
{* SHOW PRIVACY OPTIONS IF ALLOWED BY ADMIN *}
|
|
|
|
|
|
|
|
|
|
<br>
|
|
<table cellpadding='0' cellspacing='0'>
|
|
<tr>
|
|
<td>
|
|
<input type='submit' class='button' value='{lang_print id=1000084}'>
|
|
<input type='hidden' name='task' value='doadd'>
|
|
</form>
|
|
</td>
|
|
<td>
|
|
<form action='user_album.php' method='GET'>
|
|
<input type='submit' class='button' value='{lang_print id=39}'>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
{/if}
|
|
|
|
{include file='footer.tpl'} |