Esempio n. 1
0
</h3>
		  <div class="content">
				<form method="post" action="">
					<table class='list_table <?php 
echo $isset_data;
?>
'>
					<?php 
foreach ($com_rs as $val) {
    ?>
						<tr>
							<td width="90%" style='text-align:left'><?php 
    echo $val['visitor_name'];
    ?>
: <?php 
    echo get_face(sub_str($val['content'], 80));
    ?>
<br />
							<?php 
    echo $m_langpackage->m_com_by_id;
    ?>
: <?php 
    echo $con_id;
    ?>
-<?php 
    echo $val[$con_id];
    ?>
							<?php 
    echo $m_langpackage->m_com_by_uid;
    ?>
: <a href="../home.php?h=<?php 
Esempio n. 2
0
,<?php 
            echo $mod_id;
            ?>
,<?php 
            echo $rs["visitor_id"];
            ?>
)><?php 
            echo $pu_langpackage->pu_re;
            ?>
</a>
			<?php 
        }
        ?>
			</label>
			<p class="left"><?php 
        echo filt_word(get_face($rs["content"]));
        ?>
</p>
		</div>
	<?php 
    }
    ?>
	<div class="stat"><a href="javascript:void(0)" id="page_<?php 
    echo $type_id;
    ?>
_<?php 
    echo $mod_id;
    ?>
" onclick="<?php 
    echo $function;
    ?>
Esempio n. 3
0
    <div class="mood_box">
		<ul>
			<?php 
foreach ($mood_rs as $val) {
    ?>
			<li class="mood_list">
				<div class="user_photo"><a href='home.php?h=<?php 
    echo $val["user_id"];
    ?>
' target='_blank' class="avatar"><img src="<?php 
    echo $val["user_ico"];
    ?>
" onerror="parent.pic_error(this)" /></a></div>
				<div class="mood_cont">
					<div class="mood_text"><?php 
    echo filt_word(get_face($val['mood']));
    ?>
</div>
					<div class="mood_info">
						<span><?php 
    echo $val['user_name'];
    ?>
&nbsp;&nbsp;<?php 
    echo $val['add_time'];
    ?>
</span>
						<span><a id="restore_mood_<?php 
    echo $val['mood_id'];
    ?>
" href='javascript:mood_com(<?php 
    echo $val['mood_id'];
Esempio n. 4
0
// 메일주소가 있으면 이름에 메일 링크시킴
if (!isBlank($email) || $reply_data[ismember]) {
    if (!$setup[use_formmail]) {
        $name = "<a href=mailto:{$email}>{$name}</a>";
    } else {
        $name = "<a href=javascript:void(window.open('view_info.php?to={$email}&id={$id}&member_no={$reply_data['ismember']}','mailform','width=400,height=500,statusbar=no,scrollbars=yes,toolbar=no'))>{$name}</a>";
    }
}
// Depth에 의한 들임값을 정함
$insert = "";
for ($z = 0; $z < $reply_data[depth]; $z++) {
    $insert .= "&nbsp; ";
}
$icon = get_icon($reply_data);
// 이름앞에 붙는 아이콘 정의;;
$face_image = get_face($reply_data);
// 바로 전에 본 글인 경우 번호를 아이콘으로 바꿈
if ($no == $reply_data[no]) {
    $number = "<img src={$dir}/arrow.gif border=0 align=absmiddle>";
} elseif ($number != "&nbsp;") {
    $number = $roop_number;
}
// 답글 버튼
if (($is_admin || $member[level] <= $setup[grant_reply]) && $reply_data[headnum] > -2000000000 && $reply_data[headnum] != -1) {
    $a_reply = "<a href=write.php?{$href}{$sort}&no={$reply_data['no']}&mode=reply>";
} else {
    $a_reply = "<Zeroboard";
}
// 삭제버튼
if (($is_admin || $member[level] <= $setup[grant_delete] || $reply_data[ismember] == $member[no] || !$reply_data[ismember]) && !$reply_data[child]) {
    $a_delete = "<a href=delete.php?{$href}{$sort}&no={$reply_data['no']}>";
Esempio n. 5
0
 if ($temp_name) {
     $comment_name = "<img src='{$temp_name}' border=0 align=absmiddle>";
 }
 $c_memo = trim(stripslashes($c_data[memo]));
 $c_reg_date = "<span title='" . date("Y년 m월 d일 H시 i분 s초", $c_data[reg_date]) . "'>" . date("Y/m/d", $c_data[reg_date]) . "</span>";
 if ($c_data[ismember]) {
     if ($c_data[ismember] == $member[no] || $is_admin || $member[level] <= $setup[grant_delete]) {
         $a_del = "<a onfocus=blur() href='del_comment.php?{$href}{$sort}&no={$no}&c_no={$c_data['no']}'>";
     } else {
         $a_del = "&nbsp;<Zeroboard ";
     }
 } else {
     $a_del = "<a onfocus=blur() href='del_comment.php?{$href}{$sort}&no={$no}&c_no={$c_data['no']}'>";
 }
 // 이름앞에 붙는 아이콘 정의;;
 $c_face_image = get_face($c_data);
 if ($is_admin) {
     $show_ip = " title='{$c_data['ip']}' ";
 } else {
     $show_ip = "";
 }
 if ($setup[use_formmail] && check_zbLayer($c_data)) {
     $comment_name = "<span {$show_ip} onMousedown=\"ZB_layerAction('zbLayer{$_zbCheckNum}','visible')\" style=cursor:hand>{$comment_name}</span>";
 } else {
     if ($c_data[ismember]) {
         $comment_name = "<a onfocus=blur() href=\"javascript:void(window.open('view_info.php?id={$id}&member_no={$c_data['ismember']}','mailform','width=400,height=510,statusbar=no,scrollbars=yes,toolbar=no'))\" {$show_ip}>{$comment_name}</a>";
     } else {
         $comment_name = "<div {$show_ip}>{$comment_name}</div>";
     }
 }
 $_skinTimeStart = getmicrotime();
Esempio n. 6
0
function list_check(&$data, $view_check = 0)
{
    global $keyword, $sn, $ss, $sc, $setup, $member, $href, $id, $dir, $category_data, $is_admin, $_zbResizeCheck, $name, $email, $subject, $sort, $prev_no, $no, $homepage, $memo, $hit, $vote, $ip, $comment_num, $sitelink1, $sitelink2, $file_name1, $file_name2, $file_download1, $file_download2, $file_size1, $file_size2, $upload_image1, $upload_image2, $category_name, $date, $reg_date, $insert, $icon, $face_image, $number, $loop_number, $a_file_link1, $a_file_link2, $a_reply, $a_delete, $a_modify, $zbLayer, $_zbCheckNum, $_listCheckTime;
    $_listCheckTimeStart = getmicrotime();
    if ($view_check) {
        $setup[only_board] = 0;
    }
    // 제목에 5줄로 툴바 만듬
    if ($setup[use_status]) {
        $tmpData = explode("\n", stripslashes($data[memo]));
        $totalCommentLineNum = count($tmpData);
        if ($totalCommentLineNum > 10) {
            $showCommentStr_tail .= "\n" . ($totalCommentLineNum - 10) . " lines more... (total : {$totalCommentLineNum} lines)";
            $tmpData_Count = 10;
        } else {
            $tmpData_Count = $totalCommentLineNum;
        }
        $showCommentStr = "";
        for ($i = 0; $i < $tmpData_Count; $i++) {
            $tmpStr = trim($tmpData[$i]);
            if ($tmpStr) {
                $showCommentStr .= $tmpStr . "\n";
            }
        }
        $showCommentStr = str_replace("'", "", $showCommentStr);
        $showCommentStr = str_replace("\"", "", $showCommentStr);
        $showCommentStr .= $showCommentStr_tail;
    }
    $_zbCount = check_zbLayer($data);
    // HTML 사용일 경우 현재 회원의 html 권한이 없거나 관리자가 아니라면 style 속성을 제거
    if ($data[use_html] && $data[islevel] > $setup[grant_html]) {
        $style_pattern = "/(\\<.*?)style=(.*?)(\\>?)/i";
        $data[memo] = preg_replace($style_pattern, "\\1\\3", $data[memo]);
    }
    // 검색어에 해당하는 글자를 빨간;; 색으로 바꾸어줌;;
    if ($keyword) {
        $keyword_pattern = "/{$keyword}/i";
        if ($sn == "on") {
            $data[name] = preg_replace($keyword_pattern, "<font color=FF001E style=background-color:FFF000;>{$keyword}</font>", $data[name]);
        }
        if ($ss == "on") {
            $data[subject] = preg_replace($keyword_pattern, "<font color=FF001E style=background-color:FFF000;>{$keyword}</font>", $data[subject]);
        }
        if ($ss == "on" && $setup[cut_length] > 0) {
            $setup[cut_length] = $setup[cut_length] + 52;
        }
    }
    // ' 등의 특수문자때문에 붙인 \(역슬래쉬)를 떼어낸다
    $name = $data[name] = stripslashes($data[name]);
    // 이름
    $temp_name = get_private_icon($data[ismember], "2");
    if ($temp_name) {
        $name = "<img src='{$temp_name}' border=0 align=absmiddle>";
    }
    $subject = $data[subject] = stripslashes($data[subject]);
    // 제목
    //$subject=$data[subject];
    $subject = cut_str($subject, $setup[cut_length]);
    // 제목 자르는 부분
    $hit = $data[hit];
    // 조회수
    $vote = $data[vote];
    // 투표수
    $comment_num = "[" . $data[total_comment] . "]";
    // 간단한 답글 수
    if ($data[total_comment] == 0) {
        $comment_num = "";
    }
    if ($setup[use_alllist]) {
        $view_file = "zboard.php";
    } else {
        $view_file = "view.php";
    }
    // 제목에 링크 거는 부분;
    if ($member[level] <= $setup[grant_view] || $is_admin) {
        //if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver=\"showComment('$showCommentStr',true)\" onMouseOut=\"showComment('',false)\" ";
        if ($setup[use_status] && !$data[is_secret]) {
            $addShowComment = " title=\"{$showCommentStr}\" ";
        }
        $subject = "<a href=\"" . $view_file . "?{$href}{$sort}&no={$data['no']}\" {$addShowComment} >" . $subject . "</a>";
    }
    if (!$setup[only_board]) {
        $homepage = $data[homepage] = stripslashes($data[homepage]);
        if ($homepage) {
            $homepage = "<a href='{$homepage}' target=_blank>{$homepage}</a>";
        }
        // 이미지 박스 사용을 위해서 정규표현식 사용
        if ($data[ismember]) {
            $imageBoxPattern = "/\\[img\\:(.+?)\\.(jpg|gif)\\,align\\=([a-z]){0,}\\,width\\=([0-9]+)\\,height\\=([0-9]+)\\,vspace\\=([0-9]+)\\,hspace\\=([0-9]+)\\,border\\=([0-9]+)\\]/i";
            $data[memo] = preg_replace($imageBoxPattern, "<img src='icon/member_image_box/{$data['ismember']}/\\1.\\2' align='\\3' width='\\4' height='\\5' vspace='\\6' hspace='\\7' border='\\8'>", stripslashes($data[memo]));
        } else {
            $data[memo] = stripslashes($data[memo]);
        }
        if ($data[use_html] < 2) {
            $memo = $data[memo] = nl2br($data[memo]);
        }
        $memo = $data[memo];
        // 자동링크 거는 부분;;
        if ($setup[use_autolink]) {
            $memo = autolink($memo);
        }
        $memo .= "<!--\"<-->";
        // 검색어가 있을경우 내용의 키워드를 변경
        if ($sc == "on" && $keyword) {
            $keyword_pattern = "/([^<]*){$keyword}([^>]*)/i";
            $memo = preg_replace($keyword_pattern, "\\1<font color=FF001E style=background-color:FFF000;>{$keyword}</font>\\2", $memo);
            $keyword_pattern2 = "/<img(.*)<font color=FF001E style=background-color:FFF000;>{$keyword}<\\/font>(.*)>/i";
            $memo = preg_replace($keyword_pattern2, "<img\\1{$keyword}\\2>", $memo);
        }
        // 이미지 리사이즈를 위해서 처리하는 부분
        $memo = preg_replace("/(\\<img)(.*)(\\>?)/i", "\\1 name=zb_target_resize style=\"cursor:hand\" onclick=window.open(this.src) \\2 \\3", $memo);
        $memo = "<table border=0 cellspacing=0 cellpadding=0 width=100% style=\"table-layout:fixed;\"><col width=100%></col><tr><td valign=top>" . $memo . "</table>";
        $_zbResizeCheck = true;
        // 아이피
        if ($is_admin) {
            $ip = "IP Address : " . $data[ip] . "&nbsp;";
        }
        $sitelink1 = $data[sitelink1] = stripslashes($data[sitelink1]);
        $sitelink2 = $data[sitelink2] = stripslashes($data[sitelink2]);
        if ($sitelink1) {
            $sitelink1 = "<a href='{$sitelink1}' target=_blank>{$sitelink1}</a>";
        }
        if ($sitelink2) {
            $sitelink2 = "<a href='{$sitelink2}' target=_blank>{$sitelink2}</a>";
        }
        $file_name1 = $data[s_file_name1];
        $file_name2 = $data[s_file_name2];
        $file_download1 = $data[download1];
        $file_download2 = $data[download2];
        if ($file_name1) {
            $file_size1 = @GetFileSize(filesize($data[file_name1]));
            $a_file_link1 = "<a href='download.php?{$href}{$sort}&no={$data['no']}&filenum=1'>";
        } else {
            $file_size1 = 0;
            $a_file_link1 = "<Zeroboard";
        }
        if ($file_name2) {
            $file_size2 = @GetFileSize(filesize($data[file_name2]));
            $a_file_link2 = "<a href='download.php?{$href}{$sort}&no={$data['no']}&filenum=2'>";
        } else {
            $file_size2 = 0;
            $a_file_link2 = "<Zeroboard";
        }
        $upload_image1 = $upload_image2 = "";
        if (eregi("\\.jpg", $file_name1) || eregi("\\.gif", $file_name1) || eregi("\\.png", $file_name1)) {
            $upload_image1 = "<img src={$data['file_name1']} border=0 name=zb_target_resize style=\"cursor:hand\" onclick=window.open(this.src)><br>";
        }
        if (eregi("\\.jpg", $file_name2) || eregi("\\.gif", $file_name2) || eregi("\\.png", $file_name2)) {
            $upload_image2 = "<img src={$data['file_name2']} border=0 name=zb_target_resize style=\"cursor:hand\" onclick=window.open(this.src)><br>";
        }
    }
    // 카테고리의 이름을 구함
    if ($data[category] && $setup[use_category]) {
        $category_name = $category_data[$data[category]];
    } else {
        $category_name = "&nbsp;";
    }
    // 글쓴 시간을 년월일 시분초 로 변환함
    $reg_date = "<span title='" . date("Y년 m월 d일 H시 i분 s초", $data[reg_date]) . "'>" . date("Y/m/d", $data[reg_date]) . "</span>";
    $date = date("Y-m-d H:i:s", $data[reg_date]);
    // 폼메일을 사용하고 관련메뉴가 생성이 되면 레이어오픈
    if ($_zbCount && $setup[use_formmail]) {
        $name = "<span onMousedown=\"ZB_layerAction('zbLayer{$_zbCheckNum}','visible')\" style=cursor:hand>{$name}</span>";
        // 폼메일을 사용안할 경우 무조건 메일링크
    } else {
        if ($data[email]) {
            $name = "<a href=\"javascript:void(window.open('open_window.php?mode=m&str=" . urlencode(base64_encode($data[email])) . "','ZBremote','width=1,height=1,left=1,top=1'))\">{$name}</a>";
        }
        //$name="<a href=\"javascript:void(window.open('view_info.php?to=$email&id=$id&member_no=$data[ismember]','mailform','width=400,height=510,statusbar=no,scrollbars=yes,toolbar=no'))\">$name</a>";
    }
    // Depth에 의한 들임값을 정함
    $insert = "";
    if ($data[depth] > 15) {
        $data[depth] = 15;
    }
    for ($z = 0; $z < $data[depth]; $z++) {
        $insert .= "&nbsp; ";
    }
    $icon = get_icon($data);
    // 이름앞에 붙는 아이콘 정의;;
    $face_image = get_face($data);
    $number = $loop_number;
    // 바로 전에 본 글인 경우 번호를 아이콘으로 바꿈
    if ($prev_no == $data[no]) {
        $number = "<img src={$dir}/arrow.gif border=0 align=absmiddle>";
    } elseif ($number != "&nbsp;") {
        $number = $loop_number;
    }
    // 답글 버튼
    if (($is_admin || $member[level] <= $setup[grant_reply]) && $data[headnum] > -2000000000 && $data[headnum] != -1) {
        $a_reply = "<a href='write.php?{$href}{$sort}&no={$data['no']}&mode=reply'>";
    } else {
        $a_reply = "<Zeroboard";
    }
    // 삭제버튼
    if (($is_admin || $member[level] <= $setup[grant_delete] || $data[ismember] == $member[no] || !$data[ismember]) && !$data[child]) {
        $a_delete = "<a href='delete.php?{$href}{$sort}&no={$data['no']}'>";
    } else {
        $a_delete = "<Zeroboard";
    }
    // 수정버튼
    if ($is_admin || $member[level] <= $setup[grant_delete] || $data[ismember] == $member[no] || !$data[ismember]) {
        $a_modify = "<a href='write.php?{$href}{$sort}&no={$data['no']}&mode=modify'>";
    } else {
        $a_modify = "<Zeroboard";
    }
    // 스팸메일러 금지
    $mail = $data[email] = "";
    $_listCheckTime += getmicrotime() - $_listCheckTimeStart;
}
Esempio n. 7
0
$user_info = $holder_id ? api_proxy("user_self_by_uid", "*", $holder_id) : array();
$holder_name = empty($user_info) ? '' : $user_info['user_name'];
$is_self = $holder_id == $user_id ? 'Y' : 'N';
//隐私显示控制
$show_error = false;
$show_ques = false;
$is_visible = 0;
$show_info = "";
$dbo = new dbex();
dbtarget('r', $dbServs);
if ($user_info) {
    //最后更新心情
    $last_mood_rs = get_last_mood($dbo, $t_mood, $holder_id);
    $last_mood_txt = '';
    if ($last_mood_rs['mood']) {
        $last_mood_txt = get_face($last_mood_rs['mood']);
        $last_mood_time = format_datetime_short($last_mood_rs['add_time']);
    } else {
        $last_mood_txt = $mo_langpackage->mo_null_txt;
        $last_mood_time = '';
    }
    //主人姓名
    set_session($holder_id . '_holder_name', $user_info['user_name']);
    $user_online = array();
    //登录状态
    $ol_state_ico = "skin/{$skinUrl}/images/online.gif";
    $ol_state_label = $ah_langpackage->ah_current_online;
    $timer_txt = '';
    $user_online = get_user_online_state($dbo, $t_online, $holder_id);
    if ($is_self == 'N' && (empty($user_online) || $user_online['hidden'] == 1)) {
        $ol_state_ico = "skin/{$skinUrl}/images/offline.gif";
Esempio n. 8
0
'><img src="<?php 
    echo $val['from_user_ico'];
    ?>
" /></a></div>
			<dt><span><a target="_blank" href='home.php?h=<?php 
    echo $val['from_user_id'];
    ?>
'><?php 
    echo filt_word($val['from_user_name']);
    ?>
</a></span><span>[<?php 
    echo $val['add_time'];
    ?>
]</span></dt>
			<dd class="msg_list_content"><?php 
    echo filt_word(get_face($val['message']));
    ?>
</dd>
			<?php 
    if ($is_self == 'Y') {
        ?>
			<dd>
				<span><a href="javascript:void(0);" onclick=parent.leave_message("<?php 
        echo $val['from_user_name'];
        ?>
","<?php 
        echo $val['from_user_id'];
        ?>
");><?php 
        echo $mb_langpackage->mb_res;
        ?>
Esempio n. 9
0
function filt_word($Content)
{
    global $wordFilt;
    $is_admin = get_sess_admin();
    if ($wordFilt == 1 && $is_admin == '') {
        global $filtrateStr;
        $f_array = explode(",", $filtrateStr);
        $repl = "*";
        foreach ($f_array as $v) {
            $Content = str_replace($v, $repl, $Content);
        }
    }
    return get_face($Content);
}
            ?>
"><?php 
            echo get_regname($list["uid"]);
            ?>
" ></p>                <p class="items_left_level">钻石会员</p>         </div>         <div class="items_right">             <div class="items_detail">                 <p class="describe_detail">                     </p><p class="describe_detail"><?php 
            echo $list["content"];
            ?>
</p><p></p>                              </div>             <div class="items_user">              
<div class="starline">     
<span class="time">
<?php 
            echo date('Y-m-d H:i', $list["create_time"]);
            ?>
</span>                     <span class="items_tips fr">                                                                  </span>                      </div>                                               </div>         </div>     </li><?php 
        }
    }
} else {
    echo "";
}
?>
            <?php 
echo $pagebetter;
?>
 
			<!--分页输出-->
 </ul>

  </div> 
  <div id="tab3">
  <script type="text/javascript">
 var gooid="<?php 
Esempio n. 11
0
  	<h3><a href="home.php?h=<?php 
    echo $rs['user_id'];
    ?>
" target="_blank" title="<?php 
    echo $rf_langpackage->rf_v_home;
    ?>
"><?php 
    echo filt_word($rs["user_name"]);
    ?>
</a><?php 
    echo $rs['title'];
    ?>
</h3>
    <div class="content">
    	<?php 
    echo filt_word(get_face($rs['content']));
    ?>
	</div>
		<div class="toolbar toolbar_<?php 
    echo $rs['mod_type'];
    ?>
">
			<span>(<?php 
    echo format_datetime_txt($rs['date_time']);
    ?>
)</span>
			<?php 
    if ($rs['for_content_id'] != 0) {
        ?>
<a onclick=toggle("replycontent",<?php 
        echo $rs['mod_type'];
Esempio n. 12
0
?>
'>
<?php 
foreach ($com_rs as $val) {
    ?>
<tr>
<td width="20px"><input type="checkbox" class="checkbox" name="checkany[]" value="<?php 
    echo $val['mess_id'];
    ?>
" /></td>
<td width="*"  style='text-align:left'>
<?php 
    echo $m_langpackage->m_content;
    ?>
: <?php 
    echo get_face(sub_str($val['message'], 100));
    ?>
 <br />
<?php 
    echo $m_langpackage->m_mess_by_id;
    ?>
: uid-<?php 
    echo $val['to_user_id'];
    echo $m_langpackage->m_mess_name;
    ?>
: <a href="../home.php?h=<?php 
    echo $val['from_user_id'];
    ?>
" target="_blank"><?php 
    echo $val['from_user_name'];
    ?>
Esempio n. 13
0
$user_name = get_sess_username();
//用户名
$uico_url = get_sess_userico();
//用户头像
$mood = long_check(get_argp('mood'));
//防止重复提交
antiRePost($mood);
if (strlen($mood) >= 500) {
    action_return(0, $mo_langpackage->mo_add_exc, -1);
    exit;
} else {
    //数据表定义区
    $t_mood = $tablePreStr . "mood";
    $dbo = new dbex();
    //读写分离定义函数
    dbtarget('w', $dbServs);
    //留言
    $sql = "insert into {$t_mood}(`user_id`,`mood`,`add_time`,`user_ico`,`user_name`) values({$user_id},'{$mood}',now(),'{$uico_url}','{$user_name}')";
    if ($dbo->exeUpdate($sql)) {
        $last_id = mysql_insert_id();
        $title = $mo_langpackage->mo_mood_update;
        $content = $mood;
        $is_suc = api_proxy("message_set", $last_id, $title, $content, 1, 6);
    }
    //回应信息
    if (get_argg('ajax') == '1') {
        echo get_face($mood) . ' [<a href="modules.php?app=mood_more">' . $mo_langpackage->mo_more_label . '</a>]';
    } else {
        action_return(1, "", "-1");
    }
}
Esempio n. 14
0
">
					<?php 
    echo $rs["user_name"];
    ?>
				</a>
				<?php 
    $order = array();
    $replace = array();
    $content = '';
    if (!preg_match("/{$m_langpackage->m_preg_link}/", $rs['content'])) {
        $order = array("href=\"", "src=\"", "src=\"../http://");
        $replace = array("href=\"../", "src=\"../", "src=\"http://");
    }
    $title = str_replace($order, $replace, $rs['title']);
    if ($rs['mod_type'] == 6) {
        $con = str_replace($order, $replace, get_face(sub_str($rs["content"], 80)));
        $content .= $title . $con;
    } else {
        if ($rs['mod_type'] == 7) {
            $con = str_replace($order, $replace, $rs["content"]);
            $content .= $title . '<br/>' . $con;
        } else {
            $content .= $title;
        }
    }
    $content .= '<br/>' . format_datetime_txt($rs["date_time"]);
    echo $content;
    ?>
			</td>
			<td width='15px'>
				<div id="operate_<?php 
Esempio n. 15
0
    if ($visitor_id != $host_id) {
        $focus = api_proxy("message_get_remind_count", $host_id);
        if ($focus[0] >= 20) {
            api_proxy("message_set_del", "remind", '', $host_id);
        }
        api_proxy("message_set", $host_id, $remind_content, $link, 1, 0, "remind");
    }
    if ($to_userid) {
        $focus = api_proxy("message_get_remind_count", $to_userid);
        if ($focus[0] >= 20) {
            api_proxy("message_set_del", "remind", '', $to_userid);
        }
        api_proxy("message_set", $to_userid, $remind_content, $link, 1, 0, "remind");
    }
}
increase_integral($dbo, $int_com_msg, $visitor_id);
if ($last_id) {
    echo '
			<div class="reaction" id="record_' . $type_id . '_' . $last_id . '">';
    if ($visitor_id == $host_id) {
        echo '<a href="javascript:parent.del_com(' . $host_id . ',' . $type_id . ',' . $mod_id . ',' . $last_id . ',' . $visitor_id . ')" class="replyclose"></a>';
    }
    echo '
				<a class="figure" href="home.php?h=' . $visitor_id . '" target="_blank"><img src="' . $visitor_ico . '"/></a>
				<a href="home.php?h=' . $visitor_id . '" target="_blank">' . filt_word($visitor_name) . '</a><label>' . date("Y-m-d H:i:s", time()) . '</label>
				<p class="left">' . filt_word(get_face($content)) . '</p>
			</div>';
}
?>

Esempio n. 16
0
?>
'>
<?php 
foreach ($mood_rs as $val) {
    ?>
<tr>
<td width="20px"><input type="checkbox" class="checkbox" name="checkany[]" value="<?php 
    echo $val['mood_id'];
    ?>
" /></td>
<td width="*"  style='text-align:left'>
<?php 
    echo $m_langpackage->m_content;
    ?>
: <?php 
    echo get_face(sub_str($val['mood'], 100));
    ?>
 <br />
<?php 
    echo $m_langpackage->m_author_id;
    ?>
: uid-<?php 
    echo $val['user_id'];
    ?>
&nbsp;
<?php 
    echo $m_langpackage->m_comments;
    ?>
: <?php 
    echo $val['comments'];
    ?>