Location: PHPKode > projects > Uchome and Discuz > template/default/cp_common.htm
<!--{template header}-->

<!--{if $_GET['op'] == 'report'}-->

	<h1>Abuse</h1>
	<a href="javascript:hideMenu();" class="float_del" title="Close">Close</a>
	<div class="popupmenu_inner" id="__reportform_{$_GET[id]}">
	<form method="post" id="reportform_{$_GET[id]}" name="reportform_{$_GET[id]}" action="cp.php?ac=common&op=report&idtype=$_GET[idtype]&id=$_GET[id]">
	<table>
	<tr><td>Thank you for your support to keep this site clean, We are looking into this,<br>Please describe reason (Maximum up to 150 characters):
			<img src="image/zoomin.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomTextarea('reason', 1)">
			<img src="image/zoomout.gif" onmouseover="this.style.cursor='pointer'" onclick="zoomTextarea('reason', 0)"><br />
			<textarea id="reason" name="reason" cols="72" rows="3" onkeydown="ctrlEnter(event, 'reportsubmit_btn')"></textarea>
			<!--{if $reason}-->
			<br />
			<select name="reportinfo" onchange="$('reason').value=this.value">
				<option value="" selected>Reason Of Report</option>
				<!--{loop $reason $key $val}-->
				<option value="$val">$val</option>
				<!--{/loop}-->
			</select>
			<!--{/if}-->
		</td>
	</tr>
	<tr>
		<td>
		<input type="hidden" name="reportsubmit" value="true">
		<!--{if $_SGLOBAL[inajax]}-->
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<button name="reportsubmit_btn" id="reportsubmit_btn" type="button" class="submit" value="true" onclick="ajaxpost('reportform_{$_GET[id]}','',2000);">Continue</button>
		<!--{else}-->
		<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
		<button name="reportsubmit_btn" id="reportsubmit_btn" type="submit" class="submit" value="true">Continue</button>
		<!--{/if}-->
		</td>
	</tr>
	</table>
	<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
	</form>
	</div>
	
<!--{elseif $_GET['op'] == 'ignore'}-->

	<h1>Hide Notification</h1>
	<a href="javascript:hideMenu();" class="float_del" title="Close">Close</a>
	<div class="popupmenu_inner" id="__ignoreform_{$formid}">
		<form method="post" id="ignoreform_{$formid}" name="ignoreform_{$formid}" action="cp.php?ac=common&op=ignore&type=$type">
			<p>Do not diplay in future</p>
			<p class="btn_line">
				<input type="radio" name="authorid" id="authorid1" value="$_GET[authorid]" checked> <label for="uid1">Hide this friend's</label>
				<br>
				<input type="radio" name="authorid" id="authorid0" value="0"> <label for="uid0">Hide all friend's</label>
				<br><br>
				<input type="hidden" name="refer" value="$_SGLOBAL[refer]">
				<!--{if $_SGLOBAL[inajax]}-->
				<input type="hidden" name="ignoresubmit" value="true" />
				<button name="noteignoresubmit_btn" type="submit" class="submit" value="true" onclick="ajaxpost('ignoreform_{$formid}','',2000)">Ignore</button>
				<!--{else}-->
				<button name="feedignoresubmit" type="submit" class="submit" value="true">Cancel</button>
				<!--{/if}-->
			</p>
			
			<input type="hidden" name="formhash" value="<!--{eval echo formhash();}-->" />
		</form>
	</div>
	
<!--{elseif $_GET['op'] == 'getuserapp'}-->

	<!--{loop $my_userapp $value}-->
	<!--{if $value['allowsidenav']}-->
	<li><img src="http://appicon.manyou.com/icons/$value[appid]"><a href="userapp.php?id=$value[appid]">$value[appname]</a></li>
	<!--{/if}-->
	<!--{/loop}-->
	
<!--{/if}-->

<!--{template footer}-->
Return current item: Uchome and Discuz