DiscuzX/upload/source/module/search/search_user.php

33 lines
811 B
PHP
Raw Normal View History

2016-12-15 08:20:54 -05:00
<?php
/**
* [Discuz!] (C)2001-2099 Comsenz Inc.
* This is NOT a freeware, use is subject to license terms
*
2017-01-20 00:23:08 -05:00
* $Id: search_user.php 36349 2017-01-16 03:05:23Z nemohou $
2016-12-15 08:20:54 -05:00
*/
if(!defined('IN_DISCUZ')) {
exit('Access Denied');
}
define('NOROBOT', TRUE);
$url = '';
if($_G['setting']['domain']['app']['home'] || $_G['setting']['domain']['app']['default']) {
$domain = '';
if($_G['setting']['domain']['app']['home']) {
$domain = $_G['setting']['domain']['app']['home'];
} else {
$domain = $_G['setting']['domain']['app']['default'];
}
2017-01-13 05:41:09 -05:00
$url = $_G['scheme'].'://'.$domain.$_G['siteport'].'/';
2016-12-15 08:20:54 -05:00
}
$url .= 'home.php?mod=spacecp&ac=search';
if($_GET['srchtxt']) {
$url .= '&username='.$_GET['srchtxt'].'&searchsubmit=yes';
}
dheader('Location: '.$url);
2017-01-20 00:23:08 -05:00
?>