<li><a href="modules.php?app=album" hidefocus="true"><?php echo $a_langpackage->a_mine; ?> </a></li> <li class="active"><a href="modules.php?app=album_friend" hidefocus="true"><?php echo $a_langpackage->a_friend; ?> </a></li> </ul> </div> <div class="album_holder"> <?php foreach ($album_rs as $val) { ?> <?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']); ?>
$dbo = new dbex(); if ($ses_uid != get_session('b_' . $ulog_id)) { //读写分离方法-写操作 dbtarget('w', $dbServs); $sql = "update {$t_blog} set hits=hits+1 where log_id={$ulog_id}"; $dbo->exeUpdate($sql); set_session('b_' . $ulog_id, $ses_uid); } //控制数据显示 $show_error = "content_none"; $is_show = 1; $error_str = ''; if ($ulog_id) { $blog_row = api_proxy("blog_self_by_bid", "*", $ulog_id); if ($is_self == 'N') { require "servtools/menu_pop/trans_pri.php"; $is_show = check_pri($blog_row['log_id'], $blog_row['privacy']); } } //控制按钮显示 $button_ctrl_his = "content_none"; $button_ctrl_mine = ""; if (get_argg('is_friend') == 1) { $button_ctrl_his = ""; $button_ctrl_mine = "content_none"; } if (empty($blog_row)) { $error_str = $b_langpackage->b_error; $is_show = 0; $show_error = ""; }
$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); //查找照片信息 if ($photo_row['photo_src']) { $img_info = getimagesize($photo_row['photo_src']); } $photo_inf = $photo_row['photo_information'] ? $photo_row['photo_information'] : $a_langpackage->a_pht_inf; if ($is_self == 'Y') { $is_pri = 1; } else { require "servtools/menu_pop/trans_pri.php"; $is_pri = check_pri($photo_row['user_id'], $photo_row['privacy']); } } else { $show_data = "content_none"; $show_error = ""; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <base href='<?php echo $siteDomain; ?> ' /> <title></title>
<ul class="menu"> <li><a href="modules.php?app=blog_list" hidefocus="true"><?php echo $b_langpackage->b_mine; ?> </a></li> <li class="active"><a href="modules.php?app=blog_friend" hidefocus="true"><?php echo $b_langpackage->b_friend; ?> </a></li> </ul> </div> <?php foreach ($blog_rs as $rs) { ?> <?php $is_pri = check_pri($rs["user_id"], $rs["privacy"]); ?> <dl class="log_list friend"> <div class="avatar"><a href="home.php?h=<?php echo $rs["user_id"]; ?> " target="_blank" title="<?php echo $rf_langpackage->rf_v_home; ?> "><img src="<?php echo $rs["user_ico"]; ?> " /></a></div> <dt> <strong><a href='<?php echo $is_pri ? "modules.php?app=blog&id=" . $rs['log_id'] . "&is_friend=1" : "javascript:void(0)";