Esempio n. 1
0
function get_lentxt($txtstr, $maxlen)
{
    if (strlen($txtstr) > $maxlen) {
        return substr(filt_word($txtstr), 0, $maxlen) . '...';
    } else {
        return filt_word($txtstr);
    }
}
Esempio n. 2
0
require "foundation/auser_validate.php";
require "foundation/module_mypals.php";
require "api/base_support.php";
//数据显示控制
$show_data = "";
$show_error = "content_none";
$show_content = "content_none";
//数据表定义区
$t_photo = $tablePreStr . "photo";
$t_photo_comment = $tablePreStr . "photo_comment";
$t_users = $tablePreStr . "users";
$t_album = $tablePreStr . "album";
$album_info = array();
$photo_row = array();
$album_info = api_proxy("album_self_by_aid", "album_name", $album_id);
$a_who = $is_self == 'Y' ? $a_langpackage->a_mine : str_replace('{holder}', filt_word(get_hodler_name($url_uid)), $a_langpackage->a_holder);
if ($album_info) {
    //查找相册信息
    $album_name = $album_info['album_name'];
    if ($prev_next) {
        $photo_rs = api_proxy('album_photo_by_aid', 'photo_id', $album_id);
        $num = count($photo_rs);
        foreach ($photo_rs as $key => $val) {
            if ($val['photo_id'] == $photo_id) {
                $photo_id = $photo_rs[$prev_next === 'next' ? $key == $num - 1 ? 0 : $key + 1 : ($prev_next === 'prev' ? $key == 0 ? $num - 1 : $key - 1 : 0)]['photo_id'];
                break;
            }
        }
    }
    $photo_row = api_proxy("album_photo_by_photoid", "*", $photo_id);
    //查找照片信息
Esempio n. 3
0
  <?php 
    $is_pri = check_pri($val['user_id'], $val['privacy']);
    ?>
		<dl class="list_album" onmouseover="this.className += ' list_album_active';" onmouseout="this.className='list_album';" >
			<dt><a href='<?php 
    echo $is_pri ? "modules.php?app=photo_list&album_id=" . $val['album_id'] . "&user_id=" . $val['user_id'] : "javascript:void(0)";
    ?>
'><img src=<?php 
    echo $is_pri ? $val['album_skin'] : "skin/{$skinUrl}/images/errorpage.gif";
    ?>
 onerror="parent.pic_error(this)" class='user_ico'></a></dt>
			<dd><strong><a href="<?php 
    echo $is_pri ? "modules.php?app=photo_list&album_id=" . $val['album_id'] . "&user_id=" . $val['user_id'] : "javascript:void(0)";
    ?>
"><?php 
    echo filt_word($val['album_name']);
    ?>
</a></strong></dd>
			<dd><?php 
    echo $val['user_name'];
    echo $a_langpackage->a_of_album;
    ?>
<label>(<?php 
    echo str_replace('{holder}', $val['photo_num'], $a_langpackage->a_num);
    ?>
)</label></dd>
			<dd><?php 
    echo $a_langpackage->a_label;
    ?>
:<?php 
    echo $val['tag'];
Esempio n. 4
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. 5
0
<?php

//引入语言包
$a_langpackage = new albumlp();
//变量取得
$photo_id = intval(get_args('photo_id'));
$information = long_check(get_argp('information_value'));
$user_id = get_sess_userid();
//数据表定义区
$t_photo = $tablePreStr . "photo";
$dbo = new dbex();
//读写分离定义函数
dbtarget('w', $dbServs);
//更改图片信息
$sql = "update {$t_photo} set photo_information='{$information}' where photo_id={$photo_id} and user_id={$user_id}";
$dbo->exeUpdate($sql);
echo filt_word($information);
Esempio n. 6
0
</a></dt>
					<dd><?php 
    echo $g_langpackage->g_type;
    ?>
:<?php 
    echo $rs['group_type'];
    ?>
</dd>
					<dd><?php 
    echo $g_langpackage->g_founder;
    ?>
:<a href='home.php?h=<?php 
    echo $userid;
    ?>
' target="_blank"><?php 
    echo filt_word($rs['group_creat_name']);
    ?>
</a></dd>
					<dd><?php 
    echo join_type($rs['group_join_type']);
    ?>
<label><?php 
    echo str_replace('{num}', $rs['member_count'], $g_join_num);
    ?>
</label></dd>
				</dl>
			</div>
		</div>
	<?php 
}
?>
Esempio n. 7
0
    echo $pol_langpackage->pol_anon;
    ?>
	</div>
	</form>
<div class="clear"></div>
<!--总结报告!-->
	<div class='poll_summary <?php 
    echo $show_sumary;
    ?>
'>
		<?php 
    echo str_replace("{name}", filt_word($poll_row['username']), $pol_langpackage->pol_sumary);
    ?>
		<div class='poll_summary_content'>
			<div class="left_g left"></div><div class="center_g left"><?php 
    echo filt_word($poll_row['summary']);
    ?>
</div><div class="right_g left"></div>
		</div>
	</div>
</div>

<!--最新投票区!-->
	<div class="container <?php 
    echo $show_poll_info;
    ?>
">
		<div class="rs_head"><?php 
    echo $pol_langpackage->pol_info;
    ?>
</div>
Esempio n. 8
0
    echo $f_langpackage->f_fri;
    ?>
"><img src="<?php 
    echo $val['pals_ico'];
    ?>
" /></a>
				</div>
					<dl>
						<dt><a href="home.php?h=<?php 
    echo $val["pals_id"];
    ?>
" target="_blank" title="<?php 
    echo $f_langpackage->f_fri;
    ?>
"> <?php 
    echo sub_str(filt_word($val['pals_name']), 6, true);
    ?>
</a></dt>
						<dd><?php 
    echo $val['pals_sort_name'];
    ?>
</dd>
					</dl>
			</li>
	<?php 
}
?>
		
	</ul>
	</div>
</div>		
Esempio n. 9
0
'><img src="<?php 
    echo $rs['group_logo'] ? $rs['group_logo'] : 'uploadfiles/group_logo/default_group_logo.jpg';
    ?>
" width='100px' height='100px' alt="<?php 
    echo $rs['group_name'];
    ?>
" onerror="parent.pic_error(this)" /></a></div>
				<dl class="group_list">
					<dt><a href='modules.php?app=group_space&group_id=<?php 
    echo $rs["group_id"];
    ?>
&user_id=<?php 
    echo $url_uid;
    ?>
'><?php 
    echo filt_word($rs['group_name']);
    ?>
</a></dt>
					<dd><?php 
    echo $g_langpackage->g_type;
    ?>
:<?php 
    echo $rs['group_type'];
    ?>
</dd>
					<dd><?php 
    echo str_replace('{num}', '<span>' . $rs['member_count'] . '</span>', $g_join_num);
    ?>
</dd>
					<dd class="<?php 
    echo $show_his;
Esempio n. 10
0
		<div class='container' style='padding-top:15px;margin-top:0px'>
			<div class='rs_head' style='margin-top:0px'><?php 
echo $user_info['user_name'];
echo $u_langpackage->u_inf;
?>
</div>
		</div>
		
		<table class='main main_left'>
			<tr>
				<th><?php 
echo $u_langpackage->u_name;
?>
</th>
				<td><?php 
echo filt_word($user_info['user_name']);
?>
</td>
			</tr>
			
			<tr>
				<th><?php 
echo $u_langpackage->u_sex;
?>
</th>
				<td><?php 
echo info_item_format($info_item_init, $user_sex_txt);
?>
</td>
			</tr>
			
Esempio n. 11
0
    echo $gu_langpackage->gu_see;
    ?>
">
			<img src="<?php 
    echo $val['guest_user_ico'];
    ?>
" />
		</a>
		<span class="name"><a href="home.php?h=<?php 
    echo $val["guest_user_id"];
    ?>
" target="_blank" title="<?php 
    echo $gu_langpackage->gu_see;
    ?>
"><?php 
    echo sub_str(filt_word($val['guest_user_name']), 6, true);
    ?>
</a></span>
		<span class="time"><?php 
    echo format_datetime_short($val['add_time']);
    ?>
</span>
		<span>
		<img style="cursor:pointer;" onclick="<?php 
    echo $send_hi;
    ?>
(<?php 
    echo $val["guest_user_id"];
    ?>
)" src="skin/<?php 
    echo $skinUrl;
Esempio n. 12
0
&user_id=<?php 
    echo $blog_row['user_id'];
    ?>
" title="<?php 
    echo $b_langpackage->b_same_sort;
    ?>
"><?php 
    echo empty($blog_row['log_sort_name']) ? $b_langpackage->b_default_sort : filt_word($blog_row['log_sort_name']);
    ?>
</a></span><span class="log_list_options"><?php 
    echo $blog_row["add_time"];
    ?>
</span>
    </dt>
		<dd class="log_list_content"><?php 
    echo filt_word($blog_row['log_content']);
    ?>
</dd>
        <dd><span><?php 
    echo $b_langpackage->b_label;
    ?>
:<?php 
    echo $blog_row['tag'];
    ?>
</span>
        	<span><?php 
    echo str_replace("{b_com_num}", $blog_row['comments'], $b_langpackage->b_com_num);
    ?>
</span>
					<span><?php 
    echo str_replace("{b_read_num}", $blog_row['hits'], $b_langpackage->b_read_num);
Esempio n. 13
0
    ?>
		<br /><span><?php 
    echo $b_langpackage->b_sort;
    ?>
:<a href="modules.php?app=blog_list&sort_id=<?php 
    echo $rs['log_sort'];
    ?>
&sort_name=<?php 
    echo urlencode($rs['log_sort_name']);
    echo $url_userid;
    ?>
" title="<?php 
    echo $b_langpackage->b_same_sort;
    ?>
"><?php 
    echo empty($rs['log_sort_name']) ? $b_langpackage->b_default_sort : filt_word($rs['log_sort_name']);
    ?>
</a></span><span><?php 
    echo $rs["add_time"];
    ?>
</span>
	</dt>
	<dd class="log_list_content"><?php 
    echo $is_pri ? sub_str(strip_tags($rs["log_content"]), 180) : $b_langpackage->b_limit_blog;
    ?>
</dd>
	<dd>
		<?php 
    if ($rs['tag']) {
        ?>
<span><?php 
Esempio n. 14
0
<dl class="share_list">
  <dt><strong><a href="home.php?h=<?php 
    echo $rs["user_id"];
    ?>
" target="_blank"><?php 
    echo filt_word($rs['user_name']);
    ?>
</a></strong><?php 
    echo filt_word($rs['s_title']);
    ?>
  <br /><span><?php 
    echo $rs['add_time'];
    ?>
</span></dt>
  <dd class="share_list_content"><?php 
    echo filt_word($rs['content']);
    ?>
</dd>
  <dd>
  	<span><?php 
    echo $s_langpackage->s_label;
    ?>
:<?php 
    echo $rs['tag'];
    ?>
</span><span>|</span>
  	<span><a href='javascript:share_com(<?php 
    echo $rs["s_id"];
    ?>
,<?php 
    echo $rs["s_id"];
Esempio n. 15
0
    echo $rs['dateline'];
    ?>
</span> </dt>
  <dd class="poll_list_content">
		<p><input type=<?php 
    echo choo_type($rs['multiple']);
    ?>
 disabled /><?php 
    echo choo_option(filt_word($rs['option']), 0);
    ?>
</p>
		<p><input type=<?php 
    echo choo_type($rs['multiple']);
    ?>
 disabled /><?php 
    echo choo_option(filt_word($rs['option']), 1);
    ?>
</p>
  </dd>
  <dd>
  	<span><?php 
    echo $pol_langpackage->pol_whether_reward;
    ?>
:<?php 
    echo $rs['percredit'] ? $pol_langpackage->pol_yes : $pol_langpackage->pol_no;
    ?>
</span>
  	<span>|</span>
  	<span><?php 
    echo $pol_langpackage->pol_status;
    ?>
Esempio n. 16
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. 17
0
</a>
				</div>
				<?php 
    }
    ?>
			</div>
		</div>
		<div class="photo_operate">
			<?php 
    if ($photo_row['user_id'] != $ses_uid) {
        ?>
				<?php 
        if ($photo_row['photo_information'] != '') {
            ?>
				<div id='def_photo_info'><?php 
            echo filt_word($photo_row['photo_information']);
            ?>
</div>
				<?php 
        }
        ?>
				<?php 
        if ($ses_uid) {
            ?>
				<a href="javascript:void(0);" onclick="parent.show_share(3,<?php 
            echo $photo_row['photo_id'];
            ?>
,'<?php 
            echo $photo_row['photo_name'];
            ?>
','');"><?php 
Esempio n. 18
0
$ses_uid = get_sess_userid();
$userico = get_sess_userico();
//引入模块公共权限过程文件
$is_self_mode = 'partLimit';
$is_login_mode = '';
require "foundation/fcontent_format.php";
require "foundation/auser_validate.php";
require "foundation/module_users.php";
require "foundation/fpages_bar.php";
require "api/base_support.php";
//数据表定义区
$t_mood = $tablePreStr . "mood";
$t_users = $tablePreStr . "users";
//当前页面参数
$page_num = trim(get_argg('page'));
$mood_rs = api_proxy("mood_self_by_uid", "*", $userid);
//分页显示
$isNull = 0;
$data_none = 'content_none';
$show_data = '';
if (empty($mood_rs)) {
    $isNull = 1;
    $data_none = '';
    $show_data = 'content_none';
}
if ($is_self == 'Y') {
    $mood_title = $mo_langpackage->mo_mood;
} else {
    $holder_name = get_hodler_name($url_uid);
    $mood_title = str_replace("{holder}", filt_word($holder_name), $mo_langpackage->mo_who);
}
Esempio n. 19
0
<?php

//引入语言包
$gu_langpackage = new guestlp();
//引入公共模块
require "foundation/module_users.php";
require "foundation/module_mypals.php";
require "foundation/fcontent_format.php";
require "api/base_support.php";
//变量取得
$url_uid = intval(get_argg('user_id'));
$ses_uid = get_sess_userid();
//引入模块公共权限过程文件
$is_login_mode = '';
$is_self_mode = 'partLimit';
require "foundation/auser_validate.php";
$guest_rs = api_proxy("guest_self_by_uid", "*", $userid, 20);
if ($is_self == 'Y') {
    $guest_title = $gu_langpackage->gu_title;
} else {
    $holder_name = get_hodler_name($url_uid);
    $guest_title = str_replace("{holder}", filt_word($holder_name), $gu_langpackage->gu_who);
}
$none_data = "content_none";
$show_data = "";
if (empty($guest_rs)) {
    $none_data = "";
    $show_data = "content_none";
}
Esempio n. 20
0
echo $mn_langpackage->mn_online;
?>
</a></dt>
                <dt><a href="main.php?app=msg_minbox" hidefocus="true"><?php 
echo $mn_langpackage->mn_scrip;
?>
</a></dt>
            </dl>
        </div>
        <div class="right_nav">
            <dl>
                <dt><a href="home.php?h=<?php 
echo get_sess_userid();
?>
" hidefocus="true"><?php 
echo filt_word(get_sess_username());
?>
</a></dt>
                <dt><a href="modules.php?app=mypals_invite" target="frame_content" hidefocus="true"><?php 
echo $mn_langpackage->mn_user_invite;
?>
</a></dt>
                <dt><a href="javascript:void(0);" hidefocus="true" onmouseout="setMenuShow(false);" onclick="setMenuShow(true);"><?php 
echo $mn_langpackage->mn_user_set;
?>
</a>
                    <div id="set_menu_bridge" style="width:58px;height:13px;display:none;" onmouseover="setMenuShow(true);" onmouseout="setMenuShow(false);">
                        <ul id="set_menu" onmouseover="setMenuShow(true);" onmouseout="setMenuShow(false);" class="set_menu" style="display:none;">
                            <li class="user_info"><a href="main.php?app=user_info" target="_top" hidefocus="true"><?php 
echo $u_langpackage->u_achives;
?>
Esempio n. 21
0
    }
    ?>
<div class="clear"></div>
<?php 
    page_show($isNull, $page_num, $page_total);
    ?>
<div class="album_info">
	<div class="album_info_content">
		<div class="album_title"><?php 
    echo $a_langpackage->a_name;
    echo filt_word($album_row['album_name']);
    ?>
</div>
		<div class="album_summary"><?php 
    echo $a_langpackage->a_inf;
    echo filt_word($album_information);
    ?>
</div>
	</div>
</div>
<div class="tleft ml20">
	<div class="comment">
    <div id='show_2_<?php 
    echo $album_row["album_id"];
    ?>
'>
    	<script type='text/javascript'>parent.get_mod_com(2,<?php 
    echo $album_row['album_id'];
    ?>
,0,20);</script>
    </div>
Esempio n. 22
0
    echo $mp_langpackage->mp_sex;
    ?>
:<?php 
    echo get_pals_sex($rs['user_sex']);
    ?>
' src='<?php 
    echo $rs["user_ico"];
    ?>
' /></a>
			</div>
			<dl>
            	<dd><?php 
    echo $mp_langpackage->mp_name;
    ?>
:<?php 
    echo filt_word($rs["user_name"]);
    ?>
</dd>
				<dd><?php 
    echo $mp_langpackage->mp_reside;
    ?>
:<?php 
    echo get_pals_reside($rs['reside_province'], $rs['reside_city']);
    ?>
</dd>
                <dd><?php 
    echo $mp_langpackage->mp_birth;
    ?>
:<?php 
    echo get_pals_birth($rs['birth_province'], $rs['birth_city']);
    ?>
Esempio n. 23
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. 24
0
    echo $rs['from_uid'];
    ?>
" target="_blank"><img src="<?php 
    echo $rs['from_uico'];
    ?>
" width="20px" height="20px" alt="" target="_blank" /></a></div>
					<div class="remind_content">
						<a href="home.php?h=<?php 
    echo $rs['from_uid'];
    ?>
" target="_blank"><?php 
    echo $rs['from_uname'];
    ?>
</a>
						<?php 
    echo str_replace(array("{link}", "{js}"), array($rs['link'], "clear_remind(" . $rs['id'] . ")"), filt_word($rs['content']));
    ?>
						<?php 
    echo $rs['count'] >= 2 ? "(" . $rs['count'] . "次)" : '';
    ?>
					</div>
          <div class="clear"></div>
				</li>
			<?php 
}
?>
		</ul>
	</div>
</form>
<div class="guide_info <?php 
echo $content_data_none;
Esempio n. 25
0
    ?>
&group_id=<?php 
    echo $group_id;
    ?>
&user_id=<?php 
    echo $url_uid;
    ?>
"><?php 
    echo filt_word($rs['title']);
    ?>
</a></dt>
			<dd><a href="home.php?h=<?php 
    echo $rs['user_id'];
    ?>
" target="_blank"><?php 
    echo filt_word($rs['user_name']);
    ?>
</a> <span class='gray' style='padding-left:15px'><?php 
    echo str_replace("{date}", $rs['add_time'], $g_langpackage->g_send_time);
    ?>
</span></dd>
			<dd><span class='gray'><?php 
    echo $g_langpackage->g_read;
    ?>
(<?php 
    echo $rs['hits'];
    ?>
)</span> <span class='gray' style='padding-left:15px;'><?php 
    echo $g_langpackage->g_re;
    ?>
(<?php 
Esempio n. 26
0
:<a href="home.php?h=<?php 
    echo $subject_row['user_id'];
    ?>
" target="_blank">
				<?php 
    echo filt_word($subject_row['user_name']);
    ?>
</a> <a href='modules.php?app=msg_creator&2id=<?php 
    echo $subject_row["user_id"];
    ?>
&nw=1'><?php 
    echo $g_langpackage->g_leave_me;
    ?>
</a></dd>
					<dd style='padding-top:15px;padding-bottom:15px'><?php 
    echo filt_word($subject_row['content']);
    ?>
</dd>
					<dd><span class='gray'><?php 
    echo $g_langpackage->g_read;
    ?>
(<?php 
    echo $subject_row['hits'];
    ?>
)</span> <span style='padding-left:15px' class='gray'><?php 
    echo $g_langpackage->g_re;
    ?>
(<?php 
    echo $subject_row['comments'];
    ?>
)</span></dd>
Esempio n. 27
0
$t_album_comment = $tablePreStr . "album_comment";
$album_row = array();
$album_row = api_proxy("album_self_by_aid", "*", $album_id);
$photo_rs = api_proxy("album_photo_by_aid", "*", $album_id);
$host_id = $album_row['user_id'];
$album_information = $album_row['album_info'];
if ($ses_uid == $host_id) {
    $no_pht = $a_langpackage->a_no_upl . ",<a href='modules.php?app=photo_upload&album_id=" . $album_id . "'>" . $a_langpackage->a_upl_pht . "</a>";
} else {
    $no_pht = $a_langpackage->a_f_no_pht;
}
if ($is_self == 'Y') {
    $a_who = $a_langpackage->a_mine;
    $user_id = $ses_uid;
    $button = "";
} else {
    $holder_name = get_hodler_name($url_uid);
    $a_who = str_replace('{holder}', filt_word($holder_name), $a_langpackage->a_holder) . "</div>";
    $user_id = $album_row['user_id'];
    $button = "content_none";
}
//数据显示控制
$isNull = 0;
$show_data = 1;
$none_photo = "content_none";
if (empty($photo_rs)) {
    $isNull = 1;
    //判断结果集是否为空
    $show_data = 0;
    $none_photo = "";
}
Esempio n. 28
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. 29
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>';
}
?>