839 lines
20 KiB
Smarty
839 lines
20 KiB
Smarty
{include file='admin_header.tpl'}
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="../templates/styles_forum.css" title="stylesheet" type="text/css" />
|
|
|
|
|
|
|
|
{literal}<style>
|
|
|
|
|
|
|
|
td.forum_list0, td.forum_list1, td.forum_cat, .forum_list_photo, td.forum_list_photo, td.forum_topic_right,td.forum_topic_left, div.forum_topic_wrapper1, div.forum_topic_wrapper2{background:none;}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</style>
|
|
|
|
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
<div class='page_header'><a href='forum.php'>{lang_print id=6000061}</a> » <a href='forum_view.php?forum_id={$forum_info.forum_id}'>{lang_print id=$forum_info.forum_title}</a></div>
|
|
|
|
|
|
|
|
<div>{lang_print id=$forum_info.forum_desc}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* SHOW MAINTENANCE DIV *}
|
|
|
|
|
|
|
|
{if $setting.setting_forum_status == 2}
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0'>
|
|
|
|
|
|
|
|
<tr><td class='result' style='text-align: left;'>{lang_print id=6000113}</td>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<div class='forum_topic_title'>{$topic_info.forumtopic_subject}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $maxpage > 1}
|
|
|
|
|
|
|
|
<div class='browse_pages'>
|
|
|
|
|
|
|
|
{if $p != 1}<a href="{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p=1"><span class="white arrow">«</span></a> <a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={math equation='p-1' p=$p}'><span class="white arrow">‹</span></a>{else}<font class='disabled'><span class="white arrow">« ‹</span></font>{/if}
|
|
|
|
|
|
|
|
| {foreach from=$for item=foo}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={$foo}'>{$foo}</a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/foreach} |
|
|
|
|
|
|
|
|
{if $p != $maxpage}<a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={math equation='p+1' p=$p}'><span class="white arrow">›</span></a> <a href="{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={$maxpage}"><span class="white arrow">»</span></a>{else}<font class='disabled'><span class="white arrow">› »</span></font>{/if}
|
|
|
|
|
|
|
|
<br /><span style="font-weight:normal;">{if $p_start == $p_end}
|
|
|
|
|
|
|
|
{lang_sprintf id=184 1=$p_start 2=$total_videos}
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
{lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_videos}
|
|
|
|
|
|
|
|
{/if}</span><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form>Go to Page: <input type="text" name="p" class="gotext" /><input type="hidden" name="forum_id" value="{$smarty.get.forum_id}" /><input type="hidden" name="topic_id" value="{$smarty.get.topic_id}" /><input type="submit" value="Go" /></form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td style='vertical-align: bottom;'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $topic_info.forumtopic_closed}<div style='margin-bottom: 10px;'><!--<img src='./images/icons/forum_topic_locked16.gif' border='0' class='icon'>-->{lang_print id=6000118}</div>{/if}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class='forum_topic_options'>
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' align='right'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_post && !$topic_info.forumtopic_closed}
|
|
|
|
|
|
|
|
<td class='forum_topic_replylink' style='font-weight: bold; padding-left: 20px;' nowrap='nowrap'>
|
|
|
|
|
|
|
|
<a href='forum_new.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}'><!--<img src='./images/icons/plus16.gif' border='0' style='float: left; margin-right: 2px;'>-->{lang_print id=6000071}</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class='forum_topics'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{section name=post_loop loop=$posts}
|
|
|
|
|
|
|
|
<div class='forum_topic_wrapper{cycle values="1,2"}'><a name='post_{$posts[post_loop].forumpost_id}'></a>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* POST HAS BEEN DELETED*}
|
|
|
|
|
|
|
|
{if $posts[post_loop].forumpost_deleted}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{*<div class='forum_topic_deleted'>{lang_print id=6000083}</div>*}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* POST HAS NOT BEEN DELETED *}
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class='forum_topic_left'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* AUTHOR EXISTS *}
|
|
|
|
|
|
|
|
{if $posts[post_loop].author->user_exists}
|
|
|
|
|
|
|
|
<div class='forum_topic_author'><a href='{$url->url_create("profile", $posts[post_loop].author->user_info.user_username)}'>{$posts[post_loop].author->user_displayname}</a></div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* AUTHOR DOES NOT EXIST *}
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* AUTHOR HAS BEEN DELETED *}
|
|
|
|
|
|
|
|
{if $posts[post_loop].forumpost_authoruser_id != 0}
|
|
|
|
|
|
|
|
<div class='forum_topic_author'>{lang_print id=1071}</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* AUTHOR IS ANONYMOUS *}
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
<div class='forum_topic_author'>{lang_print id=835}</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* AUTHOR EXISTS *}
|
|
|
|
|
|
|
|
{if $posts[post_loop].author->user_exists}
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class='forum_topic_photo'>
|
|
|
|
|
|
|
|
<a href='{$url->url_create("profile", $posts[post_loop].author->user_info.user_username)}'>
|
|
|
|
|
|
|
|
<img src='{$posts[post_loop].author->user_photo("../images/nophoto.png",true)}' border='0' class='forum_topic_photo_img' width='{$misc->photo_size($posts[post_loop].author->user_photo("./images/nophoto.png"),"100","100","w")}'>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{assign var='signup_date_basic' value=$datetime->time_since($posts[post_loop].author->user_info.user_signupdate)}
|
|
|
|
|
|
|
|
{capture assign='signup_date'}{lang_sprintf id=$signup_date_basic[0] 1=$signup_date_basic[1]}{/capture}
|
|
|
|
|
|
|
|
<div class='forum_topic_authorinfo'>
|
|
|
|
|
|
|
|
{if $posts[post_loop].author->is_moderator}<span>{lang_print id=6000082}</span><br />{/if}
|
|
|
|
|
|
|
|
{lang_sprintf id=6000079 1=$posts[post_loop].author->totalposts}<br />
|
|
|
|
|
|
|
|
{lang_sprintf id=6000080 1=$signup_date}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td class='forum_topic_right'>
|
|
|
|
|
|
|
|
<div class='forum_topic_info'>
|
|
|
|
|
|
|
|
{capture assign='post_date'}{$datetime->cdate("`$setting.setting_timeformat` `$setting.setting_dateformat`", $datetime->timezone("`$posts[post_loop].forumpost_date`", $global_timezone))}{/capture}
|
|
|
|
|
|
|
|
<!--<img src='./images/icons/forum_post16.gif' border='0' class='icon'>-->{lang_sprintf id=6000081 1=$post_date}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_post && !$topic_info.forumtopic_closed}{assign var="show_quote" value=true}{/if}
|
|
|
|
|
|
|
|
{if ($user->user_exists && $user->user_info.user_id == $posts[post_loop].author->user_info.user_id && !$topic_info.forumtopic_closed) || $forum_permission.allowed_to_editall}{assign var="show_edit" value=true}{/if}
|
|
|
|
|
|
|
|
{if ($user->user_exists && $user->user_info.user_id == $posts[post_loop].author->user_info.user_id && !$topic_info.forumtopic_closed) || $forum_permission.allowed_to_deleteall}{assign var="show_delete" value=true}{/if}
|
|
|
|
|
|
|
|
{if $show_quote || $show_edit || $show_delete}
|
|
|
|
|
|
|
|
<span> [
|
|
|
|
|
|
|
|
{if $show_quote}<a href='forum_new.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}"e_id={$posts[post_loop].forumpost_id}'>{lang_print id=6000116}</a>{/if}
|
|
|
|
|
|
|
|
{if $show_quote && ($show_edit || $show_delete)} | {/if}
|
|
|
|
|
|
|
|
{if $show_edit}<a href='forum_new.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}&post_id={$posts[post_loop].forumpost_id}'>{lang_print id=187}</a>{/if}
|
|
|
|
|
|
|
|
{if $show_edit && $show_delete} | {/if}
|
|
|
|
|
|
|
|
{if $show_delete}<a href='javascript:void(0);' onClick="confirmDeletePost('{$posts[post_loop].forumpost_id}')";>{lang_print id=155}</a>{/if}
|
|
|
|
|
|
|
|
]</span>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class='forum_topic_body'>
|
|
|
|
|
|
|
|
{if $posts[post_loop].forumpost_forummedia_id != 0}
|
|
|
|
|
|
|
|
<div style='padding-top: 15px; padding-bottom: 15px;'><img src='{$posts[post_loop].forummedia_path}' border='0'></div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{$posts[post_loop].forumpost_body}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' width='100%'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td class='forum_topic_options'>
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' align='left'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_post && !$topic_info.forumtopic_closed}
|
|
|
|
|
|
|
|
<td class='forum_topic_replylink' style='padding-right: 20px;' nowrap='nowrap' align='left'>
|
|
|
|
|
|
|
|
<a href='forum_new.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}'><!--<img src='./images/icons/plus16.gif' border='0' style='float: left; margin-right: 2px;'>-->{lang_print id=6000071}</a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
<td align='left'>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{if $forum_permission.is_moderator}
|
|
|
|
|
|
|
|
<td align='right'>
|
|
|
|
|
|
|
|
{lang_print id=6000072}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_close}
|
|
|
|
|
|
|
|
{if $topic_info.forumtopic_closed}<a href='javascript:void(0);' onClick='confirmOpen();'>{lang_print id=6000073}</a>{else}<a href='javascript:void(0);' onClick='confirmClose();'>{lang_print id=6000074}</a>{/if}
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_deleteall}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_close} | {/if}
|
|
|
|
|
|
|
|
<a href='javascript:void(0);' onClick='confirmDelete();'>{lang_print id=6000075}</a>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_move}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_deleteall || $forum_permission.allowed_to_close} | {/if}
|
|
|
|
|
|
|
|
<a href='javascript:void(0);' onClick='confirmMove();'>{lang_print id=6000076}</a>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_stick}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_deleteall || $forum_permission.allowed_to_close || $forum_permission.allowed_to_move} | {/if}
|
|
|
|
|
|
|
|
{if $topic_info.forumtopic_sticky}<a href='javascript:void(0);' onClick='confirmUnstick();'>{lang_print id=6000077}</a>{else}<a href='javascript:void(0);' onClick='confirmStick();'>{lang_print id=6000078}</a>{/if}
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $maxpage > 1}
|
|
|
|
|
|
|
|
<div class='browse_pages'>
|
|
|
|
|
|
|
|
{if $p != 1}<a href="{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p=1"><span class="white arrow">«</span></a> <a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={math equation='p-1' p=$p}'><span class="white arrow">‹</span></a>{else}<font class='disabled'><span class="white arrow">« ‹</span></font>{/if}
|
|
|
|
|
|
|
|
| {foreach from=$for item=foo}
|
|
|
|
|
|
|
|
<a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={$foo}'>{$foo}</a>
|
|
|
|
|
|
|
|
{/foreach} |
|
|
|
|
|
|
|
|
{if $p != $maxpage}<a href='{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={math equation='p+1' p=$p}'><span class="white arrow">›</span></a> <a href="{$smarty.server.PHP_SELF}?forum_id={$smarty.get.forum_id}&topic_id={$smarty.get.topic_id}&p={$maxpage}"><span class="white arrow">»</span></a>{else}<font class='disabled'><span class="white arrow">› »</span></font>{/if}
|
|
|
|
|
|
|
|
<br /><span style="font-weight:normal;">{if $p_start == $p_end}
|
|
|
|
|
|
|
|
{lang_sprintf id=184 1=$p_start 2=$total_videos}
|
|
|
|
|
|
|
|
{else}
|
|
|
|
|
|
|
|
{lang_sprintf id=185 1=$p_start 2=$p_end 3=$total_videos}
|
|
|
|
|
|
|
|
{/if}</span><br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<form>Go to Page: <input type="text" name="p" class="gotext" /><input type="hidden" name="forum_id" value="{$smarty.get.forum_id}" /><input type="hidden" name="topic_id" value="{$smarty.get.topic_id}" /><input type="submit" value="Go" /></form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_post && !$topic_info.forumtopic_closed}
|
|
|
|
|
|
|
|
<form action='forum_new.php' method='post'>
|
|
|
|
|
|
|
|
<table cellpadding='0' cellspacing='0' align='center'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
<div class='forum_topic_title'>{lang_print id=6000084}</div>
|
|
|
|
|
|
|
|
<textarea style='width: 400px; height: 100px;' name='post_body' id='post_body'></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{if $setting.setting_forum_code == 1}
|
|
|
|
|
|
|
|
<table cellspacing='0' cellpadding='0'>
|
|
|
|
|
|
|
|
<tr>
|
|
|
|
|
|
|
|
<td valign='top'>
|
|
|
|
|
|
|
|
<a href="javascript:void(0);" onClick="javascript:$('secure_image').src = $('secure_image').src + '?' + (new Date()).getTime();"><img src='./images/secure.php' id='secure_image' border='0' height='20' width='67' class='signup_code' /></a>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
<td style='padding-top: 4px; padding-left: 3px;'><input type='text' name='comment_secure' id='comment_secure' class='text' size='6' maxlength='10'> </td>
|
|
|
|
|
|
|
|
<td>
|
|
|
|
|
|
|
|
{capture assign=tip}{lang_print id=691}{/capture}
|
|
|
|
|
|
|
|
<!--<img src='./images/icons/tip.gif' border='0' class='Tips1' title='{$tip|replace:quotes}' />-->
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000085}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='forum_id' value='{$forum_info.forum_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='topic_id' value='{$topic_info.forumtopic_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='reply'>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* JAVASCRIPT FOR CONFIRMING DELETION *}
|
|
|
|
|
|
|
|
{literal}
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
<!--
|
|
|
|
|
|
|
|
function confirmDeletePost(post_id) {
|
|
|
|
|
|
|
|
$('post_id').value = post_id;
|
|
|
|
|
|
|
|
$('deletepostform').action = 'forum_topic.php#post_' + post_id;
|
|
|
|
opendivmodaladmin('confirmdeletepost');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmDelete() {
|
|
|
|
opendivmodaladmin('confirmdelete');
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmMove() {
|
|
|
|
opendivmodaladmin('confirmmove');
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmClose() {
|
|
|
|
opendivmodaladmin('confirmclose');
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmOpen() {
|
|
|
|
opendivmodaladmin('confirmopen');
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmStick() {
|
|
|
|
opendivmodaladmin('confirmstick');
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function confirmUnstick() {
|
|
|
|
opendivmodaladmin('confirmunstick');
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//-->
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{/literal}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY DELETE CONFIRMATION MESSAGE *}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_deleteall}
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmdelete'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000097}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=175}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='delete'>
|
|
|
|
|
|
|
|
<input type='hidden' name='forum_id' value='{$forum_info.forum_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='topic_id' value='{$topic_info.forumtopic_id}'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY MOVE CONFIRMATION MESSAGE *}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_move}
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmmove'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000111}
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<select name='new_forum_id'>
|
|
|
|
|
|
|
|
{section name=forumcat_loop loop=$forumcats}
|
|
|
|
|
|
|
|
{section name=forum_loop loop=$forumcats[forumcat_loop].forums}
|
|
|
|
|
|
|
|
<option value='{$forumcats[forumcat_loop].forums[forum_loop].forum_id}'>{lang_print id=$forumcats[forumcat_loop].forums[forum_loop].forum_title}</option>
|
|
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
{/section}
|
|
|
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000112}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='move'>
|
|
|
|
|
|
|
|
<input type='hidden' name='forum_id' value='{$forum_info.forum_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='topic_id' value='{$topic_info.forumtopic_id}'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY CLOSE/OPEN CONFIRMATION MESSAGE *}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_close}
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmclose'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}&p={$p}' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000100}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000101}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='close'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmopen'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}&p={$p}' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000102}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000103}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='open'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY STICK/UNSTICK CONFIRMATION MESSAGE *}
|
|
|
|
|
|
|
|
{if $forum_permission.allowed_to_stick}
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmstick'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}&p={$p}' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000106}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000107}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='stick'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmunstick'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php?forum_id={$forum_info.forum_id}&topic_id={$topic_info.forumtopic_id}&p={$p}' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000108}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=6000109}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='unstick'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{/if}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{* HIDDEN DIV TO DISPLAY DELETE POST CONFIRMATION MESSAGE *}
|
|
|
|
|
|
|
|
<div style='display: none;' id='confirmdeletepost'>
|
|
|
|
|
|
|
|
<form action='forum_topic.php' id='deletepostform' method='post'>
|
|
|
|
|
|
|
|
<div style='margin-top: 10px;'>
|
|
|
|
|
|
|
|
{lang_print id=6000120}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<br>
|
|
|
|
|
|
|
|
<input type='submit' class='button' value='{lang_print id=175}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='button' class='button' value='{lang_print id=39}' onClick='closemodal();parent.TB_remove();'>
|
|
|
|
|
|
|
|
<input type='hidden' name='task' value='deletepost'>
|
|
|
|
|
|
|
|
<input type='hidden' name='forum_id' value='{$forum_info.forum_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='topic_id' value='{$topic_info.forumtopic_id}'>
|
|
|
|
|
|
|
|
<input type='hidden' name='post_id' id='post_id' value='0'>
|
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
{include file='admin_footer.tpl'} |