-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoto_search_left.php
28 lines (26 loc) · 1.16 KB
/
photo_search_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
28
<?php
/******************************************************************************
Etano
===============================================================================
File: photo_search_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. *
******************************************************************************/
$tpl->set_file('left_content','photo_search_left.html');
if (isset($input['uid'])) {
if (empty($input['uid'])) {
unset($input['uid']);
} elseif (!empty($_SESSION[_LICENSE_KEY_]['user']['user_id'])) {
require_once _BASEPATH_.'/includes/network_functions.inc.php';
if (is_network_member($_SESSION[_LICENSE_KEY_]['user']['user_id'],$input['uid'],NET_BLOCK)) {
$input['unblock_user']=true;
}
}
}
$tpl->set_var('output',$input);
$tpl->set_var('tplvars',$tplvars);
$tpl->process('left_content','left_content',TPL_OPTIONAL);