Exemple #1
0
			 		if($types_option=="piliangoptions"){
			 			echo "<input type='checkbox' name='quanxuan[]' value='".$select_blog_record['blog_id']."' style='vertical-align:text-middle; margin-bottom:6px;'/>";
			 		}
			 		?>
			 		<span class="contenttitle"><a href="javascript:viewblog(<?php echo $select_blog_record['blog_id'];?>);"><?php echo $select_blog_record['blog_title'];?></a></span>
			 	</td>
			 	<td align="right">
			 		<span id="editxminfo"><a href="write_blog.php?blogid=<?php echo $select_blog_record['blog_id'];?>&page=<?php echo $page;?>">编辑</a></span>
					<span id="editxminfo"><a href="javascript:deleteblog(<?php echo $select_blog_record['blog_id'];?>)">删除</a></span>
					<span id="editxminfo"><a href="javascript:edittypeblog(<?php echo $select_blog_record['blog_id'];?>)">修改分类</a></span>
					<span id="editxminfo"><a href="javascript:editprivblog(<?php echo $select_blog_record['blog_id'];?>)">设置权限</a></span>&nbsp;
			 	</td>
			 </tr>
			<tr style="height:20px;line-height:20px;">
				<td colspan="2" align="left" class="showtips">
						<span><?php echo $public_function->getuserinfo($select_blog_record['blog_userid'])."发表于:";?></span>
						<span>
							<?php 
				 	  		if(date("Y-m-d",strtotime($select_blog_record['blog_date']))==date("Y-m-d",strtotime(CURRENT_TIME))){
				 	  			echo date("H:i",strtotime($select_blog_record['blog_date']));
				 	  		}else if((date("Y",strtotime($select_blog_record['blog_date']))==date("Y",strtotime(CURRENT_TIME)))&&(date("Y-m-d",strtotime($select_blog_record['blog_date']))!=date("Y-m-d",strtotime(CURRENT_TIME)))){
				 	  			echo date("m-d",strtotime($select_blog_record['blog_date']));
				 	  		}else{
				 	  			echo date("Y-m-d",strtotime($select_blog_record['blog_date']));
				 	  		}
				 	  	?>
						</span>
				</td>
			</tr>
			<tr>
				<td class="showcontent" colspan="2" align="left" style="width:80px;border-bottom: solid;border-width: 1px;border-color: #ececec;">
Exemple #2
0
					<span id="editxminfo3"><a href="shyule_index.php">返回主页</a></span>&nbsp;
				</td>
			</tr>
			<tr><td colspan="2">&nbsp;</td></tr>
			<tr>
				<td align="center" colspan="2" style="color:#000000;font-size: 25px;">
					<span style="background-color: blue;color:red;"><?php 
echo $select_array['bbs_title'];
?>
</span>
				</td>
			</tr>
			<tr>
				<td align="center" colspan="2">
					<span id="editxminfo">楼主:<a href="#"><?php 
echo $public_function->getuserinfo($select_array['bbs_author']);
?>
</a></span>
					<span id="editxminfo">时间:<?php 
echo date("Y-m-d H:i:s", strtotime($select_array['bbs_time']));
?>
</span>
					<span id="editxminfo">点击:<?php 
echo $bbs_function->getTieZiClickNum($fatieid);
?>
</span>
					<span id="editxminfo">回复:<?php 
echo $bbs_function->getTieZiHuiTieNum($fatieid);
?>
</span>
				</td>
Exemple #3
0
        ++$cnt;
        $bbs_fatiebyid_array = $bbs_function->getTiezi($select_array['bbsid']);
        ?>
									<tr style="cursor:pointer;height:30px;" class="bianse">
										<td align="left" width="" style="border-left:solid;border-right:solid;border-bottom:solid;border-color:#ececec;border-width:1px;"> 
											<span id="editxminfo"><a href="shyule_bbs_scan.php?fatieid=<?php 
        echo $bbs_fatiebyid_array['ids'];
        ?>
&readcount=yes">&nbsp;<?php 
        echo $bbs_fatiebyid_array['bbs_title'];
        ?>
</a></span>&nbsp;	
										</td>
										<td align="center" style="border-right:solid;border-bottom:solid;border-color:#ececec;border-width:1px;">
											<span id="editxminfo"><a href="#"><?php 
        echo $public_function->getuserinfo($bbs_fatiebyid_array['bbs_author']);
        ?>
</a></span>&nbsp;	
										</td>
										<td align="right" style="border-right:solid;border-bottom:solid;border-color:#ececec;border-width:1px;">
											<?php 
        echo date("m-d H:i", strtotime($select_array['sctime']));
        ?>
&nbsp;	
										</td>
									</tr>
									<?php 
    }
    ?>
						<tr>
							<td colspan="5">
Exemple #4
0
			</tr>
			<tr style="height:30px;">
				<td align="right" style="width: 100px;border:solid;border-color: #ececec;border-width: 2px;">
					<input type="hidden" name="jbid" value="<?php 
echo $jbid;
?>
"/>
					<input type="hidden" name="jbdx" value="<?php 
echo $bbs_tiezi_array['bbs_author'];
?>
"/>
					<span>举报对象:</span>
				</td>
				<td align="left" style="border-top:solid;border-bottom:solid;border-right:solid;border-color: #ececec;border-width: 2px;">
					<?php 
echo $public_function->getuserinfo($bbs_tiezi_array['bbs_author']);
?>
				</td>
			</tr>
			<tr style="height:30px;">
				<td align="right" style="border-left:solid;border-bottom:solid;border-right:solid;border-color: #ececec;border-width: 2px;">
					<span>举报原因:</span>
				</td>
				<td align="left" style="border-bottom:solid;border-right:solid;border-color: #ececec;border-width: 2px;">
					<span>
						<?php 
$result = mysql_query("select * from blog_bbs_weigui_type");
$num = mysql_num_rows($result);
for ($i = 0; $i < $num; $i++) {
    $array = mysql_fetch_array($result);
    ?>
require_once '../../../include/public_function.php';
$public_function = new public_function();
$blog_userid = $_SESSION['UID'];
$blog_type = $_SESSION['UTYPE'];
$pfatieid = str_replace(" ", "", $_POST['pfatieid']);
$fatieid = str_replace(" ", "", $_POST['fatieid']);
$fatietypes = str_replace(" ", "", $_POST['fatietypes']);
$fatiepage = str_replace(" ", "", $_POST['fatiepage']);
$bbs_content = '';
if (!empty($_POST['content1'])) {
    if (get_magic_quotes_gpc()) {
        $bbs_content = stripslashes($_POST['content1']);
    } else {
        $bbs_content = $_POST['content1'];
    }
}
$bbs_time = CURRENT_TIME;
$bbs_utime = CURRENT_TIME;
//²éѯÌõ¼þ
$select_result = mysql_query("select * from blog_bbs_content where ids='{$pfatieid}'");
$select_array = mysql_fetch_array($select_result);
$bbs_atwho = "@" . $public_function->getuserinfo($select_array['bbs_author']);
$bbs_type = $select_array['bbs_type'];
if ($fatietypes == "insert") {
    $insert_result = mysql_query("insert into blog_bbs_content(pids,bbs_content,bbs_author,bbs_time,bbs_utime,bbs_atwho,bbs_floor,bbs_type) values('{$pfatieid}','{$bbs_content}','{$blog_userid}','{$bbs_time}','{$bbs_utime}','{$bbs_atwho}','{$fatieid}','{$bbs_type}')");
    if ($insert_result > 0) {
        echo "<script>location.href='../shyule_bbs_scan.php?fatieid=" . $fatieid . "&page=" . $fatiepage . "'</script>";
    } else {
        echo "<script>location.href='../shyule_bbs_scan.php?fatieid=" . $fatieid . "&page=" . $fatiepage . "'</script>";
    }
}