Example #1
0
		diag.Title = "<?php 
echo $pu_langpackage->pu_report;
?>
";
		diag.InnerHtml= '<div class="report_notice"><?php 
echo $pu_langpackage->pu_report_info;
echo $pu_langpackage->pu_report_re;
?>
<textarea id="reason"></textarea></div>';
		diag.OKEvent = function(){act_report(type_id, user_id, mod_id);diag.close();};
		diag.show();
	}
	//确认举报
	function act_report(type_id,user_id,mod_id){
		var reason_str=$("reason").value;
		if(trim(reason_str)){
			var ajax_act_report=new Ajax();
			ajax_act_report.getInfo("do.php?act=report_add&type="+type_id+"&uid="+user_id+"&mod_id="+mod_id,"post","app","reason="+reason_str,function(c){act_report_callback(c)});
		}else{
			Dialog.alert('<?php 
echo $pu_langpackage->pu_report_none;
?>
');
		}
	}
	//分享
	function show_share(share_type,share_content_id,s_title,s_link){
		var diag = new Dialog();
		diag.Width = 300;
		diag.Height = 180;
		diag.Top="50%";
Example #2
0
    ?>
		<form name="form" method="post" action="do.php?act=user_info&is_finish=<?php 
    echo $is_finish;
    ?>
" onsubmit="return check_form();">
			<table class="form_table" border="0">
				<tr>
					<th><?php 
    echo $u_langpackage->u_name;
    ?>
</th>
					<td><?php 
    echo $user_row['user_name'];
    ?>
 <span title="<?php 
    echo count_level($user_row['integral']);
    ?>
"><?php 
    echo grade($user_row['integral']);
    ?>
</span>&nbsp;&nbsp;<span class="gray">(<font color='red'><?php 
    echo $user_row['integral'];
    ?>
</font><?php 
    echo $u_langpackage->u_integral;
    ?>
)</span></td>
				</tr>

				<tr>
					<th><?php