-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoto_view_left.php
27 lines (25 loc) · 1.23 KB
/
photo_view_left.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?php
/******************************************************************************
Etano
===============================================================================
File: photo_view_left.php
$Revision$
Software by: DateMill (http://www.datemill.com)
Copyright by: DateMill (http://www.datemill.com)
Support at: http://www.datemill.com/forum
*******************************************************************************
* See the "docs/licenses/etano.txt" file for license. *
******************************************************************************/
$user_views=array();
$tpl->set_file('left_content','photo_view_left.html');
if (isset($output['fk_user_id']) && !empty($_SESSION[_LICENSE_KEY_]['user']['user_id']) && $output['fk_user_id']==$_SESSION[_LICENSE_KEY_]['user']['user_id']) {
$tpl->set_var('own_photo',true);
}
if (!empty($_SESSION[_LICENSE_KEY_]['user']['user_id'])) {
if (is_network_member($_SESSION[_LICENSE_KEY_]['user']['user_id'],$output['fk_user_id'],NET_BLOCK)) {
$output['unblock_user']=true;
}
}
$tpl->set_var('output',$output);
$tpl->set_var('tplvars',$tplvars);
$tpl->process('left_content','left_content',TPL_OPTIONAL);