59 lines
4.0 KiB
HTML
59 lines
4.0 KiB
HTML
<!--{template common/header}-->
|
|
<!--{if empty($_GET['infloat'])}-->
|
|
<div id="pt" class="bm cl">
|
|
<div class="z"><a href="./" class="nvhm" title="{lang homepage}">$_G[setting][bbname]</a> <em>›</em> {lang replyfloor:report_title}</div>
|
|
</div>
|
|
<div class="container mbw">
|
|
<div class="bm">
|
|
<div class="bm_h">
|
|
<h2 class="z">{lang replyfloor:report_title}</h2>
|
|
</div>
|
|
<div class="bm_c">
|
|
<!--{/if}-->
|
|
<form method="post" autocomplete="off" id="report_form" name="report_form" action="plugin.php?id=replyfloor:index&ac=report&infloat=yes" enctype="multipart/form-data" onsubmit="{if !empty($_GET['infloat'])}ajaxpost('report_form', 'return_$_GET['handlekey']', 'return_$_GET['handlekey']', 'onerror');return false;{/if}">
|
|
<div class="f_c">
|
|
<!--{if !empty($_GET['infloat'])}-->
|
|
<h3 class="flb">
|
|
<em id="return_$_GET['handlekey']">{lang replyfloor:report_title}</em>
|
|
<span>
|
|
<!--{if !empty($_GET['infloat'])}--><a href="javascript:;" class="flbc" onclick="hideWindow('$_GET['handlekey']')" title="{lang close}">{lang close}</a><!--{/if}-->
|
|
</span>
|
|
</h3>
|
|
<!--{/if}-->
|
|
<input type="hidden" name="formhash" id="formhash" value="{FORMHASH}" />
|
|
<input type="hidden" name="handlekey" value="$_GET['handlekey']" />
|
|
<input type="hidden" name="tid" value="$msginfo[tid]" />
|
|
<input type="hidden" name="pid" value="$msginfo[pid]" />
|
|
<input type="hidden" name="msgid" value="$msginfo[id]" />
|
|
<input type="hidden" name="savesubmit" value="true" />
|
|
<div class="c">
|
|
<textarea name="message" rows="8" cols="80" class="pt"></textarea>
|
|
</div>
|
|
<div class="c">
|
|
<button type="button" style="border: 1px solid #CDCDCD;" onclick="replyfloor_report_image()">{lang replyfloor:report_addimage}</button>
|
|
</div>
|
|
<div id="replyfloor_report_image">
|
|
<div class="c">
|
|
{lang replyfloor:report_image} <input type='file' name='filedata[]' accept=".jpg,.jpeg,.gif,.png,.bmp,image/jpeg,image/gif,image/png,image/bmp" size='80' style="border: 1px solid #CDCDCD;"/> <button type="button" style="border: 1px solid #CDCDCD;" onclick="this.parentNode.parentNode.removeChild(this.parentNode)">{lang replyfloor:report_delimage}</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="o pns cl{if empty($_GET['infloat'])} mtm{/if}">
|
|
<button type="submit" class="pn pnc" value="true"><span>{lang submit}</span></button>
|
|
</div>
|
|
</form>
|
|
<!--{if empty($_GET['infloat'])}-->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!--{/if}-->
|
|
<script type="text/javascript">
|
|
function replyfloor_report_image(){
|
|
var uploadObj = document.createElement('div');
|
|
uploadObj.className = 'c';
|
|
uploadObj.innerHTML += '{lang replyfloor:report_image} <input type="file" name="filedata[]" accept=".jpg,.jpeg,.gif,.png,.bmp,image/jpeg,image/gif,image/png,image/bmp" size="80" style="border: 1px solid #CDCDCD;"/> <button type="button" style="border: 1px solid #CDCDCD;" onclick="this.parentNode.parentNode.removeChild(this.parentNode)">{lang replyfloor:report_delimage}</button>';
|
|
document.getElementById('replyfloor_report_image').appendChild(uploadObj);
|
|
}
|
|
</script>
|
|
|
|
<!--{template common/footer}--> |